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

Side by Side Diff: third_party/WebKit/LayoutTests/resources/plugin.js

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Ensure plugin load, run the speicified function, then finish the test. 1 // Ensure plugin load, run the speicified function, then finish the test.
2 function startAfterLoadAndFinish(f, node) { 2 function startAfterLoadAndFinish(f, node) {
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.waitUntilDone(); 4 testRunner.waitUntilDone();
5 window.addEventListener('load', function() { 5 window.addEventListener('load', function() {
6 if (window.internals) 6 if (window.internals)
7 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks( node); 7 internals.updateStyleAndLayoutIgnorePendingStylesheetsAndRunPostLayo utTasks(node);
8 if (f) 8 if (f)
9 f(); 9 f();
10 testRunner.notifyDone(); 10 testRunner.notifyDone();
11 }, false); 11 }, false);
12 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698