Commit c393587
committed
Enable AudioSession Web API by default, but only a reduced subset
https://bugs.webkit.org/show_bug.cgi?id=250764
rdar://104381410
Reviewed by Eric Carlson.
Enable by default navigator.audioSession and navigator.audioSession.type but not the state/event API.
For that purpose, introduce a second flag for the extended API.
Update LayoutTests/media/audioSession/audioSessionType.html to cover the new flag.
Remove the flaky test expectations for two related audioSession tests since they are no longer flaky in bots.
* LayoutTests/media/audioSession/audioSessionType.html:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/audiosession/DOMAudioSession.idl:
Canonical link: https://commits.webkit.org/259074@main1 parent 892b93e commit c393587
File tree
4 files changed
+22
-10
lines changed- LayoutTests
- media/audioSession
- platform/mac-wk2
- Source
- WTF/Scripts/Preferences
- WebCore/Modules/audiosession
4 files changed
+22
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1808 | 1808 | | |
1809 | 1809 | | |
1810 | 1810 | | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
1510 | | - | |
1511 | | - | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
1512 | 1526 | | |
1513 | 1527 | | |
1514 | 1528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
0 commit comments