Skip to content

Commit

Permalink
Mark Worker name option as available under android_webview (#22846)
Browse files Browse the repository at this point in the history
This was originally added as unavailable back in 2018 (#3049).  However,
testing using the android webview shell shows that it is working fine.

The test I used was:

```
new Worker(URL.createObjectURL(new Blob(["console.log('my name is ' + self.name)"], {type: 'application/javascript'})), {name: "foo"})
```

I ran this is DevTools and it printed `my name is foo`.
  • Loading branch information
sbc100 authored May 7, 2024
1 parent 7a0a314 commit 065f19e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/Worker.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,7 @@
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
}
"webview_android": "mirror"
},
"status": {
"experimental": false,
Expand Down

0 comments on commit 065f19e

Please sign in to comment.