Closed Bug 1583377 Opened 5 years ago Closed 5 years ago

Remove xul:page and migrate consumers to xul:window

Categories

(Toolkit :: XUL Widgets, task, P5)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bgrins, Assigned: bgrins)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We have 5 non-test consumers of <xul:page> in m-c right now: https://searchfox.org/mozilla-central/search?q=%3Cpage&path=.xul.

According to https://developer.mozilla.org/en-US/docs/Archive/Mozilla/XUL/page, the xul:page element is "similar to a window, except it should be used for XUL files that are to be loaded into an iframe."

But the only handling for page beyond a being a generic XUL element I see is:

  1. One relevant match on nsGkAtoms::page https://searchfox.org/mozilla-central/search?q=symbol:_ZN9nsGkAtoms4pageE&redirect=false that lumps it in with other root xul elements at https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/layout/xul/nsBoxFrame.cpp#953.
  2. Some CSS, but all of this applies to <window> and other roots as well: https://searchfox.org/mozilla-central/search?q=%5Epage&case=false&regexp=true&path=.css.

So, I'd like to find out if there's a reason we couldn't migrate the consumers directly to <window> (with the ultimate goal of then migrating those to <html>).

Depends on: 1583728
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Blocks: 1584283
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e303e9cc8548 Remove xul:page and replace consumers with xul:window r=NeilDeakin
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Blocks: 1585482
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: