Bug 1484084 [wpt PR 12539] - Make about:blank page have a charset of UTF-8, a=testonly
Automatic update from web-platform-testsMake about:blank page have a charset of UTF-8
This brings us into alignment with the Fetch Standard as well as Firefox and
Edge.
Bug: 165083, 874536
Change-Id: Id06d07d301aeae8bd0c48bfe94df68cf1ed68db9
Reviewed-on: https://chromium-review.googlesource.com/1176263
Reviewed-by: Nate Chapin <japhet@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Timothy Gu <timothygu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584357}
--
wpt-commits: 09aaa6261d0d32ee5d5a1bd312d611521af328a5
wpt-pr: 12539
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -590211,17 +590211,17 @@
"9a9e304e843ebc70795b61919c816345e2cea8ed",
"support"
],
"html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html": [
"e4d231b2856a2b8562ede3d842b4173acac2bc7a",
"testharness"
],
"html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html": [
- "75c8729cf716981ca79ebf15f01c431e5e156582",
+ "062f61949dc820634999e58045383065b179b49f",
"testharness"
],
"html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/001-1.html": [
"7dd48b41c23b4ff1fdff95edd87af6b03ea0c814",
"support"
],
"html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/001-2.html": [
"b1413861a3593321b24e7d4ddaa5e80549ec146b",
--- a/testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
+++ b/testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
@@ -15,16 +15,17 @@ async_test(function() {
assert_equals(win.location.href, currentUrl, 'should be equal to result url');
});
}, 'first argument: absolute url');
test(function() {
var win = window.open('', '', 'height=1,width=1');
this.add_cleanup(function() { win.close(); });
assert_equals(win.location.href, 'about:blank', 'win.location.href');
+ assert_equals(win.document.charset, 'UTF-8', 'win.document.charset');
}, 'first argument: empty url');
test(function () {
var win = window.open('', 'testWindow', 'height=1,width=1');
win.close();
assert_equals(win.name, 'testWindow', 'should have a browsing context name');
}, 'second argument: passing a non-empty name');