Merge branch 'main' into feature-host-set-host-capabilities
This commit is contained in:
17 files changed
+299
-153
No files matched your search
@@ -120,17 +120,17 @@ export default function initializeMockIPC(server) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for browsers running on mac OS
|
||||
* Check for window chrome on MacOS
|
||||
*/
|
||||
isMacOS() {
|
||||
return Boolean(window.navigator.userAgent.match(/(macintosh)/i));
|
||||
hasMacOSChrome() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for browsers running on windows OS
|
||||
* Check for OS chrome state
|
||||
*/
|
||||
isWindowsOS() {
|
||||
return Boolean(window.navigator.userAgent.match(/(windows)/i));
|
||||
showWindowActions() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -37,7 +37,7 @@ module('Unit | Abilities | Target', function (hooks) {
|
||||
assert.notOk(service.can('removeHostSources target', model));
|
||||
});
|
||||
|
||||
test('it reflects when a given target may add crednetial sources', function (assert) {
|
||||
test('it reflects when a given target may add credential sources', function (assert) {
|
||||
assert.expect(2);
|
||||
const service = this.owner.lookup('service:can');
|
||||
const model = {
|
||||
|
||||
Reference in new issue
Block a user