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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-dir.html

Issue 1942883002: [Devtools] isTrusted in CustomEvents shown twice in console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/console/console-dir.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-dir.html b/third_party/WebKit/LayoutTests/inspector/console/console-dir.html
index b6d07461008e72928541b20efb10dd7c607de9f1..219ae2f48c3cff3722aab8f6e708a4a25b350643 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-dir.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-dir.html
@@ -38,6 +38,11 @@ function onload()
bigTypedArray["FAIL"] = "FAIL: Object.getOwnPropertyNames() should not have been run";
console.dir(bigTypedArray);
+ // document.createEvent("Event") has a special property "isTrusted" flagged "Unforgeable".
+ var event = document.createEvent("Event");
+ Object.defineProperty(event, "timeStamp", {value: 0})
+ console.dir(event);
+
runTest();
}
//# sourceURL=console-dir.html
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698