gwt /
gwt /
061738f83ffb43223a463e7bc26248083bdb21aa In obfuscated code, JSO detection looks for object.tM == nullMethod. If nullMethod is obfuscated as function tM(){}, and someone uses global 'this' (Window or Self object for webworkers), then this.tM == tM even though 'this' isn't a Java object. This is caused by global scope functions appearing as properties in window/self.
This patch prevents the obfuscator from using 'tM' for root-scope functions.
Review by: dstockwell@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10838 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed