Sign in
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/heads/settimeout-active-script
/
.
/
browsing-topics
/
resources
/
document-api-notify-parent.tentative.https.html
blob: 2fd55ebeb2c1d1df0773c50c5f0271ebcb4de857 [
file
] [
log
] [
blame
] [
edit
]
<!doctype html>
<body>
<script>
document
.
browsingTopics
().
then
((
topics
)
=>
{
window
.
parent
.
postMessage
({
error
:
'No error'
},
'*'
);
})
.
catch
((
err
)
=>
{
window
.
parent
.
postMessage
({
error
:
err
.
message
},
'*'
);
});
</script>
</body>