#!/usr/bin/env python3 import sys sys.stdout.write( 'Set-Cookie: scope=manifest; path=/appcache/resources/scope1; HttpOnly\r\n' 'Set-Cookie: scope=script; path=/appcache/resources/scope2; HttpOnly\r\n' 'Set-Cookie: foo=bar\r\n' 'Content-Type: text/html\r\n\r\n' ) print('''
This tests that HttpOnly cookies set on the main document are used when accessing resources in the manifest.
This also tests that cookies used by appcache resource loading are scoped properly.
Not checked cookie yet
Not run yet
Not run yet
''')