Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
32
gaia/apps/system/test/unit/mock_secure_window.js
Executable file
32
gaia/apps/system/test/unit/mock_secure_window.js
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
'use strict';
|
||||
|
||||
(function(exports) {
|
||||
|
||||
var MockSecureWindow = function SecureWindow(config) {
|
||||
if (config) {
|
||||
for (var key in config) {
|
||||
this[key] = config[key];
|
||||
}
|
||||
}
|
||||
this.config = config;
|
||||
this.openAnimation = 'fade-in';
|
||||
this.closeAnimatin = 'fade-out';
|
||||
this.instanceID = 'fakeapp-id';
|
||||
};
|
||||
MockSecureWindow.prototype.isActive =
|
||||
MockSecureWindow.prototype.focus =
|
||||
MockSecureWindow.prototype.setVisibleForScreenReader =
|
||||
MockSecureWindow.prototype.open =
|
||||
MockSecureWindow.prototype.close =
|
||||
MockSecureWindow.prototype.kill =
|
||||
MockSecureWindow.prototype.softKill =
|
||||
MockSecureWindow.prototype.cancelSoftKill =
|
||||
MockSecureWindow.prototype.isSoftKillPending =
|
||||
MockSecureWindow.prototype.setVisible =
|
||||
function() {};
|
||||
|
||||
MockSecureWindow.prototype.isFullScreen =
|
||||
function() { return false;};
|
||||
|
||||
exports.MockSecureWindow = MockSecureWindow;
|
||||
})(window);
|
||||
Loading…
Reference in a new issue