<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[213673] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/213673">213673</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2017-03-09 14:34:52 -0800 (Thu, 09 Mar 2017)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add delegate support to WebCore
https://bugs.webkit.org/show_bug.cgi?id=169427
Part of rdar://problem/28880714.

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:
Add feature define.

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:
Add feature define.

* DerivedSources.make:
Add idl files.

* Modules/applepay/ApplePayError.cpp:
(WebCore::ApplePayError::create):
(WebCore::ApplePayError::ApplePayError):
(WebCore::ApplePayError::~ApplePayError):
* Modules/applepay/ApplePayError.h:
* Modules/applepay/ApplePayError.idl:
* Modules/applepay/ApplePayPaymentAuthorizationResult.h:
* Modules/applepay/ApplePayPaymentAuthorizationResult.idl:
* Modules/applepay/ApplePayPaymentMethodUpdate.h:
* Modules/applepay/ApplePayPaymentMethodUpdate.idl:
* Modules/applepay/ApplePayShippingContactUpdate.h:
* Modules/applepay/ApplePayShippingContactUpdate.idl:
* Modules/applepay/ApplePayShippingMethodUpdate.h:
* Modules/applepay/ApplePayShippingMethodUpdate.idl:
Add new files.

* Modules/applepay/ApplePaySession.cpp:
(WebCore::toPaymentAuthorizationStatus):
Move this function to the top.

(WebCore::convertAndValidate):
Add new convertAndValidate functions.

(WebCore::ApplePaySession::completeShippingMethodSelection):
(WebCore::ApplePaySession::completeShippingContactSelection):
(WebCore::ApplePaySession::completePaymentMethodSelection):
(WebCore::ApplePaySession::completePayment):
* Modules/applepay/ApplePaySession.h:
* Modules/applepay/ApplePaySession.idl:
Implement the old functions in terms of the new functions.

* Modules/applepay/PaymentCoordinator.cpp:
* WebCore.xcodeproj/project.pbxproj:
Add new files.

Source/WebCore/PAL:

* Configurations/FeatureDefines.xcconfig:
Add feature define.

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
Add feature define.

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
Add feature define.

Tools:

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePaySessioncpp">trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePaySessionh">trunk/Source/WebCore/Modules/applepay/ApplePaySession.h</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePaySessionidl">trunk/Source/WebCore/Modules/applepay/ApplePaySession.idl</a></li>
<li><a href="#trunkSourceWebCorePALChangeLog">trunk/Source/WebCore/PAL/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorePALConfigurationsFeatureDefinesxcconfig">trunk/Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsTestWebKitAPIConfigurationsFeatureDefinesxcconfig">trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayErrorcpp">trunk/Source/WebCore/Modules/applepay/ApplePayError.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayErrorh">trunk/Source/WebCore/Modules/applepay/ApplePayError.h</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayErroridl">trunk/Source/WebCore/Modules/applepay/ApplePayError.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayPaymentAuthorizationResulth">trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.h</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayPaymentAuthorizationResultidl">trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayPaymentMethodUpdateh">trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.h</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayPaymentMethodUpdateidl">trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayShippingContactUpdateh">trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.h</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayShippingContactUpdateidl">trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayShippingMethodUpdateh">trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.h</a></li>
<li><a href="#trunkSourceWebCoreModulesapplepayApplePayShippingMethodUpdateidl">trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/JavaScriptCore/ChangeLog        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2017-03-09  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add delegate support to WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=169427
+        Part of rdar://problem/28880714.
+
+        Reviewed by Geoffrey Garen.
+
+        * Configurations/FeatureDefines.xcconfig:
+        Add feature define.
+
</ins><span class="cx"> 2017-03-09  Nikita Vasilyev  &lt;nvasilyev@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: Show individual messages in the content pane for a WebSocket
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -35,6 +35,11 @@
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES;
</span><span class="cx"> 
</span><ins>+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES;
+
</ins><span class="cx"> ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
</span><span class="cx"> ENABLE_ACCELERATED_2D_CANVAS = ;
</span><span class="cx"> ENABLE_ACCELERATED_OVERFLOW_SCROLLING[sdk=iphone*] = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
</span><span class="lines">@@ -51,6 +56,18 @@
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_NO = ENABLE_APPLE_PAY;
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_YES = ;
</span><span class="cx"> 
</span><ins>+ENABLE_APPLE_PAY_DELEGATE[sdk=iphone*] = $(ENABLE_APPLE_PAY_DELEGATE_$(PLATFORM_NAME));
+ENABLE_APPLE_PAY_DELEGATE_iphoneos = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_iphonesimulator = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphoneos10*] = ;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphonesimulator10*] = ;
+
+DISABLE_APPLE_PAY_DELEGATE_macosx = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000);
+ENABLE_APPLE_PAY_DELEGATE[sdk=macosx*] = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_$(DISABLE_APPLE_PAY_macosx));
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_ = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO);
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_YES = ;
+
</ins><span class="cx"> ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
</span><span class="cx"> ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
</span><span class="cx"> ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
</span><span class="lines">@@ -233,4 +250,4 @@
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_NO = ENABLE_VARIATION_FONTS;
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_YES = ;
</span><span class="cx"> 
</span><del>-FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FTL_JIT
 ) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM)
  $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_
 WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</del><ins>+FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_DELEGATE) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_L
 OAD_EVENTS) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATIS
 TICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(
 ENABLE_WEB_TIMING) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/ChangeLog        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,3 +1,52 @@
</span><ins>+2017-03-09  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add delegate support to WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=169427
+        Part of rdar://problem/28880714.
+
+        Reviewed by Geoffrey Garen.
+
+        * Configurations/FeatureDefines.xcconfig:
+        Add feature define.
+
+        * DerivedSources.make:
+        Add idl files.
+
+        * Modules/applepay/ApplePayError.cpp:
+        (WebCore::ApplePayError::create):
+        (WebCore::ApplePayError::ApplePayError):
+        (WebCore::ApplePayError::~ApplePayError):
+        * Modules/applepay/ApplePayError.h:
+        * Modules/applepay/ApplePayError.idl:
+        * Modules/applepay/ApplePayPaymentAuthorizationResult.h:
+        * Modules/applepay/ApplePayPaymentAuthorizationResult.idl:
+        * Modules/applepay/ApplePayPaymentMethodUpdate.h:
+        * Modules/applepay/ApplePayPaymentMethodUpdate.idl:
+        * Modules/applepay/ApplePayShippingContactUpdate.h:
+        * Modules/applepay/ApplePayShippingContactUpdate.idl:
+        * Modules/applepay/ApplePayShippingMethodUpdate.h:
+        * Modules/applepay/ApplePayShippingMethodUpdate.idl:
+        Add new files.
+
+        * Modules/applepay/ApplePaySession.cpp:
+        (WebCore::toPaymentAuthorizationStatus):
+        Move this function to the top.
+
+        (WebCore::convertAndValidate):
+        Add new convertAndValidate functions.
+
+        (WebCore::ApplePaySession::completeShippingMethodSelection):
+        (WebCore::ApplePaySession::completeShippingContactSelection):
+        (WebCore::ApplePaySession::completePaymentMethodSelection):
+        (WebCore::ApplePaySession::completePayment):
+        * Modules/applepay/ApplePaySession.h:
+        * Modules/applepay/ApplePaySession.idl:
+        Implement the old functions in terms of the new functions.
+
+        * Modules/applepay/PaymentCoordinator.cpp:
+        * WebCore.xcodeproj/project.pbxproj:
+        Add new files.
+
</ins><span class="cx"> 2017-03-09  Yoav Weiss  &lt;yoav@yoav.ws&gt;
</span><span class="cx"> 
</span><span class="cx">         [link preload] Double downloads of preloaded CSS
</span></span></pre></div>
<a id="trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -35,6 +35,11 @@
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES;
</span><span class="cx"> 
</span><ins>+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES;
+
</ins><span class="cx"> ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
</span><span class="cx"> ENABLE_ACCELERATED_2D_CANVAS = ;
</span><span class="cx"> ENABLE_ACCELERATED_OVERFLOW_SCROLLING[sdk=iphone*] = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
</span><span class="lines">@@ -51,6 +56,18 @@
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_NO = ENABLE_APPLE_PAY;
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_YES = ;
</span><span class="cx"> 
</span><ins>+ENABLE_APPLE_PAY_DELEGATE[sdk=iphone*] = $(ENABLE_APPLE_PAY_DELEGATE_$(PLATFORM_NAME));
+ENABLE_APPLE_PAY_DELEGATE_iphoneos = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_iphonesimulator = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphoneos10*] = ;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphonesimulator10*] = ;
+
+DISABLE_APPLE_PAY_DELEGATE_macosx = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000);
+ENABLE_APPLE_PAY_DELEGATE[sdk=macosx*] = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_$(DISABLE_APPLE_PAY_macosx));
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_ = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO);
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_YES = ;
+
</ins><span class="cx"> ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
</span><span class="cx"> ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
</span><span class="cx"> ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
</span><span class="lines">@@ -233,4 +250,4 @@
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_NO = ENABLE_VARIATION_FONTS;
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_YES = ;
</span><span class="cx"> 
</span><del>-FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FTL_JIT
 ) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM)
  $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_
 WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</del><ins>+FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_DELEGATE) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_L
 OAD_EVENTS) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATIS
 TICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(
 ENABLE_WEB_TIMING) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</ins></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/DerivedSources.make        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -79,18 +79,23 @@
