Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/cache/test/xpcshell/xpcshell.toml
/**
* The schema_25_profile.zip are made from local Nightly by following step
* 1. Go to any website
* 2. Open web console and type
* caches.open("test")
* 3. Go to profile directory and rename the website folder to "chrome"
*/
add_task(async function testSteps() {
create_test_profile("schema_25_profile.zip");
let cache = await caches.open("test");
ok(!!response, "Upgrade from 25 to 26 do succeed");
Assert.strictEqual(
response.type,
"opaque",
"The response type does be opaque"
);
});