Commit Graph

525 Commits

Author SHA1 Message Date
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
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
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
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
cab9e70226 Bug 444546 - Don't dispatch progress event more often than every 350msec, tests 2008-10-20 00:28:06 +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
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
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
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
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
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
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
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
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
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
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
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
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
bent.mozilla@gmail.com
f22ebbeebe Bug 392322 - "XMLHttpRequest crashes on local file retrieval [@ nsCrossSiteListenerProxy::OnStartRequest]". r+sr=sicking, a=blocking1.9+. 2008-02-19 15:12:23 -08:00
bzbarsky@mit.edu
970880603b Don't parse "style" attributes in data documents unless someone asks for .style. Bug 418214, r+sr=peterv, a=schrep 2008-02-19 09:52:00 -08:00
Olli.Pettay@helsinki.fi
43062b773a Bug 417384, r+sr=peterv, a=mtschrep 2008-02-19 05:17:29 -08:00
bent.mozilla@gmail.com
cda4b76f37 Disable test until I can figure out why it won't link. 2008-02-12 21:29:12 -08:00
bent.mozilla@gmail.com
93d6b0b5d6 Bustage fix? 2008-02-12 21:17:17 -08:00
bent.mozilla@gmail.com
14b2a9c165 Bug 392322 - "XMLHttpRequest crashes on local file retrieval [@ nsCrossSiteListenerProxy::OnStartRequest]". r+sr=sicking, a=blocking1.9+. 2008-02-12 20:54:08 -08:00
Olli.Pettay@helsinki.fi
d05a51ffc3 Bug 416383, call nsDOMAttributeMap::DropReference() when unlinking elements ([@nsDOMAttribute::GetValue(nsAString_internal&)]), r+sr=sicking, a=mtschrep 2008-02-11 02:36:50 -08:00
Olli.Pettay@helsinki.fi
11b5d3ed3b Bug 415860, Range that selects textContent's last character will select everything when textContent changes, r+sr=sicking, a=mtschrep 2008-02-10 05:04:19 -08:00
surkov.alexander@gmail.com
acf68d9dd3 Bug 378969 - ###!!! ASSERTION: ReplaceElementAt(negative index): aIndex >= 0, file nsVoidArray.cpp, line 491, r=jwalden+bmo, sr=peterv, a=mtschrep 2008-02-09 10:05:13 -08:00
dcamp@mozilla.com
968073116f Bug 414796: nsIDOMFile::getAsText(iso-8859-1) only returns first 8192 chars of file. r/sr/blocking-1.9=sicking 2008-02-07 14:45:29 -08:00
jonas@sicking.cc
ba446696ec Bug 397878: Send Referer-Root header when doing cross-site access requests. Also update domain pattern matching to spec. Patch by <suryaismail@gmail.com>. r=bent sr=sicking b3a=beltzner 2008-01-31 00:16:54 -08:00
roc+@cs.cmu.edu
0dcd3acd05 Bug 414190. getBoundingClientRect and getClientRects need special treatment of tables. r+sr=mats 2008-01-28 09:42:52 -08:00
bzbarsky@mit.edu
8e6857f665 Need this change too. 2008-01-27 13:04:25 -08:00
jruderman@hmc.edu
65d3a7f902 Add my first mochitest! 2008-01-14 20:11:17 -08:00
roc+@cs.cmu.edu
7e8a748e8d Bug 410229. Handle IB special-siblings when we're finding all the CSS boxes for an element for getBoundingClientRect/getClientRects. r+sr=mats 2008-01-03 17:50:30 -08:00
jonas@sicking.cc
1f298a2385 Bug 403841: nsContentUtils::CreateContextualFragment needs to deal with being passed nodes other than elements. Patch by luser. r/sr=sicking 2007-12-18 13:24:54 -08:00
dcamp@mozilla.com
7bcf65f58d Bug 403852: Unable to access nsIDOMFile using the [] operator. r+sr=sicking, b=dsicore 2007-12-17 13:20:40 -08:00
bzbarsky@mit.edu
f1f789125b Propagate the node's principal as the owner to <object> loads as needed, and allow <object data="javascript:"> to work. Bug 353334 and bug 300263, r=biesi, sr=jst, a=dsicore 2007-12-03 13:57:17 -08:00
bzbarsky@mit.edu
d94f29ae56 Add a way to extract the charset and the position of the charset parameter from a content-type header. Use this in XMLHttpRequest to not clobber the non-charset parameters and not clobber the charset if it's already what we'll set, up to case. Apparently some broken servers are case-sensitive when looking at charsets! Bug 393968 (wherein the patch lies) and bug 397234, r+sr=biesi 2007-12-03 13:34:44 -08:00
mats.palmgren@bredband.net
9c7cf5a227 Lookup default script language on the script global object when there is no root content. b=405182 r+sr=jst a=blocking1.9 2007-12-01 03:10:12 -08:00
bzbarsky@mit.edu
cc5ba1b527 Make getElementById in HTML always return the first node in document order. Bug 403868, r+sr=sicking 2007-11-21 18:28:47 -08:00
reed@reedloden.com
8bd1f5859f Back out luser's patch from bug 403841 as a possible cause of the Ts regression on Linux. 2007-11-17 13:14:37 -08:00
ted.mielczarek@gmail.com
9efc20152c bug 403841 - Crash in nsContentUtils::CreateContextualFragment when passed a non-element node as context node. r+sr=sicking 2007-11-17 05:16:49 -08:00
bzbarsky@mit.edu
f513ef954c Adding test 2007-11-15 14:23:07 -08:00
philringnalda@gmail.com
0ecf6c1002 Bug 401662 - plaintext serializer includes content of <style> elements, r+sr=mrbkap, a=dsicore 2007-11-12 19:15:44 -08:00
ted.mielczarek@gmail.com
c8a4af071b bug 402150 - Buffer overrun [@ nsDocument::RetrieveRelevantHeaders] at provided URL (mochitest). r=jst 2007-11-11 08:50:02 -08:00
bzbarsky@mit.edu
9013e7e507 Add test 2007-10-05 20:01:10 -07:00
jonas@sicking.cc
0261538ed2 add tests for bug 390219 and bug 326337. r/sr=peterv a=me 2007-09-28 16:46:42 -07:00
bzbarsky@mit.edu
f91b2b313b Fix bug 392318. r+sr+a=sicking. 2007-09-20 19:41:08 -07:00
bzbarsky@mit.edu
df30233ab2 Make getElementsByClassName handle the root element properly. Bug 395915, r+sr=peterv, a=sicking. 2007-09-20 15:10:27 -07:00
bzbarsky@mit.edu
3ee408ea1f Fix serialization of '&' in "script" attribute values so that it round-trips correctly. Bug 392511, r+sr=peterv, a=jst 2007-09-14 12:03:13 -07:00
bzbarsky@mit.edu
0102a642c5 Don't play games with the <meta> tag when not serializing an entire document. Bug 390735, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=bzbarsky, a=jst 2007-08-10 17:38:53 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
5b2545c6f2 Backout bug 378866, the patch doesn't handle all testcases :( 2007-08-03 06:06:05 -07:00
Olli.Pettay@helsinki.fi
908f41f6dc Bug 378866, r+sr=bz, a=sicking 2007-08-02 23:53:01 -07:00
jonas@sicking.cc
da0e93de39 Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc 2007-07-30 17:42:16 -07:00
jonas@sicking.cc
24c4c1d539 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
jonas@sicking.cc
13974dde1b backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
cbiesinger@web.de
aece5fe57c bug 382113 set LOAD_DOCUMENT_URI for <object> loads that load a document
so that things like onload events work correctly
r+sr=bz
2007-06-23 01:44:27 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
ted.mielczarek@gmail.com
467c001632 bug 373181 - onload doesn't fire for XHTML documents that contain a script tag (Firefox's RSS preview is broken) - add mochikit test. r=sicking 2007-04-26 04:39:15 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
sayrer@gmail.com
51fd920a47 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
bzbarsky@mit.edu
4ea7f3126e Adding testcase. 2007-04-11 23:40:27 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00