From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- dom/tests/mochitest/bugs/bug289714.sjs | 16 + dom/tests/mochitest/bugs/bug346659-echoer.html | 4 + .../mochitest/bugs/bug346659-opener-echoer.html | 6 + dom/tests/mochitest/bugs/bug346659-opener.html | 9 + .../mochitest/bugs/bug346659-parent-echoer.html | 5 + dom/tests/mochitest/bugs/bug346659-parent.html | 11 + dom/tests/mochitest/bugs/bug458091_child.html | 13 + dom/tests/mochitest/bugs/child_bug260264.html | 11 + dom/tests/mochitest/bugs/devicemotion_inner.html | 10 + dom/tests/mochitest/bugs/devicemotion_outer.html | 19 ++ dom/tests/mochitest/bugs/file1_bug414291.html | 1 + dom/tests/mochitest/bugs/file2_bug414291.html | 1 + dom/tests/mochitest/bugs/file3_bug414291.html | 1 + dom/tests/mochitest/bugs/file_bug593174_1.html | 5 + dom/tests/mochitest/bugs/file_bug593174_2.html | 30 ++ dom/tests/mochitest/bugs/file_bug809290_b1.html | 14 + dom/tests/mochitest/bugs/file_bug809290_b2.html | 14 + dom/tests/mochitest/bugs/file_bug809290_c.html | 10 + dom/tests/mochitest/bugs/file_bug873229.js | 6 + dom/tests/mochitest/bugs/file_bug927901.html | 18 + dom/tests/mochitest/bugs/file_cookieOutputter.html | 13 + dom/tests/mochitest/bugs/file_empty.html | 2 + dom/tests/mochitest/bugs/file_prime_cookie.html | 14 + dom/tests/mochitest/bugs/file_redirector.sjs | 9 + .../mochitest/bugs/file_resize_move_windows_1.html | 20 ++ .../mochitest/bugs/file_resize_move_windows_2.html | 13 + dom/tests/mochitest/bugs/file_window_bar.html | 7 + dom/tests/mochitest/bugs/grandchild_bug260264.html | 18 + dom/tests/mochitest/bugs/iframe_bug304459-1.html | 12 + dom/tests/mochitest/bugs/iframe_bug304459-2.html | 18 + dom/tests/mochitest/bugs/iframe_bug430276-2.html | 23 ++ dom/tests/mochitest/bugs/iframe_bug430276.html | 21 ++ dom/tests/mochitest/bugs/iframe_bug440572.html | 23 ++ dom/tests/mochitest/bugs/iframe_bug49312.html | 7 + .../bugs/iframe_domparser_after_blank.html | 22 ++ dom/tests/mochitest/bugs/mochitest.toml | 325 ++++++++++++++++++ dom/tests/mochitest/bugs/test1_bug369306.html | 1 + dom/tests/mochitest/bugs/test1_bug622361.html | 1 + dom/tests/mochitest/bugs/test2_bug369306.html | 1 + dom/tests/mochitest/bugs/test2_bug622361.html | 1 + .../bugs/test_DOMWindowCreated_chromeonly.html | 15 + dom/tests/mochitest/bugs/test_bug1022869.html | 39 +++ dom/tests/mochitest/bugs/test_bug1112040.html | 32 ++ .../mochitest/bugs/test_bug1160342_marquee.html | 288 ++++++++++++++++ dom/tests/mochitest/bugs/test_bug1171215.html | 66 ++++ dom/tests/mochitest/bugs/test_bug132255.html | 39 +++ dom/tests/mochitest/bugs/test_bug1530292.html | 47 +++ ...childnodes_nodelist_keeps_childnodes_alive.html | 37 +++ dom/tests/mochitest/bugs/test_bug159849.html | 44 +++ dom/tests/mochitest/bugs/test_bug1774135.html | 114 +++++++ dom/tests/mochitest/bugs/test_bug260264.html | 198 +++++++++++ .../mochitest/bugs/test_bug260264_nested.html | 138 ++++++++ dom/tests/mochitest/bugs/test_bug265203.html | 108 ++++++ dom/tests/mochitest/bugs/test_bug289714.html | 44 +++ dom/tests/mochitest/bugs/test_bug291377.html | 40 +++ dom/tests/mochitest/bugs/test_bug304459.html | 47 +++ dom/tests/mochitest/bugs/test_bug308856.html | 42 +++ dom/tests/mochitest/bugs/test_bug327891.html | 33 ++ dom/tests/mochitest/bugs/test_bug333983.html | 35 ++ dom/tests/mochitest/bugs/test_bug335976.xhtml | 68 ++++ dom/tests/mochitest/bugs/test_bug342448.html | 36 ++ dom/tests/mochitest/bugs/test_bug345521.html | 36 ++ dom/tests/mochitest/bugs/test_bug346659.html | 207 ++++++++++++ dom/tests/mochitest/bugs/test_bug369306.html | 137 ++++++++ dom/tests/mochitest/bugs/test_bug370098.html | 50 +++ dom/tests/mochitest/bugs/test_bug377539.html | 55 +++ dom/tests/mochitest/bugs/test_bug384122.html | 32 ++ dom/tests/mochitest/bugs/test_bug389366.html | 65 ++++ dom/tests/mochitest/bugs/test_bug393974.html | 68 ++++ dom/tests/mochitest/bugs/test_bug394769.html | 42 +++ dom/tests/mochitest/bugs/test_bug396843.html | 240 +++++++++++++ dom/tests/mochitest/bugs/test_bug400204.html | 64 ++++ dom/tests/mochitest/bugs/test_bug404748.html | 31 ++ dom/tests/mochitest/bugs/test_bug414291.html | 28 ++ dom/tests/mochitest/bugs/test_bug42976.html | 81 +++++ dom/tests/mochitest/bugs/test_bug430276.html | 41 +++ dom/tests/mochitest/bugs/test_bug440572.html | 54 +++ dom/tests/mochitest/bugs/test_bug456151.html | 73 ++++ dom/tests/mochitest/bugs/test_bug458091.html | 100 ++++++ dom/tests/mochitest/bugs/test_bug459848.html | 60 ++++ dom/tests/mochitest/bugs/test_bug465263.html | 49 +++ dom/tests/mochitest/bugs/test_bug484775.html | 55 +++ dom/tests/mochitest/bugs/test_bug492925.html | 45 +++ dom/tests/mochitest/bugs/test_bug49312.html | 47 +++ dom/tests/mochitest/bugs/test_bug495219.html | 27 ++ dom/tests/mochitest/bugs/test_bug529328.html | 122 +++++++ dom/tests/mochitest/bugs/test_bug531176.html | 66 ++++ dom/tests/mochitest/bugs/test_bug531542.html | 40 +++ dom/tests/mochitest/bugs/test_bug534149.html | 85 +++++ dom/tests/mochitest/bugs/test_bug541530.html | 94 ++++++ dom/tests/mochitest/bugs/test_bug545314.html | 29 ++ dom/tests/mochitest/bugs/test_bug548828.html | 37 +++ dom/tests/mochitest/bugs/test_bug558973.html | 42 +++ dom/tests/mochitest/bugs/test_bug562433.html | 35 ++ dom/tests/mochitest/bugs/test_bug563487.html | 34 ++ dom/tests/mochitest/bugs/test_bug581072.html | 47 +++ dom/tests/mochitest/bugs/test_bug583225.html | 41 +++ dom/tests/mochitest/bugs/test_bug585240.html | 33 ++ dom/tests/mochitest/bugs/test_bug585819.html | 38 +++ dom/tests/mochitest/bugs/test_bug593174.html | 85 +++++ dom/tests/mochitest/bugs/test_bug61098.html | 370 +++++++++++++++++++++ dom/tests/mochitest/bugs/test_bug612267.html | 27 ++ dom/tests/mochitest/bugs/test_bug617296.html | 27 ++ dom/tests/mochitest/bugs/test_bug620947.html | 31 ++ dom/tests/mochitest/bugs/test_bug622361.html | 53 +++ dom/tests/mochitest/bugs/test_bug633133.html | 47 +++ dom/tests/mochitest/bugs/test_bug642026.html | 56 ++++ dom/tests/mochitest/bugs/test_bug648465.html | 33 ++ dom/tests/mochitest/bugs/test_bug654137.html | 25 ++ dom/tests/mochitest/bugs/test_bug664737.html | 39 +++ dom/tests/mochitest/bugs/test_bug665548.html | 28 ++ dom/tests/mochitest/bugs/test_bug684544.html | 54 +++ dom/tests/mochitest/bugs/test_bug691707.html | 36 ++ dom/tests/mochitest/bugs/test_bug698061.html | 40 +++ dom/tests/mochitest/bugs/test_bug698551.html | 39 +++ dom/tests/mochitest/bugs/test_bug707749.html | 34 ++ dom/tests/mochitest/bugs/test_bug740811.html | 27 ++ dom/tests/mochitest/bugs/test_bug743615.html | 83 +++++ dom/tests/mochitest/bugs/test_bug755320.html | 30 ++ dom/tests/mochitest/bugs/test_bug777628.html | 42 +++ dom/tests/mochitest/bugs/test_bug809290.html | 54 +++ dom/tests/mochitest/bugs/test_bug817476.html | 45 +++ dom/tests/mochitest/bugs/test_bug823173.html | 30 ++ dom/tests/mochitest/bugs/test_bug848088.html | 48 +++ dom/tests/mochitest/bugs/test_bug850517.html | 47 +++ dom/tests/mochitest/bugs/test_bug857555.html | 33 ++ dom/tests/mochitest/bugs/test_bug862540.html | 31 ++ dom/tests/mochitest/bugs/test_bug873229.html | 83 +++++ dom/tests/mochitest/bugs/test_bug876098.html | 52 +++ dom/tests/mochitest/bugs/test_bug927901.html | 40 +++ .../bugs/test_devicemotion_multiple_listeners.html | 35 ++ .../mochitest/bugs/test_domparser_after_blank.html | 33 ++ dom/tests/mochitest/bugs/test_errorReporting.html | 72 ++++ .../bugs/test_instanceof_error_message.html | 111 +++++++ .../mochitest/bugs/test_navigator_buildID.html | 93 ++++++ .../mochitest/bugs/test_no_find_showDialog.html | 88 +++++ dom/tests/mochitest/bugs/test_onerror_message.html | 97 ++++++ dom/tests/mochitest/bugs/test_postmessage.html | 65 ++++ dom/tests/mochitest/bugs/test_protochains.html | 59 ++++ .../mochitest/bugs/test_resize_move_windows.html | 349 +++++++++++++++++++ .../mochitest/bugs/test_sizetocontent_clamp.html | 80 +++++ dom/tests/mochitest/bugs/test_toJSON.html | 71 ++++ dom/tests/mochitest/bugs/test_window_bar.html | 151 +++++++++ dom/tests/mochitest/bugs/utils_bug260264.js | 69 ++++ dom/tests/mochitest/bugs/utils_bug743615.js | 30 ++ dom/tests/mochitest/bugs/window_bug1171215.html | 86 +++++ dom/tests/mochitest/bugs/worker_bug743615.js | 44 +++ 147 files changed, 7897 insertions(+) create mode 100644 dom/tests/mochitest/bugs/bug289714.sjs create mode 100644 dom/tests/mochitest/bugs/bug346659-echoer.html create mode 100644 dom/tests/mochitest/bugs/bug346659-opener-echoer.html create mode 100644 dom/tests/mochitest/bugs/bug346659-opener.html create mode 100644 dom/tests/mochitest/bugs/bug346659-parent-echoer.html create mode 100644 dom/tests/mochitest/bugs/bug346659-parent.html create mode 100644 dom/tests/mochitest/bugs/bug458091_child.html create mode 100644 dom/tests/mochitest/bugs/child_bug260264.html create mode 100644 dom/tests/mochitest/bugs/devicemotion_inner.html create mode 100644 dom/tests/mochitest/bugs/devicemotion_outer.html create mode 100644 dom/tests/mochitest/bugs/file1_bug414291.html create mode 100644 dom/tests/mochitest/bugs/file2_bug414291.html create mode 100644 dom/tests/mochitest/bugs/file3_bug414291.html create mode 100644 dom/tests/mochitest/bugs/file_bug593174_1.html create mode 100644 dom/tests/mochitest/bugs/file_bug593174_2.html create mode 100644 dom/tests/mochitest/bugs/file_bug809290_b1.html create mode 100644 dom/tests/mochitest/bugs/file_bug809290_b2.html create mode 100644 dom/tests/mochitest/bugs/file_bug809290_c.html create mode 100644 dom/tests/mochitest/bugs/file_bug873229.js create mode 100644 dom/tests/mochitest/bugs/file_bug927901.html create mode 100644 dom/tests/mochitest/bugs/file_cookieOutputter.html create mode 100644 dom/tests/mochitest/bugs/file_empty.html create mode 100644 dom/tests/mochitest/bugs/file_prime_cookie.html create mode 100644 dom/tests/mochitest/bugs/file_redirector.sjs create mode 100644 dom/tests/mochitest/bugs/file_resize_move_windows_1.html create mode 100644 dom/tests/mochitest/bugs/file_resize_move_windows_2.html create mode 100644 dom/tests/mochitest/bugs/file_window_bar.html create mode 100644 dom/tests/mochitest/bugs/grandchild_bug260264.html create mode 100644 dom/tests/mochitest/bugs/iframe_bug304459-1.html create mode 100644 dom/tests/mochitest/bugs/iframe_bug304459-2.html create mode 100644 dom/tests/mochitest/bugs/iframe_bug430276-2.html create mode 100644 dom/tests/mochitest/bugs/iframe_bug430276.html create mode 100644 dom/tests/mochitest/bugs/iframe_bug440572.html create mode 100644 dom/tests/mochitest/bugs/iframe_bug49312.html create mode 100644 dom/tests/mochitest/bugs/iframe_domparser_after_blank.html create mode 100644 dom/tests/mochitest/bugs/mochitest.toml create mode 100644 dom/tests/mochitest/bugs/test1_bug369306.html create mode 100644 dom/tests/mochitest/bugs/test1_bug622361.html create mode 100644 dom/tests/mochitest/bugs/test2_bug369306.html create mode 100644 dom/tests/mochitest/bugs/test2_bug622361.html create mode 100644 dom/tests/mochitest/bugs/test_DOMWindowCreated_chromeonly.html create mode 100644 dom/tests/mochitest/bugs/test_bug1022869.html create mode 100644 dom/tests/mochitest/bugs/test_bug1112040.html create mode 100644 dom/tests/mochitest/bugs/test_bug1160342_marquee.html create mode 100644 dom/tests/mochitest/bugs/test_bug1171215.html create mode 100644 dom/tests/mochitest/bugs/test_bug132255.html create mode 100644 dom/tests/mochitest/bugs/test_bug1530292.html create mode 100644 dom/tests/mochitest/bugs/test_bug1551425_reference_to_childnodes_nodelist_keeps_childnodes_alive.html create mode 100644 dom/tests/mochitest/bugs/test_bug159849.html create mode 100644 dom/tests/mochitest/bugs/test_bug1774135.html create mode 100644 dom/tests/mochitest/bugs/test_bug260264.html create mode 100644 dom/tests/mochitest/bugs/test_bug260264_nested.html create mode 100644 dom/tests/mochitest/bugs/test_bug265203.html create mode 100644 dom/tests/mochitest/bugs/test_bug289714.html create mode 100644 dom/tests/mochitest/bugs/test_bug291377.html create mode 100644 dom/tests/mochitest/bugs/test_bug304459.html create mode 100644 dom/tests/mochitest/bugs/test_bug308856.html create mode 100644 dom/tests/mochitest/bugs/test_bug327891.html create mode 100644 dom/tests/mochitest/bugs/test_bug333983.html create mode 100644 dom/tests/mochitest/bugs/test_bug335976.xhtml create mode 100644 dom/tests/mochitest/bugs/test_bug342448.html create mode 100644 dom/tests/mochitest/bugs/test_bug345521.html create mode 100644 dom/tests/mochitest/bugs/test_bug346659.html create mode 100644 dom/tests/mochitest/bugs/test_bug369306.html create mode 100644 dom/tests/mochitest/bugs/test_bug370098.html create mode 100644 dom/tests/mochitest/bugs/test_bug377539.html create mode 100644 dom/tests/mochitest/bugs/test_bug384122.html create mode 100644 dom/tests/mochitest/bugs/test_bug389366.html create mode 100644 dom/tests/mochitest/bugs/test_bug393974.html create mode 100644 dom/tests/mochitest/bugs/test_bug394769.html create mode 100644 dom/tests/mochitest/bugs/test_bug396843.html create mode 100644 dom/tests/mochitest/bugs/test_bug400204.html create mode 100644 dom/tests/mochitest/bugs/test_bug404748.html create mode 100644 dom/tests/mochitest/bugs/test_bug414291.html create mode 100644 dom/tests/mochitest/bugs/test_bug42976.html create mode 100644 dom/tests/mochitest/bugs/test_bug430276.html create mode 100644 dom/tests/mochitest/bugs/test_bug440572.html create mode 100644 dom/tests/mochitest/bugs/test_bug456151.html create mode 100644 dom/tests/mochitest/bugs/test_bug458091.html create mode 100644 dom/tests/mochitest/bugs/test_bug459848.html create mode 100644 dom/tests/mochitest/bugs/test_bug465263.html create mode 100644 dom/tests/mochitest/bugs/test_bug484775.html create mode 100644 dom/tests/mochitest/bugs/test_bug492925.html create mode 100644 dom/tests/mochitest/bugs/test_bug49312.html create mode 100644 dom/tests/mochitest/bugs/test_bug495219.html create mode 100644 dom/tests/mochitest/bugs/test_bug529328.html create mode 100644 dom/tests/mochitest/bugs/test_bug531176.html create mode 100644 dom/tests/mochitest/bugs/test_bug531542.html create mode 100644 dom/tests/mochitest/bugs/test_bug534149.html create mode 100644 dom/tests/mochitest/bugs/test_bug541530.html create mode 100644 dom/tests/mochitest/bugs/test_bug545314.html create mode 100644 dom/tests/mochitest/bugs/test_bug548828.html create mode 100644 dom/tests/mochitest/bugs/test_bug558973.html create mode 100644 dom/tests/mochitest/bugs/test_bug562433.html create mode 100644 dom/tests/mochitest/bugs/test_bug563487.html create mode 100644 dom/tests/mochitest/bugs/test_bug581072.html create mode 100644 dom/tests/mochitest/bugs/test_bug583225.html create mode 100644 dom/tests/mochitest/bugs/test_bug585240.html create mode 100644 dom/tests/mochitest/bugs/test_bug585819.html create mode 100644 dom/tests/mochitest/bugs/test_bug593174.html create mode 100644 dom/tests/mochitest/bugs/test_bug61098.html create mode 100644 dom/tests/mochitest/bugs/test_bug612267.html create mode 100644 dom/tests/mochitest/bugs/test_bug617296.html create mode 100644 dom/tests/mochitest/bugs/test_bug620947.html create mode 100644 dom/tests/mochitest/bugs/test_bug622361.html create mode 100644 dom/tests/mochitest/bugs/test_bug633133.html create mode 100644 dom/tests/mochitest/bugs/test_bug642026.html create mode 100644 dom/tests/mochitest/bugs/test_bug648465.html create mode 100644 dom/tests/mochitest/bugs/test_bug654137.html create mode 100644 dom/tests/mochitest/bugs/test_bug664737.html create mode 100644 dom/tests/mochitest/bugs/test_bug665548.html create mode 100644 dom/tests/mochitest/bugs/test_bug684544.html create mode 100644 dom/tests/mochitest/bugs/test_bug691707.html create mode 100644 dom/tests/mochitest/bugs/test_bug698061.html create mode 100644 dom/tests/mochitest/bugs/test_bug698551.html create mode 100644 dom/tests/mochitest/bugs/test_bug707749.html create mode 100644 dom/tests/mochitest/bugs/test_bug740811.html create mode 100644 dom/tests/mochitest/bugs/test_bug743615.html create mode 100644 dom/tests/mochitest/bugs/test_bug755320.html create mode 100644 dom/tests/mochitest/bugs/test_bug777628.html create mode 100644 dom/tests/mochitest/bugs/test_bug809290.html create mode 100644 dom/tests/mochitest/bugs/test_bug817476.html create mode 100644 dom/tests/mochitest/bugs/test_bug823173.html create mode 100644 dom/tests/mochitest/bugs/test_bug848088.html create mode 100644 dom/tests/mochitest/bugs/test_bug850517.html create mode 100644 dom/tests/mochitest/bugs/test_bug857555.html create mode 100644 dom/tests/mochitest/bugs/test_bug862540.html create mode 100644 dom/tests/mochitest/bugs/test_bug873229.html create mode 100644 dom/tests/mochitest/bugs/test_bug876098.html create mode 100644 dom/tests/mochitest/bugs/test_bug927901.html create mode 100644 dom/tests/mochitest/bugs/test_devicemotion_multiple_listeners.html create mode 100644 dom/tests/mochitest/bugs/test_domparser_after_blank.html create mode 100644 dom/tests/mochitest/bugs/test_errorReporting.html create mode 100644 dom/tests/mochitest/bugs/test_instanceof_error_message.html create mode 100644 dom/tests/mochitest/bugs/test_navigator_buildID.html create mode 100644 dom/tests/mochitest/bugs/test_no_find_showDialog.html create mode 100644 dom/tests/mochitest/bugs/test_onerror_message.html create mode 100644 dom/tests/mochitest/bugs/test_postmessage.html create mode 100644 dom/tests/mochitest/bugs/test_protochains.html create mode 100644 dom/tests/mochitest/bugs/test_resize_move_windows.html create mode 100644 dom/tests/mochitest/bugs/test_sizetocontent_clamp.html create mode 100644 dom/tests/mochitest/bugs/test_toJSON.html create mode 100644 dom/tests/mochitest/bugs/test_window_bar.html create mode 100644 dom/tests/mochitest/bugs/utils_bug260264.js create mode 100644 dom/tests/mochitest/bugs/utils_bug743615.js create mode 100644 dom/tests/mochitest/bugs/window_bug1171215.html create mode 100644 dom/tests/mochitest/bugs/worker_bug743615.js (limited to 'dom/tests/mochitest/bugs') diff --git a/dom/tests/mochitest/bugs/bug289714.sjs b/dom/tests/mochitest/bugs/bug289714.sjs new file mode 100644 index 0000000000..ac0f1d1f47 --- /dev/null +++ b/dom/tests/mochitest/bugs/bug289714.sjs @@ -0,0 +1,16 @@ +// Send a payload that's over 32k in size, which for a plain response should be +// large enough to ensure that OnDataAvailable is called more than once (and so +// the XHR will be triggered to send more than one "loading" event if desired). + +function handleRequest(request, response) { + // Send 81920 bytes of こんにちは in Shift-JIS encoding, framed in XML. + let data = + "" + + new Array(1 << 13).join("\x82\xb1\x82\xf1\x82\xc9\x82\xbf\x82\xcd") + + ""; + response.processAsync(); + response.setHeader("Content-Type", "text/xml", false); + response.setHeader("Content-Length", "" + data.length, false); + response.write(data, data.length); + response.finish(); +} diff --git a/dom/tests/mochitest/bugs/bug346659-echoer.html b/dom/tests/mochitest/bugs/bug346659-echoer.html new file mode 100644 index 0000000000..bc6f6a9031 --- /dev/null +++ b/dom/tests/mochitest/bugs/bug346659-echoer.html @@ -0,0 +1,4 @@ + diff --git a/dom/tests/mochitest/bugs/bug346659-opener-echoer.html b/dom/tests/mochitest/bugs/bug346659-opener-echoer.html new file mode 100644 index 0000000000..fde456a36a --- /dev/null +++ b/dom/tests/mochitest/bugs/bug346659-opener-echoer.html @@ -0,0 +1,6 @@ + diff --git a/dom/tests/mochitest/bugs/bug346659-opener.html b/dom/tests/mochitest/bugs/bug346659-opener.html new file mode 100644 index 0000000000..d9d6128047 --- /dev/null +++ b/dom/tests/mochitest/bugs/bug346659-opener.html @@ -0,0 +1,9 @@ + + + diff --git a/dom/tests/mochitest/bugs/bug346659-parent-echoer.html b/dom/tests/mochitest/bugs/bug346659-parent-echoer.html new file mode 100644 index 0000000000..3096153725 --- /dev/null +++ b/dom/tests/mochitest/bugs/bug346659-parent-echoer.html @@ -0,0 +1,5 @@ + diff --git a/dom/tests/mochitest/bugs/bug346659-parent.html b/dom/tests/mochitest/bugs/bug346659-parent.html new file mode 100644 index 0000000000..7d675cf20e --- /dev/null +++ b/dom/tests/mochitest/bugs/bug346659-parent.html @@ -0,0 +1,11 @@ + + + + diff --git a/dom/tests/mochitest/bugs/bug458091_child.html b/dom/tests/mochitest/bugs/bug458091_child.html new file mode 100644 index 0000000000..2173e9e6d8 --- /dev/null +++ b/dom/tests/mochitest/bugs/bug458091_child.html @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/dom/tests/mochitest/bugs/child_bug260264.html b/dom/tests/mochitest/bugs/child_bug260264.html new file mode 100644 index 0000000000..e8f7d578b9 --- /dev/null +++ b/dom/tests/mochitest/bugs/child_bug260264.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/dom/tests/mochitest/bugs/devicemotion_inner.html b/dom/tests/mochitest/bugs/devicemotion_inner.html new file mode 100644 index 0000000000..c3ceb858b4 --- /dev/null +++ b/dom/tests/mochitest/bugs/devicemotion_inner.html @@ -0,0 +1,10 @@ + + + + + + diff --git a/dom/tests/mochitest/bugs/devicemotion_outer.html b/dom/tests/mochitest/bugs/devicemotion_outer.html new file mode 100644 index 0000000000..43bcb6028a --- /dev/null +++ b/dom/tests/mochitest/bugs/devicemotion_outer.html @@ -0,0 +1,19 @@ + + + + + + diff --git a/dom/tests/mochitest/bugs/file1_bug414291.html b/dom/tests/mochitest/bugs/file1_bug414291.html new file mode 100644 index 0000000000..0d8be9d052 --- /dev/null +++ b/dom/tests/mochitest/bugs/file1_bug414291.html @@ -0,0 +1 @@ + diff --git a/dom/tests/mochitest/bugs/file2_bug414291.html b/dom/tests/mochitest/bugs/file2_bug414291.html new file mode 100644 index 0000000000..fdb590c807 --- /dev/null +++ b/dom/tests/mochitest/bugs/file2_bug414291.html @@ -0,0 +1 @@ + diff --git a/dom/tests/mochitest/bugs/file3_bug414291.html b/dom/tests/mochitest/bugs/file3_bug414291.html new file mode 100644 index 0000000000..e9095f76e1 --- /dev/null +++ b/dom/tests/mochitest/bugs/file3_bug414291.html @@ -0,0 +1 @@ + diff --git a/dom/tests/mochitest/bugs/file_bug593174_1.html b/dom/tests/mochitest/bugs/file_bug593174_1.html new file mode 100644 index 0000000000..ec455fcf22 --- /dev/null +++ b/dom/tests/mochitest/bugs/file_bug593174_1.html @@ -0,0 +1,5 @@ + + +Nothing to see here. Move along. + + diff --git a/dom/tests/mochitest/bugs/file_bug593174_2.html b/dom/tests/mochitest/bugs/file_bug593174_2.html new file mode 100644 index 0000000000..080b016d7c --- /dev/null +++ b/dom/tests/mochitest/bugs/file_bug593174_2.html @@ -0,0 +1,30 @@ + + +Page 2 has an iframe of its own. + + + + + + diff --git a/dom/tests/mochitest/bugs/file_bug809290_b1.html b/dom/tests/mochitest/bugs/file_bug809290_b1.html new file mode 100644 index 0000000000..3a3863a61c --- /dev/null +++ b/dom/tests/mochitest/bugs/file_bug809290_b1.html @@ -0,0 +1,14 @@ + + + + + + + diff --git a/dom/tests/mochitest/bugs/test_bug1022869.html b/dom/tests/mochitest/bugs/test_bug1022869.html new file mode 100644 index 0000000000..da618d48cd --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1022869.html @@ -0,0 +1,39 @@ + + + + + + Test for Bug 1022869 + + + + + + +Mozilla Bug 1022869 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug1112040.html b/dom/tests/mochitest/bugs/test_bug1112040.html new file mode 100644 index 0000000000..69680a8b93 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1112040.html @@ -0,0 +1,32 @@ + + + + + Test for Bug 1112040 + + + + + + +Mozilla Bug 1112040 +

