googlearchive / caja

Caja is a tool for safely embedding third party HTML, CSS and JavaScript in your website.
Apache License 2.0
1.13k stars 113 forks source link

Appcelerator Titanium - Apps Script fails to load in WebView (Android 4.3/Titanium 3.3.0 GA) #1938

Open kpreid opened 9 years ago

kpreid commented 9 years ago

Original issue 1940 created by jason@ysci.jp on 2014-09-22T03:14:54.000Z:

OS: Android 4.3

Development environment: Titanium Studio (Titanium win32 Mobile SDK 3.3.0.GA).

Attempting to access a web application following successful Google sign-in, built with the Apps Script HTMLService, through a Titanium generated WebView (Which employs the default Android browser for page rendering) generally results in the following output (it tends to be capricious. Sometimes it doesn't fail to initialize):

[INFO] : I/TiWebChromeClient.console: (main) [937,5737] Sandbox mode: NATIVE (196:https://script.google.com/static/macros/client/js/1589984301-maestro_htmlapp_bin_maestro_htmlapp.js?lib=MJBy0bmqbdZ8V5ayAnqZsJn0IePW3qbch)

Though more often than not, the following output is issued:

[INFO] : I/TiWebChromeClient.console: (main) [73001,73001] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [2,73003] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [3,73006] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [3,73009] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [76,73085] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [70,73155] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [4,73159] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73160] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [2,73162] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [118,73280] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [23,73303] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [3,73306] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [4,73310] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [11,73321] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73322] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73323] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73324] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73324] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73325] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [3,73328] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [4,73332] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73332] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73333] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73333] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73334] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73335] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73335] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73335] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73336] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73336] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73337] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73337] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73337] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73338] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73338] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73338] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73339] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73340] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73340] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73340] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73341] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73341] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73342] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73343] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73343] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73343] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73344] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73344] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73345] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73345] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73345] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73346] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73347] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73347] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73347] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73347] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [0,73347] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73348] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73349] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [2,73351] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [1,73352] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [5,73357] null (43:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1) [INFO] : I/TiWebChromeClient.console: (main) [103,73460] Uncaught Error: SES not supported, aborting taming frame initialization. (598:https://ssl.gstatic.com/caja/5693m/ses-single-frame.opt.js?debug=1)

Will cross-post this to the Google Apps Script issue tracker.

kpreid commented 9 years ago

Comment #1 originally posted by jason@ysci.jp on 2014-09-22T03:16:22.000Z:

Apps Script issue 4390:

https://code.google.com/p/google-apps-script-issues/issues/detail?id=4390&colspec=Stars%20Opened%20ID%20Type%20Status%20Summary%20Component%20Owner