From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- dom/base/test/chrome/bug418986-1.js | 88 + dom/base/test/chrome/bug421622-referer.sjs | 9 + dom/base/test/chrome/bug884693.sjs | 8 + dom/base/test/chrome/chrome.ini | 84 + dom/base/test/chrome/clonedoc/chrome.manifest | 1 + dom/base/test/chrome/clonedoc/content/doc.xml | 4 + dom/base/test/chrome/custom_element_ep.js | 14 + dom/base/test/chrome/file_bug1139964.xhtml | 60 + dom/base/test/chrome/file_bug1209621.xhtml | 85 + dom/base/test/chrome/file_bug549682.xhtml | 214 + dom/base/test/chrome/file_bug616841.xhtml | 63 + dom/base/test/chrome/file_bug816340.xhtml | 70 + dom/base/test/chrome/file_bug990812-1.xhtml | 61 + dom/base/test/chrome/file_bug990812-2.xhtml | 56 + dom/base/test/chrome/file_bug990812-3.xhtml | 68 + dom/base/test/chrome/file_bug990812-4.xhtml | 63 + dom/base/test/chrome/file_bug990812-5.xhtml | 74 + dom/base/test/chrome/file_bug990812.xhtml | 55 + .../file_document-element-inserted-inner.xhtml | 1 + .../chrome/file_document-element-inserted.xhtml | 3 + dom/base/test/chrome/file_title.xhtml | 1 + dom/base/test/chrome/fileconstructor_file.png | Bin 0 -> 95 bytes .../test/chrome/frame_custom_element_content.html | 5 + dom/base/test/chrome/nochrome_bug1346936.html | 3 + dom/base/test/chrome/nochrome_bug1346936.js | 4 + .../test/chrome/nochrome_bug1346936.js^headers^ | 1 + dom/base/test/chrome/nochrome_bug765993.html | 3 + dom/base/test/chrome/nochrome_bug765993.js | 4 + .../test/chrome/nochrome_bug765993.js^headers^ | 1 + dom/base/test/chrome/test_bug1063837.xhtml | 36 + ...test_bug1098074_throw_from_ReceiveMessage.xhtml | 46 + dom/base/test/chrome/test_bug1139964.xhtml | 32 + dom/base/test/chrome/test_bug120684.xhtml | 80 + dom/base/test/chrome/test_bug1209621.xhtml | 34 + dom/base/test/chrome/test_bug1339722.html | 86 + dom/base/test/chrome/test_bug1346936.html | 61 + dom/base/test/chrome/test_bug206691.xhtml | 32 + dom/base/test/chrome/test_bug289714.xhtml | 33 + dom/base/test/chrome/test_bug339494.xhtml | 62 + dom/base/test/chrome/test_bug357450.xhtml | 56 + dom/base/test/chrome/test_bug380418.html | 37 + dom/base/test/chrome/test_bug380418.html^headers^ | 4 + dom/base/test/chrome/test_bug383430.html | 38 + dom/base/test/chrome/test_bug418986-1.xhtml | 25 + dom/base/test/chrome/test_bug421622.xhtml | 34 + dom/base/test/chrome/test_bug429785.xhtml | 55 + dom/base/test/chrome/test_bug430050.xhtml | 50 + dom/base/test/chrome/test_bug467123.xhtml | 44 + dom/base/test/chrome/test_bug473284.xhtml | 83 + dom/base/test/chrome/test_bug549682.xhtml | 32 + dom/base/test/chrome/test_bug571390.xhtml | 42 + dom/base/test/chrome/test_bug616841.xhtml | 30 + dom/base/test/chrome/test_bug635835.xhtml | 36 + dom/base/test/chrome/test_bug682305.html | 150 + dom/base/test/chrome/test_bug683852.xhtml | 87 + dom/base/test/chrome/test_bug752226-3.xhtml | 28 + dom/base/test/chrome/test_bug752226-4.xhtml | 28 + dom/base/test/chrome/test_bug765993.html | 61 + dom/base/test/chrome/test_bug780199.xhtml | 51 + dom/base/test/chrome/test_bug780529.xhtml | 36 + dom/base/test/chrome/test_bug800386.xhtml | 65 + dom/base/test/chrome/test_bug816340.xhtml | 30 + dom/base/test/chrome/test_bug884693.xhtml | 82 + dom/base/test/chrome/test_bug914381.html | 58 + dom/base/test/chrome/test_bug990812.xhtml | 42 + .../test/chrome/test_chromeOuterWindowID.xhtml | 137 + .../test/chrome/test_custom_element_content.xhtml | 55 + dom/base/test/chrome/test_custom_element_ep.xhtml | 41 + .../chrome/test_document-element-inserted.xhtml | 54 + dom/base/test/chrome/test_domparsing.xhtml | 145 + dom/base/test/chrome/test_fileconstructor.xhtml | 86 + dom/base/test/chrome/test_getElementsWithGrid.html | 121 + .../test_input_value_set_preserve_undo.xhtml | 37 + .../test/chrome/test_nsITextInputProcessor.xhtml | 29 + ...ermission_hasValidTransientUserActivation.xhtml | 91 + .../chrome/test_range_getClientRectsAndTexts.html | 74 + dom/base/test/chrome/test_swapFrameLoaders.xhtml | 25 + dom/base/test/chrome/test_title.xhtml | 29 + dom/base/test/chrome/test_windowroot.xhtml | 18 + dom/base/test/chrome/title_window.xhtml | 197 + .../test/chrome/window_chromeOuterWindowID.xhtml | 14 + .../test/chrome/window_nsITextInputProcessor.xhtml | 4750 ++++++++++++++++++++ dom/base/test/chrome/window_swapFrameLoaders.xhtml | 225 + 83 files changed, 9017 insertions(+) create mode 100644 dom/base/test/chrome/bug418986-1.js create mode 100644 dom/base/test/chrome/bug421622-referer.sjs create mode 100644 dom/base/test/chrome/bug884693.sjs create mode 100644 dom/base/test/chrome/chrome.ini create mode 100644 dom/base/test/chrome/clonedoc/chrome.manifest create mode 100644 dom/base/test/chrome/clonedoc/content/doc.xml create mode 100644 dom/base/test/chrome/custom_element_ep.js create mode 100644 dom/base/test/chrome/file_bug1139964.xhtml create mode 100644 dom/base/test/chrome/file_bug1209621.xhtml create mode 100644 dom/base/test/chrome/file_bug549682.xhtml create mode 100644 dom/base/test/chrome/file_bug616841.xhtml create mode 100644 dom/base/test/chrome/file_bug816340.xhtml create mode 100644 dom/base/test/chrome/file_bug990812-1.xhtml create mode 100644 dom/base/test/chrome/file_bug990812-2.xhtml create mode 100644 dom/base/test/chrome/file_bug990812-3.xhtml create mode 100644 dom/base/test/chrome/file_bug990812-4.xhtml create mode 100644 dom/base/test/chrome/file_bug990812-5.xhtml create mode 100644 dom/base/test/chrome/file_bug990812.xhtml create mode 100644 dom/base/test/chrome/file_document-element-inserted-inner.xhtml create mode 100644 dom/base/test/chrome/file_document-element-inserted.xhtml create mode 100644 dom/base/test/chrome/file_title.xhtml create mode 100644 dom/base/test/chrome/fileconstructor_file.png create mode 100644 dom/base/test/chrome/frame_custom_element_content.html create mode 100644 dom/base/test/chrome/nochrome_bug1346936.html create mode 100644 dom/base/test/chrome/nochrome_bug1346936.js create mode 100644 dom/base/test/chrome/nochrome_bug1346936.js^headers^ create mode 100644 dom/base/test/chrome/nochrome_bug765993.html create mode 100644 dom/base/test/chrome/nochrome_bug765993.js create mode 100644 dom/base/test/chrome/nochrome_bug765993.js^headers^ create mode 100644 dom/base/test/chrome/test_bug1063837.xhtml create mode 100644 dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml create mode 100644 dom/base/test/chrome/test_bug1139964.xhtml create mode 100644 dom/base/test/chrome/test_bug120684.xhtml create mode 100644 dom/base/test/chrome/test_bug1209621.xhtml create mode 100644 dom/base/test/chrome/test_bug1339722.html create mode 100644 dom/base/test/chrome/test_bug1346936.html create mode 100644 dom/base/test/chrome/test_bug206691.xhtml create mode 100644 dom/base/test/chrome/test_bug289714.xhtml create mode 100644 dom/base/test/chrome/test_bug339494.xhtml create mode 100644 dom/base/test/chrome/test_bug357450.xhtml create mode 100644 dom/base/test/chrome/test_bug380418.html create mode 100644 dom/base/test/chrome/test_bug380418.html^headers^ create mode 100644 dom/base/test/chrome/test_bug383430.html create mode 100644 dom/base/test/chrome/test_bug418986-1.xhtml create mode 100644 dom/base/test/chrome/test_bug421622.xhtml create mode 100644 dom/base/test/chrome/test_bug429785.xhtml create mode 100644 dom/base/test/chrome/test_bug430050.xhtml create mode 100644 dom/base/test/chrome/test_bug467123.xhtml create mode 100644 dom/base/test/chrome/test_bug473284.xhtml create mode 100644 dom/base/test/chrome/test_bug549682.xhtml create mode 100644 dom/base/test/chrome/test_bug571390.xhtml create mode 100644 dom/base/test/chrome/test_bug616841.xhtml create mode 100644 dom/base/test/chrome/test_bug635835.xhtml create mode 100644 dom/base/test/chrome/test_bug682305.html create mode 100644 dom/base/test/chrome/test_bug683852.xhtml create mode 100644 dom/base/test/chrome/test_bug752226-3.xhtml create mode 100644 dom/base/test/chrome/test_bug752226-4.xhtml create mode 100644 dom/base/test/chrome/test_bug765993.html create mode 100644 dom/base/test/chrome/test_bug780199.xhtml create mode 100644 dom/base/test/chrome/test_bug780529.xhtml create mode 100644 dom/base/test/chrome/test_bug800386.xhtml create mode 100644 dom/base/test/chrome/test_bug816340.xhtml create mode 100644 dom/base/test/chrome/test_bug884693.xhtml create mode 100644 dom/base/test/chrome/test_bug914381.html create mode 100644 dom/base/test/chrome/test_bug990812.xhtml create mode 100644 dom/base/test/chrome/test_chromeOuterWindowID.xhtml create mode 100644 dom/base/test/chrome/test_custom_element_content.xhtml create mode 100644 dom/base/test/chrome/test_custom_element_ep.xhtml create mode 100644 dom/base/test/chrome/test_document-element-inserted.xhtml create mode 100644 dom/base/test/chrome/test_domparsing.xhtml create mode 100644 dom/base/test/chrome/test_fileconstructor.xhtml create mode 100644 dom/base/test/chrome/test_getElementsWithGrid.html create mode 100644 dom/base/test/chrome/test_input_value_set_preserve_undo.xhtml create mode 100644 dom/base/test/chrome/test_nsITextInputProcessor.xhtml create mode 100644 dom/base/test/chrome/test_permission_hasValidTransientUserActivation.xhtml create mode 100644 dom/base/test/chrome/test_range_getClientRectsAndTexts.html create mode 100644 dom/base/test/chrome/test_swapFrameLoaders.xhtml create mode 100644 dom/base/test/chrome/test_title.xhtml create mode 100644 dom/base/test/chrome/test_windowroot.xhtml create mode 100644 dom/base/test/chrome/title_window.xhtml create mode 100644 dom/base/test/chrome/window_chromeOuterWindowID.xhtml create mode 100644 dom/base/test/chrome/window_nsITextInputProcessor.xhtml create mode 100644 dom/base/test/chrome/window_swapFrameLoaders.xhtml (limited to 'dom/base/test/chrome') diff --git a/dom/base/test/chrome/bug418986-1.js b/dom/base/test/chrome/bug418986-1.js new file mode 100644 index 0000000000..7c39df0c13 --- /dev/null +++ b/dom/base/test/chrome/bug418986-1.js @@ -0,0 +1,88 @@ +/* globals chromeWindow */ +// The main test function. +var test = function (isContent) { + SimpleTest.waitForExplicitFinish(); + + SpecialPowers.pushPrefEnv({ + set: [["security.allow_eval_with_system_principal", true]], + }); + + if (!isContent) { + let { ww } = SpecialPowers.Services; + window.chromeWindow = ww.activeWindow; + } + + // The pairs of values expected to be the same when + // fingerprinting resistance is enabled. + let pairs = [ + ["screenX", 0], + ["screenY", 0], + ["mozInnerScreenX", 0], + ["mozInnerScreenY", 0], + ["screen.pixelDepth", 24], + ["screen.colorDepth", 24], + ["screen.availWidth", "innerWidth"], + ["screen.availHeight", "innerHeight"], + ["screen.left", 0], + ["screen.top", 0], + ["screen.availLeft", 0], + ["screen.availTop", 0], + ["screen.width", "innerWidth"], + ["screen.height", "innerHeight"], + ["screen.orientation.type", "'landscape-primary'"], + ["screen.orientation.angle", 0], + ["screen.mozOrientation", "'landscape-primary'"], + ["devicePixelRatio", 1], + ]; + + // checkPair: tests if members of pair [a, b] are equal when evaluated. + let checkPair = function (a, b) { + // eslint-disable-next-line no-eval + is(eval(a), eval(b), a + " should be equal to " + b); + }; + + // Returns generator object that iterates through pref values. + let prefVals = (function* () { + yield false; + yield true; + })(); + + // The main test function, runs until all pref values are exhausted. + let nextTest = function () { + let { value: prefValue, done } = prefVals.next(); + if (done) { + SimpleTest.finish(); + return; + } + SpecialPowers.pushPrefEnv( + { set: [["privacy.resistFingerprinting", prefValue]] }, + function () { + // We will be resisting fingerprinting if the pref is enabled, + // and we are in a content script (not chrome). + let resisting = prefValue && isContent; + // Check each of the pairs. + pairs.map(function ([item, onVal]) { + if (resisting) { + checkPair("window." + item, onVal); + } else if (!isContent && !item.startsWith("moz")) { + checkPair("window." + item, "chromeWindow." + item); + } + }); + if (!isContent && !resisting) { + // Hard to predict these values, but we can enforce constraints: + ok( + window.mozInnerScreenX >= chromeWindow.mozInnerScreenX, + "mozInnerScreenX" + ); + ok( + window.mozInnerScreenY >= chromeWindow.mozInnerScreenY, + "mozInnerScreenY" + ); + } + nextTest(); + } + ); + }; + + nextTest(); +}; diff --git a/dom/base/test/chrome/bug421622-referer.sjs b/dom/base/test/chrome/bug421622-referer.sjs new file mode 100644 index 0000000000..14cab00de4 --- /dev/null +++ b/dom/base/test/chrome/bug421622-referer.sjs @@ -0,0 +1,9 @@ +function handleRequest(request, response) { + response.setHeader("Content-Type", "text/plain", false); + response.setHeader("Cache-Control", "no-cache", false); + + var referer = request.hasHeader("Referer") + ? request.getHeader("Referer") + : ""; + response.write("Referer: " + referer); +} diff --git a/dom/base/test/chrome/bug884693.sjs b/dom/base/test/chrome/bug884693.sjs new file mode 100644 index 0000000000..f2650753f2 --- /dev/null +++ b/dom/base/test/chrome/bug884693.sjs @@ -0,0 +1,8 @@ +function handleRequest(request, response) { + let [status, statusText, encodedBody] = request.queryString.split("&"); + let body = decodeURIComponent(encodedBody); + response.setStatusLine(request.httpVersion, status, statusText); + response.setHeader("Content-Type", "text/xml", false); + response.setHeader("Content-Length", "" + body.length, false); + response.write(body); +} diff --git a/dom/base/test/chrome/chrome.ini b/dom/base/test/chrome/chrome.ini new file mode 100644 index 0000000000..5dde748a67 --- /dev/null +++ b/dom/base/test/chrome/chrome.ini @@ -0,0 +1,84 @@ +[DEFAULT] +skip-if = os == 'android' +support-files = + bug418986-1.js + clonedoc/** + file_bug549682.xhtml + file_bug616841.xhtml + file_bug816340.xhtml + file_bug990812-1.xhtml + file_bug990812-2.xhtml + file_bug990812-3.xhtml + file_bug990812-4.xhtml + file_bug990812-5.xhtml + file_bug1139964.xhtml + file_bug1209621.xhtml + fileconstructor_file.png + frame_custom_element_content.html + custom_element_ep.js + window_nsITextInputProcessor.xhtml + title_window.xhtml + window_swapFrameLoaders.xhtml +prefs = + gfx.font_rendering.fallback.async=false + +[test_bug120684.xhtml] +[test_bug206691.xhtml] +[test_bug289714.xhtml] +[test_bug339494.xhtml] +[test_bug357450.xhtml] +support-files = ../file_bug357450.js +[test_bug380418.html] +[test_bug380418.html^headers^] +[test_bug383430.html] +[test_bug418986-1.xhtml] +[test_bug421622.xhtml] +[test_bug429785.xhtml] +[test_bug430050.xhtml] +[test_bug467123.xhtml] +[test_bug473284.xhtml] +[test_bug549682.xhtml] +skip-if = verify +[test_bug571390.xhtml] +[test_bug1098074_throw_from_ReceiveMessage.xhtml] +[test_bug616841.xhtml] +[test_bug635835.xhtml] +[test_bug682305.html] +[test_bug683852.xhtml] +[test_bug752226-3.xhtml] +[test_bug752226-4.xhtml] +[test_bug765993.html] +[test_bug780199.xhtml] +[test_bug780529.xhtml] +[test_bug800386.xhtml] +[test_bug816340.xhtml] +[test_bug884693.xhtml] +[test_bug914381.html] +[test_bug990812.xhtml] +[test_bug1063837.xhtml] +[test_bug1139964.xhtml] +[test_bug1209621.xhtml] +[test_bug1346936.html] +[test_chromeOuterWindowID.xhtml] +support-files = + window_chromeOuterWindowID.xhtml +[test_getElementsWithGrid.html] +[test_custom_element_content.xhtml] +[test_custom_element_ep.xhtml] +[test_document-element-inserted.xhtml] +support-files = + file_document-element-inserted.xhtml + file_document-element-inserted-inner.xhtml +[test_domparsing.xhtml] +[test_fileconstructor.xhtml] +[test_input_value_set_preserve_undo.xhtml] +[test_nsITextInputProcessor.xhtml] +[test_permission_hasValidTransientUserActivation.xhtml] +support-files = ../dummy.html +[test_range_getClientRectsAndTexts.html] +[test_title.xhtml] +support-files = file_title.xhtml +[test_windowroot.xhtml] +[test_swapFrameLoaders.xhtml] +skip-if = os == 'mac' # bug 1674413 +[test_bug1339722.html] diff --git a/dom/base/test/chrome/clonedoc/chrome.manifest b/dom/base/test/chrome/clonedoc/chrome.manifest new file mode 100644 index 0000000000..5d7e720416 --- /dev/null +++ b/dom/base/test/chrome/clonedoc/chrome.manifest @@ -0,0 +1 @@ +content clonedoc content/ diff --git a/dom/base/test/chrome/clonedoc/content/doc.xml b/dom/base/test/chrome/clonedoc/content/doc.xml new file mode 100644 index 0000000000..fdd7e7c6e0 --- /dev/null +++ b/dom/base/test/chrome/clonedoc/content/doc.xml @@ -0,0 +1,4 @@ + + + + diff --git a/dom/base/test/chrome/custom_element_ep.js b/dom/base/test/chrome/custom_element_ep.js new file mode 100644 index 0000000000..d933ecbbab --- /dev/null +++ b/dom/base/test/chrome/custom_element_ep.js @@ -0,0 +1,14 @@ +/* globals finishTest */ +class XFoo extends HTMLElement { + constructor() { + super(); + this.magicNumber = 42; + } + + connectedCallback() { + finishTest(this.magicNumber === 42); + } +} +customElements.define("x-foo", XFoo); + +document.firstChild.appendChild(document.createElement("x-foo")); diff --git a/dom/base/test/chrome/file_bug1139964.xhtml b/dom/base/test/chrome/file_bug1139964.xhtml new file mode 100644 index 0000000000..8bf7f27e0b --- /dev/null +++ b/dom/base/test/chrome/file_bug1139964.xhtml @@ -0,0 +1,60 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug1209621.xhtml b/dom/base/test/chrome/file_bug1209621.xhtml new file mode 100644 index 0000000000..3ba58975bd --- /dev/null +++ b/dom/base/test/chrome/file_bug1209621.xhtml @@ -0,0 +1,85 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug549682.xhtml b/dom/base/test/chrome/file_bug549682.xhtml new file mode 100644 index 0000000000..02919386c4 --- /dev/null +++ b/dom/base/test/chrome/file_bug549682.xhtml @@ -0,0 +1,214 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug616841.xhtml b/dom/base/test/chrome/file_bug616841.xhtml new file mode 100644 index 0000000000..a5e5d9a427 --- /dev/null +++ b/dom/base/test/chrome/file_bug616841.xhtml @@ -0,0 +1,63 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug816340.xhtml b/dom/base/test/chrome/file_bug816340.xhtml new file mode 100644 index 0000000000..2ee0ec3365 --- /dev/null +++ b/dom/base/test/chrome/file_bug816340.xhtml @@ -0,0 +1,70 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug990812-1.xhtml b/dom/base/test/chrome/file_bug990812-1.xhtml new file mode 100644 index 0000000000..8b8da3d136 --- /dev/null +++ b/dom/base/test/chrome/file_bug990812-1.xhtml @@ -0,0 +1,61 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug990812-2.xhtml b/dom/base/test/chrome/file_bug990812-2.xhtml new file mode 100644 index 0000000000..e13b47f589 --- /dev/null +++ b/dom/base/test/chrome/file_bug990812-2.xhtml @@ -0,0 +1,56 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug990812-3.xhtml b/dom/base/test/chrome/file_bug990812-3.xhtml new file mode 100644 index 0000000000..1f3e1d69f2 --- /dev/null +++ b/dom/base/test/chrome/file_bug990812-3.xhtml @@ -0,0 +1,68 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug990812-4.xhtml b/dom/base/test/chrome/file_bug990812-4.xhtml new file mode 100644 index 0000000000..1c16ceb02c --- /dev/null +++ b/dom/base/test/chrome/file_bug990812-4.xhtml @@ -0,0 +1,63 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug990812-5.xhtml b/dom/base/test/chrome/file_bug990812-5.xhtml new file mode 100644 index 0000000000..8c418492a1 --- /dev/null +++ b/dom/base/test/chrome/file_bug990812-5.xhtml @@ -0,0 +1,74 @@ + + + + + + diff --git a/dom/base/test/chrome/file_bug990812.xhtml b/dom/base/test/chrome/file_bug990812.xhtml new file mode 100644 index 0000000000..02662d5749 --- /dev/null +++ b/dom/base/test/chrome/file_bug990812.xhtml @@ -0,0 +1,55 @@ + + + + + + diff --git a/dom/base/test/chrome/file_document-element-inserted-inner.xhtml b/dom/base/test/chrome/file_document-element-inserted-inner.xhtml new file mode 100644 index 0000000000..2088e2789a --- /dev/null +++ b/dom/base/test/chrome/file_document-element-inserted-inner.xhtml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dom/base/test/chrome/file_document-element-inserted.xhtml b/dom/base/test/chrome/file_document-element-inserted.xhtml new file mode 100644 index 0000000000..d67df13df7 --- /dev/null +++ b/dom/base/test/chrome/file_document-element-inserted.xhtml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/dom/base/test/chrome/file_title.xhtml b/dom/base/test/chrome/file_title.xhtml new file mode 100644 index 0000000000..d1b04418aa --- /dev/null +++ b/dom/base/test/chrome/file_title.xhtml @@ -0,0 +1 @@ + diff --git a/dom/base/test/chrome/fileconstructor_file.png b/dom/base/test/chrome/fileconstructor_file.png new file mode 100644 index 0000000000..51e8aaf38c Binary files /dev/null and b/dom/base/test/chrome/fileconstructor_file.png differ diff --git a/dom/base/test/chrome/frame_custom_element_content.html b/dom/base/test/chrome/frame_custom_element_content.html new file mode 100644 index 0000000000..aa1d75863d --- /dev/null +++ b/dom/base/test/chrome/frame_custom_element_content.html @@ -0,0 +1,5 @@ + + + + + diff --git a/dom/base/test/chrome/nochrome_bug1346936.html b/dom/base/test/chrome/nochrome_bug1346936.html new file mode 100644 index 0000000000..158b20c884 --- /dev/null +++ b/dom/base/test/chrome/nochrome_bug1346936.html @@ -0,0 +1,3 @@ + + + diff --git a/dom/base/test/chrome/nochrome_bug1346936.js b/dom/base/test/chrome/nochrome_bug1346936.js new file mode 100644 index 0000000000..a84113e1e1 --- /dev/null +++ b/dom/base/test/chrome/nochrome_bug1346936.js @@ -0,0 +1,4 @@ +//# sourceMappingURL=bar.js.map + +// Define a single function to prevent script source from being gc'd +function foo() {} diff --git a/dom/base/test/chrome/nochrome_bug1346936.js^headers^ b/dom/base/test/chrome/nochrome_bug1346936.js^headers^ new file mode 100644 index 0000000000..812264590d --- /dev/null +++ b/dom/base/test/chrome/nochrome_bug1346936.js^headers^ @@ -0,0 +1 @@ +SourceMap: foo.js.map diff --git a/dom/base/test/chrome/nochrome_bug765993.html b/dom/base/test/chrome/nochrome_bug765993.html new file mode 100644 index 0000000000..158b20c884 --- /dev/null +++ b/dom/base/test/chrome/nochrome_bug765993.html @@ -0,0 +1,3 @@ + + + diff --git a/dom/base/test/chrome/nochrome_bug765993.js b/dom/base/test/chrome/nochrome_bug765993.js new file mode 100644 index 0000000000..a84113e1e1 --- /dev/null +++ b/dom/base/test/chrome/nochrome_bug765993.js @@ -0,0 +1,4 @@ +//# sourceMappingURL=bar.js.map + +// Define a single function to prevent script source from being gc'd +function foo() {} diff --git a/dom/base/test/chrome/nochrome_bug765993.js^headers^ b/dom/base/test/chrome/nochrome_bug765993.js^headers^ new file mode 100644 index 0000000000..8efacff3c8 --- /dev/null +++ b/dom/base/test/chrome/nochrome_bug765993.js^headers^ @@ -0,0 +1 @@ +X-SourceMap: foo.js.map diff --git a/dom/base/test/chrome/test_bug1063837.xhtml b/dom/base/test/chrome/test_bug1063837.xhtml new file mode 100644 index 0000000000..794cf1c72c --- /dev/null +++ b/dom/base/test/chrome/test_bug1063837.xhtml @@ -0,0 +1,36 @@ + + + + + + + + + + Mozilla Bug 1063837 + + + + + diff --git a/dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml b/dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml new file mode 100644 index 0000000000..dbedb59abe --- /dev/null +++ b/dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml @@ -0,0 +1,46 @@ + + + + + + + + + + Mozilla Bug 1098074 + + diff --git a/dom/base/test/chrome/test_bug1139964.xhtml b/dom/base/test/chrome/test_bug1139964.xhtml new file mode 100644 index 0000000000..8b1b36fa64 --- /dev/null +++ b/dom/base/test/chrome/test_bug1139964.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + Mozilla Bug 1139964 + + + + + diff --git a/dom/base/test/chrome/test_bug120684.xhtml b/dom/base/test/chrome/test_bug120684.xhtml new file mode 100644 index 0000000000..08e9b28cfe --- /dev/null +++ b/dom/base/test/chrome/test_bug120684.xhtml @@ -0,0 +1,80 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug1209621.xhtml b/dom/base/test/chrome/test_bug1209621.xhtml new file mode 100644 index 0000000000..947606b638 --- /dev/null +++ b/dom/base/test/chrome/test_bug1209621.xhtml @@ -0,0 +1,34 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug1339722.html b/dom/base/test/chrome/test_bug1339722.html new file mode 100644 index 0000000000..d8d95f1faa --- /dev/null +++ b/dom/base/test/chrome/test_bug1339722.html @@ -0,0 +1,86 @@ + + + + + + Test for Bug 1339722 + + + + + + + Mozilla Bug 1339722 +

