Commit Graph

213 Commits

Author SHA1 Message Date
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
Robert O'Callahan
7834856f06 Fix test to not fail randomly 2008-07-15 10:52:07 -04:00
Robert O'Callahan
af30232ff4 Disabling unreliable test, see bug 431833 2008-07-15 20:28:26 +12:00
Olli Pettay
ea7ff0f5b2 Bug 444722, XMLHttpRequest.send should handle case when there isn't any parameter, r+sr=bz 2008-07-13 22:32:33 +03:00
Olli Pettay
340ccadf64 Bug 444030, Crash [@ nsGenericDOMDataNode::FirstLogicallyAdjacentTextNode], r+sr=jst 2008-07-13 22:28:22 +03:00
Adam Barth
0e60a09743 Bug 429781 - "Update XMLHttpRequest blocked header list" [r+sr=sicking] 2008-07-12 18:06:36 -05:00
Reed Loden
478f37cda4 Backed out changeset 88a91e1e9a3f 2008-07-12 16:32:25 -05:00
Jeff Walden
abf8b90dee Bug 397227 - "Reduce the effort needed to write C++ tests" [r=ted/luser] 2008-07-12 16:27:27 -05:00
Smaug
0be1395b5c Bug 199959 – Attribute.specified isn't true when attribute set through Attribute.value='string'. r=sicking, sr=bz 2008-07-12 13:05:49 +02:00
Dietrich Ayala
6ebe64c24b imported patch bug-444030-backout 2008-07-10 15:14:04 -07:00
Olli Pettay
67170fb8db Bug 444030, Crash [@ nsGenericDOMDataNode::FirstLogicallyAdjacentTextNode] r+sr=jst 2008-07-10 21:21:31 +03:00
Robert O'Callahan
cafdc05f67 Bug 438519. Make DocumentType.internalSbuset return null when there was no internal subset in the doctype at all. r+sr=sicking. Acid3 progress. 2008-06-14 20:24:13 +12:00
Jeff Walden
68d86d0b8c Bug 421765 - Implement DOM 3 replaceWholeText and wholeText. acid3++ r=smaug, sr=jst 2008-06-04 13:53:34 -04:00
bzbarsky@mit.edu
2b722b74e1 Fix bug 431833: fire DOMFrameContentLoaded on the immediate parent document of the frame. r=bent, sr=sicking, a=beltzner 2008-05-04 20:53:42 -07:00
jonas@sicking.cc
b47bc28082 Backing out to try to fix orange 2008-05-02 19:16:21 -07:00
jonas@sicking.cc
4b1402c163 Bug 429781: Update XMLHttpRequest blocked header list to latest spec. Patch by Adam Barth. r/sr=sicking a=damon 2008-05-02 17:00:18 -07:00
Olli.Pettay@helsinki.fi
8c5cd9f684 Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore 2008-04-29 00:18:55 -07:00
bzbarsky@mit.edu
b0859e358e Don't report bogus errors when DOMParser is used from chrome. Bug 429785, r+sr=sicking, a=dsicore 2008-04-24 14:54:42 -07:00
Olli.Pettay@helsinki.fi
2df44b5dfe Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore 2008-04-24 03:33:22 -07:00
jonas@sicking.cc
2558cdb12f Followup patch to bug 425201. Make sure to throw if xhr.open is called with an illegal uri. Also restore the nsIScriptSecurityManager.CheckConnect API as soap still uses it 2008-04-18 10:35:55 -07:00
jst@mozilla.org
940a11a226 Fixing bug 428847. Don't show an error page if an XML file references an XSLT stylesheet it doesn't have permission to load. r+sr=jonas@sicking.cc, a=beltzner 2008-04-17 15:22:44 -07:00
mats.palmgren@bredband.net
6091930e10 Don't trigger "Missing plugin" UI for supported image or document types when there's no URI. b=429157 r+sr=jst a1.9=beltzner 2008-04-16 13:07:11 -07:00
reed@reedloden.com
a663ac401d Bug 426308 - "Cross site XHR backout broke redirect handling for privileged code" [p=manish@flock.com (Manish Singh) r+sr=sicking a=blocking1.9+] 2008-04-04 02:01:22 -07:00
jst@mozilla.org
8d1013ae5e More fixes to get this test to run more reliably, use onload instead of a timeout... 2008-03-27 21:06:48 -07:00
jst@mozilla.org
e0d9bf2561 Bumping timeout in test in hope of stabilizing our slowish test boxes. 2008-03-27 17:58:39 -07:00
jst@mozilla.org
e0c4d37c12 Fixing bug 425013. Make Firefox show the plugin finder UI for unsupported object tags w/o alternate content. r+sr=bzbarsky@mit.edu 2008-03-26 16:04:57 -07:00
jonas@sicking.cc
ae0bc39fab Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes 2008-03-25 19:46:08 -07:00
bzbarsky@mit.edu
0275494c4c Adding test 2008-03-21 22:28:53 -07:00
bzbarsky@mit.edu
c7132d3d58 Don't garbage-collect still-loading Image nodes until their onload/onerror has fired. Bug 421602, r=stuart, sr=sicking 2008-03-19 12:07:59 -07:00
mattwillis@gmail.com
3f494f6da0 Bug 383430 - Add features to XHR for convenience of background requests. Patch by Manish Singh <manish@flock.com> r/sr=sicking, a1.9=shaver 2008-03-18 17:14:38 -07:00
cbiesinger@gmail.com
c3caf5427c bug 422537 use a storage stream instead of a pipe as the upload stream when send()ing a document, to follow the expectations of nsIUploadChannel which wants a seekable stream. r+sr=bz a=beltzner 2008-03-18 12:49:20 -07:00
mattwillis@gmail.com
a68fa041af Bug 421622 - Add testcase 2008-03-18 11:22:50 -07:00
Olli.Pettay@helsinki.fi
eecf0ccd4b Bug 419527, 'ASSERTION: Wrong root' with XBL, r+sr=sicking 2008-03-13 03:12:51 -07:00
jwalden@mit.edu
0bc9489dc2 Switch a test from using a Mozilla-specific name for a constant to using the standard one, no semantic change. r=foopy 2008-03-12 13:43:09 -07:00
bent.mozilla@gmail.com
820a55f61d Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 12:14:33 -08:00
reed@reedloden.com
419bed8306 Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+] 2008-03-05 02:29:32 -08:00
bzbarsky@mit.edu
1201485052 Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner 2008-02-28 20:24:32 -08:00
roc+@cs.cmu.edu
0689f4c34f Bug 417255. Rework getClientRects/getBoundingClientRect/offset* code to use a generic rectangle iterator API which drills down through anonymous blocks, fixing IE compat. r+sr=dbaron 2008-02-27 01:26:15 -08:00
dbaron@dbaron.org
47cb93a177 Fix todo expected to be fixed by bug 363248. 2008-02-26 18:55:20 -08:00
Olli.Pettay@helsinki.fi
cac7a274ea Bug 409380, support 'unconnected' ranges , r+sr+a=sicking 2008-02-24 04:46:09 -08:00
Olli.Pettay@helsinki.fi
0ccb4fd6ff Bug 418727, Save as text only includes the email subject, r+sr=peterv, a=beltzner 2008-02-21 10:45:57 -08:00