Commit Graph

466219 Commits

Author SHA1 Message Date
Steve Fink
53ed8c4181 Bug 1250709 - Taskcluster-based browser rooting hazard analysis, r=garndt
--HG--
extra : rebase_source : 3223926ea521639f910093e54297eab38e3a60e1
2016-02-15 21:06:42 -08:00
Steve Fink
94c649bd66 Bug 1250709 - Extract out hazard logic to a separate file, r=garndt
--HG--
extra : rebase_source : a839a3245afeeaaf6c20c82058448ba57ff17d57
2016-02-11 20:28:08 -08:00
Steve Fink
2dada4b1a0 Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
MozReview-Commit-ID: HCcG2k8Wyb9

--HG--
extra : rebase_source : 4b048fdcb150662c82e1b623e455551cc7281251
2015-09-29 13:39:33 -07:00
Timothy Nikkel
5263f50634 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats 2016-03-14 22:59:02 -05:00
L. David Baron
8c5857d870 Bug 1256500 - Root style contexts before calling ApplyStyleFixups. r=heycam
MozReview-Commit-ID: 8P4AyTCvhmW
2016-03-14 20:26:53 -07:00
Phil Ringnalda
d5bd282a1b Back out 3 changesets (bug 1253436) for build bustage on a CLOSED TREE
Backed out changeset 4167dfdf1045 (bug 1253436)
Backed out changeset 84849ad026c9 (bug 1253436)
Backed out changeset c4a868c76959 (bug 1253436)
2016-03-14 20:22:29 -07:00
Gregory Szorc
1fa003c29e Bug 1256482 - Disable C4312 to unblock compilation on VS2015; r=jesup
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings, of course.

Given that the warning is in WebRTC which is third party code, there
isn't much we can do about the warning. However, Google is building
Chrome with Visual Studio 2015, so I wouldn't be surprised if this
were fixed upstream or will be fixed upstream. Then again, we allow
warnings when building WebRTC. So perhaps not.

MozReview-Commit-ID: G6JP9fkCzfn

--HG--
extra : rebase_source : bf5c9a049230bb8e483f6a85bdbc2ca20eb3ab45
2016-03-14 16:05:06 -07:00
Morris Tseng
0f88c1a15b Bug 594933 - Part 2: Add support for calc() to line-height. r=dbaron
--HG--
extra : commitid : ISfJfHKpK5Z
2016-03-15 10:37:37 +08:00
Morris Tseng
99b819272d Bug 594933 - Part 1: Let calc() supports number. r=dbaron
--HG--
extra : commitid : HWZIwem6z6u
2016-03-15 10:37:37 +08:00
Gregory Szorc
b7a0aef870 Bug 1253436 - Write out a machine readable file with binaries metadata; r=glandium
This will make it easier for binaries only archive generation to consult
the list of binaries that are relevant to packaging.

This does overlap somewhat with compile databases. Perhaps someday the
logic could converge.

While I was here, I cleaned up writing of the all-tests.json file to
avoid an intermediate string variable.

This patch adds to_dict methods on some frontend data types. There is
room to improve the serialization of these types. For example, we could
use __slots__ to drive the default formatter. We could also leverage a
custom JSONEncoder class that knows how to call to_dict() on instances.
In the spirit of perfect is the enemy of done, I think this should be
deferred to a follow-up bug.

MozReview-Commit-ID: XVnKB1MNqu

--HG--
extra : rebase_source : 376c93467dde3450c7c21cff918cb34913a3c5fe
2016-03-14 19:31:35 -07:00
Gregory Szorc
cd4ba92951 Bug 1253436 - Add __repr__ to BaseLibrary and BaseProgram; r=glandium
Now when we print instances in a debugger, we'll see something like:

