Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window * Use toolbar.id and window state to store and retrieve values from cache * Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows * inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache * Create new windows test directory for browser-window-specific tests like this * Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate * Skip test for windows 8, follow-up filed as bug 1356684 MozReview-Commit-ID: JDJ3RtL4Lge
This commit is contained in:
@@ -636,7 +636,8 @@ var FullScreen = {
|
||||
}
|
||||
}
|
||||
|
||||
ToolbarIconColor.inferFromText();
|
||||
ToolbarIconColor.inferFromText("fullscreen", aEnterFS);
|
||||
|
||||
|
||||
// For Lion fullscreen, all fullscreen controls are hidden, don't
|
||||
// bother to touch them. If we don't stop here, the following code
|
||||
|
||||
Reference in New Issue
Block a user