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

535596 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze 2e2f358aa9 Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Carsten "Tomcat" Book 7a4eb50360 merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Iris Hsiao 6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Mike Hommey fcd9a5550a Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm
NO_TLS used to be hardcoded on mac because up to 10.6, __thread was not
supported. Until recently, we still supported for 10.6, and it's not the
case anymore, so we could make mac builds use __thread.

Unfortunately, on OSX, __thread circles back calling malloc to allocate
storage on first access, so we have an infinite loop problem here.
Fortunately, pthread_keys don't have this property, so we can use that
instead. It doesn't appear to have significantly more overhead (and TLS
overhead is small anyways compared to the amount of work involved in
allocating memory with mozjemalloc).

At the same time, we uniformize the initialization sequence between
mozjemalloc and mozjemalloc+replace-malloc, such that we have less
occasions for surprises when riding the trains (replace-malloc being
nightly only), ensuring the zone registration happens at the end of
mozjemalloc's initialization.
2017-05-12 18:12:20 +09:00
Mike Hommey f5461de678 Bug 1361258 - Initial implementation for jemalloc_thread_local_arena. r=erahm
The function, when passed `true`, creates a new arena with no attachment
in the global list of arenas, and assigns it to the current thread.
When passed `false`, it restores the default arena.

Some details are left out because they don't matter yet, as the sole
initial use of the API is going to invoke the function when stylo rayon
threads start up, which happens exactly once per thread, and at thread
exit time, which happens at shutdown, if ever.

This simplifies things, and leaves those details to followup(s):
- Arenas can't simply be killed when the function is called with `false`
  again (or when the thread dies) because they may still contain valid
  allocations that could have been passed to other threads. Those arenas
  should be kept until they are empty.
- jemalloc_stats doesn't know about them and will under-report memory
  usage.
- pre/post fork hooks don't know about them and will not force-unlock
  their locks. In practice, until those arenas are used for something
  else than the style system, this can't lead to the dead-locks that
  these hooks help prevent because nothing should be touching pointers
  allocated through them after fork.
2017-05-12 18:12:15 +09:00
Mike Hommey 6277defd95 Bug 1361258 - Add a hazard exception for Gecko_SetJemallocThreadLocalArena. r=me 2017-05-12 18:12:07 +09:00
Julian Seward 83969e88eb Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
The intent of the API is to allow threads to opt-in to use a separate
mozjemalloc arena.

This indroduces a dummy shell with no actual implementation.
2017-05-12 18:08:08 +09:00
Matthew Noorenberghe 903659e0dc Bug 1364334 - Rename "browser.formautofill.*" prefs to "extensions.formautofill.*". r=lchang
MozReview-Commit-ID: HT8zSS1s6hN

--HG--
extra : rebase_source : 9ef3966e610116f912af4c66daf2c5f37e0f84c4
2017-05-11 23:34:00 -07:00
Matthew Noorenberghe aec5cca3ee Bug 1364334 - Rename "browser.formautofill.enabled" pref to "extensions.formautofill.addresses.enabled". r=lchang
MozReview-Commit-ID: 8si4xtBGv8J

--HG--
extra : rebase_source : e6bf8bbb582437cdaf205ba6f89d039467b28429
2017-05-11 23:34:30 -07:00
Sebastian Hengst 3105dd09f8 Backed out changeset 66513d27bc96 (bug 1359288) for throwing exceptions during Android robocop tests. r=backout 2017-05-12 09:16:24 +02:00
Boris Chiou a2677748aa Bug 1364004 - Rename css-timing-1 to css-timing. r=birtles
MozReview-Commit-ID: 11F4V5orZIv

--HG--
rename : testing/web-platform/meta/css-timing-1/__dir__.ini => testing/web-platform/meta/css-timing/__dir__.ini
rename : testing/web-platform/tests/css-timing-1/OWNERS => testing/web-platform/tests/css-timing/OWNERS
rename : testing/web-platform/tests/css-timing-1/cubic-bezier-timing-functions-output.html => testing/web-platform/tests/css-timing/cubic-bezier-timing-functions-output.html
rename : testing/web-platform/tests/css-timing-1/frames-timing-functions-output.html => testing/web-platform/tests/css-timing/frames-timing-functions-output.html
rename : testing/web-platform/tests/css-timing-1/frames-timing-functions-syntax.html => testing/web-platform/tests/css-timing/frames-timing-functions-syntax.html
rename : testing/web-platform/tests/css-timing-1/step-timing-functions-output.html => testing/web-platform/tests/css-timing/step-timing-functions-output.html
rename : testing/web-platform/tests/css-timing-1/testcommon.js => testing/web-platform/tests/css-timing/testcommon.js
extra : rebase_source : f4b79472792c6104d11358d6543117b0432ee255
extra : source : b4b9a91b6c17f0831e57f343f495598babc9d12f
2017-05-11 17:04:05 +08:00
Ruturaj K. Vartak eeb5e9e9e1 Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
MozReview-Commit-ID: KojxbqOAJAQ
2017-05-11 04:25:00 +01:00
Jan de Mooij 652857ca5b Bug 1364014 - Remove unnecessary is-array check in GCMarker::restoreValueArray. r=jonco 2017-05-12 09:46:21 +02:00
Ehsan Akhgari 8a04849cee Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h.
That brings XPCOM string headers with it.
2017-05-12 02:35:09 -04:00
Ehsan Akhgari 9fc6c978e3 Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange 2017-05-12 02:35:09 -04:00
vincentliu 3d037c531f Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
Phil Ringnalda 0b5026dbf2 Backed out 3 changesets (bug 1310885) for heap write hazard failures
Backed out changeset 77352010d8e8 (bug 1310885)
Backed out changeset 9245a2fbb974 (bug 1310885)
Backed out changeset 7c2db290c4b6 (bug 1310885)

