Closed Bug 684115 Opened 10 years ago Closed 10 years ago

Test XMLHttpRequests when they're moved between origins

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: mrbkap, Assigned: mrbkap)

Details

Attachments

(1 file)

dherman asked me on IRC what happened when an XHR from one origin was moved by chrome into another origin. There didn't appear to be any tests for this, so I wrote one.
Attached patch TestSplinter Review
Is there anything else I should be testing here?
Attachment #557719 - Flags: review?(jonas)
Comment on attachment 557719 [details] [diff] [review]
Test

Also try setting xhr.withCredentials to check that setting attributes also throw.

r=me with that.
Attachment #557719 - Flags: review?(jonas) → review+
http://hg.mozilla.org/mozilla-central/rev/9d79f12f8d33
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.