Sign in
webkit
/
WebKit
/
c19171a123537df24000c2385ff2300a0c5e6314
/
.
/
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"
);
});