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/script-tests/webtiming-document-open.js

Issue 821303006: bindings: Fixes layouttests when moving attributes to prototype chains. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed performance memory tests and addressed review comments. Created 5 years, 11 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/script-tests/webtiming-document-open.js
diff --git a/LayoutTests/fast/dom/script-tests/webtiming-document-open.js b/LayoutTests/fast/dom/script-tests/webtiming-document-open.js
index 70c97dcec1e73051cb31ddf4ac1f89a67e653f40..52d949880f8a5f1754bb48fd1cd786f27eeb77c3 100644
--- a/LayoutTests/fast/dom/script-tests/webtiming-document-open.js
+++ b/LayoutTests/fast/dom/script-tests/webtiming-document-open.js
@@ -27,9 +27,9 @@ function testTimingWithDocumentOpen()
}
function finishTest() {
- keys = Object.keys(timing).sort();
- for (var i = 0; i < keys.length; ++i) {
- shouldBe("timing." + keys[i], "originalTiming." + keys[i]);
+ var properties = getAllPropertyNames(timing);
+ for (var i = 0; i < properties.length; ++i) {
+ shouldBe("timing." + properties[i], "originalTiming." + properties[i]);
}
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698