Skip to content

Commit ef682af

Browse files
Merge pull request #136 from w3c/event-phrasing
Simplify event firing using DOM phrasing
2 parents d5ef0b0 + 71924b2 commit ef682af

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

index.bs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,7 @@ The <dfn constructor for="RTCRtpScriptTransform" lt="RTCRtpScriptTransform(worke
365365
5. Set |transformer|.`[[options]]` to |transformerOptions|.
366366
6. Set |transformer|.`[[readable]]` to |readable|.
367367
7. Set |transformer|.`[[writable]]` to |writable|.
368-
8. Let |event| be the result of [=creating an event=] with {{RTCTransformEvent}}.
369-
9. Set |event|.type attribute to "rtctransform".
370-
10. Set |event|.transformer to |transformer|.
371-
11. Dispatch |event| on |worker|’s global scope.
368+
8. [=Fire an event=] named <dfn event for="DedicatedWorkerGlobalScope">rtctransform</dfn> using {{RTCTransformEvent}} with {{RTCTransformEvent/transformer}} set to |transformer| on |worker|’s global scope.
372369

373370
// FIXME: Describe error handling (worker closing flag true at RTCRtpScriptTransform creation time. And worker being terminated while transform is processing data).
374371

0 commit comments

Comments
 (0)