+

+
+ +
+
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug1160342_marquee.html b/dom/tests/mochitest/bugs/test_bug1160342_marquee.html new file mode 100644 index 0000000000..6fa2f8997b --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1160342_marquee.html @@ -0,0 +1,288 @@ + + + + + Test for Bug 411103 + + + + +Mozilla Bug 1160342 +

+
+marquee +
+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug1171215.html b/dom/tests/mochitest/bugs/test_bug1171215.html new file mode 100644 index 0000000000..edd4f5d824 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1171215.html @@ -0,0 +1,66 @@ + + + + + + Test for Bug 1022869 + + + + + +Mozilla Bug 1022869 + + diff --git a/dom/tests/mochitest/bugs/test_bug132255.html b/dom/tests/mochitest/bugs/test_bug132255.html new file mode 100644 index 0000000000..31a4016285 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug132255.html @@ -0,0 +1,39 @@ + + + + + Test for Bug 132255 + + + + + +Mozilla Bug 132255 +

+ + +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug1530292.html b/dom/tests/mochitest/bugs/test_bug1530292.html new file mode 100644 index 0000000000..3761c21cd1 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1530292.html @@ -0,0 +1,47 @@ + + + + + + Test for Bug 1530292 + + + + + +Mozilla Bug 1530292 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug1551425_reference_to_childnodes_nodelist_keeps_childnodes_alive.html b/dom/tests/mochitest/bugs/test_bug1551425_reference_to_childnodes_nodelist_keeps_childnodes_alive.html new file mode 100644 index 0000000000..be2e297f17 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1551425_reference_to_childnodes_nodelist_keeps_childnodes_alive.html @@ -0,0 +1,37 @@ + + + + + + + Test for bug 1551425: check reference to childNodes' NodeList keeps the + child nodes alive. + + + + + +Mozilla bug 1551425 +

