Sign in
chromium
/
codesearch
/
chromium
/
src
/
HEAD
/
.
/
chrome
/
test
/
data
/
workers
/
onconnect_user_agent.js
blob: 1eb8e1986920f270508a5f71f1c1f8f4c30f9624 [
file
] [
log
] [
blame
]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
self
.
onconnect
=
e
=>
{
e
.
ports
[
0
].
postMessage
(
navigator
.
userAgent
);
};