The default bug view has changed. See this FAQ.

ringmark's Web Storage test fails

RESOLVED FIXED in Firefox 13

Status

()

Core
DOM: Events
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: alex_mayorga, Assigned: smaug)

Tracking

({regression})

Trunk
mozilla14
regression
Points:
---

Firefox Tracking Flags

(firefox13+ verified)

Details

(Whiteboard: [qa+])

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

5 years ago
Web Storage test at http://rng.io/ is failing.

Initially reported at http://forums.mozillazine.org/viewtopic.php?p=11821601#p11821601

Previously it was fine.

Regression window:
Stop Ring 1 Complete (301 tests):
http://hg.mozilla.org/mozilla-central/rev/75b24396b0ce
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120308 Firefox/13.0a1 ID:20120308063137

Stop Testing: Web Storage...:
Error: Permission denied for <http://rng.io> to create wrapper for object of class UnnamedClass
Source file: http://rng.io/dist/ringmark.min.js
Line: 3
http://hg.mozilla.org/mozilla-central/rev/08809a43e082
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120308 Firefox/13.0a1 ID:20120308133632

Puslog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=75b24396b0ce&tochange=08809a43e082

Triggered by:
08809a43e082 Olli Pettay — Bug 730891, event ctor for StorageEvent, r=sicking,kyle
(Reporter)

Updated

5 years ago
Blocks: 730891
(Assignee)

Comment 1

5 years ago
Created attachment 606202 [details] [diff] [review]
patch

Looks like the test wants to create an event in an old way, yet it 
tests the typeof window.StorageEvent.
(Assignee)

Comment 2

5 years ago
(I'll add some test too)
(Assignee)

Comment 3

5 years ago
Created attachment 606204 [details] [diff] [review]
patch
Assignee: nobody → bugs
Attachment #606202 - Attachment is obsolete: true
Attachment #606204 - Flags: review?(jonas)
Component: Untriaged → DOM: Events
Product: Firefox → Core
QA Contact: untriaged → events
Comment on attachment 606204 [details] [diff] [review]
patch

Review of attachment 606204 [details] [diff] [review]:
-----------------------------------------------------------------

I'd really prefer to get the spec changed to not require this behavior. .createEvent is a very silly API.

r=me if you really prefer to do this though.
Attachment #606204 - Flags: review?(jonas) → review+
(Reporter)

Comment 5

5 years ago
(In reply to Olli Pettay [:smaug] from comment #1)
> Looks like the test wants to create an event in an old way, yet it 
> tests the typeof window.StorageEvent.

If this is bad for the web at large, maybe is worth trying to contact the creators of the test to fix it.

No many contact details at http://rng.io/about/ though...
(Assignee)

Comment 6

5 years ago
Comment on attachment 606204 [details] [diff] [review]
patch

I think we should land the patch, and if spec changes, remove support
for createEvent.
also, we should land this to Aurora too. I don't want to break pages too often.
Attachment #606204 - Flags: approval-mozilla-aurora?
(Assignee)

Comment 7

5 years ago
https://hg.mozilla.org/mozilla-central/rev/58a2cd0203ee
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Keywords: regression
OS: Windows 7 → All
Hardware: x86 → All
Target Milestone: --- → mozilla14
Version: unspecified → Trunk

Comment 8

5 years ago
(In reply to Olli Pettay [:smaug] from comment #6)
> Comment on attachment 606204 [details] [diff] [review]
> patch
> 
> I think we should land the patch, and if spec changes, remove support
> for createEvent.
> also, we should land this to Aurora too. I don't want to break pages too
> often.

Would you mind addressing the risk for this nomination?
tracking-firefox13: --- → +
(Assignee)

Comment 9

5 years ago
Very low risk. We just enable creating storage events using document.createEvent()
Comment on attachment 606204 [details] [diff] [review]
patch

[Triage Comment]
Given the low risk evaluation, approved for Aurora 12.
Attachment #606204 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
(Assignee)

Comment 11

5 years ago
Commit message: Bug 736058, support createEvent('StorageEvent'), r=sicking
Keywords: checkin-needed
(Assignee)

Comment 12

5 years ago
So, checkin-needed for aurora.
(Assignee)

Updated

5 years ago
Keywords: checkin-needed
(Assignee)

Comment 13

5 years ago
Created attachment 608420 [details] [diff] [review]
aurora
(Assignee)

Comment 14

5 years ago
https://hg.mozilla.org/releases/mozilla-aurora/rev/f9f77313b59e
status-firefox13: --- → fixed
Whiteboard: [qa+]
Verified on Firefox 13 beta 3 that the test from: http://rng.io/ passes and that no error like the one from the Description is thrown.

Verified on Windows 7, Ubuntu 12.04 and Mac OS X 10.6:
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0
status-firefox13: fixed → verified
You need to log in before you can comment on or make changes to this bug.