+ + +
+  
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug159849.html b/dom/tests/mochitest/bugs/test_bug159849.html new file mode 100644 index 0000000000..0cb1c07bdf --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug159849.html @@ -0,0 +1,44 @@ + + + + + Test for Bug 159849 + + + + +Mozilla Bug 159849 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug1774135.html b/dom/tests/mochitest/bugs/test_bug1774135.html new file mode 100644 index 0000000000..6d511e75ec --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug1774135.html @@ -0,0 +1,114 @@ + + + +Test for Bug 1774135 + + + + +Mozilla Bug 1774135 +
+
+
+
+
diff --git a/dom/tests/mochitest/bugs/test_bug260264.html b/dom/tests/mochitest/bugs/test_bug260264.html new file mode 100644 index 0000000000..9259320b4b --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug260264.html @@ -0,0 +1,198 @@ + + + + + Test for Bug 260264 + + + + + + +Mozilla Bug 260264 +

+ link +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug260264_nested.html b/dom/tests/mochitest/bugs/test_bug260264_nested.html new file mode 100644 index 0000000000..1021220275 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug260264_nested.html @@ -0,0 +1,138 @@ + + + + + Test for Bug 260264 + + + + + +Mozilla Bug 260264 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug265203.html b/dom/tests/mochitest/bugs/test_bug265203.html new file mode 100644 index 0000000000..94f56c0164 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug265203.html @@ -0,0 +1,108 @@ + + + + + Test for Bug 265203 + + + + + +Mozilla Bug 265203 +

