Bug 194183 - deviceorientation API broken in iOS 12.2 beta
Summary: deviceorientation API broken in iOS 12.2 beta
Status: RESOLVED DUPLICATE of bug 195329
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad iOS 12
: P2 Blocker
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-02-01 19:00 PST by Gareth Morgan
Modified: 2020-07-08 08:57 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gareth Morgan 2019-02-01 19:00:58 PST
The Web Standard deviceorientation API is broken in iOS 12.2 beta.  The feature has reverted to being disabled, which breaks all the websites (including ours) which rely on this part of the web standard.  

I realize there are some privacy issues, and discussion WRT adding a permission pop-up for this feature.  But having the feature disabled is unacceptable.
Comment 1 Zachary King 2019-02-01 19:57:43 PST
Personally, I don't see this as a bug. Unless there is a mechanism in place to request permission from the user it should be disabled by default.

Either way, WebKit itself is working as designed, shouldn't this be more of a "bug", for lack of a better word, against Safari/iOS's default settings?
Comment 2 Gareth Morgan 2019-02-01 20:04:05 PST
It's a regression where an established part of the web standard, that is in use by many websites, and was working fine prior to 1.22b, is not longer functioning as defined in the web standard.

Additionally, in the discussion in the WC3 discussion on this matter (https://github.com/w3c/deviceorientation/issues/57) I was informed that the Webkit bug database was the correct place to flag this bug.
Comment 3 Chris Dumez 2019-02-01 20:06:22 PST
<rdar://problem/47584268>
Comment 4 Simon Fraser (smfr) 2019-02-04 13:19:15 PST
I think you mean <rdar://problem/47645367>
Comment 5 Brent Fulgham 2019-02-04 13:57:32 PST
We will be pleased to expose a web-facing device motion and orientation permission API once the specification has a proposed interface.
Comment 6 Alexey Proskuryakov 2020-07-07 18:49:28 PDT
> I think you mean <rdar://problem/47645367>

It is closed now, should this bug be closed too?
Comment 7 Chris Dumez 2020-07-08 08:57:04 PDT

*** This bug has been marked as a duplicate of bug 195329 ***