Try to remove setters for individual window size / position properties.
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files, 1 obsolete file)
They are problematic as described in bug 1803611.
Content can't do this already, so it seems it should be feasible to remove this by replacing screenX setters by moveTo(<foo>, screenY) etc.
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
They are problematic as described in bug 1803611.
Content can't do this already, so it seems it should be feasible to
remove this by replacing screenX setters by moveTo(<foo>, screenY) etc.
I'm running a diagnostic patch through try already (see the other patch
attached to the bug), and will fix tests / code as needed in separate
patches, but this can get its own stamp.
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #0)
Content can't do this already,
Can't content currently do this whenever nsGlobalWindowOuter::CanMoveResizeWindows returns true?
| Assignee | ||
Comment 5•3 years ago
|
||
Err, I guess you're right. That said other browsers do follow the spec and make this readonly, so I think this should be safe.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/00e6c8164834
https://hg.mozilla.org/mozilla-central/rev/e8f2fed41bd1
https://hg.mozilla.org/mozilla-central/rev/3963969666d1
Updated•3 years ago
|
Description
•