Ticket #2660 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Tests broken on FF 3.5/3.6: 'Operation is not supported" code: "9'

Reported by: tsauerwein Owned by:
Priority: minor Milestone: 2.10 Release
Component: tests Version: 2.9
Keywords: Cc:
State: Complete

Description

Running an arbitrary unit test (run-Test.html) in Firefox 3.5.9 and 3.6.3 on Ubuntu 9.04 raises the following error message in Firebugs:

Operation is not supported" code: "9 if( typeof( Test.AnotherWay._g_test_iframe[i] )=='function' ) {\n run-tests.html Line 922

Maybe related to:  http://trac.openlayers.org/ticket/2315

Attachments

patch-tests-ff.patch Download (0.8 KB) - added by tsauerwein 3 years ago.
fixes tests: added check for 'sessionStorage'

Change History

Changed 3 years ago by tsauerwein

fixes tests: added check for 'sessionStorage'

Changed 3 years ago by fredj

  • component changed from general to tests

Changed 3 years ago by fredj

  • state set to Awaiting User Feedback

Hello,

All tests pass with FF 3.6.4 (with and without firebug).

Can you try to create a new FF profile and run the tests again ?

 http://www.openlayers.org/dev/tests/run-tests.html

Changed 3 years ago by fredj

This issue only occurs when the tests are run the 'file' protocol (vs 'http').

The proposed patch fix the problem with the file protocol and work with the http protocol.

Changed 3 years ago by fredj

  • state changed from Awaiting User Feedback to Review

Changed 3 years ago by elemoine

  • state changed from Review to Commit

Looks good. Thanks Mr fredj.

Changed 3 years ago by fredj

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [10378]) make tests pass on FF with the 'file' protocol. r=elemoine (closes #2660)

Note: See TracTickets for help on using tickets.