Closed Bug 2021694 Opened 15 days ago Closed 11 days ago

Remove GetXULBoolAttr / GetXULAttr etc.

Categories

(Core :: XUL, task, P3)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

No description provided.

Three callers:

  • fixed attribute is only used as fixed=true for treecolumns, so no
    behavior change.
  • noautofocus is already only used as =true or removed, so no behavior
    change.
  • incontentshell is only used with ="false", rename to noincontentshell
    for consistency with the other no* attributes in popups.

Remove the API and similar GetXUL* stuff that did the same.

Drive-by, but spotted while I looked for similar patterns. disabled was
converted to a regular bool attr a while ago in bug 2008041.

  • primary and nodefaultsrc are already used as true or not present, so
    no behavior change.
  • remote can be a regular XUL attr, but needs some consumers to change.

While at it remove the unused mozframetype attr, just use type for both
XUL and privileged iframes.

FeatureCallout was the only front-end bit that was already not treating
it as such.

FYI, might need minor thunderbird front-end changes.

Flags: needinfo?(mkmelin+mozilla)
Keywords: leave-open
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4064391907f5 https://hg.mozilla.org/integration/autoland/rev/837d564dd29e Make noautohide a regular bool attr. r=aminomancer,omc-reviewers,devtools-reviewers,nchevobbe
See Also: → 2022250
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/da15cdf74a9e https://hg.mozilla.org/integration/autoland/rev/7c4c2112d403 Make other XUL frame attributes regular bool attrs. r=firefox-desktop-core-reviewers ,devtools-reviewers,tabbrowser-reviewers,layout-reviewers,geckoview-reviewers,whimboo,hiro,nchevobbe,sthompson,mossop
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9d9ea683566f https://hg.mozilla.org/integration/autoland/rev/d12019413cd8 Revert "Bug 2021694 - Make other XUL frame attributes regular bool attrs. r=firefox-desktop-core-reviewers ,devtools-reviewers,tabbrowser-reviewers,layout-reviewers,geckoview-reviewers,whimboo,hiro,nchevobbe,sthompson,mossop" for causing bc failures @ browser_child_resource.js
Attachment #9550752 - Attachment description: Bug 2021694 - Make other XUL frame attributes regular bool attrs. r=#fx-desktop! → Bug 2021694 - Make other XUL frame attributes regular bool attrs. r=firefox-desktop-core-reviewers ,devtools-reviewers,tabbrowser-reviewers,layout-reviewers,geckoview-reviewers,whimboo,hiro,nchevobbe,sthompson,mossop
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3234ef93471e https://hg.mozilla.org/integration/autoland/rev/66d68383531a Make other XUL frame attributes regular bool attrs. r=firefox-desktop-core-reviewers ,devtools-reviewers,tabbrowser-reviewers,layout-reviewers,geckoview-reviewers,whimboo,hiro,nchevobbe,sthompson,mossop ,devtools-reviewers,tabbrowser-reviewers,layout-reviewers,geckoview-reviewers,whimboo,hiro,nchevobbe,sthompson,mossop
Status: NEW → RESOLVED
Closed: 11 days ago
Flags: needinfo?(emilio)
Resolution: --- → FIXED

Thanks, just some minor c-c breakage.

Flags: needinfo?(mkmelin+mozilla)
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: