irespawn / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

[firefox] puzzle demo: Security error: This operation is insecure #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Firefox rejects to run puzzle due to this line in puzzle.js:

  // Add the blocks.
  if (window.sessionStorage.loadOnceBlocks) {

with security error. 

(I started to explain it but I guess you're better in JS cross-domain handling 
than I am. ;=))

Original issue reported on code.google.com by grinapo on 20 Feb 2014 at 9:17

GoogleCodeExporter commented 9 years ago
There is no security violation, this is actually a bug in Firefox.  We've seen 
this once before.  Restarting Firefox fixed it and we've never been able to 
recreate it.

I've wrapped the offending code in a try/catch, and that should take care of 
it.  Fixed in r1645.  Thanks!

Original comment by neil.fra...@gmail.com on 6 Mar 2014 at 5:12

GoogleCodeExporter commented 9 years ago
Could you reference the related firefox bug report please?

Thanks for the fix!

Original comment by grinapo on 6 Mar 2014 at 8:50

GoogleCodeExporter commented 9 years ago
Unfortunately we've only seen this once before, and restarting Firefox made it 
go away.  I didn't file a bug since I could not recreate the issue.  A search 
of Bugzilla did not reveal a match.

Given that some of my 100% reproducible crasher bugs (e.g. 261974) have been 
left unresolved in Bugzilla for ten years, I doubt that they'd jump on a 
non-reproducible one.

Original comment by neil.fra...@gmail.com on 6 Mar 2014 at 2:58

GoogleCodeExporter commented 9 years ago
Thanks for the peek behind the curtains! :-)

Original comment by grinapo on 6 Mar 2014 at 3:00