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

562827 Коммитов

Автор SHA1 Сообщение Дата
Philippe Normand 71f0559306 Bug 1407063 - Fix non-unified build in DecoderData.cpp. r=gerald
EndianUtils.h include was missing and some function calls required
explicit mention to the mozilla namespace.

MozReview-Commit-ID: CFsr7RJ7IGx

--HG--
extra : rebase_source : 01cde66752d6a71938cd1fe9d5f009158ceb7868
2017-10-05 15:53:07 +02:00
Philippe Normand de1fe404f9 Bug 1407063 - Fix non-unified build in MoofParser.cpp. r=gerald
The stagefright namespace isn't used in this file and because it
wasn't previously declared in this compilation unit, a compiler error was raised.

MozReview-Commit-ID: HoYyrmIIXSV

--HG--
extra : rebase_source : 57ac59c06cdc4f54676c86a109ae404072541555
2017-10-05 15:51:32 +02:00
Cameron McCormack fcd58611c7 Bug 1364139 - Crashtest for ::first-letter/::first-line text node inheritance problems. r=me
MozReview-Commit-ID: BWD1hFqNOD9
2017-10-10 13:17:59 +08:00
Karl Tomlinson 3a143e4a1f bug 1404220 assign zero to AUDIO_FORMAT_SILENCE enumerator r=padenot
I don't know whether or not another zero initial AudioChunk member value
makes initialization more efficient, but zero for silence is more intuitive
for humans.

MozReview-Commit-ID: JEYv65btMul

--HG--
extra : rebase_source : 3089362ce4773da91c7139a3127e1491cbcf1dc5
2017-10-09 15:48:49 +13:00
Karl Tomlinson 5ea2376fe3 bug 1404220 remove explicit unit volume AudioChunk settings, which are now initialized at construction r=padenot
MozReview-Commit-ID: EahkZtZAb18

--HG--
extra : rebase_source : 15e82320ed6712ebc642deabac9dc1e766c01836
2017-10-06 18:48:12 +13:00
Karl Tomlinson 03ead4bc67 bug 1404220 reset mBufferFormat (and mVolume) when resetting mSharedChannels r=padenot
MozReview-Commit-ID: BP4fJLarEyE

--HG--
extra : rebase_source : 3d1e7550267c4e284aafb869015f63ae3d918e51
2017-10-09 16:56:55 +13:00
Karl Tomlinson f3b25c6e88 bug 1404220 provide default initializers for all AudioChunk members r=padenot
This avoids any risk of undefined behavior when evaluating uninitialized
members, during copies for example, and makes it safe to test mBufferFormat
when null.

MozReview-Commit-ID: IMAyZ1CSHbk

--HG--
extra : rebase_source : b02431634732cf63d6fe9ede5eb1400a2baa6308
2017-10-06 18:28:11 +13:00
Zibi Braniecki c14c88b4c3 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : 131c125e73e2132d6b1abb2489ecf8e96412b8a5
2017-10-06 07:00:08 -07:00
Phil Ringnalda e4dbaefed7 Backed out changeset 024ce7dd2f65 (bug 1270140) for check_spidermonkey_style.py failures
MozReview-Commit-ID: KyttCEkmYSo
2017-10-09 21:06:15 -07:00
Josh Matthews abf80c8c54 servo: Merge #18795 - Make update_manifest.sh more verbose (from servo:jdm-patch-2); r=nox
This is an attempt to figure out why https://github.com/servo/servo/issues/17450 occurs.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2a179cec2b9c02d0d7ca4bc285e97bb8911f047d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f31020a3188c704eb0c89e971cf8d57572d77881
2017-10-09 20:06:34 -05:00
Kris Maglione 154e5011a0 Bug 1406278: Part 4 - Use subject principal as triggering principal in <iframe>/<frame> "src" attribute r=bz
MozReview-Commit-ID: AgxZmfRvfTR

--HG--
extra : rebase_source : 5663f54ae3d03870d38107e1703902df5ade4b10
2017-10-04 22:59:44 -07:00
Kris Maglione 0641eb51a8 Bug 1406278: Part 3 - Use subject principal as triggering principal in <script> "src" attribute. r=bz
MozReview-Commit-ID: KwGIE4t7KUx

--HG--
extra : rebase_source : 7bc0f04178c5ea5a2b9b66960280f53e4a10e0cd
2017-10-04 22:16:32 -07:00
Andrew Swan 1b859fa83a Bug 1405264 Part 2: Use startupData for new langpacks r=gandalf,kmag
Webextension-formatted langpacks now store their list of chrome
registry resources in startupData so that those resources can be
registered early in startup.