MozReview-Commit-ID: 7JWuxt9QDO0
2017-05-11 23:03:31 -07:00
Kris Maglione 01da50be42 Bug 1358846: Temporarily disable low-value tests that fail only on Windows. r=me
MozReview-Commit-ID: AklygLaeckt

--HG--
extra : rebase_source : 39b68fc73a87caacb8a401d786df9e0a21569bc2
2017-05-11 22:42:44 -07:00
Daniel Holbert b206e22623 Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel
MozReview-Commit-ID: 8WP2qDiKpyP

--HG--
extra : rebase_source : 3be40062f6e1de2e6f8d135f7d11ba2f86e6ab01
2017-05-10 13:55:37 -07:00
Daniel Holbert ad52211150 Bug 1344398 part 2: React to some CSS 'overflow' changes on body/html by simply calling UpdateViewportScrollbarStylesOverride() instead of reframing. r=bz,tnikkel
MozReview-Commit-ID: Lpr9aNv9hAB

--HG--
extra : rebase_source : c8cccf8e6495ab1d57f9680c07b3e43a488e8691
2017-05-10 13:53:27 -07:00
Daniel Holbert 3b750bdae1 Bug 1344398 part 1: Move presContext variable a little earlier in a nsCSSFrameConstructor method. r=tnikkel
Also, assert that this presContext is non-null (which we already implicitly
assume, when we dereference it without null-checking it).

MozReview-Commit-ID: IIYUqGQTOnb

--HG--
extra : rebase_source : 67cbf91fb2fdeb46352559fb519693d6d13d3224
2017-05-10 13:53:25 -07:00
Kris Maglione 695828f6ff Bug 1358846: Disable Jetpack child_process test. r=me
MozReview-Commit-ID: 65a0bfbtskU

--HG--
extra : rebase_source : e0d9e8a6f6927ab999b2a29fa6a9fd6a33dde5a9
2017-05-09 21:04:35 -07:00
Robert Helmer 7f9c494c09 Bug 1349723 - remove tests for about:addons UI in standalone window. r=aswan
MozReview-Commit-ID: GSz3OdDbFn3

--HG--
extra : rebase_source : db68f7600d35d88e9371c1752eeaf682a8387275
2017-05-08 15:57:42 -07:00
Shing Lyu 10b3bba051 Bug 1359288 - Enable Android reftest to resume from crashes. r=jmaher
MozReview-Commit-ID: EqTOdEwfTWi

--HG--
extra : rebase_source : ff8ceb97c0362f68eea85c1542bab85dc2e17024
2017-05-10 10:38:48 +08:00
Kit Cambridge 457e13af4c Bug 1345665 - Improve push crypto tests. r=mt
MozReview-Commit-ID: 5zkqDEryGsA

--HG--
extra : rebase_source : c54b264c292472d930560f017bf1400d1b2a941d
2017-05-10 10:35:42 -07:00
Kit Cambridge d4dafb9ea8 Bug 1345665 - Implement the "aes128gcm" push decryption scheme. r=mt
MozReview-Commit-ID: 3touVfeSDwE

--HG--
extra : rebase_source : cb02c827fb657440c4ff05b7212a3015baff33be
extra : source : 117a38e95fd52cdba968e0f169ebb3a63e69e118
2017-05-11 22:03:26 -07:00
Kit Cambridge 3a3c236cd9 Bug 1345665 - Refactor push decryption into separate decoder classes. r=mt
This patch moves the decryption methods into a base `Decoder` class,
and an intermediate `OldSchemeDecoder` with subclasses for aesgcm and
aesgcm128. The base class provides a `decrypt` method that computes the
ECDH shared secret, derives the key and nonce, decrypts each record,
and removes padding. Subclasses implement `deriveKeyAndNonce`,
`unpadChunk`, `chunkSize`, and `padSize`.

MozReview-Commit-ID: IuGPaofWKNq

--HG--
extra : rebase_source : daaf414127a11525ce7d61c15b96e7f3493611de
2017-05-10 10:44:51 -07:00
Nils Ohlmeier [:drno] 9b6b4c7751 Bug 1363563: remove and erase existing header extensions. r=mjf
MozReview-Commit-ID: IzVEaOhLNwR

