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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html

Issue 1638563002: DevTools: migrate ScriptFunctionCall off ScriptValue (to be inlined into the InjectedScript.cpp). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready for review Created 4 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: third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html
index bf7ebbfcc68e47381f2c6ffad85c8ced76b5fbde..37f2d2e24e18b9c0670b173cd702419db433b808 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html
@@ -19,6 +19,13 @@ function invalidateAndForceLayout(element)
function performActions()
{
+ var script = document.createElement("script");
+ script.textContent = "innerPerformActions();";
+ document.head.appendChild(script);
+}
+
+function innerPerformActions()
dgozman 2016/01/26 02:45:14 This needs explanation.
pfeldman 2016/01/27 01:24:09 Done.
+{
invalidateAndForceLayout(document.getElementById("invalidate1"));
invalidateAndForceLayout(document.getElementById("invalidate2"));
}

Powered by Google App Engine
This is Rietveld 408576698