R167.2 - Webstorage issue in FireFox on mobile (Android)

Bugs will be moved here once resolved.

Post » Thu Apr 17, 2014 5:10 pm

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)
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Thu Apr 17, 2014 7:22 pm

Have you got cookies disabled? Apparently you need cookies enabled to use local storage in FF mobile.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680

Post » Thu Apr 17, 2014 8:46 pm

@ramones: Good call.
Indeed, enabling cookies made everything work as intended. Thanks for the notice.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Fri Apr 18, 2014 7:24 am

@ramones,
Bravo, good call.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,728


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests