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