+MozillaFirefox
+
+ + + + + + + + + + + + + +
MozillaFirefox
MozillaFirefox
+

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug289714.html b/dom/tests/mochitest/bugs/test_bug289714.html new file mode 100644 index 0000000000..11d28347ef --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug289714.html @@ -0,0 +1,44 @@ + + + + + Test for Bug 289714 + + + + +Mozilla Bug 289714 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug291377.html b/dom/tests/mochitest/bugs/test_bug291377.html new file mode 100644 index 0000000000..321fdf7571 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug291377.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 291377 + + + + +Mozilla Bug 291377 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug304459.html b/dom/tests/mochitest/bugs/test_bug304459.html new file mode 100644 index 0000000000..766ae4a284 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug304459.html @@ -0,0 +1,47 @@ + + + + + Test for Bug 304459 + + + + +Mozilla Bug 304459 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug308856.html b/dom/tests/mochitest/bugs/test_bug308856.html new file mode 100644 index 0000000000..b954a63a1c --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug308856.html @@ -0,0 +1,42 @@ + + + + + Test for Bug 308856 + + + + +Mozilla Bug 308856 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug327891.html b/dom/tests/mochitest/bugs/test_bug327891.html new file mode 100644 index 0000000000..4e2e95ea61 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug327891.html @@ -0,0 +1,33 @@ + + + + + Test for Bug 327891 + + + + +Mozilla Bug 327891 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug333983.html b/dom/tests/mochitest/bugs/test_bug333983.html new file mode 100644 index 0000000000..c3ace11dbc --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug333983.html @@ -0,0 +1,35 @@ + + + + + Test for Bug 333983 + + + + +Mozilla Bug 333983 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug335976.xhtml b/dom/tests/mochitest/bugs/test_bug335976.xhtml new file mode 100644 index 0000000000..d219f7115c --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug335976.xhtml @@ -0,0 +1,68 @@ + + + + Test for Bug 335976 + + + + +Mozilla Bug 335976 +

