From 84fa7a29733cd97e3ce87add80f2c44461ef901a Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Tue, 24 May 2011 17:39:57 +0200 Subject: [PATCH] Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz --- browser/base/content/test/browser_bug517902.js | 2 +- .../test/tabview/browser_tabview_bug594958.js | 6 +++--- dom/tests/mochitest/general/test_focusrings.xul | 2 +- intl/uconv/tests/unit/test_bug90411.js | 2 +- .../style/test/chrome/test_moz_document_rules.html | 7 ++++--- layout/style/test/test_parse_rule.html | 14 +++++++------- layout/tools/reftest/reftest.xul | 2 +- 7 files changed, 18 insertions(+), 17 deletions(-) diff --git a/browser/base/content/test/browser_bug517902.js b/browser/base/content/test/browser_bug517902.js index 02338f31c40..3a9af404959 100644 --- a/browser/base/content/test/browser_bug517902.js +++ b/browser/base/content/test/browser_bug517902.js @@ -31,7 +31,7 @@ function test() { content.location = "data:text/html," + - "" + + "" + "2" + "2" + "" + diff --git a/browser/base/content/test/tabview/browser_tabview_bug594958.js b/browser/base/content/test/tabview/browser_tabview_bug594958.js index f570c251be6..0ac228a415b 100644 --- a/browser/base/content/test/tabview/browser_tabview_bug594958.js +++ b/browser/base/content/test/tabview/browser_tabview_bug594958.js @@ -15,12 +15,12 @@ function test() { } // very long page that produces black bars at the right - let html1 = '' + - '
' + + '
'; // very short page that produces black bars at the bottom - let html2 = ''; + let html2 = ''; let tests = [{ url: 'data:text/html,' + html1, diff --git a/dom/tests/mochitest/general/test_focusrings.xul b/dom/tests/mochitest/general/test_focusrings.xul index d7a96188097..a61ff250982 100644 --- a/dom/tests/mochitest/general/test_focusrings.xul +++ b/dom/tests/mochitest/general/test_focusrings.xul @@ -189,7 +189,7 @@ SimpleTest.waitForFocus(runTest);