From 117140749a356f8d006432b5ae2992abb5d1f914 Mon Sep 17 00:00:00 2001 From: "W. James MacLean" Date: Mon, 13 Mar 2023 10:23:43 -0700 Subject: [PATCH] Add document.open() for new Base URL behaviour and add test. This CL fixes the inheritance behavior for about:srcdoc urls opened using document.open('', '') run in the context of an about:srcdoc frame. This CL also adds a WPT test to verify that changes to a parent's baseURI don't affect an about:srcdoc child whose srcdoc attribute hasn't been set. Bug: 1356658 Change-Id: I2f9f79a4ce0d136361fcdd8ed19312c4bd9c249d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4209048 Reviewed-by: Dominic Farolino Reviewed-by: Domenic Denicola Commit-Queue: James Maclean Reviewed-by: Daniel Cheng Cr-Commit-Position: refs/heads/main@{#1116439} --- ...base-url-changes-about-srcdoc-2.https.html | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 html/infrastructure/urls/base-url/document-base-url-changes-about-srcdoc-2.https.html diff --git a/html/infrastructure/urls/base-url/document-base-url-changes-about-srcdoc-2.https.html b/html/infrastructure/urls/base-url/document-base-url-changes-about-srcdoc-2.https.html new file mode 100644 index 000000000000000..eac1eaf7d0a511a --- /dev/null +++ b/html/infrastructure/urls/base-url/document-base-url-changes-about-srcdoc-2.https.html @@ -0,0 +1,57 @@ + + + + + + + +