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