Closed Bug 1689631 Opened 4 years ago Closed 2 years ago

onabsolutedeviceorientation should be ondeviceorientationabsolute

Categories

(Core :: DOM: Device Interfaces, defect, P2)

defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: foolip, Assigned: fanie)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36

Steps to reproduce:

Compare the spec and Gecko's Web IDL for the event handler attribute:
https://w3c.github.io/deviceorientation/#deviceorientationabsolute
https://github.com/mozilla/gecko-dev/blob/ee110bca4d6cc8892bfca099c15ebb0fc8814816/dom/webidl/Window.webidl#L494

Actual results:

The name is different, with "absolute" up front instead of at the end.

Expected results:

Per spec, the name of the event hander attribute should be "ondeviceorientationabsolute"

I have not been able to figure out if the name of the event fired is also wrong, if it's "absolutedeviceorientation" instead of "deviceorientationabsolute".

Moving this over to DOM:Events, if this is not the right component please move it over to the correct one.

Component: Untriaged → DOM: Events
Product: Firefox → Core

Hi Esawin,
Could you help to take a look? It seems that the specification has been changed deviceorientationabsolute event handler attribute name. Thank you.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(esawin)
See Also: → 1205649
Component: DOM: Events → DOM: Device Interfaces

@smaug: do you know who can take this? I'm not a DOM peer, we just happened to need it for Android VR back in the days.

Flags: needinfo?(esawin) → needinfo?(bugs)

I wonder why the spec was changed. That was of course very much breaking change.

But anyone could take this, I think. Should be about replacing the name.

Flags: needinfo?(bugs)
Keywords: good-first-bug
Assignee: nobody → cmartin
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P2

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: cmartin → nobody
Status: ASSIGNED → NEW

Hi, a quick grep suggests this is probably just a simple rename job and would be happy to do it, although I'm not familiar with this particular code.

Assignee: nobody → fanie
Status: NEW → ASSIGNED
Attachment #9308808 - Attachment description: Bug 1689631 - Renamed onabsultedeviceorientation to ondevicesorientationabsolute. r?freddyb,smaug → Bug 1689631 - Renamed onabsolutedeviceorientation to ondeviceorientationabsolute. r?freddyb,smaug
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3acec9a0338b Renamed onabsolutedeviceorientation to ondeviceorientationabsolute. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: