Commit Graph

515 Commits

Author SHA1 Message Date
Matthew Schranz
75edd6c796 Bug 698384 - Make document.createNodeIterator's 2nd and 3rd parameters optional. r=smaug 2012-01-25 13:47:50 +01:00
Henri Sivonen
60ff9bd2bc Bug 702167 - Remove an obsolete script execution test whose premise is wrong per HTML5. rs=smaug. 2012-01-13 16:27:51 +02:00
Henri Sivonen
757bd59f6a Bug 708620 - Whine to console when a form is submitted in an encoding that cannot represent all of Unicode. r=smaug. 2012-01-02 16:18:30 +02:00
Philipp Wagner
6ab8697406 Bug 693615 - element.lookupNamespaceURI(null) in text/html page cause NS_ERROR_FAILURE error on XrayWrappers; r=bz 2011-12-20 15:54:14 +01:00
Jason Duell
cd5794508e Bug 676439 - Websocket Binary Message support: tests. r=mcmanus 2011-12-15 15:19:51 -08:00
Boris Zbarsky
74aef0d2d5 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Henri Sivonen
cd9e3494e6 Bug 707142 - Replace the "moz-json" responseType with spec-compliant "json". r=smaug. 2011-12-08 15:56:14 +02:00
Boris Zbarsky
83bd6bb9a4 Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc 2011-12-06 23:43:18 -05:00
Wellington Fernando de Macedo
e817588759 Bug 664179 - Allow Cross-Origin URLs in EventSource (Server-Sent Events). r=sicking 2011-12-05 21:02:42 -02:00
Brandon Sterne
7c050adba0 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-05 09:42:08 -08:00
Phil Ringnalda
001a640116 Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak 2011-12-02 19:43:24 -08:00
Jonas Sicking
ba936a2ec5 Backed out changeset 127374ca4f92 due to test failures. 2011-12-02 19:29:35 -08:00
Wellington Fernando de Macedo
708f0b0221 Bug 664179: Support cross-origin EventSource. r=me 2011-12-02 18:32:46 -08:00
Brandon Sterne
f79bb5d11f Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-02 16:07:30 -08:00
Henri Sivonen
a1e5e9988d Bug 705072 - Limit HTML support in XHR to responseType == "document" to avoid changing the behavior for legacy users. r=smaug. 2011-11-24 17:28:12 +02:00
Masatoshi Kimura
7e8871955f Bug 703380 - Test fix & added a new test; r=smaug
--HG--
extra : rebase_source : adddf8781b55c797ca15139cbc1e5a9c5032494a
2011-11-21 12:07:27 -06:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matt Brubeck
41f27a05ad Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Boris Zbarsky
81399488cf Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Phil Ringnalda
77eee0f201 Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Wellington Fernando de Macedo
6cb54c944d Bug 664179: Allow EventSource to access cross-origin event streams using CORS. r=smaug,sicking 2011-10-28 19:52:27 -07:00
Boris Zbarsky
5a7f0947ff Bug 320799. Fix client* and scroll* for comboboxes to not consider the dropdown's scrollable area. r=roc 2011-10-18 16:17:45 -04:00
Olli Pettay
0a0ac43d90 Bug 693875, DOMParser + svg, r=jst 2011-10-13 13:50:05 +03:00
Boris Zbarsky
31d91ff3a9 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Olli Pettay
5138297d6e Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Henri Sivonen
c06a84abb0 Bug 692434 - Use = instead of == for assignment in XHR charset handling code. r=Olli.Pettay. 2011-10-07 14:33:42 +03:00
Matheus Kerschbaum
f79d315393 Bug 683482 - Remove replaceWholeText() r=sicking 2011-10-01 18:12:30 +02:00
Masatoshi Kimura
0f69ea4ac2 automated test for bug 669049, r=sicking 2011-09-27 10:40:36 +02:00
Jonas Sicking
1e4cc44dc8 Bug 687087 part 3. Implement XHR.responseType="moz-chunked-text" and XHR.responseType="moz-chunked-arraybuffer". r=smaug on code changes, rs=smaug on tests. 2011-09-23 18:57:36 -07:00
Jesse Ruderman
63a423e86d Test for bug 682463. 2011-09-24 02:56:38 +02:00
Boris Zbarsky
085b188f8c Bug 684671. Allow the onreadystatechange getter/setter on Document.prototype to not throw even if its |this| is bogus. r=peterv,sicking 2011-09-23 01:03:50 -04:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Olli Pettay
12f3b41155 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Olli Pettay
2f2d683768 Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Olli Pettay
586e545839 Bug 685798 - Node.parentElement, r=bz 2011-09-11 16:05:19 -07:00
Boris Zbarsky
d9ab900089 Bug 682554. Move onreadystatechange to live on Document only. r=smaug 2011-09-19 22:56:45 -04:00
arno renevier
2e9028ee92 bug 682592: do bidi scan when nsTextFragment content is changed 2011-09-09 12:27:00 -04:00
Shawn Gong
9640476441 Bug 655727. Implemented responseType='moz-json', r=sicking 2011-09-08 15:12:18 -07:00
Brad Lassey
156110781c bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
Boris Zbarsky
d1bba9b0c6 Bug 675121. Unregister animation frame callbacks from the refresh driver while we have event handling suppressed. r=smaug,roc 2011-08-07 22:24:28 -04:00
Joel Maher
631c8bced7 Bug 674319 - move test_bug391728.html to mochitest-chrome. r=mossop, a=test-only
--HG--
rename : content/base/test/file_bug391728.html => content/base/test/chrome/file_bug391728.html
rename : content/base/test/file_bug391728_2.html => content/base/test/chrome/file_bug391728_2.html
rename : content/base/test/test_bug391728.html => content/base/test/chrome/test_bug391728.html
2011-07-28 12:04:00 -04:00
Boris Zbarsky
6311e0ed15 Bug 664916. Make sure that we're dealing with an element when getting tagName. r=sicking 2011-07-07 14:17:13 -04:00
Jason Duell
ebaf20a075 bug 664860: Rename websockets mochi test. r=biesi
--HG--
rename : content/base/test/file_ws_basic_tests_wsh.py => content/base/test/file_websocket_basic_wsh.py
rename : content/base/test/test_ws_basic_tests.html => content/base/test/test_websocket_basic.html
2011-07-04 21:18:30 -07:00
Olli Pettay
209c56c874 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Josh Matthews
03e38d47bb Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Joel Maher
3e18d9a843 Bug 664158 - move content/base/test/chrome/test_bug574596.html to mochitest-chrome. r=mats, a=test-only
--HG--
rename : content/base/test/test_bug574596.html => content/base/test/chrome/test_bug574596.html
2011-06-19 11:57:09 -04:00
Joel Maher
7317499f54 Bug 659315 - move content/base/test/*.xul to mochitest-chrome. r=jonas, a=test-only
--HG--
rename : content/base/test/test_bug339494.xul => content/base/test/chrome/test_bug339494.xul
rename : content/base/test/test_bug357450.xul => content/base/test/chrome/test_bug357450.xul
rename : content/base/test/test_bug571390.xul => content/base/test/chrome/test_bug571390.xul
2011-06-09 11:10:14 -04:00
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