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

3542 Коммитов

Автор SHA1 Сообщение Дата
Junior Hsu daf1b50996 Bug 1373198 - Part 3-1: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=bz 2017-07-11 02:04:00 +02:00
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
Christoph Kerschbaumer 2ad43ee9bd Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
Mats Palmgren 977a9e5f89 Bug 1376498 part 4 - Make all nsClassHashtable::RemoveAndForget() consumers use Remove() instead. r=froydnj
MozReview-Commit-ID: G64YQLlgm6r
2017-07-05 02:01:45 +02:00
Bill McCloskey 224d56eb18 Bug 1377222 - Eliminate nsITimer::InitWithFuncCallback in favor of InitWithNamedFuncCallback (r=froydnj)
MozReview-Commit-ID: 9zN9aAd7daA
2017-07-03 16:19:56 -07:00
Bevis Tseng f0e932a3f9 Bug 1377484 - Label the use of NS_NewInputStreamPump in CacheScriptLoader. r=bkelly 2017-06-30 10:52:06 -07: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
Ehsan Akhgari fcd758e764 Bug 1377019 - Add a test to ensure that a synthesized document has access to a cookie set before its controlling service worker has been registered; r=jdm 2017-06-29 15:35:49 -04:00
Ben Kelly 227c73cd89 Bug 1366089 Make EventTargetFor() support worker threads. r=baku 2017-06-29 11:28:56 -07:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 7af37a52bd Merge mozilla-central to mozilla-inbound 2017-06-23 11:44:21 +02:00
Carsten "Tomcat" Book 5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Florian Quèze 2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Nicholas Nethercote 4b364cf3f3 Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.

These changes have the following consequences.

- Various functions and classes are now defined in all builds, and so can be
  used unconditionally: profiler_add_marker(), profiler_set_js_context(),
  profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
  (They are effectively no-ops in non-profiler builds, of course.)

- The no-op versions of PROFILER_* are now gone. The remaining versions are
  almost no-ops when the profiler isn't built.

--HG--
extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a
2017-06-22 06:26:16 +10:00
Ho-Pang Hsu 13dd8118c8 Bug 1290951 - P4.2: Add a mochitest for an useless imported script after an update. r=bkelly 2017-06-07 14:07:20 +08: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
Wes Kocher b17932664d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1dQBCh5pBY6
2017-06-22 14:21:39 -07:00
Sylvestre Ledru 3d4e903323 Bug 1375386 - Silence a -Wunused-lambda-capture warning r=froydnj
MozReview-Commit-ID: CoIXICb4nwY

--HG--
extra : rebase_source : 47ab8f3f20243abc778402e4aba13969c83c1b8e
2017-06-22 08:47:02 +02:00
Florian Quèze 5b8f8b884c Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02: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
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Joel Maher 2dc2264aa8 Bug 1262224 - disable test_cross_origin_url_after_redirect.html as it leaks often. r=gbrown
MozReview-Commit-ID: KQVLAiOzTE9
2017-06-21 10:11:06 -04:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey 6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Wes Kocher c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -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
Andrea Marchesini e768233bc4 Bug 1371889 - Fetch body must be kept alive using refcounting, r=bkelly 2017-06-20 17:53:20 +02:00
Carsten "Tomcat" Book ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey 4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng d1637b9c5a Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Sebastian Hengst 1f7d31312c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 20:50:40 +02:00
Mats Palmgren 5b7c81e34b Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Masatoshi Kimura 838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Masatoshi Kimura 9865b2fdeb Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
MozReview-Commit-ID: E0w8BsP1Rof

--HG--
extra : rebase_source : db95e1e7fc60c9b9c8e6d7fcc5329421ec97e811
2017-06-16 21:11:03 +09:00
Tim Huang 64bc6e5f1f Bug 1369303 - Part 1: Adding 'privacy.resistFingerprinting' into worker prefs. r=arthuredelstein,baku
MozReview-Commit-ID: 5AwFjoeRY2a

--HG--
extra : rebase_source : 45cae6779fb70b58d20a493f89fb7b98e4956275
2017-06-15 16:48:26 +08:00
Bill McCloskey 0767e31489 Bug 1372736 - Avoid using AbstractThread for non-media MozPromises (r=bkelly)
MozReview-Commit-ID: BBi0pK4DXxf
2017-06-15 20:16:25 -07:00
Bill McCloskey 1158c7c282 Bug 1372733 - EventTargetFor should return an nsISerialEventTarget (r=bkelly)
MozReview-Commit-ID: Kchg4kqBERt
2017-06-15 20:16:25 -07:00
Ben Kelly fb3f580b62 Bug 1372962 Use idl defined state constants in test_devtools_track_serviceworker_time.html. r=tt 2017-06-15 07:34:35 -07:00
Mats Palmgren 9fc0c76c2f Bug 1372356 part 2 - Use mWindowMap.LookupForAdd instead of Get+Put, and LookupRemoveIf instead of Get+Remove, to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 9L3GGGKDoJZ
2017-06-14 17:27:25 +02:00
Mats Palmgren 70e1ca483d Bug 1372356 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 4jKIhueYx13
2017-06-14 17:27:25 +02:00
Wes Kocher 6c1a0ae549 Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout
Backed out changeset 67a27cf0ab80 (bug 1371699)
Backed out changeset 7e494fa90087 (bug 1371699)
Backed out changeset 30405ec37e1e (bug 1371699)
Backed out changeset 2d67624a01dc (bug 1371699)
Backed out changeset 503c9d22e6bb (bug 1371699)
Backed out changeset eedcb67a9fb6 (bug 1371699)

MozReview-Commit-ID: 4HydLjK7Ond
2017-06-13 17:50:11 -07:00
Mats Palmgren 1f35f4da22 Bug 1370674 part 2 - Optimize hashtable lookups on mRegistrationInfos, mInfos and mJobQueues. r=froydnj
Specifically,
* replace a few Get+Put with LookupForAdd
* remove an unnecessary Get before Remove, and
* replace an Get+Remove with LookupRemoveIf

MozReview-Commit-ID: HBeIK9CZC00
2017-06-14 01:03:39 +02:00