make Frame::Settings() always non-null |
|||||
Issue descriptionFrame::settings() is marked "can be null", which leads to a lot of cumbersome null checks and confusion about when they are needed. We should fix Frame::settings() to never return null. I think we can just make Settings garbage-collected, like Frame and Page are already?
,
Sep 23 2016
Yeah the Frame should hold a Member<Settings> so that it can access the settings when m_host is null. But it would still be shared, i.e. one Settings per Page. Why should be an error for a detached frame to change settings?
,
Sep 26 2016
,
Sep 26 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 28 2017
,
Sep 28
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dcheng@chromium.org
, Sep 23 2016