File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 20
20
//
21
21
// If Sec-Fetch-Site uses incumbentNavigationOrigin then the result will be same-origin.
22
22
// If Sec-Fech-Site uses source BC's active document's origin then the result will be same-site.
23
+ // The current spec for Sec-Fetch-Site uses request's origin = source BC's active document's origin.
23
24
iframe . contentDocument . querySelector ( "iframe" ) . src = "https://{{hosts[][]}}:{{ports[https][0]}}/fetch/metadata/resources/post-to-owner.py" ;
24
25
25
26
const data = await waitForMessage ( ) ;
26
- assert_equals ( data . site , "same-origin " ) ; // TODO figure out if this is correct. It'd be nice to get rid of incumbentNavigationOrigin.
27
+ assert_equals ( data . site , "same-site " ) ;
27
28
} , "Using iframeEl.src" ) ;
28
29
29
30
promise_test ( async t => {
You can’t perform that action at this time.
0 commit comments