Commit Graph

508126 Commits

Author SHA1 Message Date
Boris Zbarsky
89948607fd Bug 1332353. Make it clearer when a stylesheet is really owned by its mDocument. r=heycam 2017-01-19 23:49:44 -05:00
Mike Hommey
dbc87ab49d Bug 1286613 - Update jemalloc 4 to c6943ac. r=njn
This picks the same changes as the ones we just did to
memory/build/zone.c, plus a oneliner for sparc64.

--HG--
extra : rebase_source : ca917461472e8188fbfc6e2a971b228b68014e38
2017-01-18 15:47:53 +09:00
Mike Hommey
4e8f02fe22 Bug 1286613 - Add dummy implementations for most remaining OSX zone allocator functions. r=njn
Some system libraries are using malloc_default_zone() and then using
some of the malloc_zone_* API. Under normal conditions, those functions
check the malloc_zone_t/malloc_introspection_t struct for the values
that are allowed to be NULL, so that a NULL deref doesn't happen.

As of OSX 10.12, malloc_default_zone() doesn't return the actual default
zone anymore, but returns a fake, wrapper zone. The wrapper zone defines
all the possible functions in the malloc_zone_t/malloc_introspection_t
struct (almost), and calls the function from the registered default zone
(jemalloc in our case) on its own. Without checking whether the pointers
are NULL.

This means that a system library that calls e.g.
malloc_zone_batch_malloc(malloc_default_zone(), ...) ends up trying to
call jemalloc_zone.batch_malloc, which is NULL, and crash follows.

So as of OSX 10.12, the default zone is required to have all the
functions available (really, the same as the wrapper zone), even if they
do nothing.

This is arguably a bug in libsystem_malloc in OSX 10.12, but jemalloc
still needs to work in that case.

[Adapted from
c6943acb3c]

--HG--
extra : rebase_source : 7d7a5b47fa18f56183e99c3655aee003c9be161e
2017-01-18 14:35:11 +09:00
Mike Hommey
dae510ade1 Bug 1286613 - Don't rely on OSX SDK malloc/malloc.h for malloc_zone struct definitions. r=njn
The SDK jemalloc is built against might be not be the latest for various
reasons, but the resulting binary ought to work on newer versions of
OSX.

In order to ensure this, we need the fullest definitions possible, so
copy what we need from the latest version of malloc/malloc.h available
on opensource.apple.com.

[Adapted from
c68bb41793]

--HG--
extra : rebase_source : ab19c478b568ea24095a3be62c39fb81efc1920a
2017-01-18 13:50:35 +09:00
Ting-Yu Lin
0bfbd8a186 Bug 1331846 - Exclude the lines which have "include" appeared in the middle. r=dbaron
Change "include" match rule from "^include" to "include " since there might
be "skip-if" or other <failure-type> conditions before the "include". The
single space after is added so that tests like "include.html" won't be
excluded.

DONTBUILD because this patch modifies a script checking for the validity of
reftests, which is NPOTB.

MozReview-Commit-ID: 3tFFIo8RKFp

--HG--
extra : rebase_source : 970de4530aa2cb2aa65a0e017b6cd09de8aa2fdf
2017-01-18 11:20:56 +08:00
John Lin
25bf73baef Bug 1332177 - handle ICodec.configure() failure. r=jchen
MozReview-Commit-ID: KPhI04EA9n3

--HG--
extra : rebase_source : ceb40b48a1cb1e1a1458626c1ef2adbbc472d58e
2017-01-19 16:11:01 +08:00
Nicholas Nethercote
b7e4754837 Bug 1331310 - Remove unbufferedLineConverter in fix_linux_stacks.py. r=glandium.
subprocess.Popen is much simpler. Also, addr2line's stderr is now ignored,
which avoids some intermittent problems with DMD output.
2017-01-18 13:57:39 +11:00
Michael Layzell
bf4805d71b Bug 1332095 - Never set mLastWindowLeft on the Chrome TabGroup, r=billm
MozReview-Commit-ID: K2jLCuTUTSd
2017-01-19 15:27:30 -05:00
Michael Layzell
ea70d36157 Bug 1332078 - Ignore trivial nodes when checking for MOZ_NO_ADDREF_RELEASE_ON_RETURN calls, r=ehsan
MozReview-Commit-ID: JWBQXSTrlad
2017-01-19 15:27:22 -05:00
Michael Layzell
fb045a0ce3 Bug 1326289 - Fix BitWidth assertion failure in debug clang-plugin, r=ehsan
MozReview-Commit-ID: JNPc4CqEgPd
2017-01-19 15:26:49 -05:00
Michael Layzell
d622591233 Bug 1331525 - Send the Large-Allocation success message to the correct document, r=ehsan
MozReview-Commit-ID: E44hlMI2EE3
2017-01-19 15:26:28 -05:00
Michael Layzell
ccc271ebd2 Bug 1330332 - Update prerendering tests to validate global history state, r=smaug
MozReview-Commit-ID: BlmyzkURF9t
2017-01-19 15:26:18 -05:00
Michael Layzell
7761c35dbf Bug 1330332 - Add support for handling global history changes with PendingGlobalHistoryEntry for prerendering, r=smaug
MozReview-Commit-ID: 2j9JwRSGtTC
2017-01-19 15:26:17 -05:00
Luke Wagner
b46f682453 Bug 1332312 - remove JS_DISABLE_SLOW_SCRIPT_SIGNALS (r=bbouvier)
MozReview-Commit-ID: 6uyBGnbAimG

--HG--
extra : rebase_source : 5a676d3cd6584b859eced2fdcced77e08f0d0aa6
2017-01-19 14:06:24 -06:00
Wes Kocher
32faf4c617 Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Neil Deakin
61da00566d Bug 1297342, reserved attribute should be on key element not on the command, r=felipe 2017-01-19 13:57:11 -05:00
Neil Deakin
fa8292ec1f Bug 1327908, on Windows, don't hide tooltips when a key is pressed. On other platforms, allow hiding tooltips when a key is pressed except when modifier keys are pressed alone, r=felipe 2017-01-19 13:57:11 -05:00
Yura Zenevich
ebf1504380 Bug 1327972 - make sure alt/cmd+lefr/right navigate history even if devtools toolbar is focused. r=jryans
MozReview-Commit-ID: 86Qhmtz4ODG
2017-01-19 12:21:12 -05:00
Gabriel Luong
9f2789ed91 Bug 1332049 - Add a new working copy of the Spectrum widget for the color picker refresh. r=pbro 2017-01-19 11:59:18 -05:00
Gijs Kruitbosch
2311f84d1e Bug 1312216 - followup: also init _openedURL to null for the subdialogs singleton to squash the strict warning, rs=me,trivial,firebot,etc.
MozReview-Commit-ID: FQTEI7jYGyq

--HG--
extra : rebase_source : dd1d5901adab5810c7e6296099e0af85cd6f0eab
2017-01-19 16:57:01 +00:00
Gabor Krizsanits
c56ff65186 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-19 17:43:05 +01:00
Ben Kelly
ace278d884 Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth 2017-01-19 08:11:41 -08:00
James Graham
db68e7c717 Bug 1331899 - Fixup Wr metadata missing Linux 32/Ubuntu 16.04 case on a CLOSED TREE, a=testonly
MozReview-Commit-ID: HpOIXYWOd2b
2017-01-19 15:50:25 +00:00
Carsten "Tomcat" Book
3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Carsten "Tomcat" Book
709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Lars T Hansen
3073c139c5 Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layer. r=luke
--HG--
extra : rebase_source : 4a4629350101f9384a5818d78d8e8a30d9e2c052
2017-01-19 12:45:44 +01:00
Dylan Roeh
9d83c8ce5e Bug 1303362 - Set a flag on custom tabs so that links do not open in a new tab. r=snorp 2017-01-19 09:18:40 -06:00
Carsten "Tomcat" Book
54bb953576 Backed out changeset 2164277367cc (bug 1317947) for causing timeouts in devtools tests on a CLOSED TREE
--HG--
extra : amend_source : f93373ccd4b50914ad5ef3fdf64cceab78d66c37
2017-01-19 10:08:33 +01:00
Xidorn Quan
1305bbb18d Bug 1332193 - Fix several properties to return NeutralChange hint. r=heycam
MozReview-Commit-ID: GDNRy6vqmL8

