Closed
Bug 1164814
Opened 11 years ago
Closed 10 years ago
AudioContext.currentTime is still increasing when suspended from the devtools
Categories
(Core :: Web Audio, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: duanyao.ustc, Assigned: padenot)
References
Details
Attachments
(1 file)
|
1009 bytes,
text/html
|
Details |
Steps to reproduce:
In devtool's console, run these codes:
var ac = new AudioContext;
ac.suspend();
// wait seconds
ac.currentTime; //1
// wait seconds
ac.currentTime; //2
Actual results:
AudioContext.currentTime keeps increasing while the context is suspended.
Expected results:
AudioContext.currentTime should keep the same after suspend().
According to the spec, suspend() should "Suspends the progression of time in the audio context" (http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise-void). Chrome 42 does suspend the progression of currentTime.
A clarification: you must not run the 2 lines at once, or suspend() has no effect because AudioContext is initially suspended:
var ac = new AudioContext;
ac.suspend();
You should run the 2 lines one by one in the console.
| Assignee | ||
Comment 2•11 years ago
|
||
This works as intended in web pages, but not in the console for some reason. See the attached test page.
| Assignee | ||
Comment 3•11 years ago
|
||
Assignee: nobody → padenot
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Updated•11 years ago
|
Summary: AudioContext.currentTime is still increasing while the context is suspended → AudioContext.currentTime is still increasing when suspended from the devtools
Updated•10 years ago
|
Priority: -- → P3
| Assignee | ||
Updated•10 years ago
|
Attachment #8610004 -
Attachment mime type: text/plain → text/html
| Assignee | ||
Comment 4•10 years ago
|
||
This has been fixed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•