Bug 195567 - Update device orientation & motion permission native SPI as per latest proposal
Summary: Update device orientation & motion permission native SPI as per latest proposal
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-03-11 12:54 PDT by Chris Dumez
Modified: 2019-03-11 16:15 PDT (History)
9 users (show)

See Also:


Attachments
Patch (19.24 KB, patch)
2019-03-11 13:08 PDT, Chris Dumez
youennf: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2019-03-11 12:54:18 PDT
Update device orientation & motion permission native SPI as per latest proposal.
Comment 1 Chris Dumez 2019-03-11 13:08:48 PDT
Created attachment 364281 [details]
Patch
Comment 2 EWS Watchlist 2019-03-11 13:11:00 PDT
Attachment 364281 [details] did not pass style-queue:


ERROR: Source/WebCore/page/ChromeClient.h:486:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
Total errors found: 1 in 16 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 youenn fablet 2019-03-11 16:12:27 PDT
Comment on attachment 364281 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=364281&action=review

> Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:181
> +- (void)_webView:(WKWebView *)webView shouldAllowDeviceOrientationAndMotionAccessRequestedByFrame:(WKFrameInfo *)securityOrigin decisionHandler:(void (^)(BOOL))decisionHandler WK_API_AVAILABLE(ios(WK_IOS_TBA));

s/securityOrigin/requestingFrame/
Comment 4 Chris Dumez 2019-03-11 16:14:25 PDT
Committed r242753: <https://trac.webkit.org/changeset/242753>
Comment 5 Radar WebKit Bug Importer 2019-03-11 16:15:27 PDT
<rdar://problem/48788052>