Skip to content

Commit

Permalink
Backed out changeset c2da041f4b00 (bug 1904059) for causing build bus…
Browse files Browse the repository at this point in the history
…tages WorkerPrivate.cpp CLOSED TREE

UltraBlame original commit: c8a25946ad59cac644038842428afe1c65e4de11
  • Loading branch information
marco-c committed Sep 26, 2024
1 parent 9b998ca commit 498b0f1
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 24 deletions.
95 changes: 80 additions & 15 deletions dom/workers/WorkerPrivate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3893,37 +3893,102 @@ JS
:
Rooted
<
JSObject
*
>
global
(
aCx
JS
:
:
Value
>
rval
CurrentGlobalOrNull
(
aCx
)
)
;
IgnoredErrorResult
rv
;
JS
:
:
Rooted
<
JS
:
:
Value
>
callable
(
aCx
JS
:
:
ObjectOrNullValue
(
mHandler
-
>
Call
CallableOrNull
(
{
}
&
)
)
)
;
JS
:
:
HandleValueArray
args
=
JS
:
:
HandleValueArray
:
:
empty
(
)
;
JS
:
:
Rooted
<
JS
:
:
Value
>
rval
rv
(
aCx
)
;
return
!
rv
/
/
WorkerRunnable
:
:
Run
will
report
the
exception
if
it
happens
.
Failed
return
JS_CallFunctionValue
(
aCx
global
callable
args
&
rval
)
;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ n
"
)
;
setImmediate
(
function
(
)
{
postMessage
(
"
Expand All @@ -29,6 +23,3 @@ ran
"
)
;
}
)
;

0 comments on commit 498b0f1

Please sign in to comment.