Commit Graph

253 Commits

Author SHA1 Message Date
Jonas Sicking
8d2deed13d Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
6a95c287a3 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
783650f7b1 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
cd13cb89e5 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
be65469e7c Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Peter Van der Beken
bedc63e082 Merge backout 2009-01-22 14:53:06 +01:00
Peter Van der Beken
533783d9ea Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Jonas Sicking
e0c26b7454 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking
5b04c277ae Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Jonas Sicking
e7e7213705 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Gavin Sharp
21ff2ffc4c Bug 466751: setting .innerHTML to invalid markup in XHTML causes NS_ERROR_INVALID_POINTER, r+sr=jst 2009-01-16 14:19:27 -05:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Boris Zbarsky
00e66d09cf Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Jonas Sicking
ef7a82c353 Fix mochitest orange 2009-01-14 00:19:16 -08:00
Jonas Sicking
2dc8a2f1eb Bug 464848: XMLHttpRequest doesn't send the right content-type for non-document request bodies. r/sr=bz 2009-01-13 22:53:43 -08:00
Boris Zbarsky
788d6a77a8 Bug 473162. Make getElementsByClassName case-insensitive in quirks mode, per spec. r+sr=jst 2009-01-13 14:32:30 -05:00
Ben Turner
ecdcc79104 Bug 470334 - 'Workers: relative urls for XHR are incorrect'. r+sr=jst, a=blocking1.9+ 2008-12-30 16:24:58 -06:00
Serge Gautherie
ce7842afac Bug 471122 - test_CrossSiteXHR.html : improve thrown exceptions from file_CrossSiteXHR_server.sjs; (Av2) Use setStatusLine(); r+sr=jonas 2008-12-28 00:26:59 +01:00
Serge Gautherie
c4cccfac97 Bug 471122 - test_CrossSiteXHR.html : improve thrown exceptions from file_CrossSiteXHR_server.sjs; CrLf->Lf Eol; r+sr=jonas 2008-12-28 00:26:55 +01:00
Blake Kaplan
eb445f1575 Bug 455629 - Test that we actually do wrap the return value of nsISVGDocument::getSVGDocument in a XOW. r=bzbarsky
--HG--
extra : rebase_source : 471ed08d3cc3ab957f44a6b65b8f2bd8c5e7d41d
2008-12-19 15:47:19 -08:00
Josh Aas
4c4299efbe Backed out changeset e28cd33a0335 2008-12-19 05:30:53 -05:00
Josh Aas
170e6896d3 System for testing plugins, take 3. b=386676 r=smichaud sr=roc 2008-12-19 04:10:09 -05:00
Josh Aas
c5d2456c12 Backed out changeset 7b8ca8c944f2 2008-12-19 01:59:15 -05:00
Josh Aas
dd716baaec System for testing plugins, take 2. b=386676 r=smichaud sr=roc 2008-12-19 00:47:08 -05:00
Olli Pettay
f8412fdedc Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz 2008-12-13 22:30:02 +02:00
Olli Pettay
c1f1a51313 Bug 469020 - range.surroundContents throws a NS_ERROR_INVALID_POINTER, r+sr=sicking 2008-12-13 22:09:29 +02:00
Graeme McCutcheon
4d0acd8eae Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc 2008-12-12 14:25:22 -05:00
Blake Kaplan
07b49e5e6a Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky 2008-12-11 14:20:45 -08:00
Olli Pettay
4cf99f9474 Bug 467123 - Document.cloneNode() failed in a JS component, r+sr=bz 2008-12-05 12:48:27 +02:00
Jeff Walden
2a74f163de The line endings police make another arrest for the offense of gratuitous CRs in every line, just preceding the terminating LF. 2008-12-04 23:59:05 -08:00
Jeff Walden
dd48af98d7 Reenable test_CrossSiteXHR_cache.html now that the httpd.js server issues that caused it to be disabled have been fixed (bug 465921). We reenabled one of the disabled tests but forgot this one when the server fix was committed. r=sparky 2008-12-04 23:57:48 -08:00
Jeff Walden
f9ce0e9aa7 Bug 397227 - Reduce the effort needed to write C++ tests. r=ted 2008-12-03 22:25:00 -08:00
Olli Pettay
a16f803c95 Bug 465767 - document.adoptNode() stops working if node was previously adopted in another document, r+sr=bz 2008-12-03 12:25:21 +02:00
Olli Pettay
8680c8b59d Bug 448993 - Crash [@ nsRange::CutContents] using deleteContents after extractContents and GC, r+sr=sicking 2008-12-03 12:14:51 +02:00
Serge Gautherie
79d34fc7dd Bug 465573 - Add mochitests for ElementTraversal; bustage fix for changeset a5071bef601d 2008-12-02 14:22:41 +01:00
Joel Maher
1b8b34f1b7 Bug 465573 - Add mochitests for ElementTraversal; r+sr=jonas 2008-12-02 14:05:15 +01:00
Dave Camp
4df38e5c2d Bug 445004 followup: Use parent instead of top for tests. r=roc 2008-11-18 17:00:15 -08:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
bjarne@runitsoft.com
3da6f6083b Fixing bug 380418. Prevent XMLHttpRequest from reading HTTPOnly cookies. r+sr=jonas@sicking.cc, a=b2 blocker 2008-11-13 18:18:01 -08:00
Boris Zbarsky
21d64b0e5f Bug 461735. Use the final channel URI as the script URI. r+sr=jst, a=beltzner 2008-11-10 16:09:30 -05:00
Jeff Walden
9ba0796b8f Bug 463254 - httpd.js fails on mac when running test_CrossSiteXHR.html. The problem was that exceptions were causing files not to be closed on OS X, and we were hitting the open-file limit; add some try-finally magic to close in a failsafe manner. r=honzab 2008-11-06 12:44:27 -08:00
Jeff Walden
060e9f580e Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Gavin Sharp
d54eed15ff Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
d6bc35b4d4 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Laurent Jouanneau
c2fdb371f9 Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with even better passing tests. Third time is the charm! r=smaug, sr=bzbarsky 2008-10-21 16:41:28 -04:00
Laurent Jouanneau
0e765dd76c Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with even better passing tests. Third time is the charm! r=smaug, sr=bzbarsky 2008-10-21 16:30:09 -04:00
Olli Pettay
8baf566791 Bug 444546, disable tests 2008-10-20 02:29:13 +03:00
Olli Pettay
6408328b30 Bug 444546, disable one part of the tests 2008-10-20 02:03:04 +03:00
Olli Pettay
cab9e70226 Bug 444546 - Don't dispatch progress event more often than every 350msec, tests 2008-10-20 00:28:06 +03:00
Olli Pettay
c14ae01411 Bug 460156 - bring back the old behavior of range.isPointInRange(), r=surkov, sr=sicking 2008-10-19 23:41:21 +03:00
Brad Lassey
29475226ef Backed out changeset 9fde2bdd93ef 2008-10-16 14:09:08 -04:00
Laurent Jouanneau
d8485a11a8 Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with passing tests. r=smaug, sr=bzbarsky 2008-10-16 11:16:52 -04:00
Boris Zbarsky
32c09cd6d9 Unset the zoom, because apparently it can leak out to other mochitests 2008-10-14 12:54:49 -04:00
Boris Zbarsky
04e1cee63b Relanding bug 459424 (backing out backout changeset 530f1077cae4). Don't pass null documents to the enumerator. r+sr=roc. 2008-10-14 10:24:55 -04:00
Ben Turner
528a45ba6e Backed out changeset b5b7b5523c66 to see if it fixes unit tests. 2008-10-13 19:54:46 -07:00
Boris Zbarsky
0293ef22e1 Bug 459424. Don't pass null documents to the enumerator. r+sr=roc 2008-10-13 16:32:10 -04:00
Boris Zbarsky
69caa46727 Backing out changeset 43d8e57c41e9 2008-10-13 14:21:31 -04:00
Laurent Jouanneau
a5f3d21b7e Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer 2008-10-13 12:49:14 -04:00
Olli Pettay
1b40f24812 Bug 456262 - Attribute nodes don't preserve wrappers, r+sr=jst 2008-10-13 19:33:27 +03:00
Jonas Sicking
07f04921b1 Ensure that documentURI and baseURI is correct for XHR created documents. For cross-site loaded XHR documents make the two URIs that of the loading page, just to be on the safe side.
r/sr=bz b=459470
2008-10-11 23:30:14 -07:00
Olli Pettay
12d7219070 Bug 454325 - Range.extractContents doesn't clone partially selected nodes, r+sr=sicking 2008-10-11 22:46:05 +03:00
Jonas Sicking
2bf6436125 Disable Cross-Site XHR tests on mac since the mochitest server freaks out. 2008-09-30 22:49:15 -07:00
Jonas Sicking
fdc1916928 Remove test that is no longer relevant after cross-site XHR landing. Also disable cross-site XSLT test for now 2008-09-30 20:58:03 -07:00
Jonas Sicking
3dcc908655 Fix tests since network code or mochitest server can't deal with DELETE and PUT. r/sr=me 2008-09-30 17:54:04 -07:00
Jonas Sicking
cce6fbac9b Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
Jonas Sicking
7a655650a9 Ensure that you can't use upload ProgressEvents to do server detection when using Access-Control. b=389508 r=smaug sr=jst 2008-09-30 17:51:53 -07:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Boris Zbarsky
39cccc23b7 Adding some tests 2008-09-29 16:36:28 -04:00
Olli Pettay
e3fb190fe1 Bug 433533 - Attributes stored using enum value don't keep the 'caseness', r+sr=sicking 2008-09-26 13:39:18 +03:00
Olli Pettay
254e405940 Bug 382871 - XMLHttpRequest JS wrapper not preserved by its event handlers, r+sr=jst 2008-09-25 17:40:30 +03:00
Olli Pettay
a2769ead5a Bug 450160 - DOMImplementation createDocument does not create an HTML document, r+sr=bz 2008-09-20 21:55:04 +03:00
Olli Pettay
becb11047e Bug 454326 - Range.surroundContents doesn't throw BAD_BOUNDARYPOINTS_ERR, r+sr=sicking 2008-09-16 11:13:11 +03:00
Dave Townsend
8ceb68f79e Bug 368972: Default width/height for plugin placeholders should be 240px/200px (pinstripe fix and mochitest). r+sr=dbaron 2008-09-14 12:03:56 -04:00
Olli Pettay
384c28fdaa Bug 445225 - Make progress events to work properly with multipart XHR, r+sr=jst 2008-09-11 13:44:15 +03:00
Dave Townsend
3919bf60ce Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz 2008-09-09 16:43:21 +01:00
Olli Pettay
a4dcb20ef2 Bug 454217, httpd.js doesn't handle large body properly, r=sayrer, +change XHR POST test to use request.body 2008-09-09 12:32:35 +03:00
Olli Pettay
f3f651e521 Bug 453521, range.extractContents should return empty document fragment if range is collapsed, r+sr=sicking 2008-09-09 12:17:35 +03:00
roc@mystery
cc723e334a Fix commenting-out of failing test. 2008-09-09 12:32:45 +12:00
Robert O'Callahan
60438fd63d Bug 451664. 438519 should be innocent, reenable the test. 2008-09-08 14:29:48 +12:00
Robert O'Callahan
6c5aee9b23 Bug 451664. Tests for bugs 435425 and 438519 fail a lot. 2008-09-08 14:21:46 +12:00
Boris Zbarsky
0b32650b29 imported patch bug431701 2008-08-28 08:56:45 -04:00
Alexander Surkov
daf87871dd Bug 451376 – IAccessibleText::attributes provides incorrect info after a mis-spelled word, r=Olli.Pettay, MarcoZ, sr=neil 2008-08-26 11:04:14 +08:00
Robert O'Callahan
56a8fae008 Bug 451256. Fire DOMTitleChanged when a new document loads, even if it has no title. r+sr=jst 2008-08-25 20:52:48 +12:00
Olli Pettay
a3e5679dee Bug 451664, improve the test for bug 435425 2008-08-24 18:38:08 +03:00
Jonas Sicking
9fb7b3415e Bug 447917: Implement the Implement ElementTraversal. Also implements a .children property that is a NodeList of all element children. This is a subset of the IE property with the same name. r=smaug sr=peterv 2008-08-04 17:58:16 -07:00
Olli Pettay
e19975c084 Bug 372964, Make XMLHttpRequest to work more like a normal event target, additional patch, r+sr=jst 2008-08-19 16:02:02 +03:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Olli Pettay
cf78b89d1b Bug 435425, re-enable tests 2008-08-14 19:07:50 +03:00
Olli Pettay
3885acdc9e Bug 435425, disable tests for now 2008-08-14 16:43:57 +03:00
Olli Pettay
4062b71fa6 Bug 435425 – Progress events for XHR, r=sicking, sr=jst 2008-08-14 14:07:46 +03:00
Olli Pettay
d5eda7d66b Bug 372964 – Make XMLHttpRequest to work more like a normal event target, r=sicking, sr=jst 2008-08-14 14:04:43 +03:00
Jonas Sicking
cfd4e7f824 Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
Boris Zbarsky
2fd8a11dcd Bug 416317 changing test message to unconfuse tinderbox 2008-07-22 09:44:14 -07:00
Boris Zbarsky
4c507815b8 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Johnny Stenback
0fc704b4b2 Landing tests for bug 132824. Patch by craig.topper@gmail.com, r+sr=jonas@sicking.cc 2008-07-21 17:41:05 -07:00