<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>194183</bug_id>
          
          <creation_ts>2019-02-01 19:00:58 -0800</creation_ts>
          <short_desc>deviceorientation API broken in iOS 12.2 beta</short_desc>
          <delta_ts>2020-07-08 08:57:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>Safari 12</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>195329</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gareth Morgan">gareth</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>ggaren</cc>
    
    <cc>mjs</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zchrykng</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1501408</commentid>
    <comment_count>0</comment_count>
    <who name="Gareth Morgan">gareth</who>
    <bug_when>2019-02-01 19:00:58 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1501417</commentid>
    <comment_count>1</comment_count>
    <who name="Zachary King">zchrykng</who>
    <bug_when>2019-02-01 19:57:43 -0800</bug_when>
    <thetext>Personally, I don&apos;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&apos;t this be more of a &quot;bug&quot;, for lack of a better word, against Safari/iOS&apos;s default settings?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1501420</commentid>
    <comment_count>2</comment_count>
    <who name="Gareth Morgan">gareth</who>
    <bug_when>2019-02-01 20:04:05 -0800</bug_when>
    <thetext>It&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1501424</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-01 20:06:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/47584268&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1501985</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-02-04 13:19:15 -0800</bug_when>
    <thetext>I think you mean &lt;rdar://problem/47645367&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502007</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2019-02-04 13:57:32 -0800</bug_when>
    <thetext>We will be pleased to expose a web-facing device motion and orientation permission API once the specification has a proposed interface.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1669628</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-07-07 18:49:28 -0700</bug_when>
    <thetext>&gt; I think you mean &lt;rdar://problem/47645367&gt;

It is closed now, should this bug be closed too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1669759</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2020-07-08 08:57:04 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 195329 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>