+ +
+  
+ +
+
+ + diff --git a/dom/base/test/chrome/test_bug1346936.html b/dom/base/test/chrome/test_bug1346936.html new file mode 100644 index 0000000000..2c61c65237 --- /dev/null +++ b/dom/base/test/chrome/test_bug1346936.html @@ -0,0 +1,61 @@ + + + + + Test for Bug 1346936 + + + + + +Mozilla Bug 1346936 + + + +

+ +
+
+
+ + diff --git a/dom/base/test/chrome/test_bug206691.xhtml b/dom/base/test/chrome/test_bug206691.xhtml new file mode 100644 index 0000000000..16a27762ac --- /dev/null +++ b/dom/base/test/chrome/test_bug206691.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + Mozilla Bug 206691 + + + + + diff --git a/dom/base/test/chrome/test_bug289714.xhtml b/dom/base/test/chrome/test_bug289714.xhtml new file mode 100644 index 0000000000..4b4cc6fb84 --- /dev/null +++ b/dom/base/test/chrome/test_bug289714.xhtml @@ -0,0 +1,33 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug339494.xhtml b/dom/base/test/chrome/test_bug339494.xhtml new file mode 100644 index 0000000000..9922c41b66 --- /dev/null +++ b/dom/base/test/chrome/test_bug339494.xhtml @@ -0,0 +1,62 @@ + + + + + + + + + +Mozilla Bug 339494 +

+ +
+
+ + + + +
diff --git a/dom/base/test/chrome/test_bug357450.xhtml b/dom/base/test/chrome/test_bug357450.xhtml new file mode 100644 index 0000000000..7723364ecc --- /dev/null +++ b/dom/base/test/chrome/test_bug357450.xhtml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + +Mozilla Bug 357450 + +

+ +
+ hmm + hmm + hmm + hmm + hmm +
+

+

+

+

+
+
+
+ + + + + + + + + + + + hmm + + + +
diff --git a/dom/base/test/chrome/test_bug380418.html b/dom/base/test/chrome/test_bug380418.html new file mode 100644 index 0000000000..eb3f8d3042 --- /dev/null +++ b/dom/base/test/chrome/test_bug380418.html @@ -0,0 +1,37 @@ + + + + + Test for Bug 380418 + + + + +Mozilla Bug 380418 +

+ +
+
+
+ + diff --git a/dom/base/test/chrome/test_bug380418.html^headers^ b/dom/base/test/chrome/test_bug380418.html^headers^ new file mode 100644 index 0000000000..5f8d4969c0 --- /dev/null +++ b/dom/base/test/chrome/test_bug380418.html^headers^ @@ -0,0 +1,4 @@ +Set-Cookie: test +Set-Cookie2: test2 +X-Dummy: test +Cache-Control: max-age=0 diff --git a/dom/base/test/chrome/test_bug383430.html b/dom/base/test/chrome/test_bug383430.html new file mode 100644 index 0000000000..ce526ef281 --- /dev/null +++ b/dom/base/test/chrome/test_bug383430.html @@ -0,0 +1,38 @@ + + + + + Test for Bug 383430 + + + + +Mozilla Bug 383430 +

