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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/form-with-enctype-targets-cross-site-frame.html

Issue 2419093002: Revert of Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Manually resolved conflicts with r425338 in navigator_impl.cc. 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/navigation/form-with-enctype-targets-cross-site-frame.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/form-with-enctype-targets-cross-site-frame.html b/third_party/WebKit/LayoutTests/http/tests/navigation/form-with-enctype-targets-cross-site-frame.html
deleted file mode 100644
index 411f54e936fd69140aac8bba95c52816528540b3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/form-with-enctype-targets-cross-site-frame.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-The test verifies that a form with target="crossSiteFrame" and
-with enctype="multipart/form-data" works fine
-(especially in presence of out-of-process-iframes, aka OOPIFs, aka
-blink::RemoteFrames which are present in --site-per-process mode).
-
-The test finishes successfully, if form-target.pl ends up calling
-testRunner.notifyDone() after main frame calls testRuner.waitUntilDone
-and submits the form. Expected test output helps verify that the
-correct HTTP headers were sent together with the HTTP POST request.
-In particular, if wrong Content-Type header is send with the HTTP request,
-then the field value will be garbled:
-
-- Expected:
- test-field = test-value
-
-- Actual if no Content-Type is sent:
- ------WebKitFormBoundaryxVEhq0cRaPT6heQg Content-Disposition: form-data =
- name = "test-field" test-value ------WebKitFormBoundaryxVEhq0cRaPT6heQg--
-
--->
-<html>
-<script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- }
-
- function onLoad() {
- if (window.testRunner)
- testRunner.waitUntilDone();
- document.forms[0].submit();
- }
-</script>
-<body onload="onLoad();">
-<form
- method="POST"
- enctype="multipart/form-data"
- action="http://localhost:8080/navigation/resources/form-target.pl"
- target="cross-site-frame">
- Test field:
- <input name="test-field" type="text" value="test-value">
- <input type="submit" value="Submit">
-</form>
-<iframe
- name="cross-site-frame"
- src="http://localhost:8080/navigation/resources/otherpage.html"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698