Open Bug 1250503 Opened 8 years ago Updated 3 years ago
Only listen for app-theme-changed for pageshow() on system-principal documents
We only care about these when the document has the system principal: https://dxr.mozilla.org/mozilla-central/rev/789a12291942763bc1e3a89f97e0b82dc1c9d00b/dom/base/nsDocument.cpp#12337-12347 so we might as well actually check that before we even add the observer - presumably, when pageshow fires and we add the observer, there's a pretty good guarantee that we'll actually have a principal. This would potentially miss out documents where we change the document's principal after pageshow, but I should hope that we don't do that... :-\
Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.