From 98bf922150a1ba5fe248735b377deca3dbb62043 Mon Sep 17 00:00:00 2001 From: Ascrod <32915892+Ascrod@users.noreply.github.com> Date: Thu, 11 Oct 2018 23:34:52 -0400 Subject: Issue #832 Part 1: Remove modules, chrome, and preferences. --- testing/profiles/prefs_general.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'testing') diff --git a/testing/profiles/prefs_general.js b/testing/profiles/prefs_general.js index 515828d29..bf1534c12 100644 --- a/testing/profiles/prefs_general.js +++ b/testing/profiles/prefs_general.js @@ -284,12 +284,6 @@ user_pref("apz.content_response_timeout", 60000); // Make sure SSL Error reports don't hit the network user_pref("security.ssl.errorReporting.url", "https://example.com/browser/browser/base/content/test/general/ssl_error_reports.sjs?succeed"); -// Make sure Translation won't hit the network. -user_pref("browser.translation.bing.authURL", "http://%(server)s/browser/browser/components/translation/test/bing.sjs"); -user_pref("browser.translation.bing.translateArrayURL", "http://%(server)s/browser/browser/components/translation/test/bing.sjs"); -user_pref("browser.translation.yandex.translateURLOverride", "http://%(server)s/browser/browser/components/translation/test/yandex.sjs"); -user_pref("browser.translation.engine", "bing"); - // Make sure we don't try to load snippets from the network. user_pref("browser.aboutHomeSnippets.updateUrl", "nonexistent://test"); -- cgit v1.2.3 From ae4af7b7e598b4fec037254a1fd03ac3495695a4 Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Sun, 3 Feb 2019 08:21:19 +0100 Subject: Stage 1-4: Update tests --- .../web-platform/tests/webstorage/storage_string_conversion.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testing') diff --git a/testing/web-platform/tests/webstorage/storage_string_conversion.html b/testing/web-platform/tests/webstorage/storage_string_conversion.html index 518b27521..c76eddfec 100644 --- a/testing/web-platform/tests/webstorage/storage_string_conversion.html +++ b/testing/web-platform/tests/webstorage/storage_string_conversion.html @@ -22,21 +22,21 @@ storage.b = 0; assert_equals(storage.b, "0"); storage.c = function(){}; - assert_equals(storage.c, "function (){}"); + assert_equals(storage.c, "function(){}"); storage.setItem('d', null); assert_equals(storage.d, "null"); storage.setItem('e', 0); assert_equals(storage.e, "0"); storage.setItem('f', function(){}); - assert_equals(storage.f, "function (){}"); + assert_equals(storage.f, "function(){}"); storage['g'] = null; assert_equals(storage.g, "null"); storage['h'] = 0; assert_equals(storage.h, "0"); storage['i'] = function(){}; - assert_equals(storage.f, "function (){}"); + assert_equals(storage.f, "function(){}"); }, name + " only stores strings"); }); -- cgit v1.2.3 From 833be88a6dfe1d52ab6a22ec498d515293c9d034 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 20 Feb 2019 00:19:09 +0100 Subject: Update webplatform tests for multiline placeholder. Note: MANIFEST updated per the normal procedure using `mach wpt-manifest-update` lint.whitelist updated to reflect intentional use of CR in these tests. Resolves #977 --- testing/web-platform/meta/MANIFEST.json | 173 ++++++++++++++++++++- .../multiline-placeholder-cr.html | 1 + .../multiline-placeholder-crlf.html | 21 +++ .../multiline-placeholder-ref.html | 15 ++ .../multiline-placeholder.html | 22 +++ .../the-textarea-element/support/placeholder.css | 6 + .../the-placeholder-attribute/multiline-cr.html | 1 + .../the-placeholder-attribute/multiline-crlf.html | 19 +++ .../the-placeholder-attribute/multiline-ref.html | 5 + .../input/the-placeholder-attribute/multiline.html | 19 +++ testing/web-platform/tests/lint.whitelist | 4 + 11 files changed, 284 insertions(+), 2 deletions(-) create mode 100644 testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-cr.html create mode 100644 testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-crlf.html create mode 100644 testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-ref.html create mode 100644 testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder.html create mode 100644 testing/web-platform/tests/html/form-elements/the-textarea-element/support/placeholder.css create mode 100644 testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html create mode 100644 testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-crlf.html create mode 100644 testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-ref.html create mode 100644 testing/web-platform/tests/html/input/the-placeholder-attribute/multiline.html (limited to 'testing') diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index 496f8e3cb..7edded5dc 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -3943,6 +3943,16 @@ ], "url": "/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_9.html" }, + { + "path": "2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1.html", + "references": [ + [ + "/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1_ref.html", + "==" + ] + ], + "url": "/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1.html" + }, { "path": "2dcontext/line-styles/canvas_linestyles_linecap_001.htm", "references": [ @@ -38443,8 +38453,23 @@ ] }, "local_changes": { - "deleted": [], - "deleted_reftests": {}, + "deleted": [ + "2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html" + ], + "deleted_reftests": { + "2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html": [ + { + "path": "2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html", + "references": [ + [ + "/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1_ref.html", + "==" + ] + ], + "url": "/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html" + } + ] + }, "items": { "manual": { "html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html": [ @@ -38461,6 +38486,78 @@ ] }, "reftest": { + "html/form-elements/the-textarea-element/multiline-placeholder-cr.html": [ + { + "path": "html/form-elements/the-textarea-element/multiline-placeholder-cr.html", + "references": [ + [ + "/html/form-elements/the-textarea-element/multiline-placeholder-ref.html", + "==" + ] + ], + "url": "/html/form-elements/the-textarea-element/multiline-placeholder-cr.html" + } + ], + "html/form-elements/the-textarea-element/multiline-placeholder-crlf.html": [ + { + "path": "html/form-elements/the-textarea-element/multiline-placeholder-crlf.html", + "references": [ + [ + "/html/form-elements/the-textarea-element/multiline-placeholder-ref.html", + "==" + ] + ], + "url": "/html/form-elements/the-textarea-element/multiline-placeholder-crlf.html" + } + ], + "html/form-elements/the-textarea-element/multiline-placeholder.html": [ + { + "path": "html/form-elements/the-textarea-element/multiline-placeholder.html", + "references": [ + [ + "/html/form-elements/the-textarea-element/multiline-placeholder-ref.html", + "==" + ] + ], + "url": "/html/form-elements/the-textarea-element/multiline-placeholder.html" + } + ], + "html/input/the-placeholder-attribute/multiline-cr.html": [ + { + "path": "html/input/the-placeholder-attribute/multiline-cr.html", + "references": [ + [ + "/html/input/the-placeholder-attribute/multiline-ref.html", + "==" + ] + ], + "url": "/html/input/the-placeholder-attribute/multiline-cr.html" + } + ], + "html/input/the-placeholder-attribute/multiline-crlf.html": [ + { + "path": "html/input/the-placeholder-attribute/multiline-crlf.html", + "references": [ + [ + "/html/input/the-placeholder-attribute/multiline-ref.html", + "==" + ] + ], + "url": "/html/input/the-placeholder-attribute/multiline-crlf.html" + } + ], + "html/input/the-placeholder-attribute/multiline.html": [ + { + "path": "html/input/the-placeholder-attribute/multiline.html", + "references": [ + [ + "/html/input/the-placeholder-attribute/multiline-ref.html", + "==" + ] + ], + "url": "/html/input/the-placeholder-attribute/multiline.html" + } + ], "html/semantics/grouping-content/the-ol-element/reversed-1e.html": [ { "path": "html/semantics/grouping-content/the-ol-element/reversed-1e.html", @@ -38797,6 +38894,78 @@ } }, "reftest_nodes": { + "html/form-elements/the-textarea-element/multiline-placeholder-cr.html": [ + { + "path": "html/form-elements/the-textarea-element/multiline-placeholder-cr.html", + "references": [ + [ + "/html/form-elements/the-textarea-element/multiline-placeholder-ref.html", + "==" + ] + ], + "url": "/html/form-elements/the-textarea-element/multiline-placeholder-cr.html" + } + ], + "html/form-elements/the-textarea-element/multiline-placeholder-crlf.html": [ + { + "path": "html/form-elements/the-textarea-element/multiline-placeholder-crlf.html", + "references": [ + [ + "/html/form-elements/the-textarea-element/multiline-placeholder-ref.html", + "==" + ] + ], + "url": "/html/form-elements/the-textarea-element/multiline-placeholder-crlf.html" + } + ], + "html/form-elements/the-textarea-element/multiline-placeholder.html": [ + { + "path": "html/form-elements/the-textarea-element/multiline-placeholder.html", + "references": [ + [ + "/html/form-elements/the-textarea-element/multiline-placeholder-ref.html", + "==" + ] + ], + "url": "/html/form-elements/the-textarea-element/multiline-placeholder.html" + } + ], + "html/input/the-placeholder-attribute/multiline-cr.html": [ + { + "path": "html/input/the-placeholder-attribute/multiline-cr.html", + "references": [ + [ + "/html/input/the-placeholder-attribute/multiline-ref.html", + "==" + ] + ], + "url": "/html/input/the-placeholder-attribute/multiline-cr.html" + } + ], + "html/input/the-placeholder-attribute/multiline-crlf.html": [ + { + "path": "html/input/the-placeholder-attribute/multiline-crlf.html", + "references": [ + [ + "/html/input/the-placeholder-attribute/multiline-ref.html", + "==" + ] + ], + "url": "/html/input/the-placeholder-attribute/multiline-crlf.html" + } + ], + "html/input/the-placeholder-attribute/multiline.html": [ + { + "path": "html/input/the-placeholder-attribute/multiline.html", + "references": [ + [ + "/html/input/the-placeholder-attribute/multiline-ref.html", + "==" + ] + ], + "url": "/html/input/the-placeholder-attribute/multiline.html" + } + ], "html/semantics/grouping-content/the-ol-element/reversed-1e.html": [ { "path": "html/semantics/grouping-content/the-ol-element/reversed-1e.html", diff --git a/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-cr.html b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-cr.html new file mode 100644 index 000000000..f4a5be35a --- /dev/null +++ b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-cr.html @@ -0,0 +1 @@ + textarea multiline placeholder (CR) \ No newline at end of file diff --git a/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-crlf.html b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-crlf.html new file mode 100644 index 000000000..0fb434fc6 --- /dev/null +++ b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-crlf.html @@ -0,0 +1,21 @@ + + + +textarea multiline placeholder (CRLF) + + + + + + + + + + diff --git a/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-ref.html b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-ref.html new file mode 100644 index 000000000..0234ed64c --- /dev/null +++ b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder-ref.html @@ -0,0 +1,15 @@ + + + + + + diff --git a/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder.html b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder.html new file mode 100644 index 000000000..00bb9696d --- /dev/null +++ b/testing/web-platform/tests/html/form-elements/the-textarea-element/multiline-placeholder.html @@ -0,0 +1,22 @@ + + + +textarea multiline placeholder + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/form-elements/the-textarea-element/support/placeholder.css b/testing/web-platform/tests/html/form-elements/the-textarea-element/support/placeholder.css new file mode 100644 index 000000000..9aaed05c8 --- /dev/null +++ b/testing/web-platform/tests/html/form-elements/the-textarea-element/support/placeholder.css @@ -0,0 +1,6 @@ +textarea.placeholder, +textarea::placeholder { + /* revert browser styling of the placeholder */ + color: GrayText; /* blink/webkit use colour */ + opacity: 1.0; /* gecko uses opacity */ +} diff --git a/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html new file mode 100644 index 000000000..f3150f25d --- /dev/null +++ b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html @@ -0,0 +1 @@ + input multiline placeholder (CRLF) \ No newline at end of file diff --git a/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-crlf.html b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-crlf.html new file mode 100644 index 000000000..dd581629d --- /dev/null +++ b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-crlf.html @@ -0,0 +1,19 @@ + + + +input multiline placeholder (CRLF) + + + + + + + + diff --git a/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-ref.html b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-ref.html new file mode 100644 index 000000000..2812f86e1 --- /dev/null +++ b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-ref.html @@ -0,0 +1,5 @@ + + + + + diff --git a/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline.html b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline.html new file mode 100644 index 000000000..2d7102bd4 --- /dev/null +++ b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline.html @@ -0,0 +1,19 @@ + + + +input multiline placeholder + + + + + + + + diff --git a/testing/web-platform/tests/lint.whitelist b/testing/web-platform/tests/lint.whitelist index 9b358b0db..01832c3fe 100644 --- a/testing/web-platform/tests/lint.whitelist +++ b/testing/web-platform/tests/lint.whitelist @@ -85,6 +85,10 @@ PRINT STATEMENT:*/tools/* CR AT EOL:WebIDL/valid/idl/documentation-dos.widl CR AT EOL:cors/resources/cors-headers.asis +CR AT EOL: html/form-elements/the-textarea-element/multiline-placefolder-cr.html +CR AT EOL: html/form-elements/the-textarea-element/multiline-placefolder-crlf.html +CR AT EOL: html/input/the-placeholder-attribute/multiline-cr.html +CR AT EOL: html/input/the-placeholder-attribute/multiline-crlf.html CR AT EOL:html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html INDENT TABS:html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html CR AT EOL:webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/newlines.vtt -- cgit v1.2.3 From 4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 6 Apr 2019 06:54:09 +0200 Subject: Remove Parser::reportBadReturn Report simpler errors that don't use the offset of a node as location. --- testing/xpcshell/selftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/xpcshell/selftest.py b/testing/xpcshell/selftest.py index 856f505fc..071ab5eda 100755 --- a/testing/xpcshell/selftest.py +++ b/testing/xpcshell/selftest.py @@ -1162,7 +1162,7 @@ add_test({ self.assertTestResult(False) self.assertInLog(TEST_FAIL_STRING) - self.assertInLog("TypeError: generator function run_test returns a value at") + self.assertInLog("TypeError: generator function can't return a value at") self.assertInLog("test_error.js:4") self.assertNotInLog(TEST_PASS_STRING) -- cgit v1.2.3 From de75f133a7ec654d2a7c5bf628b3aee9fc109730 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 19 Apr 2019 02:02:56 +0200 Subject: Remove Firefox Accounts service and tie-ins. See previous commit for removal of browser identity module. --- testing/profiles/prefs_general.js | 15 --------------- .../runtimes/mochitest-browser-chrome-e10s.runtimes.json | 1 - testing/runtimes/mochitest-browser-chrome.runtimes.json | 1 - testing/talos/talos/config.py | 2 -- 4 files changed, 19 deletions(-) (limited to 'testing') diff --git a/testing/profiles/prefs_general.js b/testing/profiles/prefs_general.js index bf1534c12..35680ca43 100644 --- a/testing/profiles/prefs_general.js +++ b/testing/profiles/prefs_general.js @@ -258,21 +258,6 @@ user_pref('toolkit.telemetry.server', 'https://%(server)s/telemetry-dummy/'); user_pref('toolkit.telemetry.test.pref1', true); user_pref('toolkit.telemetry.test.pref2', false); -// We don't want to hit the real Firefox Accounts server for tests. We don't -// actually need a functioning FxA server, so just set it to something that -// resolves and accepts requests, even if they all fail. -user_pref('identity.fxaccounts.auth.uri', 'https://%(server)s/fxa-dummy/'); - -// Ditto for all the other Firefox accounts URIs used for about:accounts et al.: -user_pref("identity.fxaccounts.remote.signup.uri", "https://%(server)s/fxa-signup"); -user_pref("identity.fxaccounts.remote.force_auth.uri", "https://%(server)s/fxa-force-auth"); -user_pref("identity.fxaccounts.remote.signin.uri", "https://%(server)s/fxa-signin"); -user_pref("identity.fxaccounts.settings.uri", "https://%(server)s/fxa-settings"); -user_pref('identity.fxaccounts.remote.webchannel.uri', 'https://%(server)s/'); - -// We don't want browser tests to perform FxA device registration. -user_pref('identity.fxaccounts.skipDeviceRegistration', true); - // Increase the APZ content response timeout in tests to 1 minute. // This is to accommodate the fact that test environments tends to be slower // than production environments (with the b2g emulator being the slowest of them diff --git a/testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json b/testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json index 211e98e05..8525931bd 100644 --- a/testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json +++ b/testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json @@ -76,7 +76,6 @@ "browser/base/content/test/general/browser_fullscreen-window-open.js": 4312, "browser/base/content/test/general/browser_fxa_oauth.js": 5410, "browser/base/content/test/general/browser_fxa_web_channel.js": 4727, - "browser/base/content/test/general/browser_fxaccounts.js": 2909, "browser/base/content/test/general/browser_getshortcutoruri.js": 3083, "browser/base/content/test/general/browser_identity_UI.js": 20930, "browser/base/content/test/general/browser_insecureLoginForms.js": 4482, diff --git a/testing/runtimes/mochitest-browser-chrome.runtimes.json b/testing/runtimes/mochitest-browser-chrome.runtimes.json index 73b2437a2..73efc2b26 100644 --- a/testing/runtimes/mochitest-browser-chrome.runtimes.json +++ b/testing/runtimes/mochitest-browser-chrome.runtimes.json @@ -82,7 +82,6 @@ "browser/base/content/test/general/browser_fullscreen-window-open.js": 2830, "browser/base/content/test/general/browser_fxa_oauth.js": 4120, "browser/base/content/test/general/browser_fxa_web_channel.js": 3535, - "browser/base/content/test/general/browser_fxaccounts.js": 3175, "browser/base/content/test/general/browser_getshortcutoruri.js": 3344, "browser/base/content/test/general/browser_identity_UI.js": 19308, "browser/base/content/test/general/browser_insecureLoginForms.js": 3538, diff --git a/testing/talos/talos/config.py b/testing/talos/talos/config.py index 59b6123d3..828e68a15 100644 --- a/testing/talos/talos/config.py +++ b/testing/talos/talos/config.py @@ -153,7 +153,6 @@ DEFAULTS = dict( 'browser.contentHandlers.types.3.uri': 'http://127.0.0.1/rss?url=%s', 'browser.contentHandlers.types.4.uri': 'http://127.0.0.1/rss?url=%s', 'browser.contentHandlers.types.5.uri': 'http://127.0.0.1/rss?url=%s', - 'identity.fxaccounts.auth.uri': 'https://127.0.0.1/fxa-dummy/', 'datareporting.healthreport.about.reportUrl': 'http://127.0.0.1/abouthealthreport/', 'datareporting.healthreport.documentServerURI': @@ -176,7 +175,6 @@ DEFAULTS = dict( 'devtools.debugger.remote-enabled': False, 'devtools.theme': "light", 'devtools.timeline.enabled': False, - 'identity.fxaccounts.migrateToDevEdition': False, 'media.libavcodec.allow-obsolete': True } ) -- cgit v1.2.3 From 48060d3484c9a8bf6c3b29e26591ab956d6061de Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Fri, 5 Jul 2019 21:17:46 -0400 Subject: Issue #1160 - Remove HotFix preferences from testing --- testing/profiles/prefs_general.js | 1 - testing/talos/talos/config.py | 2 -- testing/talos/tests/test_talosconfig_browser_config.json | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'testing') diff --git a/testing/profiles/prefs_general.js b/testing/profiles/prefs_general.js index 35680ca43..3ec41b385 100644 --- a/testing/profiles/prefs_general.js +++ b/testing/profiles/prefs_general.js @@ -108,7 +108,6 @@ user_pref("extensions.update.background.url", "http://%(server)s/extensions-dumm user_pref("extensions.blocklist.detailsURL", "http://%(server)s/extensions-dummy/blocklistDetailsURL"); user_pref("extensions.blocklist.itemURL", "http://%(server)s/extensions-dummy/blocklistItemURL"); user_pref("extensions.blocklist.url", "http://%(server)s/extensions-dummy/blocklistURL"); -user_pref("extensions.hotfix.url", "http://%(server)s/extensions-dummy/hotfixURL"); user_pref("extensions.systemAddon.update.url", "http://%(server)s/dummy-system-addons.xml"); // Turn off extension updates so they don't bother tests user_pref("extensions.update.enabled", false); diff --git a/testing/talos/talos/config.py b/testing/talos/talos/config.py index 828e68a15..872bb3543 100644 --- a/testing/talos/talos/config.py +++ b/testing/talos/talos/config.py @@ -123,8 +123,6 @@ DEFAULTS = dict( 'extensions.blocklist.enabled': False, 'extensions.blocklist.url': 'http://127.0.0.1/extensions-dummy/blocklistURL', - 'extensions.hotfix.url': - 'http://127.0.0.1/extensions-dummy/hotfixURL', 'extensions.update.enabled': False, 'extensions.webservice.discoverURL': 'http://127.0.0.1/extensions-dummy/discoveryURL', diff --git a/testing/talos/tests/test_talosconfig_browser_config.json b/testing/talos/tests/test_talosconfig_browser_config.json index 7e7226c9f..b0ba17ad7 100644 --- a/testing/talos/tests/test_talosconfig_browser_config.json +++ b/testing/talos/tests/test_talosconfig_browser_config.json @@ -1 +1 @@ -{'deviceroot': '', 'dirs': {}, 'repository': 'http://hg.mozilla.org/releases/mozilla-release', 'buildid': '20131205075310', 'results_log': 'pathtoresults_log', 'symbols_path': None, 'bcontroller_config': 'pathtobcontroller', 'host': '', 'browser_name': 'Firefox', 'sourcestamp': '39faf812aaec', 'remote': False, 'child_process': 'plugin-container', 'branch_name': '', 'browser_version': '26.0', 'extra_args': '', 'develop': True, 'preferences': {'browser.display.overlaynavbuttons': False, 'extensions.getAddons.get.url': 'http://127.0.0.1/extensions-dummy/repositoryGetURL', 'dom.max_chrome_script_run_time': 0, 'network.proxy.type': 1, 'extensions.update.background.url': 'http://127.0.0.1/extensions-dummy/updateBackgroundURL', 'network.proxy.http': 'localhost', 'plugins.update.url': 'http://127.0.0.1/plugins-dummy/updateCheckURL', 'dom.max_script_run_time': 0, 'extensions.update.enabled': False, 'browser.safebrowsing.keyURL': 'http://127.0.0.1/safebrowsing-dummy/newkey', 'media.navigator.permission.disabled': True, 'app.update.enabled': False, 'extensions.blocklist.url': 'http://127.0.0.1/extensions-dummy/blocklistURL', 'browser.EULA.override': True, 'extensions.checkCompatibility': False, 'talos.logfile': 'pathtofile', 'browser.safebrowsing.gethashURL': 'http://127.0.0.1/safebrowsing-dummy/gethash', 'extensions.hotfix.url': 'http://127.0.0.1/extensions-dummy/hotfixURL', 'dom.disable_window_move_resize': True, 'network.proxy.http_port': 80, 'browser.dom.window.dump.enabled': True, 'extensions.update.url': 'http://127.0.0.1/extensions-dummy/updateURL', 'browser.chrome.dynamictoolbar': False, 'browser.link.open_newwindow': 2, 'extensions.getAddons.search.url': 'http://127.0.0.1/extensions-dummy/repositorySearchURL', 'browser.cache.disk.smart_size.first_run': False, 'security.turn_off_all_security_so_that_viruses_can_take_over_this_computer': True, 'dom.disable_open_during_load': False, 'extensions.getAddons.search.browseURL': 'http://127.0.0.1/extensions-dummy/repositoryBrowseURL', 'browser.cache.disk.smart_size.enabled': False, 'extensions.getAddons.getWithPerformance.url': 'http://127.0.0.1/extensions-dummy/repositoryGetWithPerformanceURL', 'hangmonitor.timeout': 0, 'extensions.getAddons.maxResults': 0, 'dom.send_after_paint_to_content': True, 'security.fileuri.strict_origin_policy': False, 'media.capturestream_hints.enabled': True, 'extensions.update.notifyUser': False, 'extensions.blocklist.enabled': False, 'browser.bookmarks.max_backups': 0, 'browser.shell.checkDefaultBrowser': False, 'media.peerconnection.enabled': True, 'dom.disable_window_flip': True, 'security.enable_java': False, 'browser.warnOnQuit': False, 'media.navigator.enabled': True, 'browser.safebrowsing.updateURL': 'http://127.0.0.1/safebrowsing-dummy/update', 'dom.allow_scripts_to_close_windows': True, 'extensions.webservice.discoverURL': 'http://127.0.0.1/extensions-dummy/discoveryURL'}, 'test_timeout': 1200, 'title': 'qm-pxp01', 'error_filename': 'pathtoerrorfile', 'webserver': 'localhost:15707', 'browser_path':ffox_path, 'port': 20701, 'browser_log': 'browser_output.txt', 'process': 'firefox.exe', 'xperf_path': 'C:/Program Files/Microsoft Windows Performance Toolkit/xperf.exe', 'extensions': ['pathtopageloader'], 'fennecIDs': '', 'env': {'NO_EM_RESTART': '1'}, 'init_url': 'http://localhost:15707/getInfo.html', 'browser_wait': 5} \ No newline at end of file +{'deviceroot': '', 'dirs': {}, 'repository': 'http://hg.mozilla.org/releases/mozilla-release', 'buildid': '20131205075310', 'results_log': 'pathtoresults_log', 'symbols_path': None, 'bcontroller_config': 'pathtobcontroller', 'host': '', 'browser_name': 'Firefox', 'sourcestamp': '39faf812aaec', 'remote': False, 'child_process': 'plugin-container', 'branch_name': '', 'browser_version': '26.0', 'extra_args': '', 'develop': True, 'preferences': {'browser.display.overlaynavbuttons': False, 'extensions.getAddons.get.url': 'http://127.0.0.1/extensions-dummy/repositoryGetURL', 'dom.max_chrome_script_run_time': 0, 'network.proxy.type': 1, 'extensions.update.background.url': 'http://127.0.0.1/extensions-dummy/updateBackgroundURL', 'network.proxy.http': 'localhost', 'plugins.update.url': 'http://127.0.0.1/plugins-dummy/updateCheckURL', 'dom.max_script_run_time': 0, 'extensions.update.enabled': False, 'browser.safebrowsing.keyURL': 'http://127.0.0.1/safebrowsing-dummy/newkey', 'media.navigator.permission.disabled': True, 'app.update.enabled': False, 'extensions.blocklist.url': 'http://127.0.0.1/extensions-dummy/blocklistURL', 'browser.EULA.override': True, 'extensions.checkCompatibility': False, 'talos.logfile': 'pathtofile', 'browser.safebrowsing.gethashURL': 'http://127.0.0.1/safebrowsing-dummy/gethash', 'dom.disable_window_move_resize': True, 'network.proxy.http_port': 80, 'browser.dom.window.dump.enabled': True, 'extensions.update.url': 'http://127.0.0.1/extensions-dummy/updateURL', 'browser.chrome.dynamictoolbar': False, 'browser.link.open_newwindow': 2, 'extensions.getAddons.search.url': 'http://127.0.0.1/extensions-dummy/repositorySearchURL', 'browser.cache.disk.smart_size.first_run': False, 'security.turn_off_all_security_so_that_viruses_can_take_over_this_computer': True, 'dom.disable_open_during_load': False, 'extensions.getAddons.search.browseURL': 'http://127.0.0.1/extensions-dummy/repositoryBrowseURL', 'browser.cache.disk.smart_size.enabled': False, 'extensions.getAddons.getWithPerformance.url': 'http://127.0.0.1/extensions-dummy/repositoryGetWithPerformanceURL', 'hangmonitor.timeout': 0, 'extensions.getAddons.maxResults': 0, 'dom.send_after_paint_to_content': True, 'security.fileuri.strict_origin_policy': False, 'media.capturestream_hints.enabled': True, 'extensions.update.notifyUser': False, 'extensions.blocklist.enabled': False, 'browser.bookmarks.max_backups': 0, 'browser.shell.checkDefaultBrowser': False, 'media.peerconnection.enabled': True, 'dom.disable_window_flip': True, 'security.enable_java': False, 'browser.warnOnQuit': False, 'media.navigator.enabled': True, 'browser.safebrowsing.updateURL': 'http://127.0.0.1/safebrowsing-dummy/update', 'dom.allow_scripts_to_close_windows': True, 'extensions.webservice.discoverURL': 'http://127.0.0.1/extensions-dummy/discoveryURL'}, 'test_timeout': 1200, 'title': 'qm-pxp01', 'error_filename': 'pathtoerrorfile', 'webserver': 'localhost:15707', 'browser_path':ffox_path, 'port': 20701, 'browser_log': 'browser_output.txt', 'process': 'firefox.exe', 'xperf_path': 'C:/Program Files/Microsoft Windows Performance Toolkit/xperf.exe', 'extensions': ['pathtopageloader'], 'fennecIDs': '', 'env': {'NO_EM_RESTART': '1'}, 'init_url': 'http://localhost:15707/getInfo.html', 'browser_wait': 5} -- cgit v1.2.3 From 0bc46526909e579acf7f7dc5c59668fd79662437 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sat, 8 Jun 2019 17:32:46 -0400 Subject: 1333045 - Update Location object properties to current spec. Specifically, three changes: 1) valueOf should be non-enumerable. 2) valueOf should be === to Object.prototype.valueOf. 3) There should be no toJSON. --- testing/web-platform/meta/MANIFEST.json | 12 ++++++++++++ .../the-location-interface/location-stringifier.html | 13 +++++++++++++ .../location-symbol-toprimitive.html | 14 ++++++++++++++ .../history/the-location-interface/location-tojson.html | 13 +++++++++++++ .../history/the-location-interface/location-valueof.html | 15 +++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 testing/web-platform/tests/html/browsers/history/the-location-interface/location-symbol-toprimitive.html create mode 100644 testing/web-platform/tests/html/browsers/history/the-location-interface/location-tojson.html create mode 100644 testing/web-platform/tests/html/browsers/history/the-location-interface/location-valueof.html (limited to 'testing') diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index 7edded5dc..03dda4a1f 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -18165,6 +18165,18 @@ "path": "html/browsers/history/the-location-interface/location-stringifier.html", "url": "/html/browsers/history/the-location-interface/location-stringifier.html" }, + { + "path": "html/browsers/history/the-location-interface/location-symbol-toprimitive.html", + "url": "/html/browsers/history/the-location-interface/location-symbol-toprimitive.html" + }, + { + "path": "html/browsers/history/the-location-interface/location-tojson.html", + "url": "/html/browsers/history/the-location-interface/location-tojson.html" + }, + { + "path": "html/browsers/history/the-location-interface/location-valueof.html", + "url": "/html/browsers/history/the-location-interface/location-valueof.html" + }, { "path": "html/browsers/history/the-location-interface/location_assign.html", "url": "/html/browsers/history/the-location-interface/location_assign.html" diff --git a/testing/web-platform/tests/html/browsers/history/the-location-interface/location-stringifier.html b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-stringifier.html index d23323b37..bde54b266 100644 --- a/testing/web-platform/tests/html/browsers/history/the-location-interface/location-stringifier.html +++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-stringifier.html @@ -8,4 +8,17 @@
diff --git a/testing/web-platform/tests/html/browsers/history/the-location-interface/location-symbol-toprimitive.html b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-symbol-toprimitive.html new file mode 100644 index 000000000..e666a3e70 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-symbol-toprimitive.html @@ -0,0 +1,14 @@ + +Location Symbol.toPrimitive + + +
+ diff --git a/testing/web-platform/tests/html/browsers/history/the-location-interface/location-tojson.html b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-tojson.html new file mode 100644 index 000000000..5f20a6e15 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-tojson.html @@ -0,0 +1,13 @@ + +Location has no toJSON + + +
+ + diff --git a/testing/web-platform/tests/html/browsers/history/the-location-interface/location-valueof.html b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-valueof.html new file mode 100644 index 000000000..978bbb63a --- /dev/null +++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/location-valueof.html @@ -0,0 +1,15 @@ + +Location valueOf + + +
+ -- cgit v1.2.3