<StaticLibrary: other-licenses/snappy/libother-licenses_snappy.a>
<StaticLibrary: toolkit/library/StaticXULComponentsEnd/libStaticXULComponentsEnd.a>
<SharedLibrary: toolkit/library/XUL>
<StaticLibrary: toolkit/library/libxul_s.a>
<HostProgram: config/nsinstall_real>
<Program: memory/replace/logalloc/replay/logalloc-replay>
<SimpleProgram: mfbt/tests/TestArrayUtils>

... instead of the the class name and memory address.

MozReview-Commit-ID: 8zdrM6KfP8U

--HG--
extra : rebase_source : 7f964ad44a0061674f77d5716a6769a4aedb9e6c
2016-03-11 11:22:48 -08:00
Gregory Szorc
7b3913cab5 Bug 1253436 - Remove unused imports; r=glandium
MozReview-Commit-ID: 494hmTwyldH

--HG--
extra : rebase_source : 998f2b447df9ba023d0b12d4d70563e76e3bf0f7
2016-03-11 11:22:28 -08:00
Jean-Yves Avenard
f6b7c1b48e Bug 1251184: [quicktime] P2. Use external plugin if available over native playback. r=cpearce
While almost identical to video/mp4, quicktime files often use codecs that we don't support: in particular MPEG4 part 2 and amr audio.
If a plugin exists and is enabled, prefer it to handle those files.

We only do so when opening the file directly. Media in <video> element will always play natively.

MozReview-Commit-ID: 1yPpzfDaCfT

--HG--
extra : rebase_source : 4c66eb0fd81a288f4c8eed643c79cf9851bd4273
2016-03-11 22:42:02 +11:00
Jean-Yves Avenard
4d457a83ad Bug 1251184: [quicktime] P1. Report video/quicktime mimetype when sniffing. r=cpearce
MozReview-Commit-ID: 9EJQVYt76Mh

--HG--
extra : rebase_source : 22b6c39ac8f8321b35c7cd5671730ccf902520da
2016-03-11 22:32:30 +11:00
Ryan VanderMeulen
035a81d617 Merge m-c to inbound. a=merge 2016-03-14 22:10:42 -04:00
Ryan VanderMeulen
046e8897a9 Bug 931445 - Disable test_pointerlock-api.html on Linux and Windows for frequent timeouts. 2016-03-14 20:55:56 -04:00
Wes Kocher
8350d308c3 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: COpA4LGoMQN
2016-03-14 17:40:44 -07:00
Wes Kocher
3889b2d927 Merge inbound to central, a=merge
MozReview-Commit-ID: BlkarjwEXFl
2016-03-14 17:39:03 -07:00
Wes Kocher
2c04614f61 Backed out 5 changesets (bug 1253565) for test_ext_contentscript.html failures
Backed out changeset d50f024f55d8 (bug 1253565)
Backed out changeset 8a78c738b882 (bug 1253565)
Backed out changeset 1e47cefe3b9b (bug 1253565)
Backed out changeset c02c1dc34180 (bug 1253565)
Backed out changeset 398160abc223 (bug 1253565)

MozReview-Commit-ID: 4RN69nKhyYr
2016-03-14 11:16:28 -07:00
Florian Quèze
1735d00682 Bug 1255605 - search.json.mozlz4 should always contain search engines. r=adw 2016-03-14 18:45:33 +01:00
Benjamin Bouvier
49b4d6e62e Bug 1256291: Fix unified build under js/; r=Ms2ger
MozReview-Commit-ID: Amia14nqztf

--HG--
extra : rebase_source : 74b6b7dcfe7ccc408ad6be1e0cf87a42e5f9c98c
2016-03-14 14:22:51 +01:00
Alessio Placitelli
d5ca6b79e8 Bug 1242084 - nsTerminator::UpdateTelemetry() leaks 8 byte nsStringBuffer when app.update.channel gets set to Beta. r=gfritzsche 2016-03-14 06:12:00 +01:00
Shane Caraveo
9dd5be4a33 Bug 1255824 fix hidden state on startup when pocket button not available, r=gijs 2016-03-14 10:36:52 -07:00
Sebastian Kaspari
fb669505ac Bug 1255767 - ToolbarDisplayLayout: Only use baseDomain if it is available. r=margaret.
MozReview-Commit-ID: 6RXVwv9aN1K