--HG--
extra : rebase_source : 8705d493d33f6593846bea93ccb0b39c269688dd
2017-01-19 19:13:02 +11:00
Xidorn Quan
97f33ec2f8 Bug 1332180 - Early return from shape-outside:url() value in ctor of FloatInfo. r=TYLin
MozReview-Commit-ID: E2nj3DWt1fr

--HG--
extra : rebase_source : 65cd44b001f8f6ed0085d03f7bc45d07780ef5c1
2017-01-19 16:41:19 +11:00
Alastor Wu
4d3816d9e0 Bug 1332199 - remove always-true assertion. r=gerald
Because we read 8 bits from extradata, it won't exceed MAX_SPS/PPS_COUNT (256).

MozReview-Commit-ID: 5qr1pDLrmvt

--HG--
extra : rebase_source : 4a7269a7430ea913650298ad06a2132297dad85d
2017-01-19 17:37:29 +08:00
Lars T Hansen
c534370525 Bug 1329096 - Wasm baseline, remove the label pool and use NonAssertingLabel instead. r=luke
--HG--
extra : rebase_source : 58e3343e6c57d7fea2227ef5977f43ea4640a08d
2017-01-18 20:11:32 +01:00
Lars T Hansen
1b3b6a4622 Bug 1316814 - wasm baseline, use the iterator's control stack. r=luke
--HG--
extra : rebase_source : e7e6200a3664c1ea7a3ba01d5718d505950672aa
2017-01-18 19:58:26 +01:00
Lars T Hansen
4bfa06af89 Bug 1316814 - Split wasm iterator's readEnd and popEnd. p=sunfish, r=luke
--HG--
extra : rebase_source : 2d78b17be893be405c8cc103203c18827dfc5b29
2017-01-18 19:55:10 +01:00
Franziskus Kiefer
e37236bc1f Bug 1317947 - land NSS ea43fcc316e1, r=me
--HG--
extra : rebase_source : dcb24fa91fba4e99e4bc2cb254fe4f7d3a66be2f
2017-01-19 08:52:18 +01:00
Andrea Marchesini
7add4454d4 Bug 1331977 - CreateException doesn't use JSContext argument, r=qdot 2017-01-19 09:03:03 +01:00
Ray Lin
5f1bacb107 Bug 1328061 - Restore dragging state when video seeks to the same point twice. r=Gijs
MozReview-Commit-ID: 2AiMzufcKyd

--HG--
extra : rebase_source : 790325cbf5b7c676c11f00cdf32195ebe61e33b0
2017-01-18 10:52:19 +08:00
Johann
a5afbf270c Bug 1328330 - Remove vp8 error concealment. r=jesup, r=jya
This feature is unused by WebRTC.

--HG--
extra : rebase_source : 6888ec8ef4ebd1fe8529132ac110d9f991f2abc7
2017-01-18 07:37:00 -05:00
Liang-Heng Chen
db658556bf Bug 1321841 - Better checksum for "live" adapters. r=bagder
MozReview-Commit-ID: Ldql5weiLyy