MozReview-Commit-ID: 80eOiPKLlWu

--HG--
extra : rebase_source : b00abc0484e6b41bfb1d17c543a450dc737a6b30
2017-10-04 13:29:20 -07:00
Andrew Swan 73d8eb4bdc Bug 1405264 Part 1: Add startupData to internal addon representation r=kmag
If a non-null value is stored in this property, its contents (which
must be json serializable) are stored in addonStartup.json and are
then passed to the addon's bootstrap startup() method.  This is meant
for data that must be available synchronously during browser startup.
Of course addonStartup.json is read synchronously during startup so
this should be used sparingly.

MozReview-Commit-ID: ALS1CcYbH92

--HG--
extra : rebase_source : 2469fda13f82c3e3837123f75afb5bc6029ed55c
2017-10-04 13:27:50 -07:00
Tom Ritter 349f097743 Bug 1403698 Address delete-non-virtual-dtor warnings r=froydnj
MozReview-Commit-ID: 44XiqegImiT

--HG--
extra : rebase_source : 52ddc3caa3243aaef9e2397b4a28e318da101a8c
2017-10-06 11:27:35 -05:00
Ian Moody 113e92470d Bug 1404568 - Use the correct browser_action theme icons when the action is in a menu-panel. r=mixedpuppy
The patch adding support for specifying theme icons had a bug in the CSS: it
added styles for the action in a menu-panel depending on theme, but missed out
the theme pseudo-class selectors.  Therefore the dark text icon was always used
since it was last in the CSS.
Additionally, the menu panels can't be styled, so still have light backgrounds
and dark text even in light text themes. If a light icon is used in the menu
panel in a light text theme it will be hard to see.

Thus, this patch adds the pseudo-class for dark text themes, but removes the
selector entirely for light text themes.

MozReview-Commit-ID: AmKVDYwGGKj

--HG--
extra : rebase_source : 3e88af5b0ad27b22e5b4456ee980fd60b6498c8a
2017-10-04 01:40:45 +01:00
Ian Moody 53b9116eab Bug 1404568 - Improve webext browser_action icon fallbacks. r=mixedpuppy
Currently if there is no default icon at the specified size, the default icon
falls back to the light text icon at that size. This is wrong in two ways:
First, the default theme uses dark text, so it should fallback to the dark icon
Secondly, authors expect the unsized default_icon to be used if specified

This patch fixes both of these issues, so that the default icon first falls back
to the unsized default_icon, and then only if that is not specified falls back
to the dark icon

MozReview-Commit-ID: C3RRTKhYq6r

--HG--
extra : rebase_source : dc10f5c65c763412edbe467bb75aeb4fbcd32ffc
2017-10-08 13:23:33 +01:00
Brian Stack 781ed3870b Bug 1406734 - Set TASKCLUSTER_CACHES on action tasks r=dustin
MozReview-Commit-ID: EwJoy5vqcQP

--HG--
extra : rebase_source : 441f494fd45e82fa53d2989015b6e415cf97fc77
2017-10-09 09:58:38 -07:00
Sebastian Hengst 51446ede21 Backed out changeset 0a482229bed6 (bug 967895) for rooting hazard. r=backout
--HG--
extra : amend_source : a0a3ca7e33d17ce5a96effccef92d61ab5f373dd
2017-10-09 19:18:23 +02:00
Sebastian Hengst dec45535fd Backed out changeset d6ab8156f858 (bug 967895) 2017-10-09 19:18:17 +02:00
Sebastian Hengst 92ee8df522 Backed out changeset 71790f0ea832 (bug 967895) 2017-10-09 19:18:12 +02:00
Sebastian Hengst d65084ce8c Backed out changeset bf81d961c576 (bug 967895) 2017-10-09 19:18:06 +02:00
Sebastian Hengst 926fa0e3ae Backed out changeset a4fc441d0663 (bug 1406478) for failing browser-chrome's browser/base/content/test/general/browser_tabReorder.js. r=backout 2017-10-09 19:10:18 +02:00
Thom Chiovoloni 0c48a189bc Bug 1405833 - Ensure SyncEngine uses CommonUtils.namedTimer properly. r=kitcambridge
MozReview-Commit-ID: 6YnhcSjKW9U

