Bug 170777

Summary: REGRESSION (r215242-215243): [ios-simulator] API test WebKit1.AudioSessionCategoryIOS is failing
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch.
none
Patch for landing. none

Description Ryan Haddad 2017-04-12 10:23:07 PDT
[ios-simulator] API test WebKit1.AudioSessionCategoryIOS is failing

FAIL WebKit1.AudioSessionCategoryIOS

/Volumes/Data/slave/ios-simulator-10-release/build/Tools/TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:83
Value of: [[getAVAudioSessionClass() sharedInstance] category]
  Actual: "AVAudioSessionCategoryAmbient"
Expected: getAVAudioSessionCategoryPlayback()
Which is: "AVAudioSessionCategoryPlayback"

https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20%28Tests%29/builds/600
Comment 1 Ryan Haddad 2017-04-12 10:23:56 PDT
This regressed between r215239 and r215244
Comment 2 Ryan Haddad 2017-04-12 10:59:40 PDT
These changes were media related:
https://trac.webkit.org/changeset/215242/webkit
https://trac.webkit.org/changeset/215243/webkit
Comment 3 Radar WebKit Bug Importer 2017-04-12 16:32:33 PDT
<rdar://problem/31592877>
Comment 4 Eric Carlson 2017-04-12 16:40:04 PDT
Created attachment 306948 [details]
Proposed patch.
Comment 5 Eric Carlson 2017-04-12 16:58:06 PDT
Created attachment 306952 [details]
Patch for landing.
Comment 6 WebKit Commit Bot 2017-04-12 17:40:41 PDT
Comment on attachment 306952 [details]
Patch for landing.

Clearing flags on attachment: 306952

Committed r215309: <http://trac.webkit.org/changeset/215309>