+ +
+
+
+ + diff --git a/dom/base/test/chrome/test_bug418986-1.xhtml b/dom/base/test/chrome/test_bug418986-1.xhtml new file mode 100644 index 0000000000..7d3add900a --- /dev/null +++ b/dom/base/test/chrome/test_bug418986-1.xhtml @@ -0,0 +1,25 @@ + + + + + + + + + + Mozilla Bug 418986 (Part 1) + + + + + + diff --git a/dom/base/test/chrome/test_bug421622.xhtml b/dom/base/test/chrome/test_bug421622.xhtml new file mode 100644 index 0000000000..236c42dd34 --- /dev/null +++ b/dom/base/test/chrome/test_bug421622.xhtml @@ -0,0 +1,34 @@ + + + + + + + + + + Mozilla Bug 421622 + + + + + diff --git a/dom/base/test/chrome/test_bug429785.xhtml b/dom/base/test/chrome/test_bug429785.xhtml new file mode 100644 index 0000000000..f4f6b414b4 --- /dev/null +++ b/dom/base/test/chrome/test_bug429785.xhtml @@ -0,0 +1,55 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug430050.xhtml b/dom/base/test/chrome/test_bug430050.xhtml new file mode 100644 index 0000000000..f6f005fae2 --- /dev/null +++ b/dom/base/test/chrome/test_bug430050.xhtml @@ -0,0 +1,50 @@ + + + + + + + + + + Mozilla Bug 430050 + + + + + + diff --git a/dom/base/test/chrome/test_bug467123.xhtml b/dom/base/test/chrome/test_bug467123.xhtml new file mode 100644 index 0000000000..222883badf --- /dev/null +++ b/dom/base/test/chrome/test_bug467123.xhtml @@ -0,0 +1,44 @@ + + + + + + + + + + Mozilla Bug 467123 + + + + + diff --git a/dom/base/test/chrome/test_bug473284.xhtml b/dom/base/test/chrome/test_bug473284.xhtml new file mode 100644 index 0000000000..87c778a615 --- /dev/null +++ b/dom/base/test/chrome/test_bug473284.xhtml @@ -0,0 +1,83 @@ + + + + + + + + + + Mozilla Bug 473284 + + diff --git a/dom/base/test/chrome/test_bug549682.xhtml b/dom/base/test/chrome/test_bug549682.xhtml new file mode 100644 index 0000000000..0f1ecf646a --- /dev/null +++ b/dom/base/test/chrome/test_bug549682.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + Mozilla Bug 549682 + + + + + diff --git a/dom/base/test/chrome/test_bug571390.xhtml b/dom/base/test/chrome/test_bug571390.xhtml new file mode 100644 index 0000000000..ea1f357a5d --- /dev/null +++ b/dom/base/test/chrome/test_bug571390.xhtml @@ -0,0 +1,42 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug616841.xhtml b/dom/base/test/chrome/test_bug616841.xhtml new file mode 100644 index 0000000000..f5907f0b0b --- /dev/null +++ b/dom/base/test/chrome/test_bug616841.xhtml @@ -0,0 +1,30 @@ + + + + + + + + + + Mozilla Bug 616841 + + + + + diff --git a/dom/base/test/chrome/test_bug635835.xhtml b/dom/base/test/chrome/test_bug635835.xhtml new file mode 100644 index 0000000000..69bb3ae68b --- /dev/null +++ b/dom/base/test/chrome/test_bug635835.xhtml @@ -0,0 +1,36 @@ + + + + + + + + + + Mozilla Bug 635835 + + + + + diff --git a/dom/base/test/chrome/test_bug682305.html b/dom/base/test/chrome/test_bug682305.html new file mode 100644 index 0000000000..d500dc91d5 --- /dev/null +++ b/dom/base/test/chrome/test_bug682305.html @@ -0,0 +1,150 @@ + + + + + XMLHttpRequest send and channel implemented in JS + + + + + +Mozilla Bug 682305 +

