Open Bug 1325110 Opened 8 years ago Updated 2 years ago

Remove Screen::mozOrientation

Categories

(Core :: DOM: Core & HTML, task, P3)

task

Tracking

()

People

(Reporter: Ms2ger, Unassigned, NeedInfo)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Keywords: addon-compat, dev-doc-needed, site-compat)

Attachments

(1 file)

It is said to be deprecated in favour of the ScreenOrientation API.
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Attached patch 1325110Splinter Review

This is a first pass on how a fix would look like, it removes non-standard interfaces and updates tests accordingly

  • Screen.mozOrientation
  • Screen.lockOrientation()
  • Screen.unlockOrientation()
Type: defect → task

You forgot to request review so the patch went unnoticed, sorry about that :(

Anyhow I think we can't just remove interfaces like that, we probably need to gather some data to know if they're used. Would you be willing to submit a patch that adds a use counter for these methods and properties?

If so I'd be happy to help out. Thank you!

Flags: needinfo?(bershanskiy)
Depends on: 1742750
Depends on: 1742752
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: