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

Unified Diff: third_party/WebKit/LayoutTests/webexposed/global-interface-listing.html

Issue 1360233007: bindings: Moves event handlers and methods of Window to the instance object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/webexposed/global-interface-listing.html
diff --git a/third_party/WebKit/LayoutTests/webexposed/global-interface-listing.html b/third_party/WebKit/LayoutTests/webexposed/global-interface-listing.html
index 630574aaf1796e10f7673d48ba8121cb2cf3785f..eb3f372d32cfa927fc023d9f271a77919bcb81aa 100644
--- a/third_party/WebKit/LayoutTests/webexposed/global-interface-listing.html
+++ b/third_party/WebKit/LayoutTests/webexposed/global-interface-listing.html
@@ -1,4 +1,8 @@
<!DOCTYPE html>
+<script>
+// Save the list of property names of the global object just after page load.
+var propertyNamesInGlobal = Object.getOwnPropertyNames(this);
+</script>
<script src="../resources/js-test.js"></script>
<script src="resources/global-interface-listing.js"></script>
<script>

Powered by Google App Engine
This is Rietveld 408576698