Bug 163311 - Update DeviceProximityEvent to stop using legacy [ConstructorTemplate=Event]
Summary: Update DeviceProximityEvent to stop using legacy [ConstructorTemplate=Event]
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 19:47 PDT by Chris Dumez
Modified: 2016-10-11 21:49 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.44 KB, patch)
2016-10-11 19:48 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-10-11 19:47:25 PDT
Update DeviceProximityEvent to stop using legacy [ConstructorTemplate=Event] and use a regular constructor instead, as in the specification:
- https://www.w3.org/TR/2015/WD-proximity-20150903/#deviceproximityevent-interface
Comment 1 Chris Dumez 2016-10-11 19:48:58 PDT
Created attachment 291328 [details]
Patch
Comment 2 Ryosuke Niwa 2016-10-11 21:27:09 PDT
Comment on attachment 291328 [details]
Patch

Does anyone enable this API?
Comment 3 Chris Dumez 2016-10-11 21:30:45 PDT
(In reply to comment #2)
> Comment on attachment 291328 [details]
> Patch
> 
> Does anyone enable this API?

Not that I know but I figured I would update all events just in case.
Comment 4 WebKit Commit Bot 2016-10-11 21:49:36 PDT
Comment on attachment 291328 [details]
Patch

Clearing flags on attachment: 291328

Committed r207187: <http://trac.webkit.org/changeset/207187>
Comment 5 WebKit Commit Bot 2016-10-11 21:49:41 PDT
All reviewed patches have been landed.  Closing bug.