--HG--
extra : rebase_source : 3e0e520516f06efa50aa8e3fccb77214daca419a
2017-10-04 17:26:20 -04:00
Mike de Boer 50959cb695 Bug 1387808 - Don't ever fixate the width and height of the main view, but leave it flexible. r=Gijs
MozReview-Commit-ID: AJw6yI6Onje

--HG--
extra : rebase_source : 144739ba16418ce0867a6dd7ac086c4ea4676c51
2017-10-05 13:14:02 +02:00
Nicholas Nethercote 8a68e6fb83 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
David Keeler ac3f580c91 bug 1404824 - add a test for the BE_CONSERVATIVE flag if TLS is restricted to 1.3 only r=mayhemer
MozReview-Commit-ID: 736DS5zf5yp

--HG--
rename : netwerk/test/unit/test_be_conservative.js => netwerk/test/unit/test_be_conservative_error_handling.js
extra : rebase_source : 61c39efc8f86fc65723ec65f125be4493c8210a0
2017-10-03 14:35:27 -07:00
David Keeler 5f608d08d6 bug 1404824 - reconcile inconsistent TLS version range settings by erring on the conservative side r=mayhemer
Before this patch, if a user set their TLS version range preferences to only
allow TLS 1.3, any connections made with the BE_CONSERVATIVE flag or via the
telemetry studies flags would fail because we would attempt to set an
inconsistent TLS version range (the minimum was greater than the maximum). This
fixes that by setting the minimum to the flag-configured maximum. This
intentionally overrides the user's preferences because it is in the context of
browser-critical services (i.e. update servers) or telemetry studies.

MozReview-Commit-ID: 1kKE5nOVQz8

--HG--
extra : rebase_source : 047aa03f401d75aba3f6c5f4c572d2cc451a329e
2017-10-03 14:51:57 -07:00
David Keeler c24fb615fa bug 1404824 - fix error-handling case of plaintext-layer popping in nsNSSSocketInfo r=mayhemer
The PRFileDesc* returned by PR_PopIOLayer must be used rather than a preexisting
pointer to the layer in question.

MozReview-Commit-ID: 8PsCA5npaj6

--HG--
extra : rebase_source : 7488d70ffd428b103ae51d1ebcf15745acd9bf12
2017-10-03 14:29:31 -07:00
Brian Stack 08374b825e Bug 1406177 - Remove action.yml now that it is unused r=garndt
MozReview-Commit-ID: IIX125xFoMx

--HG--
extra : rebase_source : 1b90ae1c04bdbb156ce6fef2a6bbadd443f1416a
2017-10-05 14:47:15 -07:00
Henrik Skupin 21872db2c4 Bug 1406150 - Always throw exceptions by using 'new'. r=maja_zf
MozReview-Commit-ID: GmI1PuSQwWU

--HG--
extra : rebase_source : 61d87d94d683094a579d776e10134dc961182969
2017-10-06 14:07:13 +02:00
Dale Harvey bb342466b7 Bug 1406353 - Give autocomplete panel extra margin. r=dao
MozReview-Commit-ID: A1jR564IKjt

--HG--
extra : rebase_source : e6aa62b7ab8838b3dcdc7c49c565a80564bf7116
2017-10-03 16:37:00 +01:00
Markus Stange b863abefa9 Bug 1406492 - Fix TaskTracer build after bug 1404147. r=njn
MozReview-Commit-ID: CerCYhAmEI8

--HG--
extra : rebase_source : a73fe72018541ee66d8e46b9bd1fb6beffb14144
2017-10-04 23:30:38 -04:00
Sebastian Hengst b29f365446 Backed out changeset f70d6fcdb760 (bug 1406631) for failing color related reftests like layout/reftests/writing-mode/ua-style-sheet-input-color-1.html on Android. r=backout 2017-10-07 20:08:12 +02:00
Nicholas Nethercote 74e64bcaa2 Bug 1403868 (part 3) - Rename the profiler's RAII macros. r=mstange.
--HG--
extra : rebase_source : 468a76da39dbc18c5eb9136553d73ca3cec080cf
2017-10-03 19:48:34 +11:00
Nicholas Nethercote cbc9fbb2bf Bug 1403868 (part 2) - Tweak profiler_tracing(). r=mstange.
This patch does the following.

- Makes the TracingKind argument non-optional.

- Puts the UniqueProfilerBacktrace argument last in the second variant.

- Reorders AutoProfilerTracing to match the order of the profiler_tracing()
  declarations.

--HG--
extra : rebase_source : 8e9acdaf777c642cd854570771a3f96da6d524d1
2017-10-03 19:48:10 +11:00
Nicholas Nethercote 93c60b0d95 Bug 1403868 (part 1) - Remove argument from AutoProfilerInit(). r=mstange.
We can use |this| instead, as is already done in AutoProfilerRegisterThread().

--HG--
extra : rebase_source : c79716443cb8483f078d1d3d6a87d25a8d3d5445
2017-10-03 19:47:44 +11:00
Tom Tung 82eb515a1a Bug 1402581 - P4: Make the assertions for increaing and decreaing padding size be runtime checks. r=bkelly
--HG--
extra : rebase_source : c5c2dd26334ed05c8143341ddfd47b85f0a0c9ef
2017-10-06 15:18:06 +08:00
Tom Tung 45c9e8c00b Bug 1402581 - P3: Allow failures happen when restoring or wiping padding file. r=bkelly
--HG--
extra : rebase_source : 6582320e3c942c37a8b031e16569a4900871f458
2017-10-05 17:30:40 +08:00
Yoshi Huang 71dc552750 Bug 1404839 - fix linking error for TSAN build. r=froydnj, lsalzman 2017-10-09 10:40:41 +08:00
Stephen A Pohl eee52e5492 Bug 1403432: Show window titles when the inspector is launched in windowed mode. r=mstange 2017-10-08 20:34:53 -04:00
sotaro 5984c151ad Bug 1406707 - Change WebRenderBridgeChild::BeginTransaction() as to return void r=kats 2017-10-09 09:11:49 +09:00
Stone Shih 65989090f1 Bug 1405909 - disable test_pointerevent_pointerlock_supercedes_capture-manual.html. r=smaug.
MozReview-Commit-ID: Gus0UQSlJFE
2017-10-06 10:01:39 +08:00
Sebastian Hengst b76b8d024f merge mozilla-central to mozilla-inbound on a CLOSED TREE. r=merge a=merge on a CLOSED TREE 2017-10-08 21:01:29 +02:00
Sebastian Hengst e7f32cc32f Backed out changeset c608c6fd9a9a (bug 1400143) for failing mochitest dom/events/test/pointerevents/pointerlock/test_pointerevent_pointerlock_supercedes_capture-manual.html on Windows 7 without e10s. r=backout 2017-10-08 11:53:23 +02:00
Markus Stange 194330515b Bug 1406494 - Fix spelling of the environment variable.
MozReview-Commit-ID: KE3Wejl87hg

--HG--
extra : amend_source : 62d4d8aac85a20dab055dc86938a8a2f167d162e
2017-10-07 22:11:13 -04:00
Kris Maglione d038453393 Bug 1406278: Part 2c - Use subject principal as triggering principal in <img> "srcset" attribute. r=bz
MozReview-Commit-ID: 784EsgwBcS1

--HG--
extra : rebase_source : 01b701f84c425786b66cd9787d4e570dd9341ae5
2017-10-02 21:30:34 -07:00
Kris Maglione d72aa193c4 Bug 1406278: Part 2b - Use subject principal as triggering principal in <img> "src" attribute. r=bz
MozReview-Commit-ID: DrblTjP99WJ

--HG--
extra : rebase_source : 649cf6757266c9e08a3f5a621c3e9451a7ccef67
2017-10-02 20:28:32 -07:00
Kris Maglione 1e39590f6d Bug 1406278: Part 2a - Rename LoadingPrincipal to TriggeringPrincipal in imgLoader. r=bz
The imgLoader code consistently uses the term 'loadingPrincipal' for the
principal that is called the triggeringPrincipal everywhere else it's used.
This is confusing, and since we need to make changes to how those values are
determined, it should be fixed beforehand.

MozReview-Commit-ID: 8CTHwayzcaD

--HG--
extra : rebase_source : d4405b0ecfe1c8dfb9bfdf61fe6ed6cfb180ba83
2017-10-02 20:38:30 -07:00
Kris Maglione 4275cd1039 Bug 1406278: Part 1 - Pass subject principal to SetAttribute and friends. r=bz
In order to tailor certain security checks to the caller that is attempting to
load a particular piece of content, we need to be able to attach an
appropriate triggering principal to the corresponding requests. Since most
HTML content is loaded based on attribute values, that means capturing the
subject principal of the caller who sets those attributes, which means making
it available to AfterSetAttr hooks.

MozReview-Commit-ID: BMDL2Uepg0X

--HG--
extra : rebase_source : 25e438c243700a9368c393e40e3a6002d968d6c8
2017-10-09 14:33:38 -07:00