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

526301 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto 1ab1c1e41b Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO

--HG--
extra : source : a4d8291c56fcde00238ab3166bbe6af6dd602340
2017-02-16 07:36:57 +01:00
Jonathan Watt e42cb4dd27 Bug 1349388, part 5 - Assert in AutoReferenceChainGuard's ctor that we didn't fail to break a loop. r=longsonr 2017-02-17 14:20:32 +00:00
Jonathan Watt b70b72f418 Bug 1349388, part 4 - Allow a single instance of AutoReferenceLimiter to guard against both reference loops and long reference chains. r=longsonr
--HG--
rename : layout/svg/AutoReferenceLimiter.h => layout/svg/AutoReferenceChainGuard.h
2017-02-17 13:15:18 +00:00
Jonathan Watt 618c7360e8 Bug 1349388, part 3 - Provide AutoReferenceLimiter with a default maximum reference chain length. r=longsonr 2017-02-16 11:18:33 +00:00
Jonathan Watt 6f850d0f40 Bug 1349388, part 2 - Add guard to AutoReferenceLimiter to prevent it being used as a temporary. r=longsonr 2017-02-16 10:31:03 +00:00
Jonathan Watt 78209c36d4 Bug 1349388, part 1 - Make AutoReferenceLimiter report long reference chains and reference loops to the console. r=longsonr 2017-02-16 10:26:39 +00:00
Sebastian Hengst 07aec638b0 Backed out changeset 2538e16328c7 (bug 1292051) for leaks in devtools/client/inspector/boxmodel/test/browser_boxmodel.js. r=backout 2017-03-22 09:40:24 +01:00
Jan de Mooij b86962b1de Bug 1133423 - Optimize sets of expando properties and expando setter calls on DOM proxies. r=evilpie 2017-03-22 09:08:08 +01:00
Christoph Kerschbaumer dc82ea3ccb Bug 1348801: Test OA of principal when opening link in new private window. r=gijs 2017-03-22 07:59:23 +01:00
Christoph Kerschbaumer 60bd2c482f Bug 1348801: Teach TriggeringPrincipal about OA when opening link in private window. r=gijs 2017-03-22 07:22:36 +01:00
Stanford Lockhart cb75c7d8b8 Bug 1292051 - Part 2: Add unit tests for properties under the box model. r=gl
MozReview-Commit-ID: K99iGuucH1I
2017-03-01 08:58:12 -04:00
Timothy Nikkel b23763af59 Bug 1346501. Remove mFrameCreateCalled from nsImageLoadingContent, it is now unused. r=mats 2017-03-22 00:32:50 -05:00
Timothy Nikkel ca076ee1dd Bug 1346501. Don't mark every image as visible when a frame is created for it. r=mats
This is a bug from https://hg.mozilla.org/mozilla-central/rev/2d171d75b746 (bug 1157546). It took a shortcut in trying to get around one of the downsides of tracking visibility on frames instead of content nodes.

We cannot get our primary frame during FrameCreate calls because FrameCreate is called during the frame's Init() function, which happens before the primary frame pointer is set.

So when TrackImage is called from FrameCreate |frame| will be null but mFrameCreateCalled will be true. So we won't hit the early return that tries to detect nonvisible images.

The comment being removed is just wrong. We can obtain a frame for <feImage> just as well as any other image type.

The thing that is different about <feImage> is that it calls IncApproximateVisibleCount() followed by FrameCreated() in the frame's Init() function. This means that the frame is marked visible at the time of the FrameCreated, and there will be no further calls to TrackImage (because there are no further changes). So the FrameCreated call is the last chance to mark this image visible. The regressing changeset tries to get around this by just considering the image visible whenever we know a frame exists (because of mFrameCreateCalled) but can't access it. This ends up affecting all types of images, not just <feImage>.

