Problem Description
On mobile in preview mode in FireFox 28.0.1 with a webstorage plugin a dialog rise to mention an issue of having the webstorage plugin performing an "insecure" operation.
Then another dialog displays referring to preview_prelude.js performing an insecure operation as well.
In export, most of the screen is black (in the example the button still displays on top, but apparently the execution is halted) and no dialog is displayed.
Attach a Capx
Capx : https://dl.dropboxusercontent.com/u/36472942/construct/bugs/r167.2_webstorage_ff.capx
Export : https://dl.dropboxusercontent.com/u/36472942/construct/game/webstoTest/index.html
Description of Capx
The capx is simple, it's just testing out whether there is a local key existing or not and displaying some text accordingly.
Also, if you press a button it sets a key in the webstorage.
Steps to Reproduce Bug
- Preview (over LAN) the capx in Firefox for mobile (android)
- Execute the exported project in the same browser.
Observed Result
As mentioned, in preview two dialogs mention issues about insecure operation and the screen mostly stays black, displaying an issue in the execution of the project.
In export, no dialogs, but the same black screen.
Expected Result
The screen to go white and display text accordingly to whether the webstorage key exists or not and no dialogs to display.
Affected Browsers
(on mobile, Android, tested on a Nexus 7)
- Chrome: NO
- FireFox: YES
Operating System and Service Pack
Android 4.4.2
Construct 2 Version ID
C2 R167.2 (already happened in R165 and R166)