<?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>271098</bug_id>
          
          <creation_ts>2024-03-15 18:13:43 -0700</creation_ts>
          <short_desc>Remove non-standard `DeviceMotionEvent.initDeviceMotionEvent`</short_desc>
          <delta_ts>2025-02-22 21:48:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=271891</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>annevk</cc>
    
    <cc>cdumez</cc>
    
    <cc>marcosc</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2021520</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-15 18:13:43 -0700</bug_when>
    <thetext>Hi Team,

While comparing HTML Spec with IDL files in WebKit, I noticed that following is not in web specification:

Web Spec: https://w3c.github.io/deviceorientation/#device-motion-event-api

WebKit Source: https://searchfox.org/wubkat/rev/e6b945d8d215583ba34dffcc8f93a0c1c2662c0b/Source/WebCore/dom/DeviceMotionEvent.idl

___

Note - Blink does not have this but Gecko does.

Also Blink removed it in following (2017): https://chromium.googlesource.com/chromium/src.git/+/0921e8319f228e406019b434701ac9f181ee8ea1

They also removed `DeviceOrientationEvent.initDeviceOrientationEvent` for which I will create separate bug to make it easier to revert if needed and manage stuff.

CCing @Anne - for his input.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022001</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-18 19:05:30 -0700</bug_when>
    <thetext>PR - https://github.com/WebKit/WebKit/pull/26001</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023297</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-22 18:14:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/125271931&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>