The above paragraph is also true for SVG <image> that are non-display.
2017-03-22 00:32:48 -05:00
Shu-yu Guo 95911a37b3 Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by try statements inside for-of. (r=arai) 2017-03-21 22:10:02 -07:00
Jonathan Watt 6948f30efd Bug 1345851 - Fix the transform-box tests in reftests/transform/transform-box-svg-3a.svg. r=cjku
MozReview-Commit-ID: Hk3x3J2O878
2017-02-14 20:18:26 +00:00
Jonathan Watt f9e4c98200 Bug 1349293, part 3 - More agressivly assert !FrameMaintainsOverflow() in FinishAndStoreOverflow. r=mattwoodrow
MozReview-Commit-ID: H2khv80K5rG
2017-02-13 15:55:27 +00:00
Jonathan Watt 8de18141c7 Bug 1349293, part 2 - Avoid unnecessary nsIFrame::IsFrameOfType and GetType calls in UnionBorderBoxes. r=mattwoodrow
MozReview-Commit-ID: I21poXqIjJy
2017-02-13 15:16:38 +00:00
Jonathan Watt 22e2890de0 Bug 1349293, part 1 - Prevent UnionBorderBoxes from processing NS_FRAME_IS_NONDISPLAY frames. r=mattwoodrow
MozReview-Commit-ID: EDGd5sJo5E2
2017-02-13 15:06:20 +00:00
Jonathan Watt e331fb83fd Bug 1349244 - Rename nsISVGChildFrame to nsSVGDisplayableFrame to reduce confusion. r=longsonr
MozReview-Commit-ID: IQCv2ebZbwk

--HG--
rename : layout/svg/nsISVGChildFrame.h => layout/svg/nsSVGDisplayableFrame.h
2017-02-09 18:24:31 +00:00
David Anderson d87c3b4cc9 Fix mask layer transforms in the D3D11 compositor. (bug 1349056, r=mstange) 2017-03-21 20:36:03 -07:00
David Anderson 8217a1b1a7 Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow) 2017-03-21 20:32:56 -07:00
David Anderson 3f1c4ac214 Propagate the compositor through CompositableHost::Composite. (bug 1343814 part 4, r=mattwoodrow) 2017-03-21 20:32:55 -07:00
David Anderson ca86baecf0 Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson e61288b390 Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson 019d548845 Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
David Anderson 4d00ab76d4 Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
Emanuel Hoogeveen 5653dc5bd3 Bug 1346660 - Confirm that the poison pattern is present in the buffer after reallocation. r=jandem 2017-03-17 05:17:00 -04:00
Junior Hsu 8fc810c5c9 Bug 1325091 - Add flag indicating presence of alternative data in the cache entry to cache index. r=michal 2017-03-06 18:21:59 +08:00
srivatsav 769531c22a Bug 1343497 - Remove the unused .eslintrc.js. r=standard8 2017-03-21 19:16:09 +05:30
John Dai b8af434c87 Bug 1347446 - Move custom element reactions stack to DocGroup. r=wchen 2017-03-21 00:42:00 -04:00
Glenn Randers-Pehrson 995a791294 Bug 1348356 - Make libpng 1.6.29 the minimum required version in old-configure.in. r=jrmuizel 2017-03-18 11:51:00 -04:00
Glenn Randers-Pehrson dbfdd899bc Bug 1348356 - Update in-tree libpng to version 1.6.29. r=jrmuizel 2017-03-18 10:33:00 -04:00
Edmund Wong f2596e1f77 Bug 1345422 - Do not hardcode the sfx package and installer path. r=mshal 2017-03-22 08:52:35 +08:00
Wes Kocher 76372437ce Backed out changeset c040782ca691 (bug 1344171) for being the likely cause of Win7VM xpcshell crashes a=backout
MozReview-Commit-ID: GcZD8oWQ548
2017-03-21 17:19:32 -07:00
Steve Fink f8d6faaee0 Followup to bug 1346016, JSON formatting problems
MozReview-Commit-ID: 5IsmDYzMqgI

--HG--
extra : histedit_source : 8ab338329ec413bc9f5269d25ffe65c6ce644c9c
2017-03-21 16:52:15 -07:00
Steve Fink 3a60baaf99 Bug 1346016 - Add a build to test --enable-fuzzing, r=dustin
MozReview-Commit-ID: Ko4SsdafxAN

