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

Unified Diff: chrome/test/data/predictors/inner_html.js

Issue 2540803002: predictors: Add browsertests that check fetching through javascript. (Closed)
Patch Set: Add copyrights. Created 4 years 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/predictors/inner_html.js
diff --git a/chrome/test/data/predictors/inner_html.js b/chrome/test/data/predictors/inner_html.js
new file mode 100644
index 0000000000000000000000000000000000000000..35806647508cbd15d456b5ee68c41f7dc4ca833b
--- /dev/null
+++ b/chrome/test/data/predictors/inner_html.js
@@ -0,0 +1,10 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+document.getElementById("img").innerHTML =
+ '<img src="/handled-by-test/image.png">';
+document.getElementById("css").innerHTML =
+ '<link rel="stylesheet" href="/handled-by-test/style.css">';
+document.getElementById("js").innerHTML =
+ '<script src="/handled-by-test/script.js"></script>';

Powered by Google App Engine
This is Rietveld 408576698