Граф коммитов

118 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 5c76874a46 Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv
I did audit all UNWRAP_OBJECT callers to make sure that the lifetimes of all the
temporary Rooted or the RefPtrs they unwrap into are long enough.
2017-07-10 16:05:24 -04:00
Bevis Tseng 1847f5c49a Bug 1377275 - Label the use of NS_NewInputStreamPump in serviceWorkerScriptCache with SystemGroup. r=bkelly 2017-06-29 15:06:43 -07:00
Ho-Pang Hsu 1851f6f815 Bug 1290951 - P3.3: Move state checks to MOZ_DIAGNOSTIC_ASSERT(). r=bkelly 2017-06-07 14:06:23 +08:00
Ho-Pang Hsu 0dc81e4531 Bug 1290951 - P3.2: Tolerate missing imported scripts. r=bkelly 2017-06-07 14:16:21 +08:00
Ho-Pang Hsu 7ed52794dc Bug 1290951 - P3.1: Extend bytecheck to imported scripts. r=bkelly 2017-06-07 14:03:12 +08:00
Ho-Pang Hsu e8863b6170 Bug 1290951 - P2.3: Change the relationship between CompareManager, CompareNetwork, and CompareCache. r=bkelly 2017-06-07 14:02:27 +08:00
Ho-Pang Hsu 6a270821f2 Bug 1290951 - P2.2: Make CompareManager::ComparisonFinished() public. r=bkelly 2017-06-07 14:01:50 +08:00
Ho-Pang Hsu 8f47260dec Bug 1290951 - P2.1: Simplify the relationship between CompareManager, CompareNetwork and CompareCache. r=bkelly 2017-06-07 13:59:48 +08:00
Ho-Pang Hsu 3ea8817c0f Bug 1290951 - P1.2: Change the lifecycle of CompareManager and CompareCache to get the script URL list before actual comparing. r=bkelly 2017-06-07 13:56:59 +08:00
Ho-Pang Hsu 50b74db79a Bug 1290951 - P1.1: Move some function implementations out of their class definitions. r=bkelly 2017-05-24 11:32:59 +08:00
Chris Peterson 6471ec4b4d Bug 1373525 - dom/workers: Remove unused classes and member functions. r=baku
dom/workers/ScriptLoader.cpp:246:3 [-Wunused-member-function] unused member function 'ReadyToExecute'
dom/workers/ServiceWorkerScriptCache.cpp:200:19 [-Wunused-member-function] unused member function 'URL'
dom/workers/WorkerPrivate.cpp:1553:3 [-Wunused-member-function] unused member function 'DummyRunnable'

MozReview-Commit-ID: DLjD10iZJJV

--HG--
extra : source : db094b81fb77993c48e2884ffef700e34302c03e
extra : intermediate-source : fd1c6bd2b6882efb9e6ac3aeabe18968826297e4
extra : histedit_source : 8faac0927d4d97062fd74395dc2980cde57785b9
2017-06-15 00:40:59 -07:00
Andrea Marchesini 4b75cfc9bc Bug 1373555 - Move the Fetch consume body login in a separate class - part 3 - Move the consuming body logic from FetchBody to FetchBodyConsumer, r=bkelly 2017-06-20 17:53:21 +02:00
Ryan VanderMeulen 1704dc2a72 Backed out 14 changesets (bug 1290951) for causing topcrash bug 1364059. a=me
Backed out changeset d9cb7e835d4c (bug 1290951)
Backed out changeset 2684d41c75e4 (bug 1290951)
Backed out changeset 2fdb0ae64a1b (bug 1290951)
Backed out changeset 6194a6a0f510 (bug 1290951)
Backed out changeset 9a722c9de441 (bug 1290951)
Backed out changeset 4e36f20bea04 (bug 1290951)
Backed out changeset 7236a196cff0 (bug 1290951)
Backed out changeset b6b85669af94 (bug 1290951)
Backed out changeset bb76b58e45fc (bug 1290951)
Backed out changeset f2b2e0d54e51 (bug 1290951)
Backed out changeset 974b55cde2af (bug 1290951)
Backed out changeset cda24c8eccc4 (bug 1290951)
Backed out changeset fedca2ad4ce6 (bug 1290951)
Backed out changeset e40aeb64bdab (bug 1290951)
2017-05-11 09:26:18 -04:00
Ho-Pang Hsu d466693cc4 Bug 1290951 - Part 3.2: Tolerate missing imported scripts. r=bkelly.
--HG--
extra : rebase_source : 8b35a807eb9ded5116b8dc16855012d4cb8f5d2b
2017-05-04 01:38:52 +08:00
Ho-Pang Hsu 0eeb558276 Bug 1290951 - Part 3.1: Extend the bytecheck to imported scripts. r=bkelly
--HG--
extra : rebase_source : 637903d78e82ccbb7dfa93d2306ef3e1a22b6b99
2017-05-04 01:38:01 +08:00
Ho-Pang Hsu 49bbe28c16 Bug 1290951 - Part 2.8: Remove CompareManager::SetMaxScope() and CompareManager::SaveLoadFlags(). r=bkelly
--HG--
extra : rebase_source : d168ba55d3c984f54db374223697385d8e573a13
2017-05-04 01:36:59 +08:00
Ho-Pang Hsu 811c4bbcac Bug 1290951 - Part 2.7: Unify how CompareManager, CompareNetwork and CompareCahce report errors during initialization and other operations. r=bkelly
--HG--
extra : rebase_source : d208639745b53cce1b13cf943b66ea3238310aac
2017-05-09 22:41:32 +08:00
Ho-Pang Hsu 3552f45590 Bug 1290951 - Part 2.6: Change the relationship between CompareManager, CompareNetwork, and CompareCache. r=bkelly
--HG--
extra : rebase_source : 9dc72c45789e63bc67982cd3b3fe3edf7169e4f5
2017-05-09 13:08:06 +08:00
Ho-Pang Hsu 305b6601e3 Bug 1290951 - Part 2.5: Move ChannelInfo and PrincipalInfo into CompareNetwork. r=bkelly
--HG--
extra : rebase_source : 3b042fc85924c7b80fa793b71e560c16cea6a66b
2017-04-13 15:01:28 +08:00
Ho-Pang Hsu 27f3010bb9 Bug 1290951 - Part 2.4: Add mIsMainScript to CompareNetwork. r=bkelly
--HG--
extra : rebase_source : 7a123c23c07cb3c13777b37c41e69e7dd2b1b8a8
2017-04-07 14:57:19 +08:00
Ho-Pang Hsu 1fbf9e14ad Bug 1290951 - Part 2.3: Update the lifecycle of CompareCache. r=bkelly
--HG--
extra : rebase_source : 9fb447f0301d2e4fbef536f783f39939a0fc59b2
2017-05-09 13:07:09 +08:00
Ho-Pang Hsu c1fe89f859 Bug 1290951 - Part 2.2: Make CompareManager::ComparisonFinished() public. r=bkelly
--HG--
extra : rebase_source : edc8ae36344760c66be726b227fce5602eca662c
2017-02-23 18:34:36 +08:00
Ho-Pang be755a4180 Bug 1290951 - Part 2.1: Move some functions out of their class definitions. r=bkelly
--HG--
extra : rebase_source : ffd4ac76e38d700e3f0d7666519c739f6f5791d2
2017-02-23 18:34:16 +08:00
Ho-Pang Hsu 3cfcb4c95c Bug 1290951 - Part 1.2: Get the script URL list before actual comparing. r=bkelly
--HG--
extra : rebase_source : b2c1dea51d2de59fb670edae96ab9e721ef16e05
2017-04-07 14:44:35 +08:00
Ho-Pang Hsu 9e5cbeb72a Bug 1290951 - Part 1.1: Move some function implementations out of CompareManager. r=baku
--HG--
extra : rebase_source : 141a78a044bb00cf96c07ea099afe3eb49602e9f
2017-04-07 14:41:22 +08:00
Andrea Marchesini 1981f67eb3 Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things:

1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
   and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader

--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book f0d6de60d7 Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini 7a4ef797cb Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things:

1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
   and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader

--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book 284cbb308e Backed out changeset d518009bfe70 (bug 1290951) for causing Bug 1357437 2017-04-19 11:55:33 +02:00
Carsten "Tomcat" Book 7babdc7a78 Backed out changeset a459d48f1d86 (bug 1290951) 2017-04-19 11:55:02 +02:00
Carsten "Tomcat" Book 7b9f2f1715 Backed out changeset 6f30a5669251 (bug 1290951) 2017-04-19 11:55:00 +02:00
Carsten "Tomcat" Book 0a0f322bb7 Backed out changeset 437aa650b9d9 (bug 1290951) 2017-04-19 11:54:57 +02:00
Carsten "Tomcat" Book 73cd20cf99 Backed out changeset 779deac689f9 (bug 1290951) 2017-04-19 11:54:55 +02:00
Carsten "Tomcat" Book b989ecb1ef Backed out changeset 9e1c5c05eb58 (bug 1290951) 2017-04-19 11:54:52 +02:00
Carsten "Tomcat" Book 9dfe2e6996 Backed out changeset a5a8e0001d78 (bug 1290951) 2017-04-19 11:54:50 +02:00
Carsten "Tomcat" Book e72c9d7c1b Backed out changeset 2e133f3b768c (bug 1290951) 2017-04-19 11:54:47 +02:00
Carsten "Tomcat" Book e0324b8ab3 Backed out changeset a4b47c4e9e3b (bug 1290951) 2017-04-19 11:54:45 +02:00
Carsten "Tomcat" Book 7145e26cb8 Backed out changeset 5be709822325 (bug 1290951) 2017-04-19 11:54:42 +02:00
Ho-Pang Hsu 3d64dc715a Bug 1290951 - Part 3.2: Tolerate missing imported scripts. r=bkelly 2017-02-28 19:30:50 +08:00
Ho-Pang Hsu 17665be027 Bug 1290951 - Part 3.1: Extend the bytecheck to imported scripts. r=bkelly 2017-04-13 15:04:27 +08:00
Ho-Pang Hsu 05770db16e Bug 1290951 - Part 2.6: Change the relationship between CompareManager, CompareNetwork, and CompareCache. r=bkelly 2017-04-13 15:02:45 +08:00
Ho-Pang Hsu e0fb66e9cf Bug 1290951 - Part 2.5: Move ChannelInfo and PrincipalInfo into CompareNetwork. r=bkelly 2017-04-13 15:01:28 +08:00
Ho-Pang Hsu 64540c2896 Bug 1290951 - Part 2.4: Add mIsMainScript to CompareNetwork. r=bkelly 2017-04-07 14:57:19 +08:00
Ho-Pang Hsu 20d389faf6 Bug 1290951 - Part 2.3: Update the lifecycle of CompareCache. r=bkelly 2017-04-07 14:54:00 +08:00
Ho-Pang Hsu 9559405105 Bug 1290951 - Part 2.2: Make CompareManager::ComparisonFinished() public. r=bkelly 2017-02-23 18:34:36 +08:00
Ho-Pang 00d56f9bdb Bug 1290951 - Part 2.1: Move some functions out of their class definitions. r=bkelly 2017-02-23 18:34:16 +08:00
Ho-Pang Hsu 05cc44be10 Bug 1290951 - Part 1.2: Get the script URL list before actual comparing. r=bkelly 2017-04-07 14:44:35 +08:00
Ho-Pang Hsu 836798bd39 Bug 1290951 - Part 1.1: Move some function implementations out of CompareManager. r=baku 2017-04-07 14:41:22 +08:00
Wei-Cheng Pan 510ba75c20 Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
MozReview-Commit-ID: 5gvVZtsa3yS

--HG--
extra : rebase_source : 5e1ab2fc06ae58f18abb8909ac93f9512abbe220
2016-12-20 11:49:32 +08:00
Ben Kelly 839d472b39 Bug 1337543 P6 Persist response headers for offlined service worker scripts. r=baku 2017-02-14 10:06:39 -05:00