Commit Graph

400 Commits

Author SHA1 Message Date
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
bent.mozilla@gmail.com
46ed7b400a Add missing file from the last checkin, bug 392322 2008-02-19 15:27:26 -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
reed@reedloden.com
1552b80717 Bug 416958 - "Update header names" [p=suryaismail@gmail.com (Surya Ismail) r+sr=sicking a=blocking1.9+] 2008-02-16 19:26:13 -08:00
bent.mozilla@gmail.com
8f787b8cbf Backing out bug 392322 due to test failure. 2008-02-12 23:23:05 -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
reed@reedloden.com
109bcf4422 Remove <a ping> test from the content policies test as per bug 415168. 2008-02-01 15:41:39 -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
ac4a8fde55 Put the script in a <script>! 2008-01-27 13:10:30 -08:00
bzbarsky@mit.edu
8e6857f665 Need this change too. 2008-01-27 13:04:25 -08:00
bzbarsky@mit.edu
153a5549b8 Fix the test: off-domain subframes can no longer change the location of a non-toplevel parent frame, with the checkin for bug 408052. 2008-01-27 13:00:13 -08:00
jruderman@hmc.edu
65d3a7f902 Add my first mochitest! 2008-01-14 20:11:17 -08:00
roc+@cs.cmu.edu
19b7395864 Bug 410229. Check in preemptive fix for failing testcases to resolve Linux orange. 2008-01-03 20:28:15 -08:00
roc+@cs.cmu.edu
b8405e9f91 Bug 410229. Mark failing testcases as todo while I figure them out. 2008-01-03 19:02:41 -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
3aa58c0862 Make test actually run 2007-10-05 20:53:15 -07:00
bzbarsky@mit.edu
9013e7e507 Add test 2007-10-05 20:01:10 -07:00
uriber@gmail.com
726b853d4d Rename Content-Access-Control to Access-Control. bug=397877 r+sr+a1.9=jonas 2007-09-30 22:45:58 -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
a61b828bb2 Make this test actually test something 2007-09-20 20:58:35 -07:00
bzbarsky@mit.edu
aa2a9b2bd2 Fixing test for real. 2007-09-20 20:39:16 -07:00
bzbarsky@mit.edu
baec163f3f Fixing test to actually pass 2007-09-20 20:06:50 -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
3eaf4622de Remove tests accessing remote server 2007-07-30 18:16:24 -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@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
kherron@fmailbox.com
a746e1c886 Disabling two tests by request of Christian Biesinger. Related to bug 382113. 2007-06-24 17:52:06 -07:00
cbiesinger@web.de
75a42fd777 bug 382113 make the test pass for now (mark it as todo). will be reenabled
once the additional patch from the bug is checked in.
2007-06-23 07:31:37 -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