Sign in
webkit
/
WebKit
/
df74bc8305a63dfc2b235b226ee9572bbdd4f6f9
/
.
/
LayoutTests
/
http
/
wpt
/
service-workers
/
navigation-iframe-site-worker.js
blob: 19f05ab339175f7d1b449f02c27cbf5b048d7ed6 [
file
] [
log
] [
blame
]
addEventListener
(
"message"
,
(
e
)
=>
{
self
.
port
=
e
.
data
.
port
;
});
addEventListener
(
"fetch"
,
(
e
)
=>
{
if
(
self
.
internals
)
{
self
.
port
.
postMessage
(
self
.
internals
.
fetchEventIsSameSite
(
e
)
?
"FAIL"
:
"PASS"
);
return
;
}
self
.
port
.
postMessage
(
"PASS"
);
});