Add new images to circumvent caching during tests. b=450450

This commit is contained in:
Dan Witte 2010-07-02 17:40:29 -07:00
parent 94b9e463dd
commit b2c9e41036
8 changed files with 13 additions and 4 deletions

View File

@ -58,6 +58,10 @@ _TEST_FILES = \
image1.png^headers^ \
image2.png \
image2.png^headers^ \
beltzner.jpg \
beltzner.jpg^headers^ \
damonbowling.jpg \
damonbowling.jpg^headers^ \
test1.css \
test1.css^headers^ \
test2.css \

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@ -0,0 +1,3 @@
Cache-Control: no-store
Set-Cookie: mike=beltzer

View File

@ -29,5 +29,5 @@ function test() {
}, "cookie-rejected", false);
// kick off a favicon load
PageProxySetIcon("http://example.org/tests/extensions/cookie/test/image1.png");
PageProxySetIcon("http://example.org/tests/extensions/cookie/test/damonbowling.jpg");
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -0,0 +1,2 @@
Cache-Control: no-store
Set-Cookie: damon=bowling

View File

@ -12,6 +12,6 @@
</script>
</head>
<body onload="window.opener.postMessage('f_lf_i msg data page', 'http://mochi.test:8888');">
<img src="http://example.org/tests/extensions/cookie/test/image1.png" onload="runTest()" />
<img src="http://example.org/tests/extensions/cookie/test/beltzner.jpg" onload="runTest()" />
</body>
</html>

View File

@ -7,9 +7,9 @@
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<!--
*5 cookies: 1+1 from file_testloadflags.js, 2 from file_loadflags_inner.html + 1 from image1.png^headers^.
*5 cookies: 1+1 from file_testloadflags.js, 2 from file_loadflags_inner.html + 1 from beltzner.jpg.
*1 load: file_loadflags_inner.html.
*2 headers: 1 for file_loadflags_inner.html + 1 for image1.png.
*2 headers: 1 for file_loadflags_inner.html + 1 for beltzner.jpg.
-->
<body onload="setupTest('http://example.org/tests/extensions/cookie/test/file_loadflags_inner.html', 'example.org', 5, 2, 2)">
<p id="display"></p>