+ + + +
+
+ +
+
+ + + +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug342448.html b/dom/tests/mochitest/bugs/test_bug342448.html new file mode 100644 index 0000000000..5fd35c1f0f --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug342448.html @@ -0,0 +1,36 @@ + + + + + Test for Bug 342448 + + + + + + +Mozilla Bug 342448 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug345521.html b/dom/tests/mochitest/bugs/test_bug345521.html new file mode 100644 index 0000000000..8a396f0d1e --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug345521.html @@ -0,0 +1,36 @@ + + + + + Test for Bug 345521 + + + + +Mozilla Bug 345521 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug346659.html b/dom/tests/mochitest/bugs/test_bug346659.html new file mode 100644 index 0000000000..20684fa32d --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug346659.html @@ -0,0 +1,207 @@ + + + + + Test for Bug 346659 + + + + +Mozilla Bug 346659 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug369306.html b/dom/tests/mochitest/bugs/test_bug369306.html new file mode 100644 index 0000000000..596a74f3bb --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug369306.html @@ -0,0 +1,137 @@ + + + + + Test for Bug 369306 + + + + + +Mozilla Bug 369306 +

+
+
+
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug370098.html b/dom/tests/mochitest/bugs/test_bug370098.html new file mode 100644 index 0000000000..29614a4372 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug370098.html @@ -0,0 +1,50 @@ + + + + + Test for Bug 370098 + + + + +Mozilla Bug 370098 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug377539.html b/dom/tests/mochitest/bugs/test_bug377539.html new file mode 100644 index 0000000000..50148e77b5 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug377539.html @@ -0,0 +1,55 @@ + + + + + + Testcase for bug 377539 + + + + + +Mozilla Bug 377539 + +

+ + + + +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug384122.html b/dom/tests/mochitest/bugs/test_bug384122.html new file mode 100644 index 0000000000..81dc3907e0 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug384122.html @@ -0,0 +1,32 @@ + + + + + Test for Bug 384122 + + + + +Mozilla Bug 384122 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug389366.html b/dom/tests/mochitest/bugs/test_bug389366.html new file mode 100644 index 0000000000..82d493c5ea --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug389366.html @@ -0,0 +1,65 @@ + + + + + Test for Bug 389366 + + + + +Mozilla Bug 389366 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug393974.html b/dom/tests/mochitest/bugs/test_bug393974.html new file mode 100644 index 0000000000..fe14355bf6 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug393974.html @@ -0,0 +1,68 @@ + + + + + Test for Bug 393974 + + + + +Mozilla Bug 393974 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug394769.html b/dom/tests/mochitest/bugs/test_bug394769.html new file mode 100644 index 0000000000..73bff1b07b --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug394769.html @@ -0,0 +1,42 @@ + + + + + + Test for Bug 394769 + + + + +Mozilla Bug 394769 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug396843.html b/dom/tests/mochitest/bugs/test_bug396843.html new file mode 100644 index 0000000000..bd9dede189 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug396843.html @@ -0,0 +1,240 @@ + + + + + Test for Bug 396843 + + + + +Mozilla Bug 396843 +

+ +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug400204.html b/dom/tests/mochitest/bugs/test_bug400204.html new file mode 100644 index 0000000000..0364ec4008 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug400204.html @@ -0,0 +1,64 @@ + + + + + Test for Bug 400204 + + + + +Mozilla Bug 400204 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug404748.html b/dom/tests/mochitest/bugs/test_bug404748.html new file mode 100644 index 0000000000..1e9b33427b --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug404748.html @@ -0,0 +1,31 @@ + + + + + Test for Bug 404748 + + + + +Mozilla Bug 404748 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug414291.html b/dom/tests/mochitest/bugs/test_bug414291.html new file mode 100644 index 0000000000..f87b5e0dc5 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug414291.html @@ -0,0 +1,28 @@ + + + + + Test for Bug 414291 + + + + +Mozilla Bug 414291 + + + + diff --git a/dom/tests/mochitest/bugs/test_bug42976.html b/dom/tests/mochitest/bugs/test_bug42976.html new file mode 100644 index 0000000000..d5f66d456c --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug42976.html @@ -0,0 +1,81 @@ + + + + + Test for Bug 42976 + + + + +Mozilla Bug 42976 +

+
+ ; + + + + + +
+
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug430276.html b/dom/tests/mochitest/bugs/test_bug430276.html new file mode 100644 index 0000000000..907ab0795e --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug430276.html @@ -0,0 +1,41 @@ + + + + + Test for Bug 430276 + + + + +Mozilla Bug 430276 +

