Project: titanium
Issue TIMOB-23336: Android: Titanium WebView fails at authentication
{code:java} (function(){	var win=Ti.UI.createWindow({	exitOnClose:true	});	win.addEventListener("open",function(e){	var webView=Ti.UI.createWebView({	top:0,	bottom:0,	right:0,	left:0,	borderWidth:0,	url:"https://www.instagram.com"	});	win.add(webView);	});	win.open(); }()); {code} DESCRIPTION: When trying to login to Instagram via Facebook using webview, the authentication process never gets completed but remain stuck forever halfway into the process. On normal browser and other apps(not written on titanium) using the same webview android component, this is never the case. The authentication process and everything went all well as expected and successfully takes the user to the Instagram homepage. So obviously, this is a bug associated only with Titanium or otherwise similar other apps would behave similarly as was the with the titanium webview. I have only tested on IG at the moment, but I'm sure this problem can occur to a lot of other sites too, thus hampering the development of webview based app to a lot of extent. STEP to reproduce: 1. Copy the pasted code above into the app.js and run the app. 2. Now, login to your Instagram account using Facebook. 3. the authentication process never successfully went through but stuck somewhere into the middle. On careful examination, a warning message is generated that tells something like this produced - {code:java} [WARN] : chromium: [WARNING:spdy_session.cc(2566)] Received WINDOW_UPDATE for invalid stream 5 {code} Not sure if the warning has got to do anything with it.
Story points: 3