Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-onauxclick.html

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-onauxclick.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-onauxclick.html b/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-onauxclick.html
index d741507da015a4cd7150ed867d87ee901d4b996c..a1c9e9ccff19d3e807445c62353a7cd474bbd1e0 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-onauxclick.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-onauxclick.html
@@ -14,7 +14,7 @@ window.auxClick1Happened = false;
window.auxClick2Happened = false;
test(() => {
- for (const location of [window, HTMLElement.prototype, SVGElement.prototype, Document.prototype]) {
+ for (var location of [window, HTMLElement.prototype, SVGElement.prototype, Document.prototype]) {
assert_true(location.hasOwnProperty("onauxclick"),
`${location.constructor.name} has an own property named "onauxclick"`);
}
@@ -24,7 +24,7 @@ test(() => {
const htmlElement = document.createElement("span");
const svgElement = document.createElementNS("http://www.w3.org/2000/svg", "g");
- for (const location of [window, htmlElement, svgElement, document]) {
+ for (var location of [window, htmlElement, svgElement, document]) {
assert_equals(location.onauxclick, null,
`The default value of the property is null for a ${location.constructor.name} instance`);
}

Powered by Google App Engine
This is Rietveld 408576698