Thursday, January 24, 2019

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

Are you using a particular linker in your *.gwt.xml file?  http://www.gwtproject.org/doc/latest/DevGuideLinkers.html

On Thursday, January 24, 2019 at 1:19:05 PM UTC-5, Jim Douglas wrote:
I think I can confirm that simply rebuilding with GWT 2.8.2 should resolve this issue for anyone experiencing it. We cut over our build systems to GWT 2.8.2 in November 2017, but I just did a test build here with 2.8.1. With that test, none of my GWT apps will load in Chrome Canary. Switching back to GWT 2.8.2 immediately resolved the issue, with no other changes.

Compiled with GWT 2.8.1:

scrappy:gwtwebclient jimdouglas$ grep javascript *nocache*

function gwtwebclient(){var O='bootstrap',P='begin',Q='gwt.codesvr.gwtwebclient=',R='gwt.codesvr=',S='gwtwebclient',T='startup',U='DUMMY',V=0,W=1,X='iframe',Y='javascript:""',Z='position:absolute; width:0; height:0; border:none; left: -1000px;',$=' top: -1000px;',_='CSS1Compat',ab='<!doctype html>',bb='',cb='<html><head><\/head><body><\/body><\/html>',db='undefined',eb='readystatechange',fb=10,gb='Chrome',hb='eval("',ib='");',jb='script',kb='javascript',lb='moduleStartup',mb='moduleRequested',nb='Failed to load ',ob='head',pb='meta',qb='name',rb='gwtwebclient::',sb='::',tb='gwt:property',ub='content',vb='=',wb='gwt:onPropertyErrorFn',xb='Bad handler "',yb='" for "gwt:onPropertyErrorFn"',zb='gwt:onLoadErrorFn',Ab='" for "gwt:onLoadErrorFn"',Bb='#',Cb='?',Db='/',Eb='img',Fb='clear.cache.gif',Gb='baseUrl',Hb='gwtwebclient.nocache.js',Ib='base',Jb='//',Kb='user.agent',Lb='webkit',Mb='safari',Nb='msie',Ob=11,Pb='ie10',Qb=9,Rb='ie9',Sb=8,Tb='ie8',Ub='gecko',Vb='gecko1_8',Wb=2,Xb=3,Yb=4,Zb='selectingPermutation',$b='gwtwebclient.devmode.js',_b='1B074381A5A6D99AB6896BA4A3EF41CB',ac='2D63FF17625503B67A9A19DAAA6300D3',bc='5A6D94200904CC3FE501C45A9F1598A8',cc='75A52E0A57236FE95CC057202E391636',dc='E8A2397ED64648DD5BA91A420DB9A517',ec=':',fc='.cache.js',gc='loadExternalRefs',hc='end',ic='http:',jc='file:',kc='_gwt_dummy_',lc='__gwtDevModeHook:gwtwebclient',mc='Ignoring non-whitelisted Dev Mode URL: ',nc=':moduleBase';var o=window;var p=document;r(O,P);function q(){var a=o.location.search;return a.indexOf(Q)!=-1||a.indexOf(R)!=-1}


Compiled with GWT 2.8.2:


scrappy:gwtwebclient jimdouglas$ grep javascript *nocache*

function gwtwebclient(){var O='bootstrap',P='begin',Q='gwt.codesvr.gwtwebclient=',R='gwt.codesvr=',S='gwtwebclient',T='startup',U='DUMMY',V=0,W=1,X='iframe',Y='position:absolute; width:0; height:0; border:none; left: -1000px;',Z=' top: -1000px;',$='CSS1Compat',_='<!doctype html>',ab='',bb='<html><head><\/head><body><\/body><\/html>',cb='undefined',db='readystatechange',eb=10,fb='Chrome',gb='eval("',hb='");',ib='script',jb='javascript',kb='moduleStartup',lb='moduleRequested',mb='Failed to load ',nb='head',ob='meta',pb='name',qb='gwtwebclient::',rb='::',sb='gwt:property',tb='content',ub='=',vb='gwt:onPropertyErrorFn',wb='Bad handler "',xb='" for "gwt:onPropertyErrorFn"',yb='gwt:onLoadErrorFn',zb='" for "gwt:onLoadErrorFn"',Ab='#',Bb='?',Cb='/',Db='img',Eb='clear.cache.gif',Fb='baseUrl',Gb='gwtwebclient.nocache.js',Hb='base',Ib='//',Jb='user.agent',Kb='webkit',Lb='safari',Mb='msie',Nb=11,Ob='ie10',Pb=9,Qb='ie9',Rb=8,Sb='ie8',Tb='gecko',Ub='gecko1_8',Vb=2,Wb=3,Xb=4,Yb='selectingPermutation',Zb='gwtwebclient.devmode.js',$b='6143757447205109409E8E4B4B5953F5',_b='616DB373F0C08A308FAA7595CF1774F9',ac='84B5B6FF71219E39FBCAF33FD2B04BCF',bc='9EA5B1320930CAEB74A5FBB6B36A38B0',cc='CDA7348DD6F4462F42A88973CEE8B181',dc=':',ec='.cache.js',fc='loadExternalRefs',gc='end',hc='http:',ic='file:',jc='_gwt_dummy_',kc='__gwtDevModeHook:gwtwebclient',lc='Ignoring non-whitelisted Dev Mode URL: ',mc=':moduleBase';var o=window;var p=document;r(O,P);function q(){var a=o.location.search;return a.indexOf(Q)!=-1||a.indexOf(R)!=-1}

scrappy:gwtwebclient jimdouglas$ 


Is there a button someone can push to rebuild http://samples.gwtproject.org/samples/Showcase/Showcase.html with GWT 2.8.2 to see if that fixes the GWT showcase?


On Thursday, January 24, 2019 at 7:11:56 AM UTC-8, Thad Humphries wrote:
Does rebuilding with 2.8.2 remove/change $='javascript:""'? Is there a setting I'll need in my *gwt.xml file? Will I also need that setting in the GWT modules I include in my app?

On Thursday, January 24, 2019 at 1:56:13 AM UTC-5, Thomas Broyer wrote:
You may want to first look for "javascript:" in the generated JS (possibly in PRETTY mode), to confirm Chromium engineer's findings.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment