StartDocumentLoad calls SetRequestContextWithDocument. Since bug 543435, the initial about:blank load doesn't go through this code anymore. Therefore, we added that call also to CreateAboutBlankDocumentViewer. This is advantageous in general too, because transient documents will have the correct context. But due to bug 1899512, there are regressions. This change reverts setting the request context already at document creation. Instead we match regular loads and set the request context in the corresponding CompleteInitialAboutBlankLoad. Differential Revision: https://phabricator.services.mozilla.com/D297337
4 lines
115 B
INI
4 lines
115 B
INI
[document-write-iframe.html]
|
|
[document.open() keeps inherited CSPs on transient about:blank.]
|
|
expected: FAIL
|