--HG--
extra : rebase_source : 0574353c3f0be051fe766090802a5d91d41077e9
2017-05-10 16:19:40 -07:00
Phil Ringnalda 6d6a1e36ef Merge m-c to autoland
MozReview-Commit-ID: 3yj3UmhKWDn
2017-05-11 21:47:36 -07:00
Phil Ringnalda 6abf66a051 Bug 1363982 followup, mark html/editing/editing-0/spelling-and-grammar-checking/spelling-markers-007.html and spelling-markers-008.html as failing on OS X debug too, a=merged-around-bustage
MozReview-Commit-ID: 5HbncuMNIKw
2017-05-11 21:43:47 -07:00
Phil Ringnalda ba595d52b3 Bug 1363982 followup, mark service-workers/service-worker/fetch-event.https.html as failing on OS X debug too, a=merged-around-bustage
MozReview-Commit-ID: HabH9MeqhSN
2017-05-11 21:41:16 -07:00
Wes Kocher 7f771cd8bd Bug 1363982 - Followup - Mark span-limits.html as also failing on OSX debug a=bustage
MozReview-Commit-ID: BIsToip7FBd

--HG--
extra : source : f79fefb42d5ed588485b799943e4196d62f7f53c
2017-05-11 17:13:24 -07:00
Iris Hsiao 140ea4f78b Backed out changeset d5d0e32f5904 (bug 1354504) for devtool perma-failing in browser_net_filter-flags.js. a=backout
--HG--
extra : amend_source : 150de2fdee4a5695703ad5937a5c1131929643c1
2017-05-12 10:13:19 +08:00
Wes Kocher 3416c23dad Backed out changeset 0a25a0fa3b32 (bug 1362822) for osx debug devtools timeouts a=merge
MozReview-Commit-ID: 3LMChZJEBHp

--HG--
extra : source : 50940861284c3c6f804a5c7e1ab90b4ddf55b684
2017-05-11 15:23:43 -07:00
Wes Kocher f1c0f35ea6 Merge inbound to m-c a=merge
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Wes Kocher d23a68d914 Merge autoland to central, a=merge
MozReview-Commit-ID: 4Po5DGPupTx
2017-05-11 16:43:57 -07:00
Ehsan Akhgari cc2e0b06df Bug 1364243 - Bring down the number of native stacks submitted through BHR temporarily in the hopes of not blowing up the telemetry ping sizes on Nightly for Windows x86; r=mystor a=kwierso 2017-05-11 19:00:22 -04:00
Sebastian Hengst a477978a5d Backed out changeset a418e4a81c02 (bug 1362388) for build bustage from netwerk/protocol/http/nsHttpChannel.cpp:597 not being declared. r=backout 2017-05-11 18:01:01 +02:00
Sebastian Hengst 4dc5072fcb Backed out changeset fef09999e003 (bug 1362388) 2017-05-11 18:00:09 +02:00
ffxbld d2965d70a1 No bug, Automated blocklist update from host bld-linux64-spot-376 - a=blocklist-update 2017-05-11 08:11:49 -07:00
ffxbld 41c4f9d9b5 No bug, Automated HPKP preload list update from host bld-linux64-spot-376 - a=hpkp-update 2017-05-11 08:11:46 -07:00
ffxbld e3cb6315c8 No bug, Automated HSTS preload list update from host bld-linux64-spot-376 - a=hsts-update 2017-05-11 08:11:43 -07:00
Sebastian Hengst db8f56dd23 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HWYxZeNWish
2017-05-11 16:50:12 +02:00
Dustin J. Mitchell 363fd57772 Bug 1363893: remove downed scl3 proxxy instance; r=catlee
MozReview-Commit-ID: DBvun6vwCGX

--HG--
extra : rebase_source : 7c5c37342e8478f783104f7222b006390dc390b7
2017-05-11 14:15:15 +00:00
Carsten "Tomcat" Book 2e978e4438 Backed out changeset 0ded74baeaf2 (bug 1340627) for blocking m-i to m-c merge
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-11 12:52:25 +02:00
Carsten "Tomcat" Book d6dc2abb78 Backed out changeset 1b2683a840f3 (bug 1340627) 2017-05-11 12:51:59 +02:00
Carsten "Tomcat" Book 93cc82c178 Backed out changeset abffc78e1cf6 (bug 1340627) 2017-05-11 12:51:58 +02:00
Carsten "Tomcat" Book 52cc9e6849 Backed out changeset 7134018d3724 (bug 1340627) 2017-05-11 12:51:56 +02:00
Carsten "Tomcat" Book ac258e9322 Backed out changeset 84fd6b2bfaf6 (bug 1340627) 2017-05-11 12:51:54 +02:00
Carsten "Tomcat" Book adc8478ab1 Backed out changeset b567eb8d5d39 (bug 1340627) 2017-05-11 12:51:52 +02:00