Commit 9331d00
Bail out from CallbackPromiseAdapter::OnErrorAdapter::OnError if context is not valid
This fixes a DCHECK() in case this is called in a detached context.
Bug: 398910931
Change-Id: Icf2a9b2e51facaa691e470b3af775a2d4253c6fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6307064
Reviewed-by: Nate Chapin <[email protected]>
Commit-Queue: Andrey Kosyakov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1425987}1 parent 7f70c01 commit 9331d00
File tree
1 file changed
+14
-0
lines changed- service-workers/service-worker
1 file changed
+14
-0
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments