Problem Description
If cookies are disabled in Firefox 42.0 and onwards - even the latest nightly builds - then C2 will throw a javascript error on preview. The error can be acknowledged and the preview will then work.
Attach a Capx
https://dl.dropboxusercontent.com/u/343 ... tform.capx
Description of Capx
This is just a .capx - not relevant, as any .capx would throw an error.
Steps to Reproduce Bug
- Load .capx in FF 42.0 or newer
- Go to Privacy settings in Options and remove tick from 'Accept cookies from sites'
- run preview - javascript error
- Put tick back in the 'Accept cookies from sites' Privacy option
- run preview - no javascript error
Observed Result
You receive the following error:
This refers to the following in 'preview_prelude.js':
watch = JSON.parse(localStorage.getItem("__c2_watch") || "{}");[/code:2fjdboea]
REMming the line allows FF to preview without the security error.
[b]Expected Result[/b]
No error.
[b]Affected Browsers[/b]
[ul]
[li] Chrome: (NO)
[/li][li] FireFox: (YES - 42.0 and newer)
[/li][li] Internet Explorer: (NO)[/li][/ul]
[b]Operating System and Service Pack[/b]
Windows 7 Pro SP1
[b]Construct 2 Version ID[/b]
r217. Version has no relevance as 'preview_prelude.js' hasn't changed since Feb 2015.