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

Unified Diff: LayoutTests/inspector/console/only-one-deprecation-warning.html

Issue 14320022: Warn developers about deprecated features only once per page-load. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: OwnPtr<BitVector> -> BitVector Created 7 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: LayoutTests/inspector/console/only-one-deprecation-warning.html
diff --git a/LayoutTests/inspector/console/only-one-deprecation-warning.html b/LayoutTests/inspector/console/only-one-deprecation-warning.html
new file mode 100644
index 0000000000000000000000000000000000000000..0b83e62ca104064123dd0a80c2fdb40d3aee4035
--- /dev/null
+++ b/LayoutTests/inspector/console/only-one-deprecation-warning.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <meta http-equiv="X-WebKit-CSP" content="img-src http://127.0.0.1:*">
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+</head>
+<body>
+ This test passes if only one deprecation warning is presented in the console.
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698