Bug 1484084 [wpt PR 12539] - Make about:blank page have a charset of UTF-8, a=testonly
authorTimothy Gu <timothygu@chromium.org>
Wed, 22 Aug 2018 13:21:14 +0000
changeset 831109 1c10a2029f46ba8e2cb9b3430e2e2c17a3f4473b
parent 831108 3b8c694e236d187cdee3049fea01f0551dd0b4ac
child 831110 f39a693e10b3f2b68e3e5190ead83d45264266c5
push id118868
push userbmo:zjz@zjz.name
push dateFri, 24 Aug 2018 07:04:39 +0000
reviewerstestonly
bugs1484084, 12539, 165083, 874536, 1176263, 584357
milestone63.0a1
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
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
--- 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');