Bug 170777 - REGRESSION (r215242-215243): [ios-simulator] API test WebKit1.AudioSessionCategoryIOS is failing
Summary: REGRESSION (r215242-215243): [ios-simulator] API test WebKit1.AudioSessionCat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-12 10:23 PDT by Ryan Haddad
Modified: 2017-04-13 08:00 PDT (History)
4 users (show)

See Also:


Attachments
Proposed patch. (1.73 KB, patch)
2017-04-12 16:40 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch for landing. (1.78 KB, patch)
2017-04-12 16:58 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>