--HG--
extra : rebase_source : 240ce387fad691fcf4825f0b85fefe094e01972f
2017-01-18 05:40:00 -05:00
Ryan VanderMeulen
8354e335b0 Bug 1332170 - Make the pdf.js mochitests pass ESLint and remove them from the whitelist. r=yury
--HG--
extra : rebase_source : aea237747a5869bcab945bdfd3e6b6ecada7be17
2017-01-19 10:11:57 -05:00
Neil Deakin
68b0311309 Bug 1321472, test for drag scrolling in a menulist, r=mconley 2017-01-19 10:04:26 -05:00
Neil Deakin
234dd053c4 Bug 1321472, move the drag-scrolling behaviour into the menulist binding so that both remote <select> elements and <menulist> can share this behaviour, r=mconley 2017-01-19 10:04:20 -05:00
Neil Deakin
9f8306f97f Bug 1321472, allow drag-scrolling the select popup when the mouse is pressed on an option in the list, r=mconley 2017-01-19 10:04:11 -05:00
Neil Deakin
91871ff7dd Bug 1321472, when the capturing content is inside a popup, use the popup as the root frame when searching for a mouse target rather than the root frame, otherwise the capturing content's frame won't be found, r=smaug 2017-01-19 10:04:04 -05:00
Neil Deakin
839f1bb76c Bug 1311279, when the mouse is released, check if it should be retargetted at the select element in the content process, so that a click event is received, r=mconley 2017-01-19 10:03:56 -05:00
Mike Hommey
e52769e834 Bug 1286613 - Use the same zone allocator implementation as replace-malloc for mozjemalloc. r=njn
We have been using a different zone allocator between mozjemalloc and
replace-malloc for a long time. Jemalloc 4 uses the same as
replace-malloc, albeit as part of the jemalloc upstream code base.

We've been bitten many times in the past with Apple changes breaking the
zone allocator, and each time we've had to make changes to the three
instances, although two of them are similar and the changes there are
straightforward.

It also turns out that the way the mozjemalloc zone allocator is set up,
when a new version of OSX appears with a new version of the system zone
allocator, Firefox ends up using the system allocator, because the zone
allocator version is not supported.

So, we use the same zone allocator for both replace-malloc and
mozjemalloc, making everything on par with jemalloc 4.

--HG--
extra : rebase_source : 9c0e245b5f82bb71294370d607e690c05cc89fbc
2017-01-18 11:45:45 +09:00
Mike Hommey
d293cc01a1 Bug 1286613 - Move replace-malloc zone allocator to a separate file. r=njn
The intent here is to reuse the zone allocator for mozjemalloc, to avoid
all the shortcomings of mozjemalloc using a different one. This change
only moves the replace-malloc zone allocator out of replace-malloc.c, to
make changes for mozjemalloc integration clearer.

--HG--
rename : memory/build/replace_malloc.c => memory/build/zone.c
extra : rebase_source : 8b98efaa4a88862f2967c855b511e92beb9c4031
2017-01-18 11:39:29 +09:00
Mike Hommey
50dd84a5d8 Bug 1286613 - Properly call mozjemalloc pre/post fork hooks on OSX when replace-malloc is enabled. r=njn
Somehow, we never called those hooks when replace-malloc is enabled. I'd
expect this to cause random deadlocks when forking, and I'm surprised
this hasn't surfaced. Maybe it actually causes some intermittent oranges
on automation, who knows.

This also brings consistency with what is done for jemalloc 4, and with
the mozjemalloc implementation, too, that we're going to replace with
this one in a subsequent changeset.

--HG--
extra : rebase_source : 059567d17f928098db8367e9081b631ced351110
2017-01-19 09:37:22 +09:00
Dão Gottwald
e3ce2d647d Bug 1331172 - Current permission state should use the past tense. r=Paolo
MozReview-Commit-ID: 7XqHa0xrfsh

--HG--
extra : rebase_source : 244519d23c6e95847e304fbda24bdd6228fb6df1
2017-01-16 20:33:00 +01:00
Andrzej Hunt
1e0cff53d2 Bug 1311555 - Use filled bookmark star in ActivityStream context menu r=sebastian
Unfortunately tinting the bookmark star is highly complicated due to the tinting
that NavigationView performs (i.e. we'd likely have to disable NavigationView
tinting, and do manual tinting on every icon - alternatively we could hack
the tint-list to use blue for "checked" items, and set the bookmark item
as checked). Since it's unclear if we even want the star to be blue,
we'll leave it grey (but filled) for now.

MozReview-Commit-ID: DekRZJayKIz

--HG--
extra : rebase_source : 1e3443e5f09c60bd0d7295bc35ecc08ca17b3dab
2017-01-18 12:20:50 +01:00