Title: [190438] trunk/LayoutTests
Revision
190438
Author
[email protected]
Date
2015-10-01 16:43:06 -0700 (Thu, 01 Oct 2015)

Log Message

Unreviewed test fix after r190434.
        
One test was not updated to pass the new required interruption type
argument to 'internals.beginMediaSessionInterruption'.

* webaudio/audiocontext-state-interrupted-expected.txt:
* webaudio/audiocontext-state-interrupted.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (190437 => 190438)


--- trunk/LayoutTests/ChangeLog	2015-10-01 23:34:09 UTC (rev 190437)
+++ trunk/LayoutTests/ChangeLog	2015-10-01 23:43:06 UTC (rev 190438)
@@ -1,3 +1,13 @@
+2015-10-01  Brent Fulgham  <[email protected]>
+
+        Unreviewed test fix after r190434.
+        
+        One test was not updated to pass the new required interruption type
+        argument to 'internals.beginMediaSessionInterruption'.
+
+        * webaudio/audiocontext-state-interrupted-expected.txt:
+        * webaudio/audiocontext-state-interrupted.html:
+
 2015-10-01  Eric Carlson  <[email protected]>
 
         [iOS] AirPlay should not stop when the screen locks

Modified: trunk/LayoutTests/webaudio/audiocontext-state-interrupted-expected.txt (190437 => 190438)


--- trunk/LayoutTests/webaudio/audiocontext-state-interrupted-expected.txt	2015-10-01 23:34:09 UTC (rev 190437)
+++ trunk/LayoutTests/webaudio/audiocontext-state-interrupted-expected.txt	2015-10-01 23:43:06 UTC (rev 190438)
@@ -8,7 +8,7 @@
 PASS context.state is "running"
 
 Test 1: resume() while interrupted is resolved after the interruption ends.
-internals.beginMediaSessionInterruption()
+internals.beginMediaSessionInterruption("System")
 EVENT statechange
 PASS context.state is "interrupted"
 internals.setMediaSessionRestrictions("WebAudio", "InterruptedPlaybackNotPermitted")
@@ -20,7 +20,7 @@
 PASS context.state is "running"
 
 Test 2: resume() while interrupted will cause interruption to end.
-internals.beginMediaSessionInterruption()
+internals.beginMediaSessionInterruption("System")
 EVENT statechange
 PASS context.state is "interrupted"
 internals.setMediaSessionRestrictions("WebAudio", "")
@@ -29,7 +29,7 @@
 PASS context.state is "running"
 
 Test 3: running AudioContexts will not resume after an interruption ends.
-internals.beginMediaSessionInterruption()
+internals.beginMediaSessionInterruption("System")
 EVENT statechange
 PASS context.state is "interrupted"
 internals.endMediaSessionInterruption("")
@@ -37,7 +37,7 @@
 PASS context.state is "suspended"
 
 Test 4: resume() while interrupted will not resume playback after an interruption.
-internals.beginMediaSessionInterruption()
+internals.beginMediaSessionInterruption("System")
 EVENT statechange
 PASS context.state is "interrupted"
 Calling context.resume()

Modified: trunk/LayoutTests/webaudio/audiocontext-state-interrupted.html (190437 => 190438)


--- trunk/LayoutTests/webaudio/audiocontext-state-interrupted.html	2015-10-01 23:34:09 UTC (rev 190437)
+++ trunk/LayoutTests/webaudio/audiocontext-state-interrupted.html	2015-10-01 23:43:06 UTC (rev 190438)
@@ -43,7 +43,7 @@
 
     context._onstatechange_ = firstInterruptionStarted;
     if (window.internals)
-        evalAndLog('internals.beginMediaSessionInterruption()');
+        evalAndLog('internals.beginMediaSessionInterruption("System")');
 
 }
 
@@ -74,7 +74,7 @@
 
     context._onstatechange_ = secondInterruptionStarted;
     if (window.internals)
-        evalAndLog('internals.beginMediaSessionInterruption()');
+        evalAndLog('internals.beginMediaSessionInterruption("System")');
 }
 
 function secondInterruptionStarted(e) {
@@ -98,7 +98,7 @@
 
     context._onstatechange_ = thirdInterruptionStarted;
     if (window.internals)
-        evalAndLog('internals.beginMediaSessionInterruption()');
+        evalAndLog('internals.beginMediaSessionInterruption("System")');
 }
 
 function thirdInterruptionStarted() {
@@ -119,7 +119,7 @@
 
     context._onstatechange_ = fourthInterruptionStarted;
     if (window.internals)
-        evalAndLog('internals.beginMediaSessionInterruption()');
+        evalAndLog('internals.beginMediaSessionInterruption("System")');
 }
 
 function fourthInterruptionStarted() {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to