Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.

Commit f05b70c

Browse files
sfuquajgraham
authored andcommitted
Minor documentation update.
1 parent e64b844 commit f05b70c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testharness.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,6 +1956,8 @@ policies and contribution forms [3].
19561956

19571957
if (is_service_worker(worker)) {
19581958
// Microsoft Edge's implementation of ServiceWorker's doesn't support MessagePort yet.
1959+
// Feature detection isn't a straightforward option here; it's only possible in the
1960+
// worker's script context.
19591961
const isMicrosoftEdgeBrowser = navigator.userAgent.includes("Edge");
19601962
if (window.MessageChannel && !isMicrosoftEdgeBrowser) {
19611963
// The ServiceWorker's implicit MessagePort is currently not

0 commit comments

Comments
 (0)