Closed
Bug 1322858
Opened 9 years ago
Closed 9 years ago
Implement AudioWorkletGlobalScope
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
(Keywords: dev-doc-needed)
Attachments
(1 file, 1 obsolete file)
22.67 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
This is somehow needed for having AudioWorkletGlobalScope.
In our current implementation, WorkletGlobalScope is a global scope, but in the spec, it's not. There are other interfaces extending WorkletGlobalScope such as AudioWorkletGlobalScope, FakeWorkletGlobalScope and the houdini one.
With this bug I want to implement this FakeWorkletGlobalScope and improve our test cases.
Maybe, we can also make FakeWorkletGlobalScope to run in a different thread for testing the CC/GC.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → amarchesini
Attachment #8817829 -
Flags: review?(bugs)
Comment 2•9 years ago
|
||
Comment on attachment 8817829 [details] [diff] [review]
aw_0_fakeWorklet.patch
FakeWorklet stuff is in non-normative example section of the spec. Why would we want it?
https://drafts.css-houdini.org/worklets/#examples
I don't think we should to add this. Better would be to add the AudioWorkletGlobalScope, even if not all the features were implemented immediately. And of course behind some flag.
Attachment #8817829 -
Flags: review?(bugs) → review-
Assignee | ||
Updated•9 years ago
|
Summary: Implement FakeWorkletGlobalScope → Implement AudioWorkletGlobalScope
Assignee | ||
Comment 3•9 years ago
|
||
This is not going to be exposed to content soon.
But I need it in order to continue the AudioWorklet implementation.
Attachment #8817829 -
Attachment is obsolete: true
Attachment #8817977 -
Flags: review?(bugs)
Comment 4•9 years ago
|
||
Comment on attachment 8817977 [details] [diff] [review]
aw_W1_global.patch
ok, preliminary patch, and main thread only.
Attachment #8817977 -
Flags: review?(bugs) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ed5c93dfd7dd
Implement AudioWorkletGlobalScope - main-thread only - not meant to be exposed yet, r=smaug
Comment 6•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
![]() |
||
Comment 7•9 years ago
|
||
AudioWorkletGlobalScope.webidl claims the origin of the file is https://www.w3.org/TR/worklets-1/#fakeworkletglobalscope but that spec doesn't define AudioWorkletGlobalScope at all. Should that be linking to https://webaudio.github.io/web-audio-api/#AudioWorkletGlobalScope or something?
Flags: needinfo?(amarchesini)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(amarchesini)
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/84af9d1e82d1
Fix the URL of the AudioWorklet spec in webidl files, r=me
Comment 9•9 years ago
|
||
bugherder |
Updated•8 years ago
|
Blocks: audioworklet
Comment 10•7 years ago
|
||
FYI AudioWorkletGlobalScope specficiation has changed since this was shipped.
It now has the following new attributes:
readonly attribute unsigned long long currentFrame;
readonly attribute double currentTime;
readonly attribute float sampleRate;
I will update the webidl files as part of bug 1458446.
Updated•7 years ago
|
Keywords: dev-doc-needed
Comment 11•7 years ago
|
||
Documentation team note: AudioWorklet is currently not expected to ship enabled by default until sometime early in 2019. Given that and some things which are still in flux, we are holding off on documenting it until it’s closer to ready. See bug 1473176, “Document AudioWorklet”.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•5 years ago
|
Type: defect → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•