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

524910 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 6ced9f8a25 Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Andrea Marchesini b400713a16 Bug 1346801 - Make Directory object always cloneable, r=qdot 2017-03-14 11:38:31 +01:00
Andrea Marchesini e4d85e8db3 Bug 1346801 - No need to dispatch runnables to the main-thread for Entries API, r=qdot 2017-03-14 11:38:06 +01:00
Andrea Marchesini a2f4a0ab3a Bug 1346718 - Add a check before using a BlobParent actor, r=qdot 2017-03-14 11:36:22 +01:00
Yoshi Huang e57e010266 Bug 1301649: Use MOZ_ASSERT_IF instead. r=smaug 2017-03-14 16:23:52 +08:00
Yoshi Huang 996e0349b3 Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.

So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.

There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Samael Wang 2c24eb7d2b Bug 1339707 - Replace NS_DispatchToCurrentThread to DocGroup / TabGroup dispatch method and set nsITimer target. r=smaug 2017-03-07 16:58:59 +08:00
Ya-Chieh Wu c075f7b427 Bug 1338476 - Add "pdfium.enabled" as a pref for turning on/off mortar pdf. r=evelyn, r=Gijs 2017-03-13 19:57:00 +01:00
Chih-Yi Leu ec60526d60 Bug 1315037 - Use NS_ENSURE_SUCCESS for nsresult diagnosis. r=erahm 2017-03-13 02:14:00 +01:00
JerryShih 13095d53aa Bug 1310681 - fix the missed closing parenthesis. r=me
MozReview-Commit-ID: Crsog4XJhW0
2017-03-13 11:54:00 +01:00
Timothy Nikkel 39e0784bbd Bug 1346510. Don't allow the surface cache to unlock the animated frames of an animated image (when discarding of animated images is disabled). r=aosmond
The pref has never been enabled, so this is quite surprising!

It is currently possible (and has been for quite a while) to discard animated images. All we need is the follow sequence of events.

1. Decode an animated image.
2. Move the animated image out of view (so it is not painted).
3. Call canvas.drawImage on the animated image (or anything else that asks for a first frame only decode). This creates a static entry in the surface cache for this first frame in addition to the animated entry. Because it is a static request we will also start a first frame decode. RasterImage::Decode calls SurfaceCache::UnlockEntries

https://dxr.mozilla.org/mozilla-central/rev/4ceb9062ea8f4113bfd1b3536ace4a840a72faa7/image/RasterImage.cpp#1166

and bam, the animated frames are now unlocked (even though the RasterImage, and it's entry in the surface cache is still locked).
4. Switch tabs, open about:memory and minimize memory to actual throw away the animated frames.
5. Switch back to the image tab, scroll the image back into view, it will not animate, it will just show the last composited frame forever.
2017-03-14 01:11:44 -05:00
Carsten "Tomcat" Book fdb7f606e2 Backed out changeset 985d9b83325f (bug 1337043) for causing bug 1337043 2017-03-14 07:02:02 +01:00
L. David Baron 0d116bc3f9 Bug 1305754 - Don't rebuild the whole path in the rule tree when resolving style with replacement. r=heycam
MozReview-Commit-ID: HdNhDBnOS3u

--HG--
extra : transplant_source : %B1%CD%A5%21Tw%8A%E5%83E%DF%96%E6%7Cp%1A%20%AD%FD%17
2017-03-13 15:31:32 -07:00
Nicholas Nethercote d4cea5f1de Bug 1346356 (part 4) - Clean up notification in the profiler. r=mstange.
This patch does the following.

- Introduces NotifyObservers() for the simple notification cases in
  platform.cpp.

- Removes profiler_lock() and profiler_unlock() because they do notifications
  that the profiler add-on no longer listens for.

--HG--
extra : rebase_source : 77a1868ba494dea314702bbdf9478a1da36c9efb
2017-03-14 10:03:33 +11:00
Nicholas Nethercote b152707def Bug 1346356 (part 3) - Do most NotifyObserver() calls when gPSMutex is unlocked. r=mstange.
Calling NotifyObserver() with gPSMutex locked is a bad idea; arbitrary code can
run in observers, which can easily include code that calls other profiler
functions that themselves lock gPSMutex, causing deadlock. This has been seen
in practise with locked_profiler_stop().

This patch moves all but one of the NotifyObserver() calls in platform.cpp to
after the sections where gPSMutex is locked. The remaining call (for the
"profiler-subprocess") is harmless, because it just calls a simple callback
implemented within platform.cpp, and hard to move.

In the future we plan to allow profiler_start() and profiler_stop() to be
called from different threads. When that happens, it will be possible for the
"profiler-start" and "profiler-stop" notifications to arrive out of order.
Unfortunately this seems difficult to avoid. (Well, recursive mutexes would
make this problem much easier, but we don't have those...)

--HG--
extra : rebase_source : 78455c4b2d93a0d4110cdd401d6b542b641dd217
2017-03-14 10:03:33 +11:00
Nicholas Nethercote bb5a8f5d97 Bug 1346356 (part 2) - Merge SamplerThread::Join() into ~SamplerThread(). r=mstange.
SamplerThread::Join() is always called just before the SamplerThread object is
deleted. Might as well combine them.

--HG--
extra : rebase_source : d7fc013b83ec77e347ffc3929533c5259df77e06
2017-03-14 10:03:33 +11:00
Nicholas Nethercote d498318442 Bug 1346356 (part 1) - Fix SamplerThread leak in profiler_start(). r=mstange.
profiler_start() can call locked_profiler_stop(). In that case it must then
call SamplerThread::Join() in order to free the SamplerThread, but it currently
doesn't.

This patch adds such a call. It also marks locked_profiler_start() with
MOZ_MUST_USE to make this mistake less likely in the future.

--HG--
extra : rebase_source : 9045561aa54b54099e710c3eaea5ac533ca5485b
2017-03-14 10:03:33 +11:00
L. David Baron 8db21fb2ea Bug 1346692 - Clarify reftest documentation about combining <failure-type>s. No review.
This makes two changes:

* adds "on the line" to clarify what last means

* adds "when combining <failure-type> from the manifest include and the
  test line" to clarify that the parenthetical only applies to combining
  at different levels, and not within a line

DONTBUILD

--HG--
extra : rebase_source : 4e45753f11b20313ed010ec8d01e0403b89591fd
extra : amend_source : c1f4acb341f0cb2f713080e73c686a5e67aed521
2017-03-13 19:08:28 -07:00
Eric Rahm fab046bdc7 Bug 1344081 - Switch to Base64Decode in nsHttpNegotiateAuth::GenerateCredentials. r=jduell
MozReview-Commit-ID: 4A5tEV5Fb8
2017-03-13 19:09:26 -07:00
Makoto Kato 875087211f Bug 1345336 - Part 3. Update CLOBBER. r=Waldo
MozReview-Commit-ID: 3MGuXGD9Ln5

--HG--
extra : histedit_source : 9909ab6726ce467aa56e0c450053d594a657b6b1
2017-03-14 10:33:52 +09:00
Makoto Kato cebfbb06e4 Bug 1345336 - Part 2. Update ICU date file. r=Waldo
MozReview-Commit-ID: 2CWHVsLtaIt
2017-03-13 13:38:01 +09:00
Makoto Kato 831b62ec11 Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
MozReview-Commit-ID: EuVZ5sgHoBH
2017-03-13 13:37:47 +09:00
Wes Kocher bdd77feb24 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GiMyITxSevR
2017-03-13 16:39:38 -07:00
Wes Kocher 9c14a7c4ed Merge inbound to central, a=merge
MozReview-Commit-ID: ECt4ZkKUuQp
2017-03-13 16:37:21 -07:00
Michael Layzell 9b0ad3267d Bug 1346866 - Make the IPC serialization/deserialization time probes main-thread-only, r=billm
MozReview-Commit-ID: 5Sc820Jh494
2017-03-13 19:25:48 -04:00
Ehsan Akhgari d8777448ae Bug 1346981 - Add a Gecko Profiler label to WindowDestroyedEvent::Run; r=mystor
This function can potentially take a very long time.  This label helps us
identify it in BHR data via telemetry.
2017-03-13 19:11:41 -04:00
Felipe Gomes 202823730b Bug 1337043 - Don't bother classifying about: URLs. r=tnguyen r=francois
MozReview-Commit-ID: Dz9XcepYWjh
2017-03-13 20:07:30 -03:00
Michael Layzell f083c8ec83 Bug 1345857 - Clone TabData entries when restoring tabs, r=mikedeboer
MozReview-Commit-ID: BhAbhSHgXWt
2017-03-13 18:57:07 -04:00
Michael Layzell 45e778c301 Bug 1179542 - Wait for the page to load before checking menu status, r=ehsan
MozReview-Commit-ID: 7wHbkAC8eCI
2017-03-13 18:56:57 -04:00
Frederik Braun 9e93fd0d84 Bug 1346720 - Disallow invalid report IDs early on. r=gerald
MozReview-Commit-ID: GBDnzYh0gPt
2017-03-13 18:40:45 -04:00
Wes Kocher 74b80253bf Merge autoland to central, a=merge
MozReview-Commit-ID: BY29KDE4HlR
2017-03-13 13:58:11 -07:00
Wes Kocher 15777c0256 Merge graphics branch to m-c a=merge
MozReview-Commit-ID: 3R6vECA8sI1
2017-03-13 13:09:58 -07:00
Ben Kelly ded5d4f5c4 Bug 1346426 Don't crash if a window is frozen while there is a dummy timer in the list. r=ehsan 2017-03-13 15:26:22 -04:00
Sebastian Hengst 004811fcc7 Backed out changeset 46090632bad3 (bug 1345814) for failing reftests on Windows 8 x64 with e10s enabled, e.g. webgl-capturestream-test.html?preserve. r=backout n a CLOSED TREE 2017-03-13 19:22:32 +01:00
Sebastian Hengst 5a87040be3 Backed out changeset 5e4c135cb424 (bug 1345857) for failing at least marionette (test_refresh_firefox.py TestFirefoxRefresh.testReset), functional-ui and browser-chrome. r=backout on a CLOSED TREE 2017-03-13 19:21:03 +01:00
Luke Wagner 38869370c4 Bug 1342641 - Baldr: make OpIter always validate and produce output (r=bbouvier)
MozReview-Commit-ID: 3PD8DqFeV77

--HG--
extra : rebase_source : e79b0de90b612c7bc0e4fc4b7a7767c970d9faa2
2017-03-13 12:25:57 -05:00
Luke Wagner e887cb00e9 Bug 1342641 - Baldr: validate and compile in a single pass in Rabaldr (r=lth)
MozReview-Commit-ID: 22AK6gG1pZ7

--HG--
extra : rebase_source : 29ba24ad1f133148872130b422d705c9972a3583
2017-03-13 12:25:25 -05:00
Luke Wagner 097b235e34 Bug 1342641 - Baldr: validate and compile in a single pass in Ion (r=bbouvier)
MozReview-Commit-ID: HRW2BuA6GSs

--HG--
extra : rebase_source : cee7a41a5cc597d3133fa3e19160e4d5eed10388
2017-03-13 12:25:03 -05:00
Michael Layzell f838a81893 Bug 1345857 - Clone TabData entries when restoring tabs, r=mikedeboer
MozReview-Commit-ID: BhAbhSHgXWt
2017-03-13 13:25:01 -04:00
Kartikaya Gupta 916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta b1573d9a13 Bug 1344947 - Update reftest.list files with new webrender results. r=jrmuizel
MozReview-Commit-ID: 8F8ZetpBUUY
2017-03-13 13:03:24 -04:00
Kartikaya Gupta ca0d33d72c Bug 1344947 - Update webrender to e30fb2914928c0e596d8632ed234647c0fd1492e. r=jrmuizel
This also updates calls to push_scroll_layer in webrender_bindings to go with
a change in the API.
2017-03-13 13:03:06 -04:00
Christoph Kerschbaumer bbb07b16a8 Bug 1301666 - Remove triggeringPrincipal_b64 from SessionHistory.jsm. r=mikedeboer 2017-03-13 16:47:11 +01:00
Luke Wagner 92074ab0d0 Bug 1346269 - Baldr: remove dependency on TlsContext in ModuleGenerator::finish (r=bbouvier)
MozReview-Commit-ID: IU3vYQ98ZFB
2017-03-13 10:03:38 -05:00
sotaro 90e35e2b18 Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel 2017-03-13 23:55:39 +09:00
ffxbld a5c2b27889 No bug, Automated HPKP preload list update from host bld-linux64-spot-389 - a=hpkp-update 2017-03-13 07:39:08 -07:00
ffxbld 556a1935e6 No bug, Automated HSTS preload list update from host bld-linux64-spot-389 - a=hsts-update 2017-03-13 07:39:06 -07:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Carsten "Tomcat" Book 70def79ce3 merge autoland to mozilla-central a=merge 2017-03-13 15:19:25 +01:00
Julian Descottes de4ba3d20d Bug 1346786 - hide grid highlighter icon if display rule is overridden;r=gl
MozReview-Commit-ID: KBUVl2w1yyD

--HG--
extra : rebase_source : d6b36089e407ab72520c6150455e516d5d8198a1
2017-03-13 15:15:58 +01:00