--HG--
extra : rebase_source : 4648385bb95109a4cd964bb5b751ffeaa8cf614d
2017-03-01 14:43:19 -08:00
Wes Kocher 3c092e1002 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Xidorn Quan 12ae34813a Bug 1348157 - Add RUST_BACKTRACE=1 for cargo build. r=glandium
MozReview-Commit-ID: LOqNlOWZ2fC

--HG--
extra : source : a71fcfc7da72c159537cb3fd5ff9e3ef26168dac
2017-03-22 10:08:48 +11:00
Wes Kocher 8fb7d84cb4 Merge inbound to central, a=merge
MozReview-Commit-ID: FKkx5SygvHz
2017-03-21 16:08:32 -07:00
Wes Kocher 3d32b77e07 Merge autoland to central, a=merge
MozReview-Commit-ID: 4D4lHKDN9w4
2017-03-21 15:32:45 -07:00
Geoff Brown 5f20a273d5 Bug 1336541 - Suppress DDMS prompt when starting android emulator; r=jmaher 2017-03-21 16:11:39 -06:00
Wes Kocher 9eb6c49efc Backed out 2 changesets (bug 1345894) for build bustage a=backout CLOSED TREE
Backed out changeset 6ad5c0f245e2 (bug 1345894)
Backed out changeset ec18ee811b9a (bug 1345894)

MozReview-Commit-ID: 3uonLJOmEAC
2017-03-21 14:35:19 -07:00
Sebastian Hengst c170e098a2 Bug 1345894 - Set expiry for plugin notification/infobar telemetry and make it opt-out for monitoring Flash CTP rollout: Follow-up: Remove histograms from whitelist of email-less histograms. r=bustage-fix on a CLOSED TREE 2017-03-21 22:25:16 +01:00
Carsten "Tomcat" Book 0079c7adf3 Backed out changeset 31172c0751dd for investigating Bug 1349208 on a CLOSED TREE 2017-03-21 17:22:32 +01:00
ffxbld 3cb93f3ecb No bug, Automated blocklist update from host bld-linux64-spot-094 - a=blocklist-update 2017-03-21 08:22:13 -07:00
ffxbld 06c4675584 No bug, Automated HPKP preload list update from host bld-linux64-spot-094 - a=hpkp-update 2017-03-21 08:22:11 -07:00
ffxbld eb520767a4 No bug, Automated HSTS preload list update from host bld-linux64-spot-094 - a=hsts-update 2017-03-21 08:22:08 -07:00
Nathan Froyd 5fd1d453a9 Bug 1312087 - part 1 - move mozilla::{Mutex,CondVar} to use mozglue locking primitives; r=erahm
This change moves us away from NSPR primitives for our primary
synchronization primitives.  We're still using PRMonitor for
ReentrantMonitor, however.

The benefits of this change:

* Slightly faster, as we don't have to deal with some of NSPR's overhead;

* Smaller datatypes.  On POSIX platforms in particular, PRLock is
  enormous. PRCondVar also has some unnecessary overhead.

* Less dynamic memory allocation.  Out of necessity, Mutex and CondVar
  allocated the NSPR data structures they needed, which lead to
  unnecessary checks for failure.

  While sizeof(Mutex) and sizeof(CondVar) may get bigger, since they're
  embedding structures now, the total memory usage should be less.

* Less NSPR usage.  This shouldn't need any explanation.
2017-03-21 10:20:36 -05:00
Nathan Froyd 5b67a265dc Bug 1312087 - part 0 - use PTHREAD_MUTEX_ADAPTIVE_NP mutexes on Linux/glibc; r=erahm
This matches NSPR's behavior for its PRLock type.
2017-03-21 11:20:36 -04:00
Michael Layzell 838290fd27 Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku
MozReview-Commit-ID: LigZnHM34CC
2017-03-21 11:08:03 -04:00