-
- Downloads
Bug 1867358 part 4: Add some release asserts (and upgrade an existing assert),...
Bug 1867358 part 4: Add some release asserts (and upgrade an existing assert), to validate that NotificationController isn't still registered as a refresh observer when it's destroyed. a=pascalc If these assertions somehow fail, then we are probably doomed to crash anyway. The new release assertions just make it so we'll crash in a controlled way, with a more actionable backtrace, closer to the problem-spot. This patch also removes one mDocument null-check that's becoming redundant since it follows a release-assert that would make us abort if the pointer is null. Original Revision: https://phabricator.services.mozilla.com/D195042 Differential Revision: https://phabricator.services.mozilla.com/D199399
Please register or sign in to comment