gecko-dev/dom/permission
Kris Maglione fcb799ab11 Bug 1541557: Part 3 - Update callers of sync SpecialPowers functions to await the return value. r=nika
When we migrate SpecialPowers to a JSWindowActor, it will no longer be able to
use synchronous IPC messaging, which means that its current synchronous APIs
will have to become asynchronous.

This patch doesn't change the behavior of those functions, but it does change
their callers to `await` their return values rather than using them directly.
This pattern will work the same whether the functions return a promise or a
plain value, which simplifies the migration.

Differential Revision: https://phabricator.services.mozilla.com/D35053

--HG--
extra : rebase_source : baffba2107b175250573baae3f54d48becbd2a16
extra : source : b4ed40bea2698802ef562a0931c0b560737fb89d
2019-06-12 11:41:32 -07:00
..
tests Bug 1541557: Part 3 - Update callers of sync SpecialPowers functions to await the return value. r=nika 2019-06-12 11:41:32 -07:00
PermissionObserver.cpp
PermissionObserver.h
PermissionStatus.cpp Bug 1543911 - Move BasePrincipal::CloneStrippingUserContextIdAndFirst into nsPermission to avoid misuses, r=johannh 2019-04-15 10:26:09 +00:00
PermissionStatus.h
PermissionUtils.cpp
PermissionUtils.h
Permissions.cpp
Permissions.h
moz.build Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku 2019-04-30 14:06:53 +00:00