Sign in
cobalt
/
cobalt
/
refs/tags/21.lts.2
/
.
/
src
/
third_party
/
web_platform_tests
/
workers
/
support
/
WorkerDataCloneErr.js
blob: b7e8b0ae167626aedeeaa2c56c2552c4972618c5 [
file
] [
log
] [
blame
]
var
result
=
"Fail"
;
try
{
postMessage
(
navigator
);
}
catch
(
ex
)
{
if
(
ex
.
code
!=
null
&&
ex
.
code
==
ex
.
DATA_CLONE_ERR
)
{
result
=
"Pass"
;
}
}
postMessage
(
result
);