Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / cachestorage / resources / common-worker.js
blobd0e8544b56c2677a9c60d47a9e8b587d63bc6d6c
1 self.onmessage = function(e) {
2 var cache_name = e.data.name;
4 self.caches.open(cache_name)
5 .then(function(cache) {
6 return Promise.all([
7 cache.put('https://example.com/a', new Response('a')),
8 cache.put('https://example.com/b', new Response('b')),
9 cache.put('https://example.com/c', new Response('c'))
10 ]);
12 .then(function() {
13 self.postMessage('ok');
14 });