+ +
+
+
+ + diff --git a/dom/base/test/chrome/test_bug683852.xhtml b/dom/base/test/chrome/test_bug683852.xhtml new file mode 100644 index 0000000000..1f9e0d9472 --- /dev/null +++ b/dom/base/test/chrome/test_bug683852.xhtml @@ -0,0 +1,87 @@ + + + + + + + Anonymous + + + + + Mozilla Bug 683852 + + + + + diff --git a/dom/base/test/chrome/test_bug752226-3.xhtml b/dom/base/test/chrome/test_bug752226-3.xhtml new file mode 100644 index 0000000000..747fb29c4e --- /dev/null +++ b/dom/base/test/chrome/test_bug752226-3.xhtml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug752226-4.xhtml b/dom/base/test/chrome/test_bug752226-4.xhtml new file mode 100644 index 0000000000..242e231a2e --- /dev/null +++ b/dom/base/test/chrome/test_bug752226-4.xhtml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug765993.html b/dom/base/test/chrome/test_bug765993.html new file mode 100644 index 0000000000..3325c3713d --- /dev/null +++ b/dom/base/test/chrome/test_bug765993.html @@ -0,0 +1,61 @@ + + + + + Test for Bug 765993 + + + + + +Mozilla Bug 765993 + + + +

