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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html
diff --git a/third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html b/third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html
new file mode 100644
index 0000000000000000000000000000000000000000..2acf002da02ddda533854580454acd13123ca935
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+html:first-letter { color: papayawhip; }
+</style>
+<script>
+function boom() {
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ document.getElementsByTagName("style")[0].disabled = true;
chrishtr 2016/02/17 23:49:18 Change to appending a style sheet? Also add a com
+ document.createElement("embed").align;
+}
+</script>
+<body onload="boom()">
+<embed type="html">
+Test passes if no crash.
+

Powered by Google App Engine
This is Rietveld 408576698