Cache browser visibility state & emit visibilitychange event on change
Fixes #3788
This commit is contained in:
parent
377a8eefb2
commit
ee61ab2d26
4 changed files with 35 additions and 12 deletions
|
@ -3,7 +3,7 @@ window.onload = function() {
|
|||
InspectorFrontendHost.showContextMenuAtPoint = createMenu;
|
||||
|
||||
// Use dialog API to override file chooser dialog.
|
||||
return WebInspector.createFileSelectorElement = createFileSelectorElement;
|
||||
return (WebInspector.createFileSelectorElement = createFileSelectorElement);
|
||||
};
|
||||
|
||||
var convertToMenuTemplate = function(items) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue