Closed
Bug 470334
Opened 15 years ago
Closed 15 years ago
Workers: relative urls for XHR are incorrect
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9.1
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
Details
(Keywords: addon-compat, fixed1.9.1)
Attachments
(1 file)
15.69 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Relative urls are resolved against the document, not the worker. Oops. Also, I somehow managed to break sync xhr from workers, even though i could have sworn i had tests for that. The relative url tests use them now so we shouldn't have that problem again. Late-compat because I'm changing the C++-only init call for XHR.
Attachment #353745 -
Flags: superreview?(jonas)
Attachment #353745 -
Flags: review?(jonas)
Flags: blocking1.9.1+
You don't want to force baseURI to always be set on init time (in fact, that'll break spec-compat for main-thread-XHR). So allow null to be passed in, in which case we do what we currently do.
Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1) That's what the patch does :)
Assignee | ||
Updated•15 years ago
|
Attachment #353745 -
Flags: superreview?(jst)
Attachment #353745 -
Flags: superreview?(jonas)
Attachment #353745 -
Flags: review?(jst)
Attachment #353745 -
Flags: review?(jonas)
Updated•15 years ago
|
Attachment #353745 -
Flags: superreview?(jst)
Attachment #353745 -
Flags: superreview+
Attachment #353745 -
Flags: review?(jst)
Attachment #353745 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
Pushed changeset 8b659f81bab8 to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•15 years ago
|
||
Pushed changeset c6c8f99ca861 to mozilla-1.9.1.
Keywords: fixed1.9.1
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•