Commit Graph

465 Commits

Author SHA1 Message Date
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Kyle Huey
601d68ae79 Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch MozBlobBuilder.getBlob("content/type"); returns a Blob and clears the MozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new MozBlobBuilder();
MozBlobBuilder.append("foo");
let blob1 = MozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
MozBlobBuilder.append("bar");
let blob2 = MozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Kyle Huey
0018d52058 Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Kyle Huey
7da7ee7e4b Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Olli Pettay
5a3d01a7ee Bug 656218, document.activeElement should not throw, r=bz 2011-05-11 23:52:32 +03:00
Mats Palmgren
3d592e7e8c Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Jonas Sicking
5cf82091f0 Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Ehsan Akhgari
9db49692dd Bug 650543 - Rewrite the test for bug 419132 to make it sane, and re-enable it; r=sicking 2011-04-16 19:39:42 -04:00
Ehsan Akhgari
9676a5023a Bug 492181 - test_plugin_freezing.html causes focus problems for the following test; r=roc 2011-04-16 19:39:43 -04:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Peter Van der Beken
0ba34f47fc Fix for bug 626262 (Don't allow parent's ownerDocument to change during appendChild). r=bz.
--HG--
extra : rebase_source : a591ab1b85579ced5fc750253cf2204c5ca021f8
2011-02-07 15:36:16 +01:00
Ms2ger
e1868789c3 Bug 628353 - Expose the DATA_CLONE_ERR constant on DOMException; r=jst 2011-03-28 23:32:11 -04:00
Justin Lebar
776b8e6a2f Bug 585978 - Add SSE implementation of is-ascii check in nsTextFragment. r=derf,jst 2010-08-09 15:32:18 -07:00
bjarne@runitsoft,com
d902fada99 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed; r=(dwitte, jduell). 2011-03-24 16:45:07 -04:00
Mounir Lamouri
45af7761d9 Tests for bug 628938; r=smaug a=test-only 2011-02-23 17:14:44 +01:00
Brandon Sterne
489b9b523d Bug 558431 - Make fetching CSP policy-uri asyn, r=jst, a=blocking-betaN 2011-02-15 09:05:02 -08:00
Jonas Sicking
0d87556628 Bug 629982: Attempt to fix crashes due to too deep DOM trees by making GetBaseURI non-recursive. r=jst a=blocker 2011-02-10 23:47:00 -08:00
Justin Lebar
099591cc66 Bug 622088 - Make XHRs' referrers reflect changes to document's URI from history.push/replaceState. r=sicking, a=bz 2011-01-30 13:46:34 -08:00
Zack Weinberg
59157fdf7c Bug 631615: suppress CSS parser diagnostics in ParseSelectorString. r=dbaron a2.0=dbaron 2011-02-04 14:17:00 -08:00
Brandon Sterne
64d3a59630 Backed out changeset 9ce4d80efab6
Due to test failures, a=backout
2011-02-01 16:07:09 -08:00
Brandon Sterne
1a61fb546d Bug 558431 - make CSP policy-uri fetching asynchronous, r=jst, a=blocker 2011-02-01 15:17:06 -08:00
Craig Topper
73b6ffbb8b Bug 625722 - Firefox freezes in Mozilla TreeWalker demo. r=sicking a=blocking2.0
--HG--
extra : rebase_source : 12a8f573fda08e2adcc613d12f2a1df07a0ef5ce
2011-01-15 11:00:50 -08:00
Bjarne
8ac3bfeeb6 Bug 466080 - test for Make more things honor the LOAD_ANONYMOUS flag, r=jonas, a=test-only-change 2011-01-16 17:58:50 +01:00
tim.taubert@gmx.de
cf66bdab78 Bug 484396 - XMLHttpRequest.open throws exception on empty string url parameter, r=smaug, a=bz
--HG--
extra : rebase_source : 73ce4b9fca63e9fd16acac65739fc71603ec843e
2011-01-14 18:11:25 +02:00
Boris Zbarsky
862401c75d Bug 622246. Just get our target off the event instead of relying on the ESM, since the ESM doesn't actually do what we want here. r=smaug, a=blocker 2011-01-03 20:46:19 -06:00
Boris Zbarsky
2fec7e82d8 Bug 622117. Fix flag collision. r=smaug 2011-01-03 20:46:19 -06:00
Boris Zbarsky
853fd4d981 Bug 331959 and bug 127903. Make situations in which an anchor or submit control is nested inside another anchor and the inner thing is clicked trigger the inner thing, not both. r=smaug,gavin a=blocker 2010-12-27 14:42:10 -06:00
Mounir Lamouri
a7db22e4cf Bug 590771 - Tests. r=sicking a=tests
--HG--
extra : rebase_source : 01a79b3592e61fc612c27e5218f0872c09d7f07d
2010-12-16 12:01:47 -08:00
Jonas Sicking
1926e406ed Bug 614583: Bail earlier when attempting to SetAttr when we don't have room for more attributes to avoid caching flags and attributes to get out of sync. r=jst a=blocker 2010-12-14 09:16:24 -08:00
Henri Sivonen
088379e8dd Bug 592366 - Do not execute scripts whose owner doc is not the doc of the inserter parser or not the owner doc at the time of starting the script load. r=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +02:00
Boris Zbarsky
244e009096 Bug 597345. Discard script preloads if the charset doesn't match. r=sicking, a=blocker 2010-12-07 08:54:50 -05:00
Ms2ger
7f800d51a7 Bug 613793 - Raise an exception when trying to append a child to a DocumentType; r=bzbarsky a=jst 2010-12-04 09:00:19 +01:00
Boris Zbarsky
23c2b599dc Bug 614058. Fix regression in IsEqualNode. r=jst, a=blocker 2010-11-30 13:19:59 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Boris Zbarsky
729bd9d4ac Bug 614058. Fix regression in IsEqualNode. r=jst, a=blocker 2010-11-30 13:19:59 -05:00
Henri Sivonen
be74c70467 Bug 606729 - Make sure a script with the src attribute is treated as an external script even if the value of the attribute is not a valid URL. r=jonas, a=blocking2.0-final. 2010-10-27 10:03:10 +03:00
Kyle Huey
9dd62aa901 Bug 602482: Update XHR forbidden headers to latest spec. r=sicking a=b:betaN
--HG--
rename : content/base/test/test_bug308484.html => content/base/test/test_xhr_forbidden_headers.html
2010-11-15 06:55:30 -05:00
Alex Vincent
17fbdcd463 b=601756 Tests for TreeWalker.nextSibling, previousSibling, as suggested by Traversal spec r=smaug a=test
--HG--
extra : rebase_source : c0119c7cd025ad199f2a1623843836eace58ea1c
2010-11-15 12:08:49 +13:00
Henri Sivonen
0e5c39fc7b Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cfe476ed6ac2b1ee4cc243034659290d1226bd42
2010-11-01 11:50:01 +01:00
Henri Sivonen
0f8fe9dae5 Bug 602838 part 1 - Execute in insertion order script-inserted external scripts that have the async DOM attribute reporting false. r=jonas, a=blocking2.0-beta8.
--HG--
extra : rebase_source : bfbbf7cf783a1d50a52896e5fe540aa7e84b2e0c
2010-10-13 10:12:55 +03:00
Michael Wu
30098037eb Backed out changeset 090046fc6891 bug 482935 due to a=orange 2010-11-10 19:29:51 -08:00
bjarne@runitsoft.com
b9e7d659bd Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed;
(Av1f) Allow content to be cached if it was loaded successfully.
r=(dwitte, jduell) a2.0=benjamin.
2010-11-11 01:02:15 +01:00
Ehsan Akhgari
056fc8aba7 Backed out changeset c85c2f1b0566 because of oranges on mochitest-1 2010-11-10 17:46:32 -05:00
bjarne@runitsoft.com
c6a0351901 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed;
(Av1e) Allow content to be cached if it was loaded successfully.
r=(dwitte, jduell) a2.0=benjamin.
2010-11-10 22:28:54 +01:00
Henri Sivonen
6b5b74d541 Bug 604660 - Make XSLT-inserted script execute in the insertion order. r=jonas, a=blocking2.0-beta7.
--HG--
extra : rebase_source : fde633f62de8b4ec5af5c85f21c01ed4781e06e3
2010-10-27 10:18:24 +03:00
Mounir Lamouri
08ab79dbaa Bug 605982 - mozMatchesSelector should raise a SYNTAX_ERR exception on invalid selectors. r+a=bz 2010-10-21 16:09:00 +02:00
Ms2ger
b1bed27299 Bug 567350 - Make getComputedStyle's second argument optional; r=bzbarsky a=jst 2010-10-16 13:54:47 +02:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Peter Van der Beken
63f5a338e8 bug 580128 - Disallow cross-compartment adoptNode. r=jst 2010-10-10 15:42:09 -07:00
Mounir Lamouri
689e2af38f Bug 600471 - Listen to the new content when an attribute is attached to it. r=bz a=blocking-2.0 2010-10-07 12:05:33 +02:00
Mounir Lamouri
d996cdbbd1 Bug 600468 - Remove attribute's first child when the value is set to the empty string. r=bz a=blocking-2.0 2010-10-07 12:05:04 +02:00
Mounir Lamouri
b162eb42cb Bug 600466 - Actually remove child when .removeChild() is called on attributes. r=bz a=blocking-2.0 2010-10-07 12:04:25 +02:00
Mounir Lamouri
bf1b804104 Bug 598877 - nsDOMAttributes should update mChild when value is set. r=bz a=blocking-2.0 2010-10-07 12:04:07 +02:00
Kyle Huey
9e6bf3758e Bug 599367: Set content type on moz-filedata channels. r=sicking a=blocking-beta-8
--HG--
rename : content/base/test/file_bug543870_doc.html => content/base/test/file_mozfiledataurl_doc.html
rename : content/base/test/file_bug543870_img.jpg => content/base/test/file_mozfiledataurl_img.jpg
rename : content/base/test/file_bug543870_inner.html => content/base/test/file_mozfiledataurl_inner.html
rename : content/base/test/file_bug543870_text.txt => content/base/test/file_mozfiledataurl_text.txt
rename : content/base/test/test_bug543870.html => content/base/test/test_mozfiledataurl.html
extra : rebase_source : f297d67ba4c75ce711b643577c69386c93c03bf8
2010-10-02 03:32:49 -04:00
Jonas Sicking
dcce0d0b40 Bug 592829: Make parsing code able to deal with element creation failing. r=jst/peterv a=blocker 2010-10-04 18:25:44 -07:00
Jonas Sicking
5bb7c320a3 Back out bug 592829 due to crash. a=backout 2010-09-22 16:38:39 -07:00
Jonas Sicking
446e859c8d Bug 592829: Don't crash if we fail to create an element during XML parsing. r=jst a=beta7blocker 2010-09-22 14:51:46 -07:00
Brandon Sterne
0b89e8b60a Bug 593387 - "Get Add-ons" pane is being restricted by X-FRAME-OPTIONS. r=bz a=b 2010-09-19 17:59:59 +02:00
Olli Pettay
8bf6fff13a Bug 313646 - synchronous XMLHttpRequest does not fire readystatechange event, r=sicking, a=sicking 2010-09-17 12:30:35 +03:00
Jonas Sicking
fd2c9c0694 Bug 587931: Implement document.currentScript and beforescriptexecute/afterscriptexecute events. r=mrbkap a=sicking 2010-09-16 01:48:47 -07:00
David Zbarsky
e5944a3eba Bug 499656. Make nsContentList have dual atoms (original case and lowercase) so that we can match non-HTML elements in HTML documents correctly. r=sicking 2010-08-31 19:47:00 -07:00
Kyle Huey
3b982c261f Test for Bug 578096. a=test-only 2010-09-09 22:43:22 -04:00
Ms2ger
f57e7fa2e6 Bug 592827 - Implement DOMImplementation.createHTMLDocument; r=jonas approval2.0=jonas 2010-09-04 13:38:07 +02:00
Jonas Sicking
6bae28a4f7 Test for bug 590812. r=jst a=test-only 2010-09-03 15:53:28 -07:00
Jonas Sicking
c813c38eaf Test for bug 590870. r=jst a=test-only 2010-09-03 15:53:28 -07:00
Vladimir Vukicevic
c820f5632e b=572522; add experimental mozArrayBuffer to XHR; r=jst, a=bsmedberg 2010-08-14 10:52:19 -07:00
Brandon Sterne
d6c74984ec Bug 475530 - X-Frame-Options w/ redirect to about:blank, r=jst 2010-07-21 08:51:09 -07:00
Mats Palmgren
2cc4e040ea Make it possible to drag a non-selectable node again. b=574596 r=dbaron 2010-07-12 22:24:25 +02:00
L. David Baron
f2a1d900ab Backed out changeset f0d3b958d38d (bug 552523) for causing 137-140 mochitest failures on the two mochitest runs (both Windows) that have completed so far. 2010-07-02 18:15:13 -07:00
Sid Stamm
15ea2fb656 Bug 552523 - enable CSP active and report-only modes simultaneously, r=dveditz 2010-07-02 15:26:35 -07:00
Geoff Lankow
cc4019ac75 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
wfernandom2004@gmail.com
f8e8fddd2c Bug 562681, tests and small fixes, r=smaug
--HG--
extra : rebase_source : 0b4bb2f3c4b11101a0d97b546549c605297639c4
2010-06-18 23:48:42 +03:00
Olli Pettay
98068a032f Some basic WS tests
--HG--
extra : rebase_source : 8d700930e3856b464e138782c501d3c4d617be2a
2010-06-18 00:30:13 +03:00
jgriffin@mozilla.com
0ae022ac6b bug 570789, simple mochitest for websockets
--HG--
extra : rebase_source : e7523ef6e268b92d0e10ce7c530067fb69d97c0f
2010-06-17 21:38:29 +03:00
Jonathan Griffin
c9007c876b Bug 570789. Remove some test files from the Makefile that were added mistakenly in previous patch. 2010-06-16 22:42:00 -07:00
Jonathan Griffin
ff0b54f0da Bug 570789. Add WebSocket support to mochitest. r=ted
--HG--
extra : rebase_source : 2e33d054a13824d1a7e527777383820946684c3f
2010-06-16 22:38:55 -07:00
Olli Pettay
77e8c01739 Bug 571390 - classList is always empty on xul elements, r=bz
--HG--
extra : rebase_source : 00d58d4fa7e0bffe2bf6b60b4d8a74fd0e27eebe
2010-06-14 10:29:54 +03:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
L. David Baron
9922b33bed Add tests for HTML colors based mostly on tests by Simon <zcorpan@gmail.com> with a few additional tests and integration into mochitests by me. (Bug 121738 2010-06-03 13:11:35 -07:00
Brandon Sterne
33f71c137b Test for bug 548193, r=sicking 2010-05-27 09:12:32 -07:00
Robert Kaiser
e90ee6b8b3 bug 563151 - split test files to install into two groups to not run into commandline overflows on Windows (fixes SeaMonkey debug bustage), r=ted a=peterv for pushing 2010-05-08 13:56:14 +02:00
Boris Zbarsky
e19f8c4e1a Bug 562137. Use the UTF-8 decoder to decode UTF-8 instead of just assuming that it really is UTF-8. r=sicking 2010-05-05 14:18:04 -04:00
Olli Pettay
03b1834f8f Bug 562652 - MutationEvents don't get fired when documentFragment is added to a data document, r=sicking 2010-04-30 14:01:25 +03:00
Mats Palmgren
f5cdcbb5d5 Call EnsureTextRun() and null-check GetTextRun() return value before using it. b=560780 r=roc 2010-04-28 19:47:23 +02:00
Mounir Lamouri
a3c0ae8c49 Bug 346485 - "Implement output element -- Test" [r=smaug] 2010-04-22 07:03:00 -04:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Brandon Sterne
9bb964f0d3 Bug 515460 - Mochitests for CSP redirect handling, a=dholbert_sheriff 2010-04-23 12:55:19 -07:00
Robert O'Callahan
fc697b3134 Backed out changeset e79947cb55bc 2010-04-23 17:14:55 +12:00
Mounir Lamouri
ff8816e56a Bug 346485. Tests for HTML5 <output> element. r=smaug 2010-04-23 14:43:36 +12:00
Olli Pettay
79f6246f12 Bug 559526 - Moving a NodeIterator from its NodeFilter causes a crash, r=sicking
--HG--
extra : rebase_source : fc22f797ae28009752075c21a280647f042c886c
2010-04-16 21:45:13 +03:00
Olli Pettay
f61e2208ef Bug 557892 - Crash [@ nsGenericElement::SetAttr], r=sicking
--HG--
extra : rebase_source : 55eae64fcad1d2ad4343b5ac0e70a26e67021722
2010-04-15 14:07:30 +03:00
Mats Palmgren
dcb7d49aa0 Test for bug 558726. 2010-04-14 16:55:21 +02:00
Geoff Lankow
d0d55901fd Bug 166235: moz-user-select = 'none' should prevent copying to the clipboard. r=mats 2010-04-10 16:05:58 -04:00
Blake Kaplan
2142830c49 Bug 527102 - Try to prevent timeouts by splitting this test up. r=sicking
--HG--
extra : rebase_source : 73ef1f468e6ce257212bbdd9072c61d44a890e1f
2010-04-06 17:05:19 -07:00
Laurent Jouanneau
80bbbfa384 bug 549295 - html serializer should not wrap by default. r=Olly sr=Boris 2010-04-03 14:51:17 +02:00
Laurent Jouanneau
ebf772c85a Bug 541937 - XMLSerializer should serialize content of link tags. r=Olli.Pettay sr=bzbarsky 2010-03-23 21:55:39 +01:00
Ms2ger@gmail.com
d6bc4e12a7 Bug 553896 - Node.isEqualNode(null) shouldn't throw. r=smaug 2010-03-22 17:06:57 +01:00
Laurent Jouanneau
8b9930f133 Bug 545644 - Regression: HTML 'nbsp' entity is not handled correctly in xHTML mode. r=Olli sr=Jonas 2010-03-18 17:07:32 +01:00
Peter Van der Beken
6469f57d89 Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). r=sicking.
--HG--
extra : rebase_source : 5c00c3b6c65491997984d216f5c61052ccc0a77b
2010-03-17 15:40:35 +01:00
Neil Rashbrook
724e883076 Bug 518249 Disabling the test on the Mac because we don't know why it crashes r=orange 2010-03-15 16:56:47 +00:00
Neil Rashbrook
bc7faca581 Bug 518249 Adding test r=karlt
--HG--
rename : content/base/test/test_copypaste.html => content/base/test/test_copyimage.html
2010-03-15 11:59:49 +00:00
Joel Maher
54bd749a31 Bug 544097 Fixing CSP Tests to work with these changes. r=waldo, geekboy p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:37 -08:00
Sid Stamm
47a3291b46 bug 515443 CSP no-eval support. r=mrbkap,brendan 2010-03-08 00:24:50 -08:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Jonas Sicking
bf568e77dc Bug 544372: Reading unitialized memory in nsNodeIterator. Also fix a minor perf issue. r=peterv 2010-02-25 10:34:36 -08:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Sid Stamm
f9be5dbbdb Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath] 2010-02-05 14:08:27 -06:00
Olli Pettay
ece91e4c8c Bug 540854 - XMLHttpRequest truncates UTF-8 encoded strings containing Code Point 0x00, r=sicking
--HG--
extra : rebase_source : 251c02fe91bf35fe46f0f1e3a829ddb00e889132
2010-01-26 15:54:55 +02:00
Sid Stamm
f2278605c1 Bug 515437 CSP connection code, r=jst,dveditz sr=jst 2010-01-22 13:38:21 -08:00
Daniel Veditz
0e538279e0 Backed out changeset a6ce37b09cf5 because of possible Tp4 perf hit 2010-01-14 17:19:11 -08:00
Sid Stamm ext:(%2C%20Brandon%20Sterne%20%3Cbsterne%40mozilla.com%3E)
56ceec2c4c bug 515433, bug 515437: Content Security Policy (CSP) core 2010-01-13 14:18:24 -08:00
Robert O'Callahan
68b12dc4fc Bug 526394. Part 8: Fix nsNSElementTearoff to use new APIs, and also fix it to check for root element and body properly. r=jst 2009-09-03 15:57:36 +12:00
Olli Pettay
dcb24ab519 Bug 469304 - Attribute nodes set with setAttributeNode get mutated, r=sicking
--HG--
extra : rebase_source : fd36b564ebc3cc574724e0f7993204319ec5220f
2009-12-28 16:35:06 +02:00
Henri Sivonen
e8f639313e Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Boris Zbarsky
2a9811df52 Bug 455472. Be a little more careful with our handling of application/octet-stream. r=jst 2009-12-02 23:56:59 -05:00
Henri Sivonen
9a8b5b64db Disable test for bug 503473 due to disruption to test harness shutdown (orange). 2009-11-18 16:18:38 +02:00
Henri Sivonen
0e0bd230cf Test for bug 513194 - HTML5 parser ends up parsing inline stylesheets twice. r=bzbarsky.
--HG--
extra : rebase_source : 337ce649c3a52b98929ff3a5ee30c1a15e2e4947
2009-11-06 15:06:48 +02:00
Henri Sivonen
3d0ac8ccf0 Test for bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman.
--HG--
extra : rebase_source : febd7b2f4fd44960d4a38bcc0d8d8e494833730f
2009-11-04 12:16:40 +02:00
Jonas Sicking
b801bd247a Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Laurent Jouanneau
f13301ad46 Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. r=Mats Palmgren sr=Olli Pettay 2009-11-09 15:41:12 +01:00
Honza Bambas
6d9c76510f Bug 475156 - correcting cache behavior when using custom conditional request headers, r=bzbarsky 2009-10-21 12:18:08 +02:00
Olli Pettay
2735d10abd Bug 333673 - document.implementation != document.implementation, r=peterv
--HG--
extra : rebase_source : eb0ce55653b586242f6da43e0c95f6aaf914342b
2009-10-18 19:39:52 +03:00
Boris Zbarsky
c3214c55a5 Backed out changeset c5fe17b1caa9 (bug 489925) 2009-10-13 15:39:31 -04:00
Matin Movassate
4bb47ecb1e Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Matin Movassate
f08a105d74 Bug 491201 - Turn on XHR::Send tests, wrap the call to nsIFile.remove in try/catch to avoid orange on Windows machines.r+sr=sicking 2009-09-15 16:53:32 -07:00
Jonas Sicking
0d2f92b52e Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
Henri Sivonen
bc5244f7c3 Test for bug 505783 - Do not ignore xml:base in HTML DOMs. r=sicking. 2009-10-02 19:46:23 +03:00
Robert O'Callahan
34fb2c86a0 Bug 396392. Fix test to not assume that the height of a block matches the height of the text inside it.
--HG--
extra : rebase_source : a733ab3f27f2c54a09ad28c8274c119ac0edbe11
2009-09-25 17:18:21 +12:00
Henri Sivonen
08400cbd56 Bug 500937 - Make the output of XMLSerializer more HTML-friendly. r=laurent, sr=jst. 2009-09-28 10:59:52 +03:00
Serge Gautherie
a7ec56131c Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range; (Cv1) Actually disable test ;-< 2009-09-25 04:24:47 +02:00
Serge Gautherie
c8bf6f032f Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range; (Bv1) Disable test (which fails on MacOSX, Windows) 2009-09-24 18:57:47 -07:00
liucougar
5104b445c7 Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Olli Pettay
732cba625e backout Bug 313646
--HG--
extra : rebase_source : 5ff7e3a019f140ef26f5ac14210e19ad382e65f8
2009-09-15 18:44:35 +03:00
Olli Pettay
c6fd8f3e85 Bug 313646 - synchronous XMLHttpRequest does not fire readystatechange event, r=justin.lebar,sicking, sr=jst 2009-09-15 12:27:12 +03:00
Olli Pettay
953e093b84 Bug 514487 - Cloning a document doesn't update the ID map, r=bz
--HG--
extra : rebase_source : 5b3003c47cdc47a3a9998dc4bfbe374c096a8690
2009-09-10 16:23:40 +03:00
Johnny Stenback
15c83e7c77 Disabling tests until we can figure out what's going on with windows orange. 2009-09-08 23:49:46 -07:00
Boris Zbarsky
182d27a809 Bug 489925. getElementById should not return anonymous nodes. r=jst 2009-09-02 11:32:02 -04:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
L. David Baron
d2fe19f12a Backed out changeset 3a829715fd39 (Bug 482935) on suspicion of causing mochitest-plain leaks. 2009-08-20 12:22:30 -07:00
Bjarne
b52baf2375 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed, r=jduell.mcbugs 2009-08-20 17:45:38 +02:00
Mats Palmgren
663acda6e0 Bug 498240 - Range.insertNode() causing NS_ERROR_DOM_INDEX_SIZE_ERR. r+sr=peterv 2009-08-19 02:18:24 +02:00
Adam Barth
58a157fb07 Bug 509714 - Add TestGetURL executable for testing network stack; r=dwitte 2009-08-14 16:10:17 +02:00
Olli Pettay
cb4754240f Bug 501257 - Implement HTML 5's HTMLElement.classList property, p=sylvain.pasche@gmail.com, r=smaug, sr=sicking
--HG--
extra : rebase_source : cbbd5a5679af57f97122082213f44491431d87e3
2009-08-12 11:55:14 +03:00
Michal Novotny
43788e16f6 Testcase for bug 466409 - uncached non-utf8 document loads forever (hangs) with auto-detect -> universal 2009-07-14 16:55:03 +02:00
Jonathan Griffin
57454ce4ed Actually run the test for bug 493881 2009-06-29 20:26:57 +02:00
Peter Van der Beken
b5c0609477 Testcase for bug 498897.
--HG--
extra : rebase_source : a70554700d208221bfa8c7349cb11f879341e317
2009-06-19 18:31:49 +02:00
Christian Biesinger
75d4cbb2e8 bug 498433 Add [ ] to the EscapeURI whitelist, so that IPv6 literals get
serialized correctly.
r+sr=bz
2009-06-16 15:15:57 +02:00
Olli Pettay
0909c69d98 Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +03:00
Robert O'Callahan
388684b649 Disable test_plugin_freezing.html for now since it causes focus problems
--HG--
extra : rebase_source : 5d2a0e81b7c39993a666b6dc4841ae1ba0097dac
2009-05-09 21:12:11 +12:00
Robert O'Callahan
0d7d241faf Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Serge Gautherie
3f32fc862d Bug 397227 - Reduce the effort needed to write C++ tests; (Cv1) Remove leftover LOCAL_INCLUDES; r=ted.mielczarek 2009-04-29 00:48:29 +02:00
laurent@xulfr.org
cca4eaa78d Bug 422403 - improvements to the XML and XHTML serializers, r=smaug, sr=sicking
--HG--
extra : rebase_source : ead8a81eb95c4aec6122850ca58c20399f94758b
2009-04-25 12:00:14 +03:00
Olli Pettay
d904a27d07 Bug 489812 - Suspending timeouts doesn't clear mFiringDepth, r=bent, sr=jst 2009-04-25 02:53:25 +03:00
L. David Baron
d02e7ef8c8 Mark the tests that were just disabled more clearly in the makefiles. 2009-04-24 15:45:34 -07:00
Bob Clary
2f2727d90c bug 419132 - disable test due to time required to run. 2009-04-24 14:54:24 -07:00
Bob Clary
fe4e68d945 bug 419132 - mochikit test by Martijn Wargers. 2009-04-24 10:08:22 -07:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Jonas Sicking
53e008e58c Bug 478889: Make script-defer work in xhtml. r/sr=peterv
--HG--
extra : rebase_source : 4e2abc2b35c72f7c5831f58b0f1c6940b1824de7
2009-03-15 17:53:09 -07:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
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
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
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
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
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
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
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