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

Unified Diff: chrome/test/data/subresource_filter/frame_with_delayed_script.html

Issue 2525303002: Don't duplicate the Subresource Filter prompt after it was shown already. (Closed)
Patch Set: . Created 4 years, 1 month 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: chrome/test/data/subresource_filter/frame_with_delayed_script.html
diff --git a/chrome/test/data/subresource_filter/frame_with_delayed_script.html b/chrome/test/data/subresource_filter/frame_with_delayed_script.html
new file mode 100644
index 0000000000000000000000000000000000000000..d7033a31bfd3fd1a4670f71dd16d4eec49077fb3
--- /dev/null
+++ b/chrome/test/data/subresource_filter/frame_with_delayed_script.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <script type="text/javascript">
+ function runny() {
+ var s = document.createElement("script");
+ s.type = "text/javascript"
+ s.src = "included_script.js";
+ // Makes sure that the test would non-flakily fail if the subresource
+ // is allowed to load.
+ s.async = false;
+ document.head.appendChild(s);
+ }
+ </script>
+ </head>
+</html>

Powered by Google App Engine
This is Rietveld 408576698