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

Unified Diff: third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html

Issue 2613643002: DevTools: migrate from external Maps to symbols in the bindings objects. (Closed)
Patch Set: Created 3 years, 12 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/inspector/uisourcecode-revisions.html
diff --git a/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html b/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
index 4f09e840340ad13bd6c07cd3618eb010b6bc4632..2aee4b3606c59641ec5e47ff8912405812415217 100644
--- a/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
+++ b/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
@@ -24,8 +24,9 @@ function test()
{
var content = uiSourceCode._content;
var revisionsString = "";
- for (var i = 0; i < uiSourceCode.history.length; ++i) {
- var revision = uiSourceCode.history[i];
+ var history = uiSourceCode.history();
+ for (var i = 0; i < history.length; ++i) {
+ var revision = history[i];
if (i !== 0)
revisionsString += ", ";
revisionsString += "'" + revision.content + "'";
@@ -102,7 +103,7 @@ function test()
InspectorTest.addResult("Second revision added.");
dumpUISourceCodeWithRevisions(uiSourceCode);
- uiSourceCode.history[0].revertToThis().then(onReverted);
+ uiSourceCode.history()[0].revertToThis().then(onReverted);
function onReverted()
{
@@ -197,7 +198,7 @@ function test()
InspectorTest.addResult("Second revision added.");
dumpUISourceCodeWithRevisions(uiSourceCode);
- uiSourceCode.history[0].revertToThis().then(onReverted);
+ uiSourceCode.history()[0].revertToThis().then(onReverted);
function onReverted()
{

Powered by Google App Engine
This is Rietveld 408576698