diff options
Diffstat (limited to 'chrome/test/data/inspector')
-rw-r--r-- | chrome/test/data/inspector/dummy.js | 3 | ||||
-rw-r--r-- | chrome/test/data/inspector/test1.html | 4 | ||||
-rw-r--r-- | chrome/test/data/inspector/test2.html | 5 |
3 files changed, 12 insertions, 0 deletions
diff --git a/chrome/test/data/inspector/dummy.js b/chrome/test/data/inspector/dummy.js new file mode 100644 index 0000000..f84383e --- /dev/null +++ b/chrome/test/data/inspector/dummy.js @@ -0,0 +1,3 @@ +function setCookie() { + document.cookie = 'viewsource_cookie=foo'; +} diff --git a/chrome/test/data/inspector/test1.html b/chrome/test/data/inspector/test1.html new file mode 100644 index 0000000..a9cf12d --- /dev/null +++ b/chrome/test/data/inspector/test1.html @@ -0,0 +1,4 @@ +<html> +<body></body> +This file exists to test that one resource get loaded in Chrome inspector. +</html>
\ No newline at end of file diff --git a/chrome/test/data/inspector/test2.html b/chrome/test/data/inspector/test2.html new file mode 100644 index 0000000..21de21b --- /dev/null +++ b/chrome/test/data/inspector/test2.html @@ -0,0 +1,5 @@ +<html> +<head><script src="dummy.js"></script></head> +<body onload="setCookie();"></body> +This file exists to test that two resources get loaded in Chrome inspector. +</html>
\ No newline at end of file |