Closed
Bug 393401
Opened 19 years ago
Closed 16 years ago
allow cross-site XMLHttpRequest for tinderbox JSON output
Categories
(Webtools Graveyard :: Tinderbox, defect)
Webtools Graveyard
Tinderbox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ted, Assigned: rhelmer)
References
Details
Attachments
(1 file, 2 obsolete files)
|
964 bytes,
patch
|
bear
:
review+
|
Details | Diff | Splinter Review |
bug 389508 implemented cross-site XMLHttpRequest on trunk, we should allow this for the tinderbox JSON output, which would mean that people could build their own waterfall displays on any random webpage.
I believe all we have to send is:
Content-Access-Control: allow <*>
per
http://www.w3.org/TR/access-control/#content-access-control
Patch is attached, I haven't tested it since I don't really want to setup a tinderbox server.
Attachment #277896 -
Flags: review?(bear)
| Reporter | ||
Updated•19 years ago
|
Assignee: morgamic → ted.mielczarek
Comment 1•19 years ago
|
||
(In reply to comment #0)
> I haven't tested it since I don't really want to setup a
> tinderbox server.
You know you want to set one up yourself! :)
Updated•19 years ago
|
Attachment #277896 -
Flags: review?(bear) → review+
Comment 2•19 years ago
|
||
Checking in showbuilds.pl;
/cvsroot/mozilla/webtools/tinderbox/showbuilds.pl,v <-- showbuilds.pl
new revision: 1.25; previous revision: 1.24
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 3•17 years ago
|
||
It would appear the spec has changed since this was fixed. The new header should be:
Access-Control-Allow-Origin: *
(I think, from looking at the spec. Didn't test.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 4•17 years ago
|
||
Updates the header the original patch added, to match the current XS-XHR spec. Untested, but obvious enough.
Attachment #358771 -
Flags: review?(bear)
Comment 5•17 years ago
|
||
Comment on attachment 358771 [details] [diff] [review]
Patch v.2
>+ print "Access-Control-Allow-Origin: *\n\n";
"*", no?
Also, this needs adding to INSTALL, too (it's currently in tinderbox's vhost but not documented anywhere).
Attachment #358771 -
Flags: review?(bear) → review-
Comment 6•17 years ago
|
||
(In reply to comment #5)
> "*", no?
No.
> Also, this needs adding to INSTALL, too (it's currently in tinderbox's vhost
> but not documented anywhere).
I'm only fixing the original patch. I'm not going to document Tinderbox.
| Reporter | ||
Updated•16 years ago
|
Assignee: ted.mielczarek → dolske
| Assignee | ||
Comment 7•16 years ago
|
||
Comment on attachment 358771 [details] [diff] [review]
Patch v.2
Why wasn't this landed? Cross-site XHR isn't working and we need it for bug 586123.
What is the documentation issue?
| Assignee | ||
Comment 8•16 years ago
|
||
Set Access-Control-Allow-Origin for both json and json2.
Assignee: dolske → robert
Attachment #277896 -
Attachment is obsolete: true
Attachment #358771 -
Attachment is obsolete: true
Attachment #465701 -
Flags: review?(bear)
Comment 9•16 years ago
|
||
Comment on attachment 465701 [details] [diff] [review]
set Access-Control-Allow-Origin for json and json2
The example given in the INSTALL document should be updated to reflect this change
Attachment #465701 -
Flags: review?(bear) → review-
Comment 10•16 years ago
|
||
Comment on attachment 465701 [details] [diff] [review]
set Access-Control-Allow-Origin for json and json2
bah - I need to get my glasses fixed ;) The INSTALL doc already has it listed I just can't read
Attachment #465701 -
Flags: review- → review+
| Assignee | ||
Comment 11•16 years ago
|
||
Checking in showbuilds.pl;
/cvsroot/mozilla/webtools/tinderbox/showbuilds.pl,v <-- showbuilds.pl
new revision: 1.43; previous revision: 1.42
done
Status: REOPENED → RESOLVED
Closed: 19 years ago → 16 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•