REGRESSION (r217078): window.ApplePaySession is undefined on macOS Sierra
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 16:16:52 +0000 (16:16 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 16:16:52 +0000 (16:16 +0000)
commite0bbec4ddcc85283cf1058e1bf0b1e904ee2eeb9
tree19b2dc739498b2763e2c043811fcef5bd87a63a9
parent3010865dbc255a8708902d8000fb4115e2f55846
REGRESSION (r217078): window.ApplePaySession is undefined on macOS Sierra
https://bugs.webkit.org/show_bug.cgi?id=172344

Reviewed by Tim Horton.

Source/WebCore:

r213673 mistakenly changed the ApplePaySession interface from being conditional on
APPLE_PAY to being conditional on APPLE_PAY_DELEGATE, so when r217078 disabled
APPLE_PAY_DELEGATE on Sierra and earlier it disabled ApplePaySession.

Fix this by reverting ApplePaySession to being conditional on APPLE_PAY.

Fixes http/tests/ssl/applepay/ApplePaySession.html

* Modules/applepay/ApplePaySession.idl:

LayoutTests:

* TestExpectations: Removed http/tests/ssl/applepay/ApplePaySession.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/ApplePaySession.idl