Closed Bug 1587767 Opened 10 months ago Closed 10 months ago

Assert link flag handling in NodeInfoChanged is correct.

Categories

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

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

It's trying to clear a flag that can only be set on connected nodes.

Clean up the code by removing it and the relevant overrides, and assert in
Element that these invariants hold.

Attachment #9100147 - Attachment description: Bug 1587767 - Link::NodeInfoChanged seems useless. → Bug 1587767 - Assert that link flag handling is correct, and that NodeInfoChanged is only called on disconnected nodes.
Summary: Link::NodeInfoChanged looks useless. → Assert link flag handling in NodeInfoChanged is correct.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/db60f0e2c246
Assert that link flag handling is correct, and that NodeInfoChanged is only called on disconnected nodes. r=smaug
Type: defect → task
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.