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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/navigation-redirect-scope1.py

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 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 def main(request, response):
2 if "url" in request.GET:
3 headers = [("Location", request.GET["url"])]
4 return 302, headers, ''
5
6 return [], '''
7 <!DOCTYPE html>
8 <script>
9 window.parent.postMessage(
10 {
11 id: 'last_url',
12 result: location.href
13 }, '*');
14 </script>
15 '''
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698