--HG--
extra : rebase_source : de919a12228ef9b065d69459c3ac21728208a323
2016-03-14 12:24:47 +01:00
Sebastian Hengst
63d4fe806d Backed out changeset afe0a444c182 (bug 1093153) for mochitest-2 failures. r=backout 2016-03-14 17:45:36 +01:00
Sebastian Hengst
f088d1c311 Backed out changeset 5fa79c7ea7ae (bug 1093153) 2016-03-14 17:44:37 +01:00
Luca Greco
30391eb0a7 Bug 1253565 - [webext] Add "UnrecognizedProperty" to commands manifest properties. r=kmag
MozReview-Commit-ID: 9r2MaceQ4Kk

--HG--
extra : rebase_source : 8750d35daa76e2fad044bcddb14de9f437054a7b
2016-03-14 12:03:46 +01:00
Luca Greco
1c6cca19d7 Bug 1253565 - [webext] Use 'UnrecognizedProperty' on browser and page actions. r=kmag
MozReview-Commit-ID: 8RfrogKRoP8

--HG--
rename : browser/components/extensions/test/browser/browser_ext_browserAction_simple.js => browser/components/extensions/test/browser/browser_ext_pageAction_simple.js
extra : rebase_source : 7dea353852a920c022e030e76d3c69a9bcdbc5bb
2016-03-14 12:26:45 +01:00
Luca Greco
896cbecf01 Bug 1253565 - [webext] Test "UnrecognizedProperty" on content_scripts manifest properties. r=kmag
MozReview-Commit-ID: CpNmXmHHOzO

--HG--
extra : rebase_source : 36325e52efdb4edaf32079ae9637b7f43076ebef
2016-03-14 12:12:18 +01:00
Blake Kaplan
55d3d16237 Bug 1254856 - Use a better window for 3rd-party checks. r=sicking, r=billm 2016-03-11 23:28:00 -05:00
Michael Comella
5608991058 Bug 1255423 - Prevent crashes when long pressing screenshot items. r=sebastian
MozReview-Commit-ID: DvA8extGrQ4

--HG--
extra : rebase_source : d7709157f335a2187a00df537965b703d35a2306
2016-03-10 15:45:58 -08:00
Nicholas Nethercote
c49a9433ca Bug 1255239 - Reduce size of HuffmanIncomingTables. r=hurley.
Splitting Each HuffmanIncomingTable into two parts avoids the wasted
0/nullptr fields and allows the remaining fields to be packed more efficiently.
Making them all const allows them to be shared between processes.

On 64-bit platforms this saves (60*N - 7.5) KiB, where N is the number of
processes.

--HG--
extra : rebase_source : 1c55b325a01df53b0d8e28e5f3102b8ed57e5e47
2016-03-11 09:57:02 +11:00
Gregory Szorc
873147d1fb Bug 1256509 - Disable C4577 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warning occurs in 3rd party ICU
code. So I'm not sure what my options are for fixing this.

MozReview-Commit-ID: 2MIqvI3qCsZ

--HG--
extra : rebase_source : cbb3b14a1e6fd47aeb9e4ce915cddd0b78ce90cf
2016-03-14 18:03:39 -07:00
Gregory Szorc
72230d9b94 Bug 1256505 - Disable C4312 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: 70QwT9y6eb2

--HG--
extra : rebase_source : afc1eb71d11241819a4e2d2219e699c081f0c4af
2016-03-14 17:56:28 -07:00
Gregory Szorc
a3f1e3bce6 Bug 1256514 - Disable C4577 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warning occurs in 3rd party ICU
code. So I'm not sure what my options are for fixing this.

