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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html

Issue 1708923002: Ensure WebView plugins run their lifecycle even absent main frame Layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 html:first-letter { color: papayawhip; }
4 </style>
5 <script>
6 function boom() {
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 // Trigger a full-document style recalc.
11 document.appendChild(document.createElement("style"));
esprehn 2016/02/18 00:19:39 does this actually trigger a full recalc? I though
12 // Force the style to update without running the rest of the lifecycle.
13 document.querySelector("embed").align;
14 }
15 </script>
16 <body onload="boom()">
17 <embed type="html">
18 Test passes if no crash.
19
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698