+ +
+
+
+ +
+ +
+ +
+ + + + diff --git a/dom/tests/mochitest/bugs/test_bug456151.html b/dom/tests/mochitest/bugs/test_bug456151.html new file mode 100644 index 0000000000..7b0cb22776 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug456151.html @@ -0,0 +1,73 @@ + + + + + Test for Bug 456151 + + + + + + +Mozilla Bug 456151 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug458091.html b/dom/tests/mochitest/bugs/test_bug458091.html new file mode 100644 index 0000000000..2bb6bc5404 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug458091.html @@ -0,0 +1,100 @@ + + + + + Test for Bug 458091 + + + + + +Mozilla Bug 458091 + + +
+Javascript Link
+HTTP Link
+Target Link
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug459848.html b/dom/tests/mochitest/bugs/test_bug459848.html new file mode 100644 index 0000000000..495711fdb7 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug459848.html @@ -0,0 +1,60 @@ + + + + + Test for Bug 459848 + + + + +Mozilla Bug 459848 +

+ +
+
+
+ + + + diff --git a/dom/tests/mochitest/bugs/test_bug465263.html b/dom/tests/mochitest/bugs/test_bug465263.html new file mode 100644 index 0000000000..a7c95b5177 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug465263.html @@ -0,0 +1,49 @@ + + + + + Test for Bug 465263 + + + + +Mozilla Bug 465263 +

+ + + + +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug484775.html b/dom/tests/mochitest/bugs/test_bug484775.html new file mode 100644 index 0000000000..31edf0447e --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug484775.html @@ -0,0 +1,55 @@ + + + + + Test for Bug 484775 + + + + + +Mozilla Bug 484775 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug492925.html b/dom/tests/mochitest/bugs/test_bug492925.html new file mode 100644 index 0000000000..d7a067611f --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug492925.html @@ -0,0 +1,45 @@ + + + + + Test for Bug 492925 + + + + + +Mozilla Bug 492925 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug49312.html b/dom/tests/mochitest/bugs/test_bug49312.html new file mode 100644 index 0000000000..14e6d56287 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug49312.html @@ -0,0 +1,47 @@ + + + + + Test for Bug 49312 + + + + + +Mozilla Bug 49312 +

+ +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug495219.html b/dom/tests/mochitest/bugs/test_bug495219.html new file mode 100644 index 0000000000..8fd04862e9 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug495219.html @@ -0,0 +1,27 @@ + + + + + Test for Bug 495219 + + + + +Mozilla + Bug 495219 + + + + diff --git a/dom/tests/mochitest/bugs/test_bug529328.html b/dom/tests/mochitest/bugs/test_bug529328.html new file mode 100644 index 0000000000..231234f4db --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug529328.html @@ -0,0 +1,122 @@ + + + + + Test for Bug 529328 + + + + +Mozilla Bug 529328 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug531176.html b/dom/tests/mochitest/bugs/test_bug531176.html new file mode 100644 index 0000000000..f091c0d475 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug531176.html @@ -0,0 +1,66 @@ + + + + + Test for Bug 531176 + + + + +Mozilla Bug 531176 +

+ +
+
+
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug531542.html b/dom/tests/mochitest/bugs/test_bug531542.html new file mode 100644 index 0000000000..89dcd702a4 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug531542.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 531542 + + + + +Mozilla Bug 531542 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug534149.html b/dom/tests/mochitest/bugs/test_bug534149.html new file mode 100644 index 0000000000..8c1a8b7e4d --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug534149.html @@ -0,0 +1,85 @@ + + + + + Test for Bug 534149 + + + + +Mozilla Bug 534149 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug541530.html b/dom/tests/mochitest/bugs/test_bug541530.html new file mode 100644 index 0000000000..f43dba8aa9 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug541530.html @@ -0,0 +1,94 @@ + + + + + Test for Bug 411103 + + + + +Mozilla Bug 541530 +

+ + +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug545314.html b/dom/tests/mochitest/bugs/test_bug545314.html new file mode 100644 index 0000000000..09bf74fb4e --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug545314.html @@ -0,0 +1,29 @@ + + + + + Test for Bug 545314 + + + + +Mozilla Bug 545314 +

+ + +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug548828.html b/dom/tests/mochitest/bugs/test_bug548828.html new file mode 100644 index 0000000000..83602e6637 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug548828.html @@ -0,0 +1,37 @@ + + + + + Test for Bug 548828 + + + + + +Mozilla Bug 548828 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug558973.html b/dom/tests/mochitest/bugs/test_bug558973.html new file mode 100644 index 0000000000..9208e3c587 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug558973.html @@ -0,0 +1,42 @@ + + + + + Test for Bug 558973 + + + + +Mozilla Bug 558973 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug562433.html b/dom/tests/mochitest/bugs/test_bug562433.html new file mode 100644 index 0000000000..e7fa9da4e7 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug562433.html @@ -0,0 +1,35 @@ + + + + + Test for Bug 562433 + + + + +Mozilla Bug 562433 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug563487.html b/dom/tests/mochitest/bugs/test_bug563487.html new file mode 100644 index 0000000000..eeb90bc961 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug563487.html @@ -0,0 +1,34 @@ + + + + + + + Test for Bug 563487 + + + + +Mozilla Bug 563487 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug581072.html b/dom/tests/mochitest/bugs/test_bug581072.html new file mode 100644 index 0000000000..3878bed0a7 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug581072.html @@ -0,0 +1,47 @@ + + + + + Test for Bug 581072 + + + + +Mozilla Bug 581072 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug583225.html b/dom/tests/mochitest/bugs/test_bug583225.html new file mode 100644 index 0000000000..2923bc52bd --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug583225.html @@ -0,0 +1,41 @@ + + + + + Test for Bug 583225 + + + + +Mozilla Bug 583225 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug585240.html b/dom/tests/mochitest/bugs/test_bug585240.html new file mode 100644 index 0000000000..829f4684ae --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug585240.html @@ -0,0 +1,33 @@ + + + + + Test for Bug 585240 + + + + +Mozilla Bug 585240 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug585819.html b/dom/tests/mochitest/bugs/test_bug585819.html new file mode 100644 index 0000000000..7efe8fc800 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug585819.html @@ -0,0 +1,38 @@ + + + + + Test for Bug 585819 + + + + + +Mozilla Bug 585819 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug593174.html b/dom/tests/mochitest/bugs/test_bug593174.html new file mode 100644 index 0000000000..8c24aaf06a --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug593174.html @@ -0,0 +1,85 @@ + + + + + Test for Bug 593174 + + + + +Mozilla Bug 593174 + + + + + + + diff --git a/dom/tests/mochitest/bugs/test_bug61098.html b/dom/tests/mochitest/bugs/test_bug61098.html new file mode 100644 index 0000000000..9502a28749 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug61098.html @@ -0,0 +1,370 @@ + + + + + Test for Bug 61098 + + + + + + +Mozilla Bug 61098 +

+

+ +
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug612267.html b/dom/tests/mochitest/bugs/test_bug612267.html new file mode 100644 index 0000000000..65e3660be1 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug612267.html @@ -0,0 +1,27 @@ + + + + + Test for Bug 393974 + + + + +Mozilla Bug 612267 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug617296.html b/dom/tests/mochitest/bugs/test_bug617296.html new file mode 100644 index 0000000000..23f0ebf14b --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug617296.html @@ -0,0 +1,27 @@ + + + + + Test for Bug 617296 + + + + +Mozilla Bug 617296 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug620947.html b/dom/tests/mochitest/bugs/test_bug620947.html new file mode 100644 index 0000000000..fdca09af24 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug620947.html @@ -0,0 +1,31 @@ + + + + + Test for Bug 620947 + + + + +Mozilla Bug 620947 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug622361.html b/dom/tests/mochitest/bugs/test_bug622361.html new file mode 100644 index 0000000000..a8855fc853 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug622361.html @@ -0,0 +1,53 @@ + + + + + + + + + + diff --git a/dom/tests/mochitest/bugs/test_bug633133.html b/dom/tests/mochitest/bugs/test_bug633133.html new file mode 100644 index 0000000000..19c61dbfee --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug633133.html @@ -0,0 +1,47 @@ + + + + + Test for Bug 633133 + + + + +Mozilla Bug 633133 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug642026.html b/dom/tests/mochitest/bugs/test_bug642026.html new file mode 100644 index 0000000000..6f24b2120c --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug642026.html @@ -0,0 +1,56 @@ + + + + + Test for Bug 642026 + + + + +Mozilla Bug 642026 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug648465.html b/dom/tests/mochitest/bugs/test_bug648465.html new file mode 100644 index 0000000000..4ea76555ae --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug648465.html @@ -0,0 +1,33 @@ + + + + + Test for Bug 648465 + + + + + + Mozilla Bug 648465 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug654137.html b/dom/tests/mochitest/bugs/test_bug654137.html new file mode 100644 index 0000000000..1a1c739764 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug654137.html @@ -0,0 +1,25 @@ + + + + + Test for Bug 654137 + + + + +Mozilla Bug 654137 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug664737.html b/dom/tests/mochitest/bugs/test_bug664737.html new file mode 100644 index 0000000000..423004b2fc --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug664737.html @@ -0,0 +1,39 @@ + + + + + + Test for Bug 664737 + + + + +Mozilla Bug 664737 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug665548.html b/dom/tests/mochitest/bugs/test_bug665548.html new file mode 100644 index 0000000000..9d31b32c0a --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug665548.html @@ -0,0 +1,28 @@ + + + + + Test for Bug 665548 + + + + +Mozilla Bug 665548 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug684544.html b/dom/tests/mochitest/bugs/test_bug684544.html new file mode 100644 index 0000000000..d069db1969 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug684544.html @@ -0,0 +1,54 @@ + + + + + Test for Bug + + + + +Mozilla Bug +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug691707.html b/dom/tests/mochitest/bugs/test_bug691707.html new file mode 100644 index 0000000000..c567cbefad --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug691707.html @@ -0,0 +1,36 @@ + + + + + + Test for Bug 691707 + + + + +Mozilla Bug 691707 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug698061.html b/dom/tests/mochitest/bugs/test_bug698061.html new file mode 100644 index 0000000000..f023ca0ad8 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug698061.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 698061 + + + + +Mozilla Bug 698061 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug698551.html b/dom/tests/mochitest/bugs/test_bug698551.html new file mode 100644 index 0000000000..a6b73b4efd --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug698551.html @@ -0,0 +1,39 @@ + + + + + Test for Bug 698551 + + + + +Mozilla Bug 698551 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug707749.html b/dom/tests/mochitest/bugs/test_bug707749.html new file mode 100644 index 0000000000..b3243ce83f --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug707749.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 707749 + + + + +Mozilla Bug 707749 +

+ +
+
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug740811.html b/dom/tests/mochitest/bugs/test_bug740811.html new file mode 100644 index 0000000000..cf614de0c8 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug740811.html @@ -0,0 +1,27 @@ + + + + + + Test for Bug 740811 + + + + +Mozilla Bug 740811 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug743615.html b/dom/tests/mochitest/bugs/test_bug743615.html new file mode 100644 index 0000000000..19dbb233dd --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug743615.html @@ -0,0 +1,83 @@ + + + + + + Test for Bug 743615 + + + + + +Mozilla Bug 743615 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug755320.html b/dom/tests/mochitest/bugs/test_bug755320.html new file mode 100644 index 0000000000..4dcfe8e840 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug755320.html @@ -0,0 +1,30 @@ + + + + + Test for Bug 755320 + + + + +Mozilla Bug 755320 + + + + + + + + diff --git a/dom/tests/mochitest/bugs/test_bug777628.html b/dom/tests/mochitest/bugs/test_bug777628.html new file mode 100644 index 0000000000..8a00cbd1df --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug777628.html @@ -0,0 +1,42 @@ + + + + + + Test for Bug 743615 + + + + + +Mozilla Bug 777628 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug809290.html b/dom/tests/mochitest/bugs/test_bug809290.html new file mode 100644 index 0000000000..f6ac91dff6 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug809290.html @@ -0,0 +1,54 @@ + + + + + + Test for Bug 809290 + + + + +Mozilla Bug 809290 +

+ +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_bug817476.html b/dom/tests/mochitest/bugs/test_bug817476.html new file mode 100644 index 0000000000..1be29166a3 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug817476.html @@ -0,0 +1,45 @@ + + + + + + Test for Bug 817476 + + + + +Mozilla Bug 817476 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug823173.html b/dom/tests/mochitest/bugs/test_bug823173.html new file mode 100644 index 0000000000..bd2c2fa96e --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug823173.html @@ -0,0 +1,30 @@ + + + + + + Test for Bug 823173 + + + + +Mozilla Bug 823173 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug848088.html b/dom/tests/mochitest/bugs/test_bug848088.html new file mode 100644 index 0000000000..24c43c421a --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug848088.html @@ -0,0 +1,48 @@ + + + + + + Test for Bug 848088 + + + + + +Mozilla Bug 848088 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug850517.html b/dom/tests/mochitest/bugs/test_bug850517.html new file mode 100644 index 0000000000..82b209966f --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug850517.html @@ -0,0 +1,47 @@ + + + + + + Test for Bug 850517 + + + + + +Mozilla Bug 850517 +

+ + +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug857555.html b/dom/tests/mochitest/bugs/test_bug857555.html new file mode 100644 index 0000000000..b72d1573e4 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug857555.html @@ -0,0 +1,33 @@ + + + + + + Test for Bug 857555 + + + + + +Mozilla Bug 857555 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug862540.html b/dom/tests/mochitest/bugs/test_bug862540.html new file mode 100644 index 0000000000..27e77dc0ef --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug862540.html @@ -0,0 +1,31 @@ + + + + + + Test for Bug 862540 + + + + + +Mozilla Bug 862540 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug873229.html b/dom/tests/mochitest/bugs/test_bug873229.html new file mode 100644 index 0000000000..c245275159 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug873229.html @@ -0,0 +1,83 @@ + + + + + + Test for Bug 873229 + + + + + + +Mozilla Bug 873229 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug876098.html b/dom/tests/mochitest/bugs/test_bug876098.html new file mode 100644 index 0000000000..4c4fa41a57 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug876098.html @@ -0,0 +1,52 @@ + + + + + + Test for Bug 876098 + + + + + +Mozilla Bug 876098 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_bug927901.html b/dom/tests/mochitest/bugs/test_bug927901.html new file mode 100644 index 0000000000..c012a062db --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug927901.html @@ -0,0 +1,40 @@ + + + + + + Test for Bug 927901 + + + + + +Mozilla Bug 927901 +

+ +
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_devicemotion_multiple_listeners.html b/dom/tests/mochitest/bugs/test_devicemotion_multiple_listeners.html new file mode 100644 index 0000000000..7b0b8ff731 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_devicemotion_multiple_listeners.html @@ -0,0 +1,35 @@ + + + + + Test for Bug 673472 + + + + + +Mozilla Bug 673472 +
+
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_domparser_after_blank.html b/dom/tests/mochitest/bugs/test_domparser_after_blank.html new file mode 100644 index 0000000000..d8ea6e09f9 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_domparser_after_blank.html @@ -0,0 +1,33 @@ + + + + Test for creating DOMParser() after docoment.write() blanks the page + + + + +Mozilla Bug 820841 +

+ +
+
+
+ + + +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_instanceof_error_message.html b/dom/tests/mochitest/bugs/test_instanceof_error_message.html new file mode 100644 index 0000000000..05dfa602f7 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_instanceof_error_message.html @@ -0,0 +1,111 @@ + + + + + + Test for Bug 1530413 + + + + + +Mozilla Bug 1530413 +