+ +
+
+
+ + diff --git a/dom/base/test/chrome/test_bug780199.xhtml b/dom/base/test/chrome/test_bug780199.xhtml new file mode 100644 index 0000000000..e27afb72fa --- /dev/null +++ b/dom/base/test/chrome/test_bug780199.xhtml @@ -0,0 +1,51 @@ + + + + + + + + diff --git a/dom/base/test/chrome/test_bug780529.xhtml b/dom/base/test/chrome/test_bug780529.xhtml new file mode 100644 index 0000000000..bf8b8b2981 --- /dev/null +++ b/dom/base/test/chrome/test_bug780529.xhtml @@ -0,0 +1,36 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug800386.xhtml b/dom/base/test/chrome/test_bug800386.xhtml new file mode 100644 index 0000000000..681c9a9794 --- /dev/null +++ b/dom/base/test/chrome/test_bug800386.xhtml @@ -0,0 +1,65 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug816340.xhtml b/dom/base/test/chrome/test_bug816340.xhtml new file mode 100644 index 0000000000..66bd26660e --- /dev/null +++ b/dom/base/test/chrome/test_bug816340.xhtml @@ -0,0 +1,30 @@ + + + + + + + + + + Mozilla Bug 816340 + + + + + diff --git a/dom/base/test/chrome/test_bug884693.xhtml b/dom/base/test/chrome/test_bug884693.xhtml new file mode 100644 index 0000000000..db6eca88a8 --- /dev/null +++ b/dom/base/test/chrome/test_bug884693.xhtml @@ -0,0 +1,82 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_bug914381.html b/dom/base/test/chrome/test_bug914381.html new file mode 100644 index 0000000000..eb82ffd0f7 --- /dev/null +++ b/dom/base/test/chrome/test_bug914381.html @@ -0,0 +1,58 @@ + + + + + + Test for Bug 914381 + + + + +Mozilla Bug 914381 +

