Log Message
Unreviewed, drop a couple of tests that failed to get removed during resync in r263856.
These tests were renamed and exist under slightly different names after r263856. * web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting-expected.txt: Removed. * web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting.html: Removed. * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt: Removed. * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html: Removed.
Modified Paths
Removed Paths
- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting-expected.txt
- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting.html
- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt
- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html
Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (264021 => 264022)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2020-07-07 17:04:58 UTC (rev 264021)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2020-07-07 17:05:28 UTC (rev 264022)
@@ -1,5 +1,16 @@
2020-07-07 Chris Dumez <[email protected]>
+ Unreviewed, drop a couple of tests that failed to get removed during resync in r263856.
+
+ These tests were renamed and exist under slightly different names after r263856.
+
+ * web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting-expected.txt: Removed.
+ * web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting.html: Removed.
+ * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt: Removed.
+ * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html: Removed.
+
+2020-07-07 Chris Dumez <[email protected]>
+
Resync web-platform-tests/custom-elements from upstream
https://bugs.webkit.org/show_bug.cgi?id=214028
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting-expected.txt (264021 => 264022)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting-expected.txt 2020-07-07 17:04:58 UTC (rev 264021)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting-expected.txt 2020-07-07 17:05:28 UTC (rev 264022)
@@ -1,3 +0,0 @@
-
-PASS [[SetPrototypeOf]] on a location object should return false
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting.html (264021 => 264022)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting.html 2020-07-07 17:04:58 UTC (rev 264021)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-prototype-setting.html 2020-07-07 17:05:28 UTC (rev 264022)
@@ -1,18 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>[[SetPrototypeOf]] on a location object should return false</title>
-<script src=""
-<script src=""
-<script>
- test(function() {
- var origProto = Object.getPrototypeOf(location);
- assert_throws(new TypeError, function() {
- Object.setPrototypeOf(location, {});
- });
- assert_throws(new TypeError, function() {
- location.__proto__ = {};
- });
- assert_false(Reflect.setPrototypeOf(location, {}));
- assert_equals(Object.getPrototypeOf(location), origProto);
- });
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt (264021 => 264022)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt 2020-07-07 17:04:58 UTC (rev 264021)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt 2020-07-07 17:05:28 UTC (rev 264022)
@@ -1,129 +0,0 @@
-
-PASS Window Security testing
-PASS A SecurityError exception must be thrown when window.applicationCache is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.devicePixelRatio is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.document is accessed from a different origin.
-FAIL A SecurityError exception must be thrown when window.external is accessed from a different origin. assert_true: window.external should exist. expected true got false
-PASS A SecurityError exception must be thrown when window.frameElement is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.history is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.innerWidth is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.innerHeight is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.locationbar is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.localStorage is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.menubar is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.name is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.navigator is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onabort is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onafterprint is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onbeforeprint is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onbeforeunload is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onblur is accessed from a different origin.
-FAIL A SecurityError exception must be thrown when window.oncancel is accessed from a different origin. assert_true: window.oncancel should exist. expected true got false
-PASS A SecurityError exception must be thrown when window.oncanplay is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.oncanplaythrough is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onchange is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onclick is accessed from a different origin.
-FAIL A SecurityError exception must be thrown when window.onclose is accessed from a different origin. assert_true: window.onclose should exist. expected true got false
-PASS A SecurityError exception must be thrown when window.oncontextmenu is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.oncuechange is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondblclick is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondrag is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondragend is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondragenter is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondragleave is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondragover is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondragstart is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondrop is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ondurationchange is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onemptied is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onended is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onerror is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onfocus is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onhashchange is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.oninput is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.oninvalid is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onkeydown is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onkeypress is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onkeyup is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onload is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onloadeddata is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onloadedmetadata is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onloadstart is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmessage is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmousedown is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmousemove is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmouseout is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmouseover is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmouseup is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onoffline is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ononline is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onpause is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onplay is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onplaying is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onpagehide is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onpageshow is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onpopstate is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onprogress is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onratechange is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onreset is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onresize is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onscroll is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onseeked is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onseeking is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onselect is accessed from a different origin.
-FAIL A SecurityError exception must be thrown when window.onshow is accessed from a different origin. assert_true: window.onshow should exist. expected true got false
-PASS A SecurityError exception must be thrown when window.onstalled is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onstorage is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onsubmit is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onsuspend is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.ontimeupdate is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onunload is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onvolumechange is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.onwaiting is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.pageXOffset is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.pageYOffset is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.personalbar is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.screen is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.scrollbars is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.statusbar is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.status is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.screenX is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.screenY is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.sessionStorage is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.toolbar is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.alert is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.clearInterval is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.clearTimeout is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.confirm is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.getComputedStyle is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.getSelection is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.matchMedia is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.moveBy is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.moveTo is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.open is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.print is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.prompt is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.resizeTo is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.resizeBy is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.scroll is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.scrollTo is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.scrollBy is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.setInterval is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.setTimeout is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.showModalDialog is accessed from a different origin.
-PASS A SecurityError exception must be thrown when window.stop is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.closed is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.frames is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.length is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.location is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.opener is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.parent is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.self is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.top is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.window is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.blur is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.close is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.focus is accessed from a different origin.
-PASS A SecurityError exception should not be thrown when window.postMessage is accessed from a different origin.
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html (264021 => 264022)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html 2020-07-07 17:04:58 UTC (rev 264021)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html 2020-07-07 17:05:28 UTC (rev 264022)
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>HTML Test: Window Security</title>
-<link rel="author" title="Intel" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<link rel="help" href="" />
-<script src=""
-<script src=""
-<script src=""
-<div id="log"></div>
-<script>
-var t = async_test("Window Security testing");
-
-function fr_load() {
- fr = document.getElementById("fr");
-
- t.step(function () {
- //SecurityError should be thrown
- [
- //attributes
- {name: "applicationCache"},
- {name: "devicePixelRatio"},
- {name: "document"},
- {name: "external"},
- {name: "frameElement"},
- {name: "history"},
- {name: "innerWidth"},
- {name: "innerHeight"},
- {name: "locationbar"},
- {name: "localStorage"},
- {name: "menubar"},
- {name: "name"},
- {name: "navigator"},
- {name: "onabort"},
- {name: "onafterprint"},
- {name: "onbeforeprint"},
- {name: "onbeforeunload"},
- {name: "onblur"},
- {name: "oncancel"},
- {name: "oncanplay"},
- {name: "oncanplaythrough"},
- {name: "onchange"},
- {name: "onclick"},
- {name: "onclose"},
- {name: "oncontextmenu"},
- {name: "oncuechange"},
- {name: "ondblclick"},
- {name: "ondrag"},
- {name: "ondragend"},
- {name: "ondragenter"},
- {name: "ondragleave"},
- {name: "ondragover"},
- {name: "ondragstart"},
- {name: "ondrop"},
- {name: "ondurationchange"},
- {name: "onemptied"},
- {name: "onended"},
- {name: "onerror"},
- {name: "onfocus"},
- {name: "onhashchange"},
- {name: "oninput"},
- {name: "oninvalid"},
- {name: "onkeydown"},
- {name: "onkeypress"},
- {name: "onkeyup"},
- {name: "onload"},
- {name: "onloadeddata"},
- {name: "onloadedmetadata"},
- {name: "onloadstart"},
- {name: "onmessage"},
- {name: "onmousedown"},
- {name: "onmousemove"},
- {name: "onmouseout"},
- {name: "onmouseover"},
- {name: "onmouseup"},
- {name: "onmousewheel"},
- {name: "onoffline"},
- {name: "ononline"},
- {name: "onpause"},
- {name: "onplay"},
- {name: "onplaying"},
- {name: "onpagehide"},
- {name: "onpageshow"},
- {name: "onpopstate"},
- {name: "onprogress"},
- {name: "onratechange"},
- {name: "onreset"},
- {name: "onresize"},
- {name: "onscroll"},
- {name: "onseeked"},
- {name: "onseeking"},
- {name: "onselect"},
- {name: "onshow"},
- {name: "onstalled"},
- {name: "onstorage"},
- {name: "onsubmit"},
- {name: "onsuspend"},
- {name: "ontimeupdate"},
- {name: "onunload"},
- {name: "onvolumechange"},
- {name: "onwaiting"},
- {name: "pageXOffset"},
- {name: "pageYOffset"},
- {name: "personalbar"},
- {name: "screen"},
- {name: "scrollbars"},
- {name: "statusbar"},
- {name: "status"},
- {name: "screenX"},
- {name: "screenY"},
- {name: "sessionStorage"},
- {name: "toolbar"},
- //methods
- {name: "alert", isMethod: true},
- {name: "clearInterval", isMethod: true, args:[1]},
- {name: "clearTimeout", isMethod: true, args:[function () {}, 1]},
- {name: "confirm", isMethod: true},
- {name: "getComputedStyle", isMethod: true, args:[document.body, null]},
- {name: "getSelection", isMethod: true},
- {name: "matchMedia", isMethod: true, args:["(min-width:50px)"]},
- {name: "moveBy", isMethod: true, args:[10, 10]},
- {name: "moveTo", isMethod: true, args:[10, 10]},
- {name: "open", isMethod: true},
- {name: "print", isMethod: true},
- {name: "prompt", isMethod: true},
- {name: "resizeTo", isMethod: true, args:[10, 10]},
- {name: "resizeBy", isMethod: true, args:[10, 10]},
- {name: "scroll", isMethod: true, args:[10, 10]},
- {name: "scrollTo", isMethod: true, args:[10, 10]},
- {name: "scrollBy", isMethod: true, args:[10, 10]},
- {name: "setInterval", isMethod: true, args:[function () {}, 1]},
- {name: "setTimeout", isMethod: true, args:[function () {}, 1]},
- {name: "showModalDialog", isMethod: true, args:["auto:blank", "dialog"]},
- {name: "stop", isMethod: true},
- ].forEach(function (item) {
- test(function () {
- assert_true(item.name in window, "window." + item.name + " should exist.");
- assert_throws("SecurityError", function () {
- if (item.isMethod)
- if (item.args)
- fr.contentWindow[item.name](item.args[0], item.args[1]);
- else
- fr.contentWindow[item.name]();
- else
- fr.contentWindow[item.name];
- }, "A SecurityError exception should be thrown.");
- }, "A SecurityError exception must be thrown when window." + item.name + " is accessed from a different origin.");
- });
-
- //SecurityError should not be thrown
- [
- //attributes
- {name: "closed"},
- {name: "frames"},
- {name: "length"},
- {name: "location"},
- {name: "opener"},
- {name: "parent"},
- {name: "self"},
- {name: "top"},
- {name: "window"},
- //methods
- {name: "blur", isMethod: true},
- {name: "close", isMethod: true},
- {name: "focus", isMethod: true},
- {name: "postMessage", isMethod: true, args: [{msg: 'foo'}, "*"]}
- ].forEach(function (item) {
- test(function () {
- assert_true(item.name in window, "window." + item.name + " should exist.");
- try {
- if (item.isMethod)
- if (item.args)
- fr.contentWindow[item.name](item.args[0], item.args[1]);
- else
- fr.contentWindow[item.name]();
- else
- fr.contentWindow[item.name];
- } catch (e) {
- assert_unreached("An unexpected exception was thrown.");
- }
- }, "A SecurityError exception should not be thrown when window." + item.name + " is accessed from a different origin.");
- });
- });
- t.done();
-}
-
-</script>
-<script>
-_onload_ = function() {
- var frame = document.createElement('iframe');
- frame.id = "fr";
- frame.setAttribute("style", "display:none");
- frame.setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + "/");
- frame.setAttribute("onload", "fr_load()");
- document.body.appendChild(frame);
-}
-</script>
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
