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> |