import changes from `dev' branch of rmottola/Arctic-Fox:

- Bug 1170609 - Make the GC markers test use SpecialPowers.Cu.forceGC so it works in e10s. r=jsantell (c9efada65)
- Bug 1171539 - ConsoleTime markers should render endStacks. r=vp (2b818c84b)
- Bug 1141614 - Part 5: Add a test for cycle collection markers; r=jsantell (2fcf9b125)
- Bug 1183579 - Inline some function needed purplexpcom. r=jduell (d4c0decb5)
- Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen (3d2be75e5)
- Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen (baf1bf0eb)
- Bug 1114554 - Patch 6 - ServiceWorkerRegistration.getNotifications() tests. r=wchen (82978dc27)
- Bug 1114554 - Patch 7 - Call BindToOwner on all threads. r=wchen (8aa9fde6b)
- Bug 1114554 - Patch 8 - Support waitUntil() on notificationclick event. r=baku (0dec01fde)
- Bug 1182964 - Replace use of nsTHashtable::EnumerateEntries with nsTHashtable::Iterator in layout/{style,svg}/. r=njn (cb7b75a0a)
- Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku (1ab7687e1)
- Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm (fa0e3c433)
- Bug 1243312 - nsNetCID is missing in toolkit/system/unixproxy/nsLibProxySettings.cpp. r=jduell (3bae88588)
- Bug 1186042 - "Undeclared identifier" errors building nsAboutBloat.cpp. r=jduell (e1f5b0376)
- Bug 1182976 - Part 1: Get rid of IdentifierMapEntryAddNames; r=baku (bfe3f4489)
- Bug 1182976 - Part 2: Get rid of the Helper class in QuotaManager::OpenDirectoryInternal; r=janv (a2545b8fa)
- Bug 1165270 - Use origin for BroadcastChannel, r=bholley (8c789d86e)
- Bug 1182976 - Part 3: Get rid of PostMessageEnumerator; r=baku (61efbbc9e)
- Bug 1182976 follow-up: Address njn's drive-by comment (26b345e4d)
- Bug 1182978 (part 1) - Use nsTHashtable::Iterator in nsSMILAnimationController. r=birtles. (87129e7d2)
- Bug 1182978 (part 2) - Use nsTHashtable::Iterator in nsSMILAnimationController. r=birtles. (d82307b24)
- Bug 1182978 (part 3) - Use nsTHashtable::Iterator in nsSMILAnimationController. r=birtles. (b162c947f)
- Bug 1182978 (part 4) - Use nsTHashtable::Iterator in nsSMILAnimationController. r=birtles (e6039255a)
- Bug 1182978 (part 5) - Use nsTHashtable::Iterator in nsSMILTimedElement. r=birtles. (305069fe9)
This commit is contained in:
2021-08-05 09:31:47 +08:00
parent 95ae6701be
commit a550e0f113
67 changed files with 1348 additions and 750 deletions
+9 -1
View File
@@ -324,6 +324,8 @@ class CacheScriptLoader;
class CacheCreator final : public PromiseNativeHandler
{
public:
NS_DECL_ISUPPORTS
explicit CacheCreator(WorkerPrivate* aWorkerPrivate)
: mCacheName(aWorkerPrivate->ServiceWorkerCacheName())
, mPrivateBrowsing(aWorkerPrivate->IsInPrivateBrowsing())
@@ -390,11 +392,13 @@ private:
bool mPrivateBrowsing;
};
NS_IMPL_ISUPPORTS0(CacheCreator)
class CacheScriptLoader final : public PromiseNativeHandler
, public nsIStreamLoaderObserver
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_ISUPPORTS
NS_DECL_NSISTREAMLOADEROBSERVER
CacheScriptLoader(WorkerPrivate* aWorkerPrivate, ScriptLoadInfo& aLoadInfo,
@@ -445,6 +449,8 @@ NS_IMPL_ISUPPORTS(CacheScriptLoader, nsIStreamLoaderObserver)
class CachePromiseHandler final : public PromiseNativeHandler
{
public:
NS_DECL_ISUPPORTS
CachePromiseHandler(ScriptLoaderRunnable* aRunnable,
ScriptLoadInfo& aLoadInfo,
uint32_t aIndex)
@@ -473,6 +479,8 @@ private:
uint32_t mIndex;
};
NS_IMPL_ISUPPORTS0(CachePromiseHandler)
class ScriptLoaderRunnable final : public WorkerFeature,
public nsIRunnable,
public nsIStreamLoaderObserver,