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

Side by Side Diff: LayoutTests/http/tests/misc/prefetch-purpose-expected.txt

Issue 850753002: Fix prefetch-purpose layout test to support caching (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 prefetch-purpose.php has MIME type text/html 1 prefetch-purpose.php has MIME type text/html
2 prefetch-purpose.php has MIME type text/html 2 prefetch-purpose.php has MIME type text/html
3 The cookie was set!
4
5 Purpose: prefetch 3 Purpose: prefetch
6 4 This test verifies that prefetches are sent with the HTTP request header Purpose : prefetch. To do this, the root page has a prefetch link targetting this subres ource which contains a PHP script (resources/prefetch-purpose.php). The PHP prin ts the value of the Purpose header into the document. Later, the root page sets window.location to target this script, which should have "Purpose: prefetch" in its output if it's served from cache.
7 This test verifies that prefetches are sent with the HTTP request header Purpose : prefetch. To do this, the root page has a prefetch link targetting this subres ource which contains a PHP script (resources/prefetch-purpose.php). That initial prefetch of this resource sets a cookie. Later, the root page sets window.locat ion to target this script, which verifies the presence of the cookie, and genera tes the happy test output that you hopefully see right now.
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/http/tests/misc/resources/prefetch-purpose.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698