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

Unified Diff: chrome/test/data/page_load_metrics/document_write_external_script.html

Issue 1857443002: Plumb experiment flags through page_load_metrics and add a new observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page_load_experiments
Patch Set: clean up unit tests Created 4 years, 9 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: chrome/test/data/page_load_metrics/document_write_external_script.html
diff --git a/chrome/test/data/page_load_metrics/document_write_external_script.html b/chrome/test/data/page_load_metrics/document_write_external_script.html
new file mode 100644
index 0000000000000000000000000000000000000000..b3a3c282e017e4efc6a631acdf2997659eaee54d
--- /dev/null
+++ b/chrome/test/data/page_load_metrics/document_write_external_script.html
@@ -0,0 +1,10 @@
+<html>
+<script>
+ (function() {
+ var src = "/page_load_metrics/dummy.js";
+ document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
+ })();
+</script>
+<body>
+ This page uses document.write to load external js.
+</body>

Powered by Google App Engine
This is Rietveld 408576698