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

Side by Side Diff: LayoutTests/http/tests/serviceworker/chromium/resources/memory-cache-controlled.html

Issue 632213002: Fetcher: Disable memory caching when Service Worker handles a request (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tweak test Created 6 years, 2 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
(Empty)
1 <script>
2 var callback;
3
4 function getJSON(url) {
horo 2014/10/10 06:27:38 nit: getJSONP is better
nhiroki 2014/10/10 07:33:13 Done.
5 var sc = document.createElement('script');
6 sc.src = url;
7 document.body.appendChild(sc);
8 return new Promise(function(resolve) {
9 // This callback function is called by appending a script element.
10 callback = function(data) { resolve(data); }
11 });
12 }
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698