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

Unified Diff: LayoutTests/fast/dom/Window/resources/window-property-collector.js

Issue 362993004: Implement Blink-in-JS for DOM attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: LayoutTests/fast/dom/Window/resources/window-property-collector.js
diff --git a/LayoutTests/fast/dom/Window/resources/window-property-collector.js b/LayoutTests/fast/dom/Window/resources/window-property-collector.js
index 7067772fa8badc36a8689e29bdd03555bdf34ed0..a19048243ffc5f19b8fb8449525476d4fff4c23c 100644
--- a/LayoutTests/fast/dom/Window/resources/window-property-collector.js
+++ b/LayoutTests/fast/dom/Window/resources/window-property-collector.js
@@ -86,6 +86,9 @@ function collectPropertiesHelper(object, path)
throw 'Error: probably looping';
for (var property in object) {
+ // Skip internals properties, since they aren't web accessible.
+ if (property === 'internals')
+ continue;
path.push(property);
var type = typeof(object[property]);
if (type == "object") {
« no previous file with comments | « no previous file | LayoutTests/fast/dom/private_script_unittest.html » ('j') | Source/bindings/core/v8/PrivateScriptRunner.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698