use GetComputedStyle carefully

RESOLVED FIXED in mozilla13

Status

()

Core
Disability Access APIs
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: surkov, Assigned: surkov)

Tracking

({access})

unspecified
mozilla13
access
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

5 years ago
rationally in bug 714579 comment 10:
getComputedStyle on an element in document D can lead to destruction of any presshell in the document tree containing document D.

that means getComputedStyle can destroy whole document accessible and if we are calling this method internally then we get into trouble. We can't check all code paths where getComputedStyle is used and add IsDefunct checks so we need to switch to non-flush version (general bug 728126). Now we're going to borrow layout code to make this (approach from bug 714579).
(Assignee)

Updated

5 years ago
Depends on: 727735
(Assignee)

Updated

5 years ago
Depends on: 728907
(Assignee)

Updated

5 years ago
Depends on: 731276
(Assignee)

Updated

5 years ago
Depends on: 731287
(Assignee)

Updated

5 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
(Assignee)

Updated

5 years ago
Depends on: 735228
You need to log in before you can comment on or make changes to this bug.