</span><span class="cx"> 
</span><span class="cx"> JS_BINDING_IDLS = \
</span><span class="cx">     $(WebCore)/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl \
</span><ins>+        $(WebCore)/Modules/applepay/ApplePayError.idl \
</ins><span class="cx">     $(WebCore)/Modules/applepay/ApplePayLineItem.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPayment.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPaymentAuthorizedEvent.idl \
</span><ins>+        $(WebCore)/Modules/applepay/ApplePayPaymentAuthorizationResult.idl \
</ins><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPaymentContact.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPaymentMethod.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPaymentMethodSelectedEvent.idl \
</span><ins>+        $(WebCore)/Modules/applepay/ApplePayPaymentMethodUpdate.idl \
</ins><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPaymentPass.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayPaymentRequest.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePaySession.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayShippingContactSelectedEvent.idl \
</span><ins>+        $(WebCore)/Modules/applepay/ApplePayShippingContactUpdate.idl \
</ins><span class="cx">     $(WebCore)/Modules/applepay/ApplePayShippingMethod.idl \
</span><span class="cx">     $(WebCore)/Modules/applepay/ApplePayShippingMethodSelectedEvent.idl \
</span><ins>+        $(WebCore)/Modules/applepay/ApplePayShippingMethodUpdate.idl \
</ins><span class="cx">     $(WebCore)/Modules/applepay/ApplePayValidateMerchantEvent.idl \
</span><span class="cx">     $(WebCore)/Modules/credentials/BasicCredential.idl \
</span><span class="cx">     $(WebCore)/Modules/credentials/CredentialData.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayErrorcpp"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayError.cpp (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayError.cpp                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayError.cpp        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;ApplePayError.h&quot;
+
+#if ENABLE(APPLE_PAY)
+
+namespace WebCore {
+
+Ref&lt;ApplePayError&gt; ApplePayError::create(Code code, const String&amp; message, std::optional&lt;ContactField&gt; contactField)
+{
+    return adoptRef(*new ApplePayError { code, message, contactField });
+}
+
+ApplePayError::ApplePayError(Code code, const String&amp; message, std::optional&lt;ContactField&gt; contactField)
+    : m_code { code }
+    , m_message { message }
+    , m_contactField { contactField }
+{
+}
+
+ApplePayError::~ApplePayError()
+{
+}
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayErrorh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayError.h (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayError.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayError.h        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#if ENABLE(APPLE_PAY)
+
+#include &quot;PaymentRequest.h&quot;
+#include &lt;wtf/RefCounted.h&gt;
+#include &lt;wtf/text/WTFString.h&gt;
+
+namespace WebCore {
+
+class ApplePayError final : public RefCounted&lt;ApplePayError&gt; {
+public:
+    using Code = PaymentError::Code;
+    using ContactField = PaymentError::ContactField;
+
+    static Ref&lt;ApplePayError&gt; create(Code, const String&amp; message, std::optional&lt;ContactField&gt;);
+    virtual ~ApplePayError();
+
+    Code code() const { return m_code; }
+    void setCode(Code code) { m_code = code; }
+
+    String message() const { return m_message; }
+    void setMessage(String&amp;&amp; message) { m_message = WTFMove(message); }
+
+    std::optional&lt;ContactField&gt; contactField() const { return m_contactField; }
+    void setContactField(std::optional&lt;ContactField&gt; contactField) { m_contactField = contactField; }
+
+private:
+    ApplePayError(Code, const String&amp; message, std::optional&lt;ContactField&gt;);
+
+    Code m_code;
+    String m_message;
+    std::optional&lt;ContactField&gt; m_contactField;
+};
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayErroridl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayError.idl (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayError.idl                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayError.idl        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Conditional=APPLE_PAY_DELEGATE,
+] enum ApplePayErrorCode {
+    &quot;unknown&quot;,
+    &quot;shippingContactInvalid&quot;,
+    &quot;billingContactInvalid&quot;,
+    &quot;addressUnservicable&quot;
+};
+
+[
+    Conditional=APPLE_PAY_DELEGATE,
+] enum ApplePayErrorContactField {
+    &quot;phoneNumber&quot;,
+    &quot;emailAddress&quot;,
+    &quot;givenName&quot;,
+    &quot;familyName&quot;,
+    &quot;addressLines&quot;,
+    &quot;locality&quot;,
+    &quot;postalCode&quot;,
+    &quot;administrativeArea&quot;,
+    &quot;country&quot;,
+    &quot;countryCode&quot;
+};
+
+[
+    Constructor(ApplePayErrorCode errorCode, optional DOMString message = &quot;&quot;, optional ApplePayErrorContactField contactField),
+    Conditional=APPLE_PAY,
+] interface ApplePayError {
+    attribute ApplePayErrorCode code;
+    attribute DOMString message;
+
+    attribute ApplePayErrorContactField? contactField;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayPaymentAuthorizationResulth"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.h (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.h        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#if ENABLE(APPLE_PAY)
+
+#include &quot;ApplePayError.h&quot;
+#include &lt;wtf/Vector.h&gt;
+
+namespace WebCore {
+
+struct ApplePayPaymentAuthorizationResult {
+    unsigned short status;
+    Vector&lt;RefPtr&lt;ApplePayError&gt;&gt; errors;
+};
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayPaymentAuthorizationResultidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.idl (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.idl                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizationResult.idl        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Conditional=APPLE_PAY_DELEGATE,
+] dictionary ApplePayPaymentAuthorizationResult {
+    required unsigned short status;
+    sequence&lt;ApplePayError&gt; errors;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayPaymentMethodUpdateh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.h (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.h        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#if ENABLE(APPLE_PAY)
+
+#include &quot;ApplePayLineItem.h&quot;
+
+namespace WebCore {
+
+struct ApplePayPaymentMethodUpdate {
+    unsigned short status;
+
+    ApplePayLineItem newTotal;
+    Vector&lt;ApplePayLineItem&gt; newLineItems;
+};
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayPaymentMethodUpdateidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.idl (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.idl                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayPaymentMethodUpdate.idl        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Conditional=APPLE_PAY_DELEGATE,
+] dictionary ApplePayPaymentMethodUpdate {
+    required unsigned short status;
+
+    required ApplePayLineItem newTotal;
+    sequence&lt;ApplePayLineItem&gt; newLineItems;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePaySessioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -29,12 +29,16 @@
</span><span class="cx"> #if ENABLE(APPLE_PAY)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ApplePayLineItem.h&quot;
</span><ins>+#include &quot;ApplePayPaymentAuthorizationResult.h&quot;
</ins><span class="cx"> #include &quot;ApplePayPaymentAuthorizedEvent.h&quot;
</span><span class="cx"> #include &quot;ApplePayPaymentMethodSelectedEvent.h&quot;
</span><ins>+#include &quot;ApplePayPaymentMethodUpdate.h&quot;
</ins><span class="cx"> #include &quot;ApplePayPaymentRequest.h&quot;
</span><span class="cx"> #include &quot;ApplePayShippingContactSelectedEvent.h&quot;
</span><ins>+#include &quot;ApplePayShippingContactUpdate.h&quot;
</ins><span class="cx"> #include &quot;ApplePayShippingMethod.h&quot;
</span><span class="cx"> #include &quot;ApplePayShippingMethodSelectedEvent.h&quot;
</span><ins>+#include &quot;ApplePayShippingMethodUpdate.h&quot;
</ins><span class="cx"> #include &quot;ApplePayValidateMerchantEvent.h&quot;
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;DocumentLoader.h&quot;
</span><span class="lines">@@ -376,6 +380,140 @@
</span><span class="cx">     return WTFMove(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+
+static std::optional&lt;PaymentAuthorizationStatus&gt; toPaymentAuthorizationStatus(unsigned short status)
+{
+    switch (status) {
+    case ApplePaySession::STATUS_SUCCESS:
+        return PaymentAuthorizationStatus::Success;
+
+    case ApplePaySession::STATUS_FAILURE:
+        return PaymentAuthorizationStatus::Failure;
+
+    case ApplePaySession::STATUS_INVALID_BILLING_POSTAL_ADDRESS:
+        return PaymentAuthorizationStatus::InvalidBillingPostalAddress;
+
+    case ApplePaySession::STATUS_INVALID_SHIPPING_POSTAL_ADDRESS:
+        return PaymentAuthorizationStatus::InvalidShippingPostalAddress;
+
+    case ApplePaySession::STATUS_INVALID_SHIPPING_CONTACT:
+        return PaymentAuthorizationStatus::InvalidShippingContact;
+
+    case ApplePaySession::STATUS_PIN_REQUIRED:
+        return PaymentAuthorizationStatus::PINRequired;
+
+    case ApplePaySession::STATUS_PIN_INCORRECT:
+        return PaymentAuthorizationStatus::PINIncorrect;
+
+    case ApplePaySession::STATUS_PIN_LOCKOUT:
+        return PaymentAuthorizationStatus::PINLockout;
+
+    default:
+        return std::nullopt;
+    }
+}
+
+static ExceptionOr&lt;PaymentAuthorizationResult&gt; convertAndValidate(ApplePayPaymentAuthorizationResult&amp;&amp; result)
+{
+    PaymentAuthorizationResult convertedResult;
+
+    auto authorizationStatus = toPaymentAuthorizationStatus(result.status);
+    if (!authorizationStatus)
+        return Exception { INVALID_ACCESS_ERR };
+    convertedResult.status = *authorizationStatus;
+
+    return WTFMove(convertedResult);
+}
+
+static ExceptionOr&lt;PaymentMethodUpdate&gt; convertAndValidate(ApplePayPaymentMethodUpdate&amp;&amp; update)
+{
+    PaymentMethodUpdate convertedUpdate;
+
+    auto authorizationStatus = toPaymentAuthorizationStatus(update.status);
+    if (!authorizationStatus)
+        return Exception { INVALID_ACCESS_ERR };
+    convertedUpdate.status = *authorizationStatus;
+
+    auto convertedNewTotal = convertAndValidateTotal(WTFMove(update.newTotal));
+    if (convertedNewTotal.hasException())
+        return convertedNewTotal.releaseException();
+    convertedUpdate.newTotalAndLineItems.total = convertedNewTotal.releaseReturnValue();
+
+    // FIXME: Merge this validation into the validation we are doing above.
+    auto validatedTotal = PaymentRequestValidator::validateTotal(convertedUpdate.newTotalAndLineItems.total);
+    if (validatedTotal.hasException())
+        return validatedTotal.releaseException();
+
+    auto convertedNewLineItems = convertAndValidate(WTFMove(update.newLineItems));
+    if (convertedNewLineItems.hasException())
+        return convertedNewLineItems.releaseException();
+
+    convertedUpdate.newTotalAndLineItems.lineItems = convertedNewLineItems.releaseReturnValue();
+
+    return WTFMove(convertedUpdate);
+}
+
+static ExceptionOr&lt;ShippingContactUpdate&gt; convertAndValidate(ApplePayShippingContactUpdate&amp;&amp; update)
+{
+    ShippingContactUpdate convertedUpdate;
+
+    auto authorizationStatus = toPaymentAuthorizationStatus(update.status);
+    if (!authorizationStatus)
+        return Exception { INVALID_ACCESS_ERR };
+    convertedUpdate.status = *authorizationStatus;
+
+    auto convertedNewShippingMethods = convertAndValidate(WTFMove(update.newShippingMethods));
+    if (convertedNewShippingMethods.hasException())
+        return convertedNewShippingMethods.releaseException();
+    convertedUpdate.newShippingMethods = convertedNewShippingMethods.releaseReturnValue();
+
+    auto convertedNewTotal = convertAndValidateTotal(WTFMove(update.newTotal));
+    if (convertedNewTotal.hasException())
+        return convertedNewTotal.releaseException();
+    convertedUpdate.newTotalAndLineItems.total = convertedNewTotal.releaseReturnValue();
+
+    // FIXME: Merge this validation into the validation we are doing above.
+    auto validatedTotal = PaymentRequestValidator::validateTotal(convertedUpdate.newTotalAndLineItems.total);
+    if (validatedTotal.hasException())
+        return validatedTotal.releaseException();
+
+    auto convertedNewLineItems = convertAndValidate(WTFMove(update.newLineItems));
+    if (convertedNewLineItems.hasException())
+        return convertedNewLineItems.releaseException();
+    convertedUpdate.newTotalAndLineItems.lineItems = convertedNewLineItems.releaseReturnValue();
+
+    return WTFMove(convertedUpdate);
+}
+
+static ExceptionOr&lt;ShippingMethodUpdate&gt; convertAndValidate(ApplePayShippingMethodUpdate&amp;&amp; update)
+{
+    ShippingMethodUpdate convertedUpdate;
+
+    auto authorizationStatus = toPaymentAuthorizationStatus(update.status);
+    if (!authorizationStatus)
+        return Exception { INVALID_ACCESS_ERR };
+    convertedUpdate.status = *authorizationStatus;
+
+    auto convertedNewTotal = convertAndValidateTotal(WTFMove(update.newTotal));
+    if (convertedNewTotal.hasException())
+        return convertedNewTotal.releaseException();
+
+    convertedUpdate.newTotalAndLineItems.total = convertedNewTotal.releaseReturnValue();
+
+    // FIXME: Merge this validation into the validation we are doing above.
+    auto validatedTotal = PaymentRequestValidator::validateTotal(convertedUpdate.newTotalAndLineItems.total);
+    if (validatedTotal.hasException())
+        return validatedTotal.releaseException();
+
+    auto convertedNewLineItems = convertAndValidate(WTFMove(update.newLineItems));
+    if (convertedNewLineItems.hasException())
+        return convertedNewLineItems.releaseException();
+
+    convertedUpdate.newTotalAndLineItems.lineItems = convertedNewLineItems.releaseReturnValue();
+
+    return WTFMove(convertedUpdate);
+}
+
</ins><span class="cx"> static bool isSecure(DocumentLoader&amp; documentLoader)
</span><span class="cx"> {
</span><span class="cx">     if (!documentLoader.response().url().protocolIs(&quot;https&quot;))
</span><span class="lines">@@ -586,165 +724,65 @@
</span><span class="cx">     return { };
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static std::optional&lt;PaymentAuthorizationStatus&gt; toPaymentAuthorizationStatus(unsigned short status)
</del><ins>+ExceptionOr&lt;void&gt; ApplePaySession::completeShippingMethodSelection(ApplePayShippingMethodUpdate&amp;&amp; update)
</ins><span class="cx"> {
</span><del>-    switch (status) {
-    case ApplePaySession::STATUS_SUCCESS:
-        return PaymentAuthorizationStatus::Success;
-
-    case ApplePaySession::STATUS_FAILURE:
-        return PaymentAuthorizationStatus::Failure;
-
-    case ApplePaySession::STATUS_INVALID_BILLING_POSTAL_ADDRESS:
-        return PaymentAuthorizationStatus::InvalidBillingPostalAddress;
-
-    case ApplePaySession::STATUS_INVALID_SHIPPING_POSTAL_ADDRESS:
-        return PaymentAuthorizationStatus::InvalidShippingPostalAddress;
-
-    case ApplePaySession::STATUS_INVALID_SHIPPING_CONTACT:
-        return PaymentAuthorizationStatus::InvalidShippingContact;
-
-    case ApplePaySession::STATUS_PIN_REQUIRED:
-        return PaymentAuthorizationStatus::PINRequired;
-
-    case ApplePaySession::STATUS_PIN_INCORRECT:
-        return PaymentAuthorizationStatus::PINIncorrect;
-
-    case ApplePaySession::STATUS_PIN_LOCKOUT:
-        return PaymentAuthorizationStatus::PINLockout;
-
-    default:
-        return std::nullopt;
-    }
-}
-
-ExceptionOr&lt;void&gt; ApplePaySession::completeShippingMethodSelection(unsigned short status, ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems)
-{
</del><span class="cx">     if (!canCompleteShippingMethodSelection())
</span><span class="cx">         return Exception { INVALID_ACCESS_ERR };
</span><span class="cx"> 
</span><del>-    auto authorizationStatus = toPaymentAuthorizationStatus(status);
-    if (!authorizationStatus)
-        return Exception { INVALID_ACCESS_ERR };
</del><ins>+    auto convertedUpdate = convertAndValidate(WTFMove(update));
+    if (convertedUpdate.hasException())
+        return convertedUpdate.releaseException();
</ins><span class="cx"> 
</span><del>-    auto convertedNewTotal = convertAndValidateTotal(WTFMove(newTotal));
-    if (convertedNewTotal.hasException())
-        return convertedNewTotal.releaseException();
-
-    PaymentRequest::TotalAndLineItems totalAndLineItems;
-    totalAndLineItems.total = convertedNewTotal.releaseReturnValue();
-
-    // FIXME: Merge this validation into the validation we are doing above.
-    auto validatedTotal = PaymentRequestValidator::validateTotal(totalAndLineItems.total);
-    if (validatedTotal.hasException())
-        return validatedTotal.releaseException();
-
-    auto convertedNewLineItems = convertAndValidate(WTFMove(newLineItems));
-    if (convertedNewLineItems.hasException())
-        return convertedNewLineItems.releaseException();
-
-    totalAndLineItems.lineItems = convertedNewLineItems.releaseReturnValue();
-
-    ShippingMethodUpdate update;
-    update.status = *authorizationStatus;
-    update.newTotalAndLineItems = WTFMove(totalAndLineItems);
-
</del><span class="cx">     m_state = State::Active;
</span><del>-    paymentCoordinator().completeShippingMethodSelection(WTFMove(update));
</del><ins>+    paymentCoordinator().completeShippingMethodSelection(convertedUpdate.releaseReturnValue());
</ins><span class="cx"> 
</span><span class="cx">     return { };
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ExceptionOr&lt;void&gt; ApplePaySession::completeShippingContactSelection(unsigned short status, Vector&lt;ApplePayShippingMethod&gt;&amp;&amp; newShippingMethods, ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems)
</del><ins>+ExceptionOr&lt;void&gt; ApplePaySession::completeShippingContactSelection(ApplePayShippingContactUpdate&amp;&amp; update)
</ins><span class="cx"> {
</span><span class="cx">     if (!canCompleteShippingContactSelection())
</span><span class="cx">         return Exception { INVALID_ACCESS_ERR };
</span><span class="cx"> 
</span><del>-    auto authorizationStatus = toPaymentAuthorizationStatus(status);
-    if (!authorizationStatus)
-        return Exception { INVALID_ACCESS_ERR };
</del><ins>+    auto convertedUpdate = convertAndValidate(WTFMove(update));
+    if (convertedUpdate.hasException())
+        return convertedUpdate.releaseException();
</ins><span class="cx"> 
</span><del>-    auto convertedNewShippingMethods = convertAndValidate(WTFMove(newShippingMethods));
-    if (convertedNewShippingMethods.hasException())
-        return convertedNewShippingMethods.releaseException();
-
-    auto convertedNewTotal = convertAndValidateTotal(WTFMove(newTotal));
-    if (convertedNewTotal.hasException())
-        return convertedNewTotal.releaseException();
-
-    PaymentRequest::TotalAndLineItems totalAndLineItems;
-    totalAndLineItems.total = convertedNewTotal.releaseReturnValue();
-
-    // FIXME: Merge this validation into the validation we are doing above.
-    auto validatedTotal = PaymentRequestValidator::validateTotal(totalAndLineItems.total);
-    if (validatedTotal.hasException())
-        return validatedTotal.releaseException();
-
-    auto convertedNewLineItems = convertAndValidate(WTFMove(newLineItems));
-    if (convertedNewLineItems.hasException())
-        return convertedNewLineItems.releaseException();
-
-    totalAndLineItems.lineItems = convertedNewLineItems.releaseReturnValue();
-
-    ShippingContactUpdate update;
-    update.status = *authorizationStatus;
-    update.newShippingMethods = convertedNewShippingMethods.releaseReturnValue();
-    update.newTotalAndLineItems = WTFMove(totalAndLineItems);
-
</del><span class="cx">     m_state = State::Active;
</span><del>-    paymentCoordinator().completeShippingContactSelection(WTFMove(update));
</del><ins>+    paymentCoordinator().completeShippingContactSelection(convertedUpdate.releaseReturnValue());
</ins><span class="cx"> 
</span><span class="cx">     return { };
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ExceptionOr&lt;void&gt; ApplePaySession::completePaymentMethodSelection(ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems)
</del><ins>+ExceptionOr&lt;void&gt; ApplePaySession::completePaymentMethodSelection(ApplePayPaymentMethodUpdate&amp;&amp; update)
</ins><span class="cx"> {
</span><span class="cx">     if (!canCompletePaymentMethodSelection())
</span><span class="cx">         return Exception { INVALID_ACCESS_ERR };
</span><span class="cx"> 
</span><del>-    auto convertedNewTotal = convertAndValidateTotal(WTFMove(newTotal));
-    if (convertedNewTotal.hasException())
-        return convertedNewTotal.releaseException();
</del><ins>+    auto convertedUpdate = convertAndValidate(WTFMove(update));
+    if (convertedUpdate.hasException())
+        return convertedUpdate.releaseException();
</ins><span class="cx"> 
</span><del>-    PaymentRequest::TotalAndLineItems totalAndLineItems;
-    totalAndLineItems.total = convertedNewTotal.releaseReturnValue();
-
-    // FIXME: Merge this validation into the validation we are doing above.
-    auto validatedTotal = PaymentRequestValidator::validateTotal(totalAndLineItems.total);
-    if (validatedTotal.hasException())
-        return validatedTotal.releaseException();
-
-    auto convertedNewLineItems = convertAndValidate(WTFMove(newLineItems));
-    if (convertedNewLineItems.hasException())
-        return convertedNewLineItems.releaseException();
-
-    totalAndLineItems.lineItems = convertedNewLineItems.releaseReturnValue();
-
-    PaymentMethodUpdate update;
-    update.status = PaymentAuthorizationStatus::Success;
-    update.newTotalAndLineItems = WTFMove(totalAndLineItems);
-
</del><span class="cx">     m_state = State::Active;
</span><del>-    paymentCoordinator().completePaymentMethodSelection(WTFMove(update));
</del><ins>+    paymentCoordinator().completePaymentMethodSelection(convertedUpdate.releaseReturnValue());
</ins><span class="cx"> 
</span><span class="cx">     return { };
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ExceptionOr&lt;void&gt; ApplePaySession::completePayment(unsigned short status)
</del><ins>+ExceptionOr&lt;void&gt; ApplePaySession::completePayment(ApplePayPaymentAuthorizationResult&amp;&amp; result)
</ins><span class="cx"> {
</span><span class="cx">     if (!canCompletePayment())
</span><span class="cx">         return Exception { INVALID_ACCESS_ERR };
</span><span class="cx"> 
</span><del>-    auto authorizationStatus = toPaymentAuthorizationStatus(status);
-    if (!authorizationStatus)
-        return Exception { INVALID_ACCESS_ERR };
</del><ins>+    auto convertedResult = convertAndValidate(WTFMove(result));
+    if (convertedResult.hasException())
+        return convertedResult.releaseException();
</ins><span class="cx"> 
</span><del>-    PaymentAuthorizationResult result;
-    result.status = *authorizationStatus;
</del><ins>+    auto authorizationStatus = convertedResult.releaseReturnValue().status;
</ins><span class="cx"> 
</span><del>-    paymentCoordinator().completePaymentSession(WTFMove(result));
</del><ins>+    paymentCoordinator().completePaymentSession(convertedResult.releaseReturnValue());
</ins><span class="cx"> 
</span><del>-    if (!isFinalStateStatus(*authorizationStatus)) {
</del><ins>+    if (!isFinalStateStatus(authorizationStatus)) {
</ins><span class="cx">         m_state = State::Active;
</span><span class="cx">         return { };
</span><span class="cx">     }
</span><span class="lines">@@ -751,9 +789,52 @@
</span><span class="cx"> 
</span><span class="cx">     m_state = State::Completed;
</span><span class="cx">     unsetPendingActivity(this);
</span><ins>+
</ins><span class="cx">     return { };
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+ExceptionOr&lt;void&gt; ApplePaySession::completeShippingMethodSelection(unsigned short status, ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems)
+{
+    ApplePayShippingMethodUpdate update;
+
+    update.status = status;
+    update.newTotal = WTFMove(newTotal);
+    update.newLineItems = WTFMove(newLineItems);
+
+    return completeShippingMethodSelection(WTFMove(update));
+}
+
+ExceptionOr&lt;void&gt; ApplePaySession::completeShippingContactSelection(unsigned short status, Vector&lt;ApplePayShippingMethod&gt;&amp;&amp; newShippingMethods, ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems)
+{
+    ApplePayShippingContactUpdate update;
+
+    update.status = status;
+    update.newShippingMethods = WTFMove(newShippingMethods);
+    update.newTotal = WTFMove(newTotal);
+    update.newLineItems = WTFMove(newLineItems);
+
+    return completeShippingContactSelection(WTFMove(update));
+}
+
+ExceptionOr&lt;void&gt; ApplePaySession::completePaymentMethodSelection(ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems)
+{
+    ApplePayPaymentMethodUpdate update;
+
+    update.status = STATUS_SUCCESS;
+    update.newTotal = WTFMove(newTotal);
+    update.newLineItems = WTFMove(newLineItems);
+
+    return completePaymentMethodSelection(WTFMove(update));
+}
+
+ExceptionOr&lt;void&gt; ApplePaySession::completePayment(unsigned short status)
+{
+    ApplePayPaymentAuthorizationResult result;
+    result.status = status;
+
+    return completePayment(WTFMove(result));
+}
+
</ins><span class="cx"> void ApplePaySession::validateMerchant(const URL&amp; validationURL)
</span><span class="cx"> {
</span><span class="cx">     if (m_state == State::Aborted) {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePaySessionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySession.h (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePaySession.h        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySession.h        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -48,10 +48,14 @@
</span><span class="cx"> class PaymentCoordinator;
</span><span class="cx"> class PaymentMethod;
</span><span class="cx"> class URL;
</span><del>-
</del><ins>+enum class PaymentAuthorizationStatus;
</ins><span class="cx"> struct ApplePayLineItem;
</span><span class="cx"> struct ApplePayPaymentRequest;
</span><span class="cx"> struct ApplePayShippingMethod;
</span><ins>+struct ApplePayPaymentAuthorizationResult;
+struct ApplePayPaymentMethodUpdate;
+struct ApplePayShippingContactUpdate;
+struct ApplePayShippingMethodUpdate;
</ins><span class="cx"> 
</span><span class="cx"> class ApplePaySession final : public RefCounted&lt;ApplePaySession&gt;, public ActiveDOMObject, public EventTargetWithInlineData {
</span><span class="cx"> public:
</span><span class="lines">@@ -75,6 +79,12 @@
</span><span class="cx">     ExceptionOr&lt;void&gt; begin();
</span><span class="cx">     ExceptionOr&lt;void&gt; abort();
</span><span class="cx">     ExceptionOr&lt;void&gt; completeMerchantValidation(JSC::ExecState&amp;, JSC::JSValue merchantSession);
</span><ins>+    ExceptionOr&lt;void&gt; completeShippingMethodSelection(ApplePayShippingMethodUpdate&amp;&amp;);
+    ExceptionOr&lt;void&gt; completeShippingContactSelection(ApplePayShippingContactUpdate&amp;&amp;);
+    ExceptionOr&lt;void&gt; completePaymentMethodSelection(ApplePayPaymentMethodUpdate&amp;&amp;);
+    ExceptionOr&lt;void&gt; completePayment(ApplePayPaymentAuthorizationResult&amp;&amp;);
+
+    // Old functions.
</ins><span class="cx">     ExceptionOr&lt;void&gt; completeShippingMethodSelection(unsigned short status, ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems);
</span><span class="cx">     ExceptionOr&lt;void&gt; completeShippingContactSelection(unsigned short status, Vector&lt;ApplePayShippingMethod&gt;&amp;&amp; newShippingMethods, ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems);
</span><span class="cx">     ExceptionOr&lt;void&gt; completePaymentMethodSelection(ApplePayLineItem&amp;&amp; newTotal, Vector&lt;ApplePayLineItem&gt;&amp;&amp; newLineItems);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePaySessionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySession.idl (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePaySession.idl        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySession.idl        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*
</span><del>- * Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2015-2017 Apple Inc. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -25,7 +25,7 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     ActiveDOMObject,
</span><del>-    Conditional=APPLE_PAY,
</del><ins>+    Conditional=APPLE_PAY_DELEGATE,
</ins><span class="cx">     Constructor(unsigned long version, ApplePayPaymentRequest paymentRequest),
</span><span class="cx">     ConstructorCallWith=Document,
</span><span class="cx">     ConstructorMayThrowException,
</span><span class="lines">@@ -48,6 +48,11 @@
</span><span class="cx">     [MayThrowException] void begin();
</span><span class="cx">     [MayThrowException] void abort();
</span><span class="cx">     [MayThrowException, CallWith=ScriptState] void completeMerchantValidation(any merchantSession);
</span><ins>+    [MayThrowException, Conditional=APPLE_PAY_DELEGATE] void completeShippingMethodSelection(ApplePayShippingMethodUpdate update);
+    [MayThrowException, Conditional=APPLE_PAY_DELEGATE] void completeShippingContactSelection(ApplePayShippingContactUpdate update);
+    [MayThrowException, Conditional=APPLE_PAY_DELEGATE] void completePaymentMethodSelection(ApplePayPaymentMethodUpdate update);
+    [MayThrowException, Conditional=APPLE_PAY_DELEGATE] void completePayment(ApplePayPaymentAuthorizationResult result);
+
</ins><span class="cx">     [MayThrowException] void completeShippingMethodSelection(unsigned short status, ApplePayLineItem newTotal, sequence&lt;ApplePayLineItem&gt; newLineItems);
</span><span class="cx">     [MayThrowException] void completeShippingContactSelection(unsigned short status, sequence&lt;ApplePayShippingMethod&gt; newShippingMethods, ApplePayLineItem newTotal, sequence&lt;ApplePayLineItem&gt; newLineItems);
</span><span class="cx">     [MayThrowException] void completePaymentMethodSelection(ApplePayLineItem newTotal, sequence&lt;ApplePayLineItem&gt; newLineItems);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayShippingContactUpdateh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.h (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.h        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#if ENABLE(APPLE_PAY)
+
+#include &quot;ApplePayError.h&quot;
+#include &quot;ApplePayLineItem.h&quot;
+#include &quot;ApplePayShippingMethod.h&quot;
+
+namespace WebCore {
+
+struct ApplePayShippingContactUpdate {
+    unsigned short status;
+    Vector&lt;RefPtr&lt;ApplePayError&gt;&gt; errors;
+
+    Vector&lt;ApplePayShippingMethod&gt; newShippingMethods;
+    ApplePayLineItem newTotal;
+    Vector&lt;ApplePayLineItem&gt; newLineItems;
+};
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayShippingContactUpdateidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.idl (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.idl                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayShippingContactUpdate.idl        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Conditional=APPLE_PAY_DELEGATE,
+] dictionary ApplePayShippingContactUpdate {
+    required unsigned short status;
+    sequence&lt;ApplePayError&gt; errors;
+
+    sequence&lt;ApplePayShippingMethod&gt; newShippingMethods;
+    required ApplePayLineItem newTotal;
+    sequence&lt;ApplePayLineItem&gt; newLineItems;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayShippingMethodUpdateh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.h (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.h        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#if ENABLE(APPLE_PAY)
+
+#include &quot;ApplePayLineItem.h&quot;
+
+namespace WebCore {
+
+struct ApplePayShippingMethodUpdate {
+    unsigned short status;
+
+    ApplePayLineItem newTotal;
+    Vector&lt;ApplePayLineItem&gt; newLineItems;
+};
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesapplepayApplePayShippingMethodUpdateidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.idl (0 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.idl                                (rev 0)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayShippingMethodUpdate.idl        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Conditional=APPLE_PAY_DELEGATE,
+] dictionary ApplePayShippingMethodUpdate {
+    required unsigned short status;
+
+    required ApplePayLineItem newTotal;
+    sequence&lt;ApplePayLineItem&gt; newLineItems;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCorePALChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PAL/ChangeLog (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PAL/ChangeLog        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/PAL/ChangeLog        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2017-03-09  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add delegate support to WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=169427
+        Part of rdar://problem/28880714.
+
+        Reviewed by Geoffrey Garen.
+
+        * Configurations/FeatureDefines.xcconfig:
+        Add feature define.
+
</ins><span class="cx"> 2017-03-07  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Some platforms won't be able to create a GPUDevice
</span></span></pre></div>
<a id="trunkSourceWebCorePALConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -35,6 +35,11 @@
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES;
</span><span class="cx"> 
</span><ins>+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES;
+
</ins><span class="cx"> ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
</span><span class="cx"> ENABLE_ACCELERATED_2D_CANVAS = ;
</span><span class="cx"> ENABLE_ACCELERATED_OVERFLOW_SCROLLING[sdk=iphone*] = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
</span><span class="lines">@@ -51,6 +56,18 @@
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_NO = ENABLE_APPLE_PAY;
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_YES = ;
</span><span class="cx"> 
</span><ins>+ENABLE_APPLE_PAY_DELEGATE[sdk=iphone*] = $(ENABLE_APPLE_PAY_DELEGATE_$(PLATFORM_NAME));
+ENABLE_APPLE_PAY_DELEGATE_iphoneos = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_iphonesimulator = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphoneos10*] = ;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphonesimulator10*] = ;
+
+DISABLE_APPLE_PAY_DELEGATE_macosx = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000);
+ENABLE_APPLE_PAY_DELEGATE[sdk=macosx*] = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_$(DISABLE_APPLE_PAY_macosx));
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_ = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO);
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_YES = ;
+
</ins><span class="cx"> ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
</span><span class="cx"> ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
</span><span class="cx"> ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
</span><span class="lines">@@ -233,4 +250,4 @@
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_NO = ENABLE_VARIATION_FONTS;
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_YES = ;
</span><span class="cx"> 
</span><del>-FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FTL_JIT
 ) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM)
  $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_
 WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</del><ins>+FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_DELEGATE) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_L
 OAD_EVENTS) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATIS
 TICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(
 ENABLE_WEB_TIMING) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</ins></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -892,6 +892,12 @@
</span><span class="cx">                 1AD8F81B11CAB9E900E93E54 /* PlatformStrategies.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AD8F81911CAB9E900E93E54 /* PlatformStrategies.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 1AD8F81C11CAB9E900E93E54 /* PlatformStrategies.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD8F81A11CAB9E900E93E54 /* PlatformStrategies.cpp */; };
</span><span class="cx">                 1ADA4A1C1D22F2C0005A9A15 /* PaymentMerchantSessionCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1ADA4A1B1D22F2C0005A9A15 /* PaymentMerchantSessionCocoa.mm */; };
</span><ins>+                1ADFDFE01E71D8EE008F5D34 /* ApplePayError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADFDFD51E71D8DF008F5D34 /* ApplePayError.cpp */; };
+                1ADFDFEC1E71E455008F5D34 /* JSApplePayError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADFDFE11E71DCA0008F5D34 /* JSApplePayError.cpp */; };
+                1ADFDFED1E71E475008F5D34 /* JSApplePayPaymentMethodUpdate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADFDFE51E71DCA0008F5D34 /* JSApplePayPaymentMethodUpdate.cpp */; };
+                1ADFDFEE1E71E47C008F5D34 /* JSApplePayShippingMethodUpdate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADFDFE91E71DCA0008F5D34 /* JSApplePayShippingMethodUpdate.cpp */; };
+                1ADFDFEF1E71E483008F5D34 /* JSApplePayShippingContactUpdate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADFDFE71E71DCA0008F5D34 /* JSApplePayShippingContactUpdate.cpp */; };
+                1ADFDFF01E71E4AC008F5D34 /* JSApplePayPaymentAuthorizationResult.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADFDFE31E71DCA0008F5D34 /* JSApplePayPaymentAuthorizationResult.cpp */; };
</ins><span class="cx">                 1AE00D59182DAC8D00087DD7 /* KeyedCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE00D57182DAC8D00087DD7 /* KeyedCoding.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 1AE2AA1E0A1CDAB400B42B25 /* JSHTMLAreaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */; };
</span><span class="cx">                 1AE2AA1F0A1CDAB400B42B25 /* JSHTMLAreaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */; };
</span><span class="lines">@@ -8140,6 +8146,27 @@
</span><span class="cx">                 1AD8F81911CAB9E900E93E54 /* PlatformStrategies.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformStrategies.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AD8F81A11CAB9E900E93E54 /* PlatformStrategies.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlatformStrategies.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1ADA4A1B1D22F2C0005A9A15 /* PaymentMerchantSessionCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PaymentMerchantSessionCocoa.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                1ADFDFD51E71D8DF008F5D34 /* ApplePayError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ApplePayError.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFD61E71D8DF008F5D34 /* ApplePayError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ApplePayError.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFD71E71D8DF008F5D34 /* ApplePayError.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ApplePayError.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFD81E71D8DF008F5D34 /* ApplePayPaymentAuthorizationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ApplePayPaymentAuthorizationResult.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFD91E71D8DF008F5D34 /* ApplePayPaymentAuthorizationResult.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ApplePayPaymentAuthorizationResult.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFDA1E71D8DF008F5D34 /* ApplePayPaymentMethodUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ApplePayPaymentMethodUpdate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFDB1E71D8DF008F5D34 /* ApplePayPaymentMethodUpdate.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ApplePayPaymentMethodUpdate.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFDC1E71D8DF008F5D34 /* ApplePayShippingContactUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ApplePayShippingContactUpdate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFDD1E71D8DF008F5D34 /* ApplePayShippingContactUpdate.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ApplePayShippingContactUpdate.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFDE1E71D8DF008F5D34 /* ApplePayShippingMethodUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ApplePayShippingMethodUpdate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFDF1E71D8DF008F5D34 /* ApplePayShippingMethodUpdate.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ApplePayShippingMethodUpdate.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE11E71DCA0008F5D34 /* JSApplePayError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSApplePayError.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE21E71DCA0008F5D34 /* JSApplePayError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSApplePayError.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE31E71DCA0008F5D34 /* JSApplePayPaymentAuthorizationResult.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSApplePayPaymentAuthorizationResult.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE41E71DCA0008F5D34 /* JSApplePayPaymentAuthorizationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSApplePayPaymentAuthorizationResult.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE51E71DCA0008F5D34 /* JSApplePayPaymentMethodUpdate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSApplePayPaymentMethodUpdate.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE61E71DCA0008F5D34 /* JSApplePayPaymentMethodUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSApplePayPaymentMethodUpdate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE71E71DCA0008F5D34 /* JSApplePayShippingContactUpdate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSApplePayShippingContactUpdate.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE81E71DCA0008F5D34 /* JSApplePayShippingContactUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSApplePayShippingContactUpdate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFE91E71DCA0008F5D34 /* JSApplePayShippingMethodUpdate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSApplePayShippingMethodUpdate.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1ADFDFEA1E71DCA0008F5D34 /* JSApplePayShippingMethodUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSApplePayShippingMethodUpdate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 1AE00D57182DAC8D00087DD7 /* KeyedCoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeyedCoding.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AE2A9F00A1CDA5700B42B25 /* HTMLAreaElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLAreaElement.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AE2A9F20A1CDA5700B42B25 /* HTMLBodyElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLBodyElement.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -16264,10 +16291,15 @@
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 1A58E8691D19D8C000C0EA73 /* cocoa */,
</span><ins>+                                1ADFDFD51E71D8DF008F5D34 /* ApplePayError.cpp */,
+                                1ADFDFD61E71D8DF008F5D34 /* ApplePayError.h */,
+                                1ADFDFD71E71D8DF008F5D34 /* ApplePayError.idl */,
</ins><span class="cx">                                 7C6579E21E00827000E3A27A /* ApplePayLineItem.h */,
</span><span class="cx">                                 7C6579E41E0082C800E3A27A /* ApplePayLineItem.idl */,
</span><span class="cx">                                 7C6522FE1E00D03400677F22 /* ApplePayPayment.h */,
</span><span class="cx">                                 7C6522FF1E00D03400677F22 /* ApplePayPayment.idl */,
</span><ins>+                                1ADFDFD81E71D8DF008F5D34 /* ApplePayPaymentAuthorizationResult.h */,
+                                1ADFDFD91E71D8DF008F5D34 /* ApplePayPaymentAuthorizationResult.idl */,
</ins><span class="cx">                                 1A8A643D1D19FCFB00D0E00F /* ApplePayPaymentAuthorizedEvent.cpp */,
</span><span class="cx">                                 1A8A643E1D19FCFB00D0E00F /* ApplePayPaymentAuthorizedEvent.h */,
</span><span class="cx">                                 1A8A643F1D19FCFB00D0E00F /* ApplePayPaymentAuthorizedEvent.idl */,
</span><span class="lines">@@ -16278,6 +16310,8 @@
</span><span class="cx">                                 1A8A64401D19FCFB00D0E00F /* ApplePayPaymentMethodSelectedEvent.cpp */,
</span><span class="cx">                                 1A8A64421D19FCFB00D0E00F /* ApplePayPaymentMethodSelectedEvent.h */,
</span><span class="cx">                                 1A8A64431D19FCFB00D0E00F /* ApplePayPaymentMethodSelectedEvent.idl */,
</span><ins>+                                1ADFDFDA1E71D8DF008F5D34 /* ApplePayPaymentMethodUpdate.h */,
+                                1ADFDFDB1E71D8DF008F5D34 /* ApplePayPaymentMethodUpdate.idl */,
</ins><span class="cx">                                 7C6522F21E00A51700677F22 /* ApplePayPaymentPass.h */,
</span><span class="cx">                                 7C6522F31E00A51700677F22 /* ApplePayPaymentPass.idl */,
</span><span class="cx">                                 7C6579DF1E0079F900E3A27A /* ApplePayPaymentRequest.h */,
</span><span class="lines">@@ -16288,11 +16322,15 @@
</span><span class="cx">                                 1A8A64471D19FCFB00D0E00F /* ApplePayShippingContactSelectedEvent.cpp */,
</span><span class="cx">                                 1A8A64481D19FCFB00D0E00F /* ApplePayShippingContactSelectedEvent.h */,
</span><span class="cx">                                 1A8A64491D19FCFB00D0E00F /* ApplePayShippingContactSelectedEvent.idl */,
</span><ins>+                                1ADFDFDC1E71D8DF008F5D34 /* ApplePayShippingContactUpdate.h */,
+                                1ADFDFDD1E71D8DF008F5D34 /* ApplePayShippingContactUpdate.idl */,
</ins><span class="cx">                                 7C6579E71E00831600E3A27A /* ApplePayShippingMethod.h */,
</span><span class="cx">                                 7C6579E51E00830600E3A27A /* ApplePayShippingMethod.idl */,
</span><span class="cx">                                 1A8A644B1D19FCFB00D0E00F /* ApplePayShippingMethodSelectedEvent.cpp */,
</span><span class="cx">                                 1A8A644C1D19FCFB00D0E00F /* ApplePayShippingMethodSelectedEvent.h */,
</span><span class="cx">                                 1A8A644D1D19FCFB00D0E00F /* ApplePayShippingMethodSelectedEvent.idl */,
</span><ins>+                                1ADFDFDE1E71D8DF008F5D34 /* ApplePayShippingMethodUpdate.h */,
+                                1ADFDFDF1E71D8DF008F5D34 /* ApplePayShippingMethodUpdate.idl */,
</ins><span class="cx">                                 1A8A644E1D19FCFB00D0E00F /* ApplePayValidateMerchantEvent.cpp */,
</span><span class="cx">                                 1A8A644F1D19FCFB00D0E00F /* ApplePayValidateMerchantEvent.h */,
</span><span class="cx">                                 1A8A64501D19FCFB00D0E00F /* ApplePayValidateMerchantEvent.idl */,
</span><span class="lines">@@ -16414,10 +16452,14 @@
</span><span class="cx">                 1AE96A791D1A0A5C00B86768 /* ApplePay */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><ins>+                                1ADFDFE11E71DCA0008F5D34 /* JSApplePayError.cpp */,
+                                1ADFDFE21E71DCA0008F5D34 /* JSApplePayError.h */,
</ins><span class="cx">                                 7C6579E91E00856600E3A27A /* JSApplePayLineItem.cpp */,
</span><span class="cx">                                 7C6579EA1E00856600E3A27A /* JSApplePayLineItem.h */,
</span><span class="cx">                                 7C65231D1E018B5A00677F22 /* JSApplePayPayment.cpp */,
</span><span class="cx">                                 7C65230A1E00DBB400677F22 /* JSApplePayPayment.h */,
</span><ins>+                                1ADFDFE31E71DCA0008F5D34 /* JSApplePayPaymentAuthorizationResult.cpp */,
+                                1ADFDFE41E71DCA0008F5D34 /* JSApplePayPaymentAuthorizationResult.h */,
</ins><span class="cx">                                 1AE96A7A1D1A0A8000B86768 /* JSApplePayPaymentAuthorizedEvent.cpp */,
</span><span class="cx">                                 1AE96A7B1D1A0A8000B86768 /* JSApplePayPaymentAuthorizedEvent.h */,
</span><span class="cx">                                 7C65230B1E00DBB400677F22 /* JSApplePayPaymentContact.cpp */,
</span><span class="lines">@@ -16426,6 +16468,8 @@
</span><span class="cx">                                 7C65230E1E00DBB400677F22 /* JSApplePayPaymentMethod.h */,
</span><span class="cx">                                 1AE96A7C1D1A0A8000B86768 /* JSApplePayPaymentMethodSelectedEvent.cpp */,
</span><span class="cx">                                 1AE96A7D1D1A0A8000B86768 /* JSApplePayPaymentMethodSelectedEvent.h */,
</span><ins>+                                1ADFDFE51E71DCA0008F5D34 /* JSApplePayPaymentMethodUpdate.cpp */,
+                                1ADFDFE61E71DCA0008F5D34 /* JSApplePayPaymentMethodUpdate.h */,
</ins><span class="cx">                                 7C65230F1E00DBB400677F22 /* JSApplePayPaymentPass.cpp */,
</span><span class="cx">                                 7C6523101E00DBB400677F22 /* JSApplePayPaymentPass.h */,
</span><span class="cx">                                 7C6579EB1E00856600E3A27A /* JSApplePayPaymentRequest.cpp */,
</span><span class="lines">@@ -16434,10 +16478,14 @@
</span><span class="cx">                                 1AE96A7F1D1A0A8000B86768 /* JSApplePaySession.h */,
</span><span class="cx">                                 1AE96A801D1A0A8000B86768 /* JSApplePayShippingContactSelectedEvent.cpp */,
</span><span class="cx">                                 1AE96A811D1A0A8000B86768 /* JSApplePayShippingContactSelectedEvent.h */,
</span><ins>+                                1ADFDFE71E71DCA0008F5D34 /* JSApplePayShippingContactUpdate.cpp */,
+                                1ADFDFE81E71DCA0008F5D34 /* JSApplePayShippingContactUpdate.h */,
</ins><span class="cx">                                 7C6579ED1E00856600E3A27A /* JSApplePayShippingMethod.cpp */,
</span><span class="cx">                                 7C6579EE1E00856600E3A27A /* JSApplePayShippingMethod.h */,
</span><span class="cx">                                 1AE96A821D1A0A8000B86768 /* JSApplePayShippingMethodSelectedEvent.cpp */,
</span><span class="cx">                                 1AE96A831D1A0A8000B86768 /* JSApplePayShippingMethodSelectedEvent.h */,
</span><ins>+                                1ADFDFE91E71DCA0008F5D34 /* JSApplePayShippingMethodUpdate.cpp */,
+                                1ADFDFEA1E71DCA0008F5D34 /* JSApplePayShippingMethodUpdate.h */,
</ins><span class="cx">                                 1AE96A841D1A0A8000B86768 /* JSApplePayValidateMerchantEvent.cpp */,
</span><span class="cx">                         );
</span><span class="cx">                         name = ApplePay;
</span><span class="lines">@@ -29686,6 +29734,7 @@
</span><span class="cx">                                 FD35918F138DB22000E1EBEC /* AudioParamTimeline.cpp in Sources */,
</span><span class="cx">                                 FD31601F12B0267600C1A359 /* AudioProcessingEvent.cpp in Sources */,
</span><span class="cx">                                 FD31608512B026F700C1A359 /* AudioResampler.cpp in Sources */,
</span><ins>+                                1ADFDFF01E71E4AC008F5D34 /* JSApplePayPaymentAuthorizationResult.cpp in Sources */,
</ins><span class="cx">                                 FD31608712B026F700C1A359 /* AudioResamplerKernel.cpp in Sources */,
</span><span class="cx">                                 073B87661E4385AC0071C0EC /* AudioSampleBufferList.cpp in Sources */,
</span><span class="cx">                                 073B87681E4385AC0071C0EC /* AudioSampleDataSource.mm in Sources */,
</span><span class="lines">@@ -29865,6 +29914,7 @@
</span><span class="cx">                                 CE799FAB1C6A50660097B518 /* ContentSecurityPolicySourceListDirective.cpp in Sources */,
</span><span class="cx">                                 41D015CB0F4B5C71004A662F /* ContentType.cpp in Sources */,
</span><span class="cx">                                 97627B8D14FB3CEE002CDCA1 /* ContextDestructionObserver.cpp in Sources */,
</span><ins>+                                1ADFDFE01E71D8EE008F5D34 /* ApplePayError.cpp in Sources */,
</ins><span class="cx">                                 1AB40EE21BF427DB00BA81BE /* ContextMenu.cpp in Sources */,
</span><span class="cx">                                 5106D7BD18BDB76F000AB166 /* ContextMenuContext.cpp in Sources */,
</span><span class="cx">                                 065AD4F60B0C2EDA005A2B1D /* ContextMenuController.cpp in Sources */,
</span><span class="lines">@@ -29966,6 +30016,7 @@
</span><span class="cx">                                 A80E6D020A1989CA007FB8C5 /* CSSInitialValue.cpp in Sources */,
</span><span class="cx">                                 31288E720E3005D6003619AE /* CSSKeyframeRule.cpp in Sources */,
</span><span class="cx">                                 31288E740E3005D6003619AE /* CSSKeyframesRule.cpp in Sources */,
</span><ins>+                                1ADFDFEF1E71E483008F5D34 /* JSApplePayShippingContactUpdate.cpp in Sources */,
</ins><span class="cx">                                 BC772E16133162C2001EC9CE /* CSSLineBoxContainValue.cpp in Sources */,
</span><span class="cx">                                 41DEFCB51E56C1BD000D9E5F /* JSDOMMapLike.cpp in Sources */,
</span><span class="cx">                                 946D37491D6D06280077084F /* CSSMarkup.cpp in Sources */,
</span><span class="lines">@@ -30402,6 +30453,7 @@
</span><span class="cx">                                 977B386E122883E900B81FF8 /* HTMLFormattingElementList.cpp in Sources */,
</span><span class="cx">                                 A81369CF097374F600D74463 /* HTMLFormControlElement.cpp in Sources */,
</span><span class="cx">                                 E14F1C4414B5DAC600EA9009 /* HTMLFormControlElementWithState.cpp in Sources */,
</span><ins>+                                1ADFDFEE1E71E47C008F5D34 /* JSApplePayShippingMethodUpdate.cpp in Sources */,
</ins><span class="cx">                                 A8DF3FCF097FA0FC0052981B /* HTMLFormControlsCollection.cpp in Sources */,
</span><span class="cx">                                 A81369D1097374F600D74463 /* HTMLFormElement.cpp in Sources */,
</span><span class="cx">                                 A871DE230A152AC800B12A68 /* HTMLFrameElement.cpp in Sources */,
</span><span class="lines">@@ -31450,6 +31502,7 @@
</span><span class="cx">                                 CBA9DC0A1DF44DF10005675C /* LinkHeader.cpp in Sources */,
</span><span class="cx">                                 1A4DA4211CDD3A8300F4473C /* LinkIconCollector.cpp in Sources */,
</span><span class="cx">                                 98CE4326129E00BD005821DC /* LinkLoader.cpp in Sources */,
</span><ins>+                                1ADFDFEC1E71E455008F5D34 /* JSApplePayError.cpp in Sources */,
</ins><span class="cx">                                 CB61C7931D755207001ADC7D /* LinkPreloadResourceClients.cpp in Sources */,
</span><span class="cx">                                 985BB96D13A94058007A0B69 /* LinkRelAttribute.cpp in Sources */,
</span><span class="cx">                                 BC7FA6200D1F0CBD00DB22A9 /* LiveNodeList.cpp in Sources */,
</span><span class="lines">@@ -31854,6 +31907,7 @@
</span><span class="cx">                                 A871DED40A1530C700B12A68 /* RenderFrame.cpp in Sources */,
</span><span class="cx">                                 0FD3080E117CF7E700A791F7 /* RenderFrameBase.cpp in Sources */,
</span><span class="cx">                                 A871DED20A1530C700B12A68 /* RenderFrameSet.cpp in Sources */,
</span><ins>+                                1ADFDFED1E71E475008F5D34 /* JSApplePayPaymentMethodUpdate.cpp in Sources */,
</ins><span class="cx">                                 CDEA7C851276230400B846DD /* RenderFullScreen.cpp in Sources */,
</span><span class="cx">                                 0F3F0E59157030C3006DA57F /* RenderGeometryMap.cpp in Sources */,
</span><span class="cx">                                 BC128B01137C8D4600CAC845 /* RenderGrid.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebKit/mac/ChangeLog        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2017-03-09  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add delegate support to WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=169427
+        Part of rdar://problem/28880714.
+
+        Reviewed by Geoffrey Garen.
+
+        * Configurations/FeatureDefines.xcconfig:
+        Add feature define.
+
</ins><span class="cx"> 2017-03-08  Megan Gardner  &lt;megan_gardner@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix DataInteraction guards
</span></span></pre></div>
<a id="trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -35,6 +35,11 @@
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES;
</span><span class="cx"> 
</span><ins>+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES;
+
</ins><span class="cx"> ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
</span><span class="cx"> ENABLE_ACCELERATED_2D_CANVAS = ;
</span><span class="cx"> ENABLE_ACCELERATED_OVERFLOW_SCROLLING[sdk=iphone*] = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
</span><span class="lines">@@ -51,6 +56,18 @@
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_NO = ENABLE_APPLE_PAY;
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_YES = ;
</span><span class="cx"> 
</span><ins>+ENABLE_APPLE_PAY_DELEGATE[sdk=iphone*] = $(ENABLE_APPLE_PAY_DELEGATE_$(PLATFORM_NAME));
+ENABLE_APPLE_PAY_DELEGATE_iphoneos = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_iphonesimulator = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphoneos10*] = ;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphonesimulator10*] = ;
+
+DISABLE_APPLE_PAY_DELEGATE_macosx = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000);
+ENABLE_APPLE_PAY_DELEGATE[sdk=macosx*] = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_$(DISABLE_APPLE_PAY_macosx));
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_ = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO);
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_YES = ;
+
</ins><span class="cx"> ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
</span><span class="cx"> ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
</span><span class="cx"> ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
</span><span class="lines">@@ -233,4 +250,4 @@
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_NO = ENABLE_VARIATION_FONTS;
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_YES = ;
</span><span class="cx"> 
</span><del>-FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FTL_JIT
 ) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM)
  $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_
 WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</del><ins>+FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_DELEGATE) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_L
 OAD_EVENTS) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATIS
 TICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(
 ENABLE_WEB_TIMING) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</ins></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebKit2/ChangeLog        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2017-03-09  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add delegate support to WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=169427
+        Part of rdar://problem/28880714.
+
+        Reviewed by Geoffrey Garen.
+
+        * Configurations/FeatureDefines.xcconfig:
+        Add feature define.
+
</ins><span class="cx"> 2017-03-09  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [Content Extensions] Introduce if-top-url and unless-top-url
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -35,6 +35,11 @@
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES;
</span><span class="cx"> 
</span><ins>+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES;
+
</ins><span class="cx"> ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
</span><span class="cx"> ENABLE_ACCELERATED_2D_CANVAS = ;
</span><span class="cx"> ENABLE_ACCELERATED_OVERFLOW_SCROLLING[sdk=iphone*] = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
</span><span class="lines">@@ -51,6 +56,18 @@
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_NO = ENABLE_APPLE_PAY;
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_YES = ;
</span><span class="cx"> 
</span><ins>+ENABLE_APPLE_PAY_DELEGATE[sdk=iphone*] = $(ENABLE_APPLE_PAY_DELEGATE_$(PLATFORM_NAME));
+ENABLE_APPLE_PAY_DELEGATE_iphoneos = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_iphonesimulator = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphoneos10*] = ;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphonesimulator10*] = ;
+
+DISABLE_APPLE_PAY_DELEGATE_macosx = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000);
+ENABLE_APPLE_PAY_DELEGATE[sdk=macosx*] = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_$(DISABLE_APPLE_PAY_macosx));
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_ = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO);
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_YES = ;
+
</ins><span class="cx"> ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
</span><span class="cx"> ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
</span><span class="cx"> ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
</span><span class="lines">@@ -233,4 +250,4 @@
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_NO = ENABLE_VARIATION_FONTS;
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_YES = ;
</span><span class="cx"> 
</span><del>-FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FTL_JIT
 ) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM)
  $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_
 WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</del><ins>+FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_DELEGATE) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_L
 OAD_EVENTS) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATIS
 TICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(
 ENABLE_WEB_TIMING) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</ins></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Tools/ChangeLog        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2017-03-09  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add delegate support to WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=169427
+        Part of rdar://problem/28880714.
+
+        Reviewed by Geoffrey Garen.
+
+        * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2017-03-09  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [Content Extensions] Introduce if-top-url and unless-top-url
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPIConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig (213672 => 213673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig        2017-03-09 22:29:39 UTC (rev 213672)
+++ trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig        2017-03-09 22:34:52 UTC (rev 213673)
</span><span class="lines">@@ -35,6 +35,11 @@
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;
</span><span class="cx"> TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES;
</span><span class="cx"> 
</span><ins>+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES;
+TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES;
+
</ins><span class="cx"> ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
</span><span class="cx"> ENABLE_ACCELERATED_2D_CANVAS = ;
</span><span class="cx"> ENABLE_ACCELERATED_OVERFLOW_SCROLLING[sdk=iphone*] = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
</span><span class="lines">@@ -51,6 +56,18 @@
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_NO = ENABLE_APPLE_PAY;
</span><span class="cx"> ENABLE_APPLE_PAY_IF_NOT_YES = ;
</span><span class="cx"> 
</span><ins>+ENABLE_APPLE_PAY_DELEGATE[sdk=iphone*] = $(ENABLE_APPLE_PAY_DELEGATE_$(PLATFORM_NAME));
+ENABLE_APPLE_PAY_DELEGATE_iphoneos = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_iphonesimulator = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphoneos10*] = ;
+ENABLE_APPLE_PAY_DELEGATE[sdk=iphonesimulator10*] = ;
+
+DISABLE_APPLE_PAY_DELEGATE_macosx = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000);
+ENABLE_APPLE_PAY_DELEGATE[sdk=macosx*] = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_$(DISABLE_APPLE_PAY_macosx));
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_ = $(ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO);
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_NO = ENABLE_APPLE_PAY_DELEGATE;
+ENABLE_APPLE_PAY_DELEGATE_IF_NOT_YES = ;
+
</ins><span class="cx"> ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
</span><span class="cx"> ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
</span><span class="cx"> ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
</span><span class="lines">@@ -233,4 +250,4 @@
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_NO = ENABLE_VARIATION_FONTS;
</span><span class="cx"> ENABLE_VARIATION_FONTS_IF_NOT_YES = ;
</span><span class="cx"> 
</span><del>-FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FTL_JIT
 ) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM)
  $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_
 WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</del><ins>+FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_DELEGATE) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS3_TEXT) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FETCH_API) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_L
 OAD_EVENTS) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATIS
 TICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_READABLE_STREAM_API) $(ENABLE_READABLE_BYTE_STREAM_API) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_RTC) $(ENABLE_WEB_SOCKETS) $(
 ENABLE_WEB_TIMING) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_WRITABLE_STREAM_API) $(ENABLE_XSLT);
</ins></span></pre>
</div>
</div>

</body>
</html>