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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/echo-clear-site-data.py

Issue 2975463002: Enable Clear-Site-Data web platform tests. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/clear-site-data/navigation.https.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/echo-clear-site-data.py
diff --git a/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/echo-clear-site-data.py b/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/echo-clear-site-data.py
index e8ec8d55327c28339c7466fcf613ff784359f2e1..ab85002abb34874bb8300b47e21a25cab0c6133b 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/echo-clear-site-data.py
+++ b/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/echo-clear-site-data.py
@@ -34,7 +34,7 @@ RESPONSE = """
# embedder whether the data deletion succeeded.
def main(request, response):
types = [key for key in request.GET.keys()]
- header = json.dumps({ "types": types })
+ header = ",".join("\"" + type + "\"" for type in types)
return ([("Clear-Site-Data", header),
("Content-Type", "text/html")],
RESPONSE)
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/clear-site-data/navigation.https.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698