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

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/testutils.js

Issue 265943003: Add blink-side binding code for navigator.serviceWorker.current (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: +title Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 function withIframe(url, f) {
falken 2014/05/06 00:50:46 Can you add a FIXME that we should clean up the if
kinuko 2014/05/06 05:19:46 Done. (And moved this function into test-helpers.j
2 var frame = document.createElement('iframe');
3 frame.src = url;
4 frame.onload = function() {
5 f(frame);
6 };
7 document.body.appendChild(frame);
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698