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

Unified Diff: third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html

Issue 1866153002: Don't persist plugins across reattach for widget updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/plugins/plugin-reload-data.html
diff --git a/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html b/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html
new file mode 100644
index 0000000000000000000000000000000000000000..d74c57d3d43d73a9a9f428b5942ff2b444353671
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+
+ onload = () => {
+ var object = document.querySelector("object");
+ object.setAttribute("data", "data:text/plain,second");
+ requestAnimationFrame(() => { testRunner.notifyDone(); });
+ };
+ } else {
+ document.write("Needs to be run as a layout test.");
+ }
+</script>
+<object data="data:text/plain,first" type="application/x-blink-test-plugin" logargs="true"></object>

Powered by Google App Engine
This is Rietveld 408576698