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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/import-scripts-echo.py

Issue 2864783002: Upstream service wrkr `importScripts` tests to WPT (Closed)
Patch Set: Incorporate review feedback Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/import-scripts-echo.py
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/import-scripts-echo.py b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/import-scripts-echo.py
new file mode 100644
index 0000000000000000000000000000000000000000..7d92794e31b6b1270db26779f63644ac42a3d3d6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/import-scripts-echo.py
@@ -0,0 +1,6 @@
+def main(req, res):
+ return ([
+ ('Cache-Control', 'no-cache, must-revalidate'),
+ ('Pragma', 'no-cache'),
+ ('Content-Type', 'application/javascript')],
+ 'echo_output = "%s";\n' % req.GET['msg'])

Powered by Google App Engine
This is Rietveld 408576698