MozReview-Commit-ID: 9gOSotjaQsN

--HG--
extra : rebase_source : c1a6c51bcdd4e1a882f371e7beba4f88d5c059a4
2016-03-14 18:41:48 -07:00
Sotaro Ikeda
7daa3d77fc Bug 1251523 - Remove TextureFlags::DEALLOCATE_CLIENT from AndroidSurfaceTextureData r=nical 2016-03-14 18:51:21 -07:00
Boris Zbarsky
ce7543e0ed Bug 1256424 followup to actually address the review comments 2016-03-14 20:53:36 -04:00
Boris Zbarsky
3ff438ab43 Bug 1256424. Get rid of ThreadsafeAutoSafeJSContext. r=bholley 2016-03-14 20:48:39 -04:00
Boris Zbarsky
95bb8802ec Bug 1256364. If we have an exception stack in the onerror handler in SimpleTest, include it in the error message. r=jmaher 2016-03-14 20:48:21 -04:00
Boris Zbarsky
d78dc504bd Bug 1255830. Change nsBrowserElement code to properly propagate out JS exceptions from some of its API methods. r=bholley 2016-03-14 20:47:45 -04:00
Boris Zbarsky
a4269f22fb Bug 1255840. Get rid of the AutoJSAPI usage in IDBFactory. r=khuey 2016-03-14 20:47:13 -04:00
Boris Zbarsky
f8c6c153ad Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley 2016-03-14 20:47:13 -04:00
Gregory Szorc
d4bcf273d0 Bug 1256464 - Use LPSTR instead of LPVOID to avoid C4477 on VS2015; r=froydnj
Without this change, Visual Studio 2015 complains:

mozglue/misc/StackWalk.cpp(261): warning C4477: 'fprintf' : format
string '%s' requires an argument of type 'char *', but variadic argument
2 has type 'LPVOID'

MozReview-Commit-ID: HIAs5L57Nd1

--HG--
extra : rebase_source : 1ac50c03c4d6b14e22f3d55aca026fce15565f5c
2016-03-14 17:18:42 -07:00
Gregory Szorc
c64c49d5ba Bug 1255963 - Detect warnings without space after line number; r=glandium
I'm not sure when this changed, but at least Visual Studio 2015
doesn't always emit a space between the line number and the ": warning"
text in cl.exe output.

Making the space optional in the regular expression enables one a
VS2015 build to capture 375 warnings instead of 17. We still fail to
capture some warnings (notably generic warnings about bad command
arguments and linker warnings). But that can be dealt with later.

MozReview-Commit-ID: q402CxTrQK

--HG--
extra : rebase_source : 6376a65b8d8145d68bad9b795b6abd6f4becefbd
2016-03-11 22:04:38 -08:00
Wes Kocher
0dfe54cd29 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8FyycfyonPJ
2016-03-14 17:40:22 -07:00
Daniel Holbert
feb302c132 Bug 1255276 part 2: Make nsSVGAnimatedTransformList remember its previous HasTransform() value, so we can detect attr changes which are effectively creating the attr. r=longsonr 2016-03-14 17:37:36 -07:00
Daniel Holbert
501801e98d Bug 1255276 part 1: Refactor existing SVGTransformableElement::GetAttributeChangeHint logic to use an "isAdditionOrRemoval" bool. r=longsonr 2016-03-14 17:37:32 -07:00
Nicholas Nethercote
3101dc7152 Bug 820972 - Comment out colorTable[] because we don't need it. r=jesup.
This saves 64 KiB of static data.
2016-03-11 12:41:30 +11:00
Randall Barker
4b032322f4 Bug 1256385 - Remove keepInViewCoordinates from NativePanZoomController.java r=kats 2016-03-14 16:56:48 -07:00
Randall Barker
9a7d54c34b Bug 1251346 - Fennec should not generate touch events from mouse events. r=kats 2016-03-14 16:56:46 -07:00