+ +
+
+ + \ No newline at end of file diff --git a/dom/tests/mochitest/bugs/test_navigator_buildID.html b/dom/tests/mochitest/bugs/test_navigator_buildID.html new file mode 100644 index 0000000000..231bd99c23 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_navigator_buildID.html @@ -0,0 +1,93 @@ + + + + + Test for Bug 583181 + + + + + +Mozilla Bug 583181 +

+ +
+
+
+ + + + +Mozilla Bug 1348409 + +

+ Here's some text to search for: fhqwhgads! A hovercraft full of eels! +

+ +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_onerror_message.html b/dom/tests/mochitest/bugs/test_onerror_message.html new file mode 100644 index 0000000000..476c02d978 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_onerror_message.html @@ -0,0 +1,97 @@ + + + + + + Test for Bug 743049 + + + + +Mozilla Bug 743049 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_postmessage.html b/dom/tests/mochitest/bugs/test_postmessage.html new file mode 100644 index 0000000000..8dee4ec4a5 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_postmessage.html @@ -0,0 +1,65 @@ + + + + + Test for Bug 1574017 + + + + + + +Mozilla Bug 1574017 +

+ +
+
+ + + diff --git a/dom/tests/mochitest/bugs/test_protochains.html b/dom/tests/mochitest/bugs/test_protochains.html new file mode 100644 index 0000000000..62be36d118 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_protochains.html @@ -0,0 +1,59 @@ + + + + + + Test for Bug 817420 + + + + +Mozilla Bug 817420 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_resize_move_windows.html b/dom/tests/mochitest/bugs/test_resize_move_windows.html new file mode 100644 index 0000000000..11b2d90f21 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_resize_move_windows.html @@ -0,0 +1,349 @@ + + + + + Test for Bug 565541 + + + + +Mozilla Bug 565541 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_sizetocontent_clamp.html b/dom/tests/mochitest/bugs/test_sizetocontent_clamp.html new file mode 100644 index 0000000000..3ed3f55ec6 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_sizetocontent_clamp.html @@ -0,0 +1,80 @@ + + + + + + Test for Bug 764240 + + + + + +Mozilla Bug 764240 +

+
+ +
+
+
+
+ + diff --git a/dom/tests/mochitest/bugs/test_toJSON.html b/dom/tests/mochitest/bugs/test_toJSON.html new file mode 100644 index 0000000000..77eaccb1d1 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_toJSON.html @@ -0,0 +1,71 @@ + + + + + + Test for Bug 760851 + + + + + +Mozilla Bug 760851 +

+ +
+
+ + diff --git a/dom/tests/mochitest/bugs/test_window_bar.html b/dom/tests/mochitest/bugs/test_window_bar.html new file mode 100644 index 0000000000..7c5a1f38a6 --- /dev/null +++ b/dom/tests/mochitest/bugs/test_window_bar.html @@ -0,0 +1,151 @@ + + + + + Test for Bug 642338 + + + + +Mozilla Bug 642338 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/bugs/utils_bug260264.js b/dom/tests/mochitest/bugs/utils_bug260264.js new file mode 100644 index 0000000000..dfb0eb45a0 --- /dev/null +++ b/dom/tests/mochitest/bugs/utils_bug260264.js @@ -0,0 +1,69 @@ +const ALLOW_ACTION = SpecialPowers.Ci.nsIPermissionManager.ALLOW_ACTION; +const DENY_ACTION = SpecialPowers.Ci.nsIPermissionManager.DENY_ACTION; +const UNKNOWN_ACTION = SpecialPowers.Ci.nsIPermissionManager.UNKNOWN_ACTION; +const PROMPT_ACTION = SpecialPowers.Ci.nsIPermissionManager.PROMPT_ACTION; + +/** + * Dispatches |handler| to |element|, as if fired in response to |event|. + */ +function send(element, event, handler) { + function unique_handler() { + return handler.apply(this, arguments); + } + element.addEventListener(event, unique_handler); + try { + sendMouseEvent({ type: event }, element.id); + } finally { + element.removeEventListener(event, unique_handler); + } +} + +/** + * Because it's not nice to leave popup windows open after the tests are + * finished, we need a foolproof way to close some/all window.opened windows. + */ +(function (originalOpen) { + var wins = []; + (window.open = function () { + var win = originalOpen.apply(window, arguments); + if (win) { + wins[wins.length] = win; + } + return win; + }).close = function (n) { + var promises = []; + if (arguments.length < 1) { + n = wins.length; + } + while (n-- > 0) { + var win = wins.pop(); + if (win) { + let openedBrowsingContextID = SpecialPowers.getBrowsingContextID(win); + promises.push( + (function (openedWindow) { + return new Promise(function (resolve) { + let observer = { + observe(subject) { + if (subject.id == openedBrowsingContextID) { + SpecialPowers.removeObserver( + observer, + "browsing-context-discarded" + ); + SimpleTest.executeSoon(resolve); + } + }, + }; + + SpecialPowers.addObserver(observer, "browsing-context-discarded"); + }); + })(win) + ); + win.close(); + } else { + promises.push(Promise.resolve()); + break; + } + } + return Promise.all(promises); + }; +})(window.open); diff --git a/dom/tests/mochitest/bugs/utils_bug743615.js b/dom/tests/mochitest/bugs/utils_bug743615.js new file mode 100644 index 0000000000..24b3a77a4c --- /dev/null +++ b/dom/tests/mochitest/bugs/utils_bug743615.js @@ -0,0 +1,30 @@ +function makePattern(len, start, inc) { + var pattern = []; + while (len) { + pattern.push(start); + start = (start + inc) % 256; + --len; + } + return pattern; +} + +function setPattern(imageData, pattern) { + if (pattern.length != imageData.data.length) { + throw Error("Invalid pattern"); + } + for (var i = 0; i < pattern.length; ++i) { + imageData.data[i] = pattern[i]; + } +} + +function checkPattern(imageData, pattern) { + if (pattern.length != imageData.data.length) { + throw Error("Invalid pattern"); + } + for (var i = 0; i < pattern.length; ++i) { + if (imageData.data[i] != pattern[i]) { + return false; + } + } + return true; +} diff --git a/dom/tests/mochitest/bugs/window_bug1171215.html b/dom/tests/mochitest/bugs/window_bug1171215.html new file mode 100644 index 0000000000..f196457b18 --- /dev/null +++ b/dom/tests/mochitest/bugs/window_bug1171215.html @@ -0,0 +1,86 @@ + + + + + + Test for Bug 1022869 + + + + + + diff --git a/dom/tests/mochitest/bugs/worker_bug743615.js b/dom/tests/mochitest/bugs/worker_bug743615.js new file mode 100644 index 0000000000..16c5617bd2 --- /dev/null +++ b/dom/tests/mochitest/bugs/worker_bug743615.js @@ -0,0 +1,44 @@ +importScripts("utils_bug743615.js"); + +self.onmessage = function onMessage(evt) { + // Check the pattern that was sent. + var imageData = evt.data.imageData; + var pattern = evt.data.pattern; + var statusMessage = checkPattern(imageData, pattern) + ? "PASS" + : "Got corrupt typed array in worker"; + + // Check against the interface object. + if (!(imageData instanceof ImageData)) { + statusMessage += ", Bad interface object in worker"; + } + + // Check the getters. + if (imageData.width * imageData.height != imageData.data.length / 4) { + statusMessage += ", Bad ImageData getters in worker: "; + statusMessage += [imageData.width, imageData.height].join(", "); + } + + // Make sure that writing to .data is a no-op when not in strict mode. + var origData = imageData.data; + var threw = false; + try { + imageData.data = []; + imageData.width = 2; + imageData.height = 2; + } catch (e) { + threw = true; + } + if (threw || imageData.data !== origData) { + statusMessage = statusMessage + ", Should silently ignore sets"; + } + + // Send back a new pattern. + pattern = makePattern(imageData.data.length, 99, 2); + setPattern(imageData, pattern); + self.postMessage({ + statusMessage, + imageData, + pattern, + }); +}; -- cgit v1.2.3