+ +
+
+
+ + diff --git a/dom/base/test/chrome/test_bug990812.xhtml b/dom/base/test/chrome/test_bug990812.xhtml new file mode 100644 index 0000000000..410d6d2367 --- /dev/null +++ b/dom/base/test/chrome/test_bug990812.xhtml @@ -0,0 +1,42 @@ + + + + + + + + + + Mozilla Bug 990812 + + + + + diff --git a/dom/base/test/chrome/test_chromeOuterWindowID.xhtml b/dom/base/test/chrome/test_chromeOuterWindowID.xhtml new file mode 100644 index 0000000000..880cfdf8bb --- /dev/null +++ b/dom/base/test/chrome/test_chromeOuterWindowID.xhtml @@ -0,0 +1,137 @@ + + + + + + + diff --git a/dom/base/test/chrome/test_custom_element_content.xhtml b/dom/base/test/chrome/test_custom_element_content.xhtml new file mode 100644 index 0000000000..7778bc350e --- /dev/null +++ b/dom/base/test/chrome/test_custom_element_content.xhtml @@ -0,0 +1,55 @@ + + + + + + + + + + Mozilla Bug 1130028 + + + + + + diff --git a/dom/base/test/chrome/test_custom_element_ep.xhtml b/dom/base/test/chrome/test_custom_element_ep.xhtml new file mode 100644 index 0000000000..28b4e876f5 --- /dev/null +++ b/dom/base/test/chrome/test_custom_element_ep.xhtml @@ -0,0 +1,41 @@ + + + + + + + + + + Mozilla Bug 1130028 + + + + + + diff --git a/dom/base/test/chrome/test_document-element-inserted.xhtml b/dom/base/test/chrome/test_document-element-inserted.xhtml new file mode 100644 index 0000000000..5fd35e364d --- /dev/null +++ b/dom/base/test/chrome/test_document-element-inserted.xhtml @@ -0,0 +1,54 @@ + + + + + + + + + + Mozilla Bug 1411707 + + + + + diff --git a/dom/base/test/chrome/test_domparsing.xhtml b/dom/base/test/chrome/test_domparsing.xhtml new file mode 100644 index 0000000000..be04bdfc0d --- /dev/null +++ b/dom/base/test/chrome/test_domparsing.xhtml @@ -0,0 +1,145 @@ + + + + + + diff --git a/dom/base/test/chrome/test_fileconstructor.xhtml b/dom/base/test/chrome/test_fileconstructor.xhtml new file mode 100644 index 0000000000..8884eb169b --- /dev/null +++ b/dom/base/test/chrome/test_fileconstructor.xhtml @@ -0,0 +1,86 @@ + + + + + + + + + + + Mozilla Bug 607114 +

+ +
+
+ + + + +
diff --git a/dom/base/test/chrome/test_getElementsWithGrid.html b/dom/base/test/chrome/test_getElementsWithGrid.html new file mode 100644 index 0000000000..3554acb2e9 --- /dev/null +++ b/dom/base/test/chrome/test_getElementsWithGrid.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+
+ + + +
+ +
+ +
+ + + +
+ + + +
+ + + diff --git a/dom/base/test/chrome/test_input_value_set_preserve_undo.xhtml b/dom/base/test/chrome/test_input_value_set_preserve_undo.xhtml new file mode 100644 index 0000000000..80465202ab --- /dev/null +++ b/dom/base/test/chrome/test_input_value_set_preserve_undo.xhtml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + diff --git a/dom/base/test/chrome/test_nsITextInputProcessor.xhtml b/dom/base/test/chrome/test_nsITextInputProcessor.xhtml new file mode 100644 index 0000000000..3343c28560 --- /dev/null +++ b/dom/base/test/chrome/test_nsITextInputProcessor.xhtml @@ -0,0 +1,29 @@ + + + + + + + + +

+

+ +
+
+ + + +
diff --git a/dom/base/test/chrome/test_permission_hasValidTransientUserActivation.xhtml b/dom/base/test/chrome/test_permission_hasValidTransientUserActivation.xhtml new file mode 100644 index 0000000000..06675a90ad --- /dev/null +++ b/dom/base/test/chrome/test_permission_hasValidTransientUserActivation.xhtml @@ -0,0 +1,91 @@ + + + + + + + + + +
+

+ + +
+
+ + + + +
diff --git a/dom/base/test/chrome/window_swapFrameLoaders.xhtml b/dom/base/test/chrome/window_swapFrameLoaders.xhtml new file mode 100644 index 0000000000..0a42e975fc --- /dev/null +++ b/dom/base/test/chrome/window_swapFrameLoaders.xhtml @@ -0,0 +1,225 @@ + + + + + + + + -- cgit v1.2.3