WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178191
[Apple Pay] Add subLocality and subAdministrativeArea to ApplePayPaymentContact and ApplePayError
https://bugs.webkit.org/show_bug.cgi?id=178191
Summary
[Apple Pay] Add subLocality and subAdministrativeArea to ApplePayPaymentConta...
Andy Estes
Reported
2017-10-11 15:53:03 PDT
[Apple Pay] Add subLocality and subAdministrativeArea to ApplePayPaymentContact
Attachments
Patch
(7.77 KB, patch)
2017-10-11 16:03 PDT
,
Andy Estes
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-elcapitan
(1.07 MB, application/zip)
2017-10-11 17:10 PDT
,
Build Bot
no flags
Details
Patch
(15.96 KB, patch)
2017-10-16 14:45 PDT
,
Andy Estes
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Andy Estes
Comment 1
2017-10-11 16:02:10 PDT
rdar://problem/34906367
Andy Estes
Comment 2
2017-10-11 16:03:27 PDT
Created
attachment 323476
[details]
Patch
Build Bot
Comment 3
2017-10-11 17:10:50 PDT
Comment hidden (obsolete)
Comment on
attachment 323476
[details]
Patch
Attachment 323476
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/4829570
New failing tests: imported/w3c/web-platform-tests/XMLHttpRequest/open-url-worker-origin.htm
Build Bot
Comment 4
2017-10-11 17:10:51 PDT
Comment hidden (obsolete)
Created
attachment 323493
[details]
Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Andy Estes
Comment 5
2017-10-11 17:14:40 PDT
Committed
r223215
: <
https://trac.webkit.org/changeset/223215
>
Ryan Haddad
Comment 6
2017-10-11 17:19:59 PDT
This change broke the Sierra build: /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/applepay/cocoa/PaymentContactCocoa.mm:104:22: error: instance method '-setSubLocality:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/applepay/cocoa/PaymentContactCocoa.mm:110:22: error: instance method '-setSubAdministrativeArea:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/applepay/cocoa/PaymentContactCocoa.mm:147:40: error: property 'subLocality' not found on object of type 'CNPostalAddress *' /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/applepay/cocoa/PaymentContactCocoa.mm:150:50: error: property 'subAdministrativeArea' not found on object of type 'CNPostalAddress *'
https://build.webkit.org/builders/Apple%20Sierra%20Release%20%2832-bit%20Build%29/builds/5699
Ryan Haddad
Comment 7
2017-10-11 17:47:54 PDT
Reverted
r223215
for reason: This change broke the Sierra build. Committed
r223221
: <
https://trac.webkit.org/changeset/223221
>
Andy Estes
Comment 8
2017-10-11 20:15:52 PDT
(In reply to Ryan Haddad from
comment #6
)
> This change broke the Sierra build: > > /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/ > applepay/cocoa/PaymentContactCocoa.mm:104:22: error: instance method > '-setSubLocality:' not found (return type defaults to 'id') > [-Werror,-Wobjc-method-access] > /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/ > applepay/cocoa/PaymentContactCocoa.mm:110:22: error: instance method > '-setSubAdministrativeArea:' not found (return type defaults to 'id') > [-Werror,-Wobjc-method-access] > /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/ > applepay/cocoa/PaymentContactCocoa.mm:147:40: error: property 'subLocality' > not found on object of type 'CNPostalAddress *' > /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/Modules/ > applepay/cocoa/PaymentContactCocoa.mm:150:50: error: property > 'subAdministrativeArea' not found on object of type 'CNPostalAddress *' > >
https://build.webkit.org/builders/Apple%20Sierra%20Release%20%2832
- > bit%20Build%29/builds/5699
Huh, that builder is on 10.12.5 and these APIs are available in 10.12.4 and later. Maybe it's using an Xcode with an old SDK, though.
Andy Estes
Comment 9
2017-10-16 14:45:08 PDT
Created
attachment 323944
[details]
Patch
WebKit Commit Bot
Comment 10
2017-10-16 17:00:43 PDT
Comment on
attachment 323944
[details]
Patch Clearing flags on attachment: 323944 Committed
r223447
: <
https://trac.webkit.org/changeset/223447
>
WebKit Commit Bot
Comment 11
2017-10-16 17:00:45 PDT
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 12
2017-10-17 01:52:46 PDT
Looks like this patch broke builds on macOS 10.12.6 due to re-declaration of APIs on CNPostalAddress and CNMutablePostalAddress. As far as I can tell, the relevant API is defined post 10.12.4 but changing if-def to the following doesn't seem to help: #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101204 so I'm at loss here.
Andy Estes
Comment 13
2017-10-17 12:33:07 PDT
(In reply to Ryosuke Niwa from
comment #12
)
> Looks like this patch broke builds on macOS 10.12.6 due to re-declaration of > APIs on CNPostalAddress and CNMutablePostalAddress. > > As far as I can tell, the relevant API is defined post 10.12.4 but changing > if-def to the following doesn't seem to help: > #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101204 > > so I'm at loss here.
Reverted in
r223566
: <
https://trac.webkit.org/changeset/223566/webkit
>
Andy Estes
Comment 14
2017-10-17 14:42:49 PDT
Committed
r223580
: <
https://trac.webkit.org/changeset/223580
>
Andy Estes
Comment 15
2017-10-17 16:10:52 PDT
Fixed the Sierra build in
r223583
: <
https://trac.webkit.org/changeset/223583
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug