Closed Bug 788181 Opened 12 years ago Closed 12 years ago

xhr instanceof XMLHttpRequest == false in workers

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18
Tracking Status
firefox16 --- fixed
firefox17 --- fixed

People

(Reporter: baku, Assigned: bzbarsky)

Details

(Whiteboard: [qa-])

Attachments

(2 files)

var xhr = new XMLHttpRequest(); if(xhr instanceof XMLHttpRequest) ... should be true.
Component: DOM → DOM: Workers
Attached patch mochitestSplinter Review
Assignee: nobody → bzbarsky
Whiteboard: [need review]
Attachment #658119 - Flags: review?(peterv) → review+
Peter, do you think this is worth backporting to aurora or beta?
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla18
Comment on attachment 658119 [details] [diff] [review] Fix instanceof for XHR and XHR.upload in workers. [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 740069 User impact if declined: Some scripts in workers will get incorrect instanceof values, which may cause some pages using workers to break. Testing completed (on m-c, etc.): Passes attached tests. Risk to taking this patch (and alternatives if risky): Risk is low. String or UUID changes made by this patch: None.
Attachment #658119 - Flags: approval-mozilla-beta?
Attachment #658119 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #658119 - Flags: approval-mozilla-beta?
Attachment #658119 - Flags: approval-mozilla-beta+
Attachment #658119 - Flags: approval-mozilla-aurora?
Attachment #658119 - Flags: approval-mozilla-aurora+
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: