Last Comment Bug 696849 - add test cases observing cross-domain XHR in chrome code
: add test cases observing cross-domain XHR in chrome code
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Networking: HTTP (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla10
Assigned To: Julian Reschke
:
Mentors:
Depends on:
Blocks: 676829
  Show dependency treegraph
 
Reported: 2011-10-24 13:04 PDT by Julian Reschke
Modified: 2011-10-28 12:18 PDT (History)
2 users (show)
emorley: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
modified tests to also test cross-domain (6.72 KB, patch)
2011-10-25 05:30 PDT, Julian Reschke
bzbarsky: review+
Details | Diff | Review

Description Julian Reschke 2011-10-24 13:04:11 PDT
Extend test_XHR_redirects.js so that the cross-domain case is tested as well.
Comment 1 Julian Reschke 2011-10-25 05:30:17 PDT
Created attachment 569336 [details] [diff] [review]
modified tests to also test cross-domain
Comment 2 Boris Zbarsky [:bz] 2011-10-25 09:51:20 PDT
Comment on attachment 569336 [details] [diff] [review]
modified tests to also test cross-domain

So what's changing to make these not same-origin is the port?

r=me
Comment 3 Julian Reschke 2011-10-25 10:09:44 PDT
(In reply to Boris Zbarsky (:bz) from comment #2)
> Comment on attachment 569336 [details] [diff] [review] [diff] [details] [review]
> modified tests to also test cross-domain
> 
> So what's changing to make these not same-origin is the port?

Yep, that's my understanding of the same-origin policy.
Comment 4 Ed Morley [:emorley] 2011-10-28 03:40:29 PDT
In my queue, which is going via try then onto inbound:
https://tbpl.mozilla.org/?tree=Try&rev=d3d2522ed095

Thanks :-)
Comment 6 Matt Brubeck (:mbrubeck) 2011-10-28 12:18:18 PDT
https://hg.mozilla.org/mozilla-central/rev/a0b6d0a04e4a

Note You need to log in before you can comment on or make changes to this bug.