Commit Graph

663 Commits

Author SHA1 Message Date
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
Brandon Sterne
489b9b523d Bug 558431 - Make fetching CSP policy-uri asyn, r=jst, a=blocking-betaN 2011-02-15 09:05:02 -08:00
Doug Turner
cee16d2b7f Backed ou Johnston – Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
changeset a8d213604ca6
2011-02-14 21:25:06 -08:00
Wes Johnston
1f8d9514ad Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
--HG--
extra : rebase_source : 743cb30aea1bd8cb6e9a189b9142c5ef8abce964
2011-02-14 17:01:03 -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
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
0b1095570c Orange fixes, bad code using reserved words as identifiers. r=orange 2011-01-22 21:29:22 -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
Jonathan Kew
ed55ace99d bug 607121 and bug 626180 - add sample non-Latin text to the test plugin description, to verify that we manage encodings properly. r+a=bsmedberg 2011-01-18 18:27:26 +00: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
Chris Jones
aff28173ab Bug 616841, part 3: "Localize" the messageManager JSContexts. r=smaug 2011-01-14 16:03:21 -06: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
700105b822 Bug 619220. Allow <base> elements that are not direct children of the <head>. r=sicking 2011-01-14 10:34:39 -05:00
Brandon Sterne
ee35395716 Bug 589457 - add debug logging to test with random orange, r=jst, a=DONTBUILD 2011-01-11 18:59:23 -08:00
Serge Gautherie
e8f8328986 Bug 621414 - mochitests-1: test_fileapi_slice.html logs 12 _very_ (too) long lines; (Av1a) Better differentiate check logs, Stop generating raw-binary and/or over-long log lines.
rs=jonas a=(test only).
2011-01-05 12:35:55 +01: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
Serge Gautherie
50251ff807 Bug 621347 - [SeaMonkey, WINNT 5.2, Debug] mochitests-1: intermittent "test_ws_basic_tests.html | Test timed out"; (Bv1) Add/Re-enable '.wasClean' checks from (bug 573227 ->) bug 572975.
r=Olli.Pettay a=(test only).
2011-01-03 14:56:40 +01:00
Serge Gautherie
002c3d2aac Bug 621347 - [SeaMonkey, WINNT 5.2, Debug] mochitests-1: intermittent "test_ws_basic_tests.html | Test timed out"; (Dv1a) testWebSocket4(): stop generating a 450 KiB log line from bug 562681.
r=Olli.Pettay a=(test only).
2010-12-30 08:32:33 +01:00
Boris Zbarsky
d089f0cfc2 Followup for bug 331959 to fix test orange. a=orange 2010-12-27 17:09:15 -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
Serge Gautherie
0de654b121 Bug 621347 - [SeaMonkey, WINNT 5.2, Debug] mochitests-1: intermittent "test_ws_basic_tests.html | Test timed out"; (Av1) s/ok/is/ typo fix from bug 562681.
r=Olli.Pettay a=(test only).
2010-12-27 11:18:50 +01: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
Dão Gottwald
033b7bf086 Bug 618250 - Broken instanceof check in test_bug435425.html. r=sicking 2010-12-14 02:42:12 +01:00
Patrick McManus
6f686dee93 missed a test in 98d58c46e409 when disabling websockets. bug 616733. a=tests 2010-12-08 15:35:21 -08:00
Patrick McManus
725731c1fa Bug 616733: Disable websockets by default. r=peterv,jst a=beta8
Can be turned on by setting preference
network.websocket.override-security-block.  Websockets can only be used if
override-security-block and network.websocket.enabled are both set to true.

At a future time, with a more secure websocket protocol, the
override-security-block preference can be removed.

This action is based on the security concern over an HTTP cache
poisoning attack as described in
http://www.adambarth.com/experimental/websocket.pdf
2010-12-08 14:12:51 -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
Benjamin Smedberg
fc65836802 Bug 614015 - Add <browser>.messageManager property for both in-process and out-of-process tabs, r=gavin
--HG--
extra : rebase_source : f0419a400dc714bc52481959fc4712fdc50b5e88
2010-12-07 09:34:34 -05: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
Blake Kaplan
57a7d85970 bug 601803 - Support adopting a node cross-compartment. r=gal/jst, a=blocker 2010-11-15 17:21:25 -08:00
Boris Zbarsky
7f2bf265a9 Bug 605296 part 2. Make username/password stringify undefined to empty string. r=sicking, a=blocker 2010-11-30 13:18:15 -05: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
Dave Townsend
ad5534594c Backing out bug 605296 due to potentially causing bug 615736. a=backout 2010-12-01 10:57:14 -08:00
Boris Zbarsky
847733099f Bug 605296 followup: fix test to do the right thing on failure. a=orange 2010-11-30 16:19:40 -05:00
Boris Zbarsky
729bd9d4ac Bug 614058. Fix regression in IsEqualNode. r=jst, a=blocker 2010-11-30 13:19:59 -05:00
Boris Zbarsky
1a2b254c3a Bug 605296 part 2. Make username/password stringify undefined to empty string. r=sicking 2010-11-30 13:18:15 -05:00
Jonas Sicking
6948fc9a18 Bug 609030: Update createBlobURL/revokeBlobURL to it's final name. r=jst a=blocker 2010-11-23 00:50:55 -08: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
Olli Pettay
9d39c329b9 Bug 608939 - XMLHttpRequest.statusText and getAllResponseHeaders shouldn't throw, r=sicking, a=sicking
--HG--
extra : rebase_source : 5dc42964f6a216c4f10127d0ad74fe52674601d7
2010-11-11 23:39:14 +02: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
cf9b4bc5e6 Bug 602838 part 2 - Make script-created scripts (incl. scripts that have lost their parser-insertedness) default to .async=true. r=jonas, a=blocking2.0-beta8.
--HG--
extra : rebase_source : 8488bca56232504b1510e92b52f2567fa42eaf99
2010-10-27 15:04:09 +03: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
Ms2ger
6e7b3e0366 Bug 600175 - Run scripts inside noembed, iframe and noframes elements. r=sicking a=jst 2010-10-22 23:29:41 +02:00
Brandon Sterne
350eae7241 Bug 589457 - fix random orange in X-Frame-Options test, r=jst, a=blocking2.0 2010-11-05 09:33:08 -07: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
Sid Stamm
304fdb34e1 Bug 548949 - make CSP parse hostless schemes properly, r=dveditz, a=jst 2010-10-28 15:59:30 -07:00
Ted Mielczarek
7837112f8a bug 607205 - fix setTimeout usage in test_bug373181.xhtml. a=testonly 2010-10-26 08:24:08 -04: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