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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/log.py

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/log.py
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/log.py b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/log.py
deleted file mode 100644
index 6803bb3e405e520f56c70b23ec17a909f9ae7cba..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/log.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import time
-
-def main(request, response):
- response.headers.append("Content-Type", "text/javascript")
- try:
- script_id = int(request.GET.first("id"))
- delay = int(request.GET.first("sec"))
- except:
- response.set_error(400, "Invalid parameter")
-
- time.sleep(int(delay))
-
- return "log('%s')" % script_id

Powered by Google App Engine
This is Rietveld 408576698