Commit Graph

1024 Commits

Author SHA1 Message Date
Aryeh Gregor
6f53ae344d Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Boris Zbarsky
a28dd19efa Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug 2012-03-22 03:09:18 -04:00
Sid Stamm
f0191803f3 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Aryeh Gregor
94d5ff735b Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Aryeh Gregor
7da09c4a2f Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug 2012-03-20 16:32:01 -04:00
Aryeh Gregor
3153795fe4 Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Henri Sivonen
0be2d2f91c Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Kyle Huey
6c62ce3350 Bug 735152: Disable the offending tests. r=me 2012-03-13 07:34:39 -07:00
Marco Bonardo
80af6e193a Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
db7570958a Bug 721569 - Tests. r=sicking
--HG--
rename : content/base/test/test_blobbuilder.html => content/base/test/test_blobconstructor.html
2012-03-12 21:45:00 -07:00
Kyle Huey
2ce2d42468 Bug 498998: Implement XHR timeout in Workers. r=sicking 2012-03-12 17:00:46 -07:00
Boris Zbarsky
15e86e520e Bug 696301 part 4. Actually hook up a CORS listener on script loads as needed. r=sicking
--HG--
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-1.js
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-2.js
2012-03-10 10:13:52 -06:00
Aryeh Gregor
88c8133b31 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Henri Sivonen
cc739e00b5 Bug 650784 part 4 - Scripted test for plain text conversion. r=smaug. 2012-02-27 13:57:48 +02:00
Henri Sivonen
b0b6cb7764 Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Henri Sivonen
3aacb86e06 Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug. 2012-02-27 13:57:48 +02:00
Jason Duell
d321b23aa7 Bug 716841. EventSource::GetInterface goes into infinite loop if redirected. r=bz 2012-02-24 11:37:30 -08:00
Matthew Schranz
62d6dff935 Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Masatoshi Kimura
d99288b6cc Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Jason Duell
1f1d1d4bdd Bug 728514: Websockets: don't CloseConnection twice in OnServerClose. r=smaug 2012-02-21 14:57:13 -08:00
Masatoshi Kimura
0a6c1a9d0d Bug 727530 - XHR for data URIs should support content-type header field; r=jonas 2012-02-19 11:58:24 +00:00
Dão Gottwald
1814a49659 Bug 725289 followup, replace remaining mozSlize with slice 2012-02-16 12:43:08 +01:00
Matthew Schranz
f4ee122174 Bug 725289 - Removed moz prefix in Blob.mozSlice. r=sicking
--HG--
rename : dom/workers/test/fileReadMozSlice_worker.js => dom/workers/test/fileReadSlice_worker.js
rename : dom/workers/test/fileMozSlice_worker.js => dom/workers/test/fileSlice_worker.js
rename : dom/workers/test/test_fileReadMozSlice.xul => dom/workers/test/test_fileReadSlice.xul
rename : dom/workers/test/test_fileMozSlice.xul => dom/workers/test/test_fileSlice.xul
2012-02-16 11:22:25 +01:00
Aryeh Gregor
a4fd88b30a Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron 2012-02-14 10:54:08 -05:00
Mats Palmgren
65785ecf42 Bug 726364 - "ASSERTION: unexpected disconnected nodes" with range, splitText, mutation event". r=smaug 2012-02-12 22:21:49 +01:00
Jason Duell
17f932d3ef Bug 725862: Allow test_websocket.html to run multiple times to help track down random oranges. r=mcmanus 2012-02-13 11:30:01 -08:00
Phil Ringnalda
e66d5e8494 Back out 1cd8c9b40035 (bug 725376), df43cc1f72e1 (bug 725535), and 8a820e4ee7f6 (bug 726364) for reftest orange 2012-02-12 14:01:58 -08:00
Mats Palmgren
86e320e2f9 Bug 726364 - "ASSERTION: unexpected disconnected nodes" with range, splitText, mutation event". r=smaug 2012-02-12 22:21:49 +01:00
Jeff Muizelaar
995c62066b Bug 235853 - Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution. r=biesi,sworkman 2008-11-04 16:50:00 -05:00
Masatoshi Kimura
0b5ecd0592 Bug 722962 - Avoid a race condition; r=jonas 2012-02-04 13:11:09 +00:00
Sid Stamm
12185d824b Bug 717511 - Content Security Policy Bypass. r=bsterne, jst 2012-02-02 15:42:12 -08:00
Ed Morley
14dbcc2bc2 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura
7d692e41fd Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Philipp Wagner
b87e8f8c4d Bug 694754 - Accessing DOM Document methods lookupPrefix, lookupNamespaceURI and isDefaultNamespace through XPCOM and quickstubs should create equal results. r=jonas 2012-01-30 15:54:54 +01:00
Masatoshi Kimura
9ca2145ed8 Bug 696586 - Part 3: Tests; r=jonas 2012-01-30 11:34:15 +01:00
Alex Vincent
2de5871839 Implement XMLHttpRequest.timeout support. Bug 525816, r=smaug, sr=sicking.
--HG--
extra : rebase_source : f8ec0171cab2d0fbcc1975c5e455162ebbeb2690
2012-01-26 11:02:22 +01:00
Matthew Schranz
75edd6c796 Bug 698384 - Make document.createNodeIterator's 2nd and 3rd parameters optional. r=smaug 2012-01-25 13:47:50 +01:00
Matt Woodrow
3ca05ac15f Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-23 14:08:17 +13:00
Matt Woodrow
4749771972 Backout 0190782907ea because of failed tests 2012-01-19 19:37:02 +13:00
Matt Woodrow
4499e2be71 Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-19 17:48:35 +13:00
Bobby Holley
455e02abb5 Bug 702353 - Proof-of-concept on some pretty involved tests. r=ted 2012-01-18 19:10:14 -08: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
Masatoshi Kimura
977201ed8c Bug 702820 - Allow XHR to data URL. r=sicking 2012-01-11 10:47:46 +01:00
David Zbarsky
3484fe1ebe Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01: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
Bobby Holley
4b6add2c77 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Ed Morley
26a6324065 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-21 12:11:14 +00:00
Olli Pettay
c35f7bb3a9 Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +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
def5c3a081 Bug 695635: Unprefix websockets. r=sicking, sr=smaug
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Jason Duell
6fc87006e3 Bug 710964. No longer dispatch incoming WebSocket messages in CLOSING state. r=smaug 2011-12-20 00:20:12 -08:00
Jason Duell
450977e6bd Bug 710345: Mozilla-specific changes to pywebsocket v606. r=mcmanus 2011-12-20 00:20:12 -08:00
Boris Zbarsky
1b8698e479 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Patrick McManus
687329f540 bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell
cd5794508e Bug 676439 - Websocket Binary Message support: tests. r=mcmanus 2011-12-15 15:19:51 -08:00
Boris Zbarsky
e3decbb3a4 Bug 710981. Add the new name for cancelAnimationFrame. r=roc 2011-12-15 08:53:06 -05: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
Masatoshi Kimura
efbbd9eb31 Bug 701787 - Part 2: Tests. r=smaug. 2011-12-08 15:55:20 +02:00
Henri Sivonen
5456f0905e Back out bug 701787 due to orangeness conflict with tests added in bug 664179. 2011-12-07 15:11:47 +02:00
Masatoshi Kimura
c27fbd8836 Bug 701787 - Part 2: Tests. r=smaug. 2011-12-07 13:30:19 +02:00
Boris Zbarsky
bd8d6674cc Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc 2011-12-06 23:43:18 -05: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
8462252cd3 Add missing tests for Bug 702439, r=bz 2011-12-02 16:56:40 -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
Patrick McManus
f495a11892 bug 599295 r=jduell
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
Henri Sivonen
8b1f8a82bb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02: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
Jonas Sicking
ac8b04fb20 Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Masatoshi Kimura
5874569a99 Bug 689008: Part 3 - Tests; r=jonas 2011-10-26 08:52:37 -04:00
Kyle Huey
fcb45b0c7d Bug 696603: Handle null being passed to BlobBuilder.append. r=sicking 2011-10-24 09:38:41 -04:00
Wellington Fernando de Macedo
465a9d9676 Bug 664894. Eliminate nsWebSocketEstablishedConnection and fold code into nsWebSocket. r=jduell 2011-10-20 01:27:13 -07:00
Joel Maher
4c3df6962f Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04: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
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -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
d0c37fecac Bug 680413 - Allow using child process message manager in chrome process, r=benjamin 2011-10-11 13:28:46 +03: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
Ms2ger
14316d1d35 Bug 687318 - Allow createProcessingInstruction in HTML; r=smaug 2011-10-01 18:14:40 +02:00
Ms2ger
bd3d754000 Bug 687426 - Remove Document.xmlEncoding; r=sicking 2011-10-01 18:14:40 +02:00
Matheus Kerschbaum
f79d315393 Bug 683482 - Remove replaceWholeText() r=sicking 2011-10-01 18:12:30 +02:00
Kyle Huey
d822544c8a Bug 687332: Fix up update tests. 2011-09-29 12:06:36 -04:00
Masatoshi Kimura
0f69ea4ac2 automated test for bug 669049, r=sicking 2011-09-27 10:40:36 +02:00
Boris Zbarsky
f022a015e7 Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv 2011-09-26 17:27:13 -04: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
Ehsan Akhgari
bf9853332c Bug 686032 - Test for bug 622088 conceals its location after it's done; r=ted,jlebar 2011-09-23 16:30:07 -04: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
Boris Zbarsky
788803a0af Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Patrick McManus
c598a54eb0 bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron 2011-09-20 18:13:43 -04:00
Patrick McManus
4128dd84a8 687295 - disable websockets deprecated deflate-stream extension due to thin vnc interop problem r=bz 2011-09-20 17:04:57 -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
Olli Pettay
9efa44eaaa Bug 685798 - Node.parentElement, r=bz 2011-09-11 15:45:39 -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
Shawn Gong
b292b3f582 Fixed bug 678432: Sending arraybuffers using XMLHttpRequest.send. r=sicking 2011-08-17 18:44:56 -07:00
Malini Das
841f72da21 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-19 14:52:04 -04:00
Olli Pettay
07fd1062c0 Bug 685139 - node.contains(node) should return true, r=bz
--HG--
extra : rebase_source : 28fb40bf63e90ea319c517f0c86104080f20cc1a
2011-09-07 18:04:04 +03:00
Marco Bonardo
f7ab1e5a89 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-03 11:49:40 +02:00
Olli Pettay
926e572e15 Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Jason Duell
ea66f51c13 Bug 678595: Remove test assumption that cancel causes cache invalidation. r=jdm 2011-09-02 13:03:24 -07:00
Kyle Huey
7eae96eca2 Bug 680816: Test 2011-08-24 12:33:31 -04:00
Olli Pettay
5d9d7020f5 Bug 681206 removeDelayedFrameScript, r=jst 2011-08-24 13:16:29 +03:00
Brad Lassey
7b68e9930e bug 654352 - follow up to make test for document.caretPositionFromPoint API more reliable r=me
--HG--
extra : rebase_source : f9c86be2647c942ad807cc9d31a10650ce68b58f
2011-08-18 19:05:49 -04:00
Brad Lassey
156110781c bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
Neil Deakin
5fc1072d0e Bug 673301, crash using non-string data with text/plain drags, r=josh 2011-08-18 09:22:52 -04:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Mats Palmgren
eb7ef218f8 Bug 677105 - <noscript> content cannot be copied to clipboard. r=bzbarsky 2011-08-09 17:14:37 +02: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
Patrick McManus
8cb5471157 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Patrick McManus
a18697492c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Patrick McManus
98187f1068 bug 675038 - websockets wss:// tests r=biesi
--HG--
extra : rebase_source : 0d1c6c22d20124d7456eea91a2263eec9100517a
2011-08-03 15:38:56 -04:00
Patrick McManus
c9a6067c84 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Patrick McManus
2adea969f2 bug 662612 - speed up test_websocket.html execution r=bz
--HG--
extra : rebase_source : 44bfc07b2ef3d4de4ae9faeb3e09bd0b60d22c66
2011-08-03 15:15:25 -04:00
Patrick McManus
ccf0b9d389 Bug 676025 - Websockets - failure to connect should generate onerror r=sicking 2011-08-03 12:42:04 -04:00
Patrick McManus
b363c5480c bug 674527 - websockets sub-protocol array implementation and tests r=sicking sr=bz 2011-08-03 12:42:02 -04:00
Justin Lebar
2bc2762f54 Bug 673467 - Part 2. Fix tests. r=smaug
--HG--
extra : rebase_source : 2b4d7c00e42f4fa54121fc4a9e0360984709357e
2011-08-01 19:45:47 -04:00
Dão Gottwald
703eb19bf2 Backed out changeset 2878f506066a 2011-07-31 21:39:32 +02:00
Justin Lebar
5a5898ffc0 Bug 673467 - Part 2. Fix test. r=smaug 2011-07-31 13:22:14 -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
Patrick McManus
d0453f20a5 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Josh Matthews
87d0248899 Bug 674048 - Check the correct condition when setting a header on an XHR. r=sicking 2011-07-25 18:08:44 -04:00
Jonas Sicking
742a5593a3 Bug 669437: Implement BlobBuilder.getFile. r=khuey 2011-07-11 19:42:02 -07:00
Jonas Sicking
0103221c13 Bug 669433 Part 3: Make first argument to Blob.slice optional and defaulting to 0. r=khuey 2011-07-11 19:41:55 -07: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
Kyle Huey
3b073151cf Bug 668361: File ctor should fail if passed a directory. r=sicking 2011-07-06 09:35:12 -07:00
Olli Pettay
1e52239020 Additional test for Bug 666604, r=volkmar
--HG--
extra : rebase_source : 3ff98e5bb1ab594db111e81501abb5cf2b43d60d
2011-07-06 16:02:26 +03: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
Josh Matthews
79feb948a8 Bug 537787 - Update websocket test to use SpecialPowers. r=ctalbert try: -b do -p all -u mochitests -t none 2011-05-24 02:43:05 +03:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Kyle Huey
3d981011e9 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Matt Brubeck
27d39ad214 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Shawn Gong
552c301b28 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Jonas Sicking
08ce29756c Bug 649150: Make sure that all blobs and files sent using FormData have a filename in the encoded submission. r=mounir 2011-06-29 11:03:36 -07:00
Kyle Huey
e335bde887 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey
c0b3196c33 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -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
Patrick McManus
b012dc160e bug 661036 - websockets allowed prohibited space character in protocol header, with test update r=biesi r=bsmith 2011-06-16 14:27:11 -04:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ted Mielczarek
c7f40506bf merge m-c to b-s 2011-06-10 12:58:21 -04:00
Wellington Fernando de Macedo
839d923f61 Bug 659559 - Speed up test_bug338583.html. r=smaug 2011-06-11 19:09:41 +02:00
Kyle Huey
2e0d728356 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Mounir Lamouri
1ddcd22588 Bug 651902 - Make content/base/test/test_bug592366.html non flaky. r=hsivonen 2011-05-30 17:49:56 +02:00
Mitchell Field
5e5f1a616a Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Kyle Huey
5b218f0873 Bug 656647: File constructor should take nsIFiles. r=sicking 2011-05-14 16:41:20 -07: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
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Henri Sivonen
4fe663e3bc Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Olli Pettay
5a3d01a7ee Bug 656218, document.activeElement should not throw, r=bz 2011-05-11 23:52:32 +03:00
Masatoshi Kimura
d304cf7c20 Bug 656253: Fix intermittent orange due to variables colliding. r=sicking 2011-05-11 11:06:47 -07:00
Mats Palmgren
3d592e7e8c Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Masatoshi Kimura
4d700c8562 Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Jonas Sicking
75de75934d Bug 650493 Part 2: Simplify userdata by firing adoption handlers off of scriptrunners. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Chris Pearce
ccae22ade2 Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Shawn Gong
d399113e9b Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Mounir Lamouri
bbd24ff805 Back out bug 632255 and bug 658683 due to oranges on Windows Mochitest-1. 2011-05-24 15:45:53 +02:00
Shawn Gong
37f09837ec Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent. Additional fixes by sicking, r=peterv. a=sheriff. 2011-05-23 18:02:56 -07:00
Shawn Gong
e7ef1c6ccd Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Jonas Sicking
4293ebbbed back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong
fc7697ab0c Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent a=LandingQueue 2011-05-23 18:02:56 -07:00
Shawn Gong
6af29d61e1 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking 2011-05-23 18:09:28 -07:00
Kyle Huey
db0b9d8ad8 Bug 553125: Use the structured clone algorithm for window.postMessage. r=bent 2011-05-23 11:53:31 -07:00
Kyle Huey
f2e72776ef Bug 657964: FileReader should throw when abort() is called and readystate is not LOADING. r=sicking 2011-05-23 13:04:45 -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
Patrick McManus
c2f7522f58 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert
f3cc3a9d15 Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Jonas Sicking
5a46947588 Add a test for bug 644069. r=bzbarsky 2011-05-20 16:21:27 -04: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
Jonas Sicking
14b0c5d3de Back out another suspect just in case. CLOSED TREE. a=orange 2011-05-20 17:20:37 -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
Shawn Gong
9fe184ef18 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=bent,sicking 2011-05-20 10:17:28 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Masatoshi Kimura
ded3a051e0 Bug 649133 followup. Remove the 'moz' prefix on response/responseType, since Chrome has already shipped these unprefixed. r=sicking 2011-05-19 01:11:51 -04:00
Ms2ger
999f948236 Bug 529328 - Return undefined for out-of-bounds access through nsStringArraySH; r=smaug
This patch has no effect on CSSStyleDeclaration, as that never returns a void DOMString.
2011-05-30 13:35:52 +02:00
Ms2ger
3d548cfff7 Bug 611983 - Kill Document.createEntityReference; r=peterv 2011-05-29 10:33:35 +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
Bjarne
6d9b57a589 Bug 648485 - Third attempt to fix intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-20 21:42:09 +02: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
Ehsan Akhgari
680e9b757e Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Ehsan Akhgari
c1e4d5e196 Backed out changeset d407ee4dabcc because it causes some tests to go orange 2011-04-16 23:47:06 -04:00
Ehsan Akhgari
3938fc6c75 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Kyle Huey
d0c0eab2e5 Bug 607114: Expose a File constructor to chrome script. r=sicking
--HG--
rename : content/canvas/test/image_yellow.png => content/base/test/chrome/fileconstructor_file.png
2011-04-13 19:41:34 -07:00
Jonas Sicking
913afe451c Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey 2011-04-13 14:34:36 -07:00
Jonathan Kew
55114c659a merge backout of bug 585152 2011-04-13 14:35:39 +01:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Mounir Lamouri
19e37abf7f Bug 648485 - Second try to fix intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-12 15:50:25 -07:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Jonas Sicking
2fef5d7e2d Bug 645281: Don't assert if a CORS preflight response contains data. r=bz 2011-04-11 18:28:28 -07:00
Mounir Lamouri
78f5f9372e Bug 648485 - Trying to fix an intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-11 16:55:16 -07:00
Christian Biesinger
040a8153c7 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Brandon Sterne
23fea2663f Tests for Bug 631040 - parse CSP default-src as equivalent to allow, r=jst,geekboy 2011-04-10 11:23:23 -07:00
Frédéric Wang
ded01a4e68 Update XML Entity Definitions for Characters - rang/lang (bug 603716); r=hsivonen,karlt 2011-04-08 11:56:43 -07: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
Simon Montagu
be96a9dc94 Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Ehsan Akhgari
ca0a27ab24 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
Ms2ger
e1868789c3 Bug 628353 - Expose the DATA_CLONE_ERR constant on DOMException; r=jst 2011-03-28 23:32:11 -04:00
Jonas Sicking
c9ef093253 Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug 2011-03-28 13:18:55 -07:00
Jonas Sicking
0647926fda Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07: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
Jonas Sicking
9dca224906 Bug 641706: Make SpecialPowers able to create a XHR object with full system powers. r=smaug 2011-03-17 09:19:13 -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
Ehsan Akhgari
5553692d78 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Phil Ringnalda
8031c780e6 Bug 628966 - test_bug428847.html (by way of file_bug428847-1.xhtml) loads http://www.mozilla.com/whatever.xsl over the network; r=sicking 2011-03-23 22:34:02 -04:00
Alex Vincent
6dbd14b725 Bug 635835 - Crash with nsTreeWalker::NextNode setting currentNode as JS object from chrome; r=sicking 2011-03-22 16:45:11 -04:00
Olli Pettay
01a16652cf Bug 461066 - Add support for XHR's loadend event, r=sicking
--HG--
extra : rebase_source : f4db116cdd195d0319189a5800ee991370649072
2011-03-24 15:22:03 +02:00
Brandon Sterne
429a96251a Bug 589457 - remove delay from test_x-frame-options response, r=ehsan, a=testonly 2011-03-17 09:21:13 -07:00
Phil Ringnalda
33ff68c875 Bug 641174 - Protect timer in script_bug602838.sjs from being eaten by GC, r=bz, a=test 2011-03-11 21:37:32 -08:00
Mounir Lamouri
29eb25883f Bug 621056 - Prevent the timer to be eaten alive by the GC. r=bz a=tests 2011-03-10 17:03:39 +01:00
Mounir Lamouri
4f4e2b1dc1 Bug 589502 - Don't use two images in content/base/test/test_bug421602.html to prevent race conditions. r=bz a=tests
Instead, use one image and finish the test if the load or error event happens.
If none of them happen, that means the test failed and it will properly time
out.
2011-03-09 19:43:02 +01:00
Bjarne Herland
befbd5cc3b Bug 634906: Allow Allow-Origin:null in CORS. r/a=sicking 2011-03-02 12:04:20 -08:00
Henri Sivonen
5bc865c4b0 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Mounir Lamouri
45af7761d9 Tests for bug 628938; r=smaug a=test-only 2011-02-23 17:14:44 +01:00
Doug Turner
ff1d41e7b6 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Wes Johnston
39a572652e Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec 2011-02-15 20:31:08 -08:00
Doug Turner
15b16004ce Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston
d04cf02a60 Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00