466140 Commits

Author SHA1 Message Date
Gregory Szorc
8106c0dae9 Bug 1242005 - Disable C4359 to allow compilation on VS2015; r=kip
The proper fix is to fix the underlying problem. However, I haven't
touched C++ in months and I'm lazy. So I'm going for the quick fix
so Visual Studio 2015 rollout is unblocked.

MozReview-Commit-ID: 14cZCGPkx0V

--HG--
extra : rebase_source : 91ec0d461e4e14e1fa3b641b3ca7f169e0901b11
extra : source : 9e5f9917fe1a7bef9585966959d516636d7ee6ac
2016-03-14 14:11:40 -07:00
David Keeler
61a9a234f8 bug 1255153 - (re)move redundant xpcshell name constraint tests to gtests r=Cykesiopka,jcj
MozReview-Commit-ID: 8eFSIhB1RId

--HG--
extra : rebase_source : 63b147b8bdc9f2961b2f56723ac5baa0e2564684
2016-03-09 14:33:31 -08:00
Sebastian Hengst
9526b58457 Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE 2016-03-14 23:03:37 +01:00
Sebastian Hengst
936d2c6e1d Backed out changeset cc8b02b24319 (bug 1255919) for failing e.g. bc3's browser_bug629172.js. r=backout on a CLOSED TREE 2016-03-14 22:54:57 +01:00
Daniel Holbert
72a2c5e871 Bug 837192 followup: In js::FunctionToString, fold variable into its only remaining usage-site (an assertion) to fix opt Werror build failures. rs=Waldo
CLOSED TREE
2016-03-14 14:43:14 -07:00
Eric Faust
eacf1c6e1c Bug 1251921 - Do not call debugger hooks with half-initialized frame if InterpeterFrame::prologue fails. (r=jorendorff) 2016-03-14 14:29:12 -07:00
Alexander Surkov
f5fca44245 Bug 1255614 - make ProcessInvalidationList to insert accessibles instead the recaching, r=yzen 2016-03-14 17:28:08 -04:00
Terrence Cole
09ab5adb49 Bug 956899 - Teach check_spidermonkey_style.py about mozglue; r=njn
--HG--
extra : rebase_source : ecc7287f248f654ae3b3fd514f604dc4075bbab7
2016-03-10 09:07:59 -08:00
Terrence Cole
0dbab21c5c Bug 956899 - Implement an RAII unlocking primitive to compliment LockGuard; r=froydnj
--HG--
extra : rebase_source : 221708253087624629d62beab48f67dcf78d4eef
2016-03-10 09:07:59 -08:00
Terrence Cole
e2cdffe257 Bug 956899 - Replace PRLock with Mutex in TraceLoggingGraph; r=h4writer
--HG--
extra : rebase_source : c46bd48c850f35261aa81e6fb593e762b93b9228
2016-03-03 10:27:57 -08:00
Mike Shal
89f2907216 Bug 1254120 - Remove toolkit/crashreporter/test/Makefile.in; r=ted
MozReview-Commit-ID: 9RTd5ty1GDC
2016-03-11 14:24:36 -05:00
Jason Orendorff
65c31f545c Fix configure-time bustage from rev e2c9ab41a6c1 (bug 1049041) - I removed a mochitest without removing it from the manifest. r=red on a CLOSED TREE.
--HG--
extra : commitid : 6YFHEEEd3zd
extra : rebase_source : 6448710b05198fdabca10e04afe8cf5ac45b3532
2016-03-14 16:08:50 -05:00
Blake Winton
36e4a6bd80 Bug 1256355 - Look for homebrew's autoconf213, and fix a typo. r=gps.
MozReview-Commit-ID: yt9fKDzZ9g

--HG--
extra : rebase_source : f5693c673a929267dc10394c9f3a42b3d074639b
2016-03-14 11:06:53 -04:00
Jason Orendorff
aa43ed96ab Bug 1049041 - Remove scary warning about mutating [[Prototype]]. r=efaust.
--HG--
extra : commitid : JkYGz4dusnf
extra : rebase_source : e23ad9b51c9b5f0049edd96ca3cb1fea879b3289
2016-03-14 15:44:13 -05:00
Jason Orendorff
6d35e13d40 Bug 837192 - Stop trying to inject "use strict"; into Function.prototype.toString() output. r=Waldo.
--HG--
extra : commitid : y4pJwElwKV
extra : rebase_source : 9a31eee8a70c3cd2ad297a4f6457ead52a4523ce
2016-03-14 15:42:36 -05:00
David Keeler
2f0004e1be bug 1228175 - fix IsCertBuiltInRoot r=Cykesiopka,mgoodwin
When a built-in root certificate has its trust changed from the default value,
the platform has to essentially create a copy of it in the read/write
certificate database with the new trust settings. At that point, the desired
behavior is that the platform still considers that certificate a built-in root.
Before this patch, this would indeed happen for the duration of that run of the
platform, but as soon as it restarted, the certificate in question would only
appear to be from the read/write database, and thus was not considered a
built-in root. This patch changes the test of built-in-ness to explicitly
search the built-in certificate slot for the certificate in question. If found,
it is considered a built-in root.

MozReview-Commit-ID: HCtZpPQVEGZ

--HG--
extra : rebase_source : 759e9c5a7bb14f14a77e62eae2ba40c085f04ccd
2016-03-04 17:06:33 -08:00
Wes Kocher
168746512d Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
MozReview-Commit-ID: FFfF4u2vOrS

--HG--
extra : rebase_source : 0c7f5e290b388b2f35837a5f757f2d962b973da3
2016-03-14 13:15:21 -07:00
Ehsan Akhgari
e2a795b42a Bug 1255919 - Convert the test for bug 629172 into a browser-chrome test that is enabled on e10s; r=mrbkap 2016-03-14 16:17:18 -04:00
Ehsan Akhgari
c4d18616e2 Bug 1256414 - Hide MozSettingsEvent from the Web; r=khuey
MozSettingsTransactionEvent is already hidden behind this permission, so
it makes sense to require the same permissions for this event too.
2016-03-14 16:17:18 -04:00
Sebastian Hengst
17ed0683ac Backed out changeset e7b960c2c8e9 (bug 1234077) for reftest failures. r=backout 2016-03-14 21:08:53 +01:00
Ehsan Akhgari
ce1ef38b75 Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Sebastian Hengst
f6d36d05d1 Backed out changeset 98f7e296affd (bug 1186139) for failing mochitest-bc7. r=backout 2016-03-14 21:01:24 +01:00
David Anderson
f18e55de2f Regenerate SyncObjects on device resets. (bug 1255711, r=bas) 2016-03-14 12:55:47 -07:00
Jakob Olesen
b509a203cc Bug 1252270 - SIMD: Coerce non-numeric indexes to load/store functions. r=lth
Follow the DataView functions and use Tonumber to coerce index arguments on the
load/store functions. Throw a RangeError when we see a non-integer index or a
number outside the range of the array.

See https://github.com/tc39/ecmascript_simd/issues/328

MozReview-Commit-ID: IpHkfPyywU0
2016-03-14 12:19:09 -07:00
Chris Manchester
87b3022311 Bug 1255585 - Prevent Python executable mis-match from constantly clobbering the virtualenv on OS X. r=gps
Virtualenv will sometimes find a different executable from its sys.executable on OS X,
causing a check in the build system comparing filesizes between sys.executable and virtualenv
python to fail, resulting in clobbering and re-building the virtualenv every time the virtualenv
is activated, causing the build backend and more to be re-built.

Instead of checking file sizes directly, this commit causes us to record the size and version of the
Python executable that created the virtualenv. If the Python executable checked is not the virtualenv
Python, or we have a different version than was used to create the virtualenv, then the virtualenv is
considered to be out of date.


MozReview-Commit-ID: KmrVfQCtbS3

--HG--
extra : rebase_source : d2b87325e10da6dfcd74f8b0d2ef7c0efb71595b
2016-03-11 12:24:10 -08:00
Nathan Froyd
6b6c2a1fcd Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string.  We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-08 16:29:25 -05:00
Kartikaya Gupta
ab65d99c4e Bug 1254273 - Align the displayport to a max of 256 pixels even if the layer is larger. r=BenWa
MozReview-Commit-ID: CLghUMWkJU8
2016-03-14 15:02:43 -04:00
Rail Aliiev
4a14dd7e13 Bug 1253756 - Branch specifics for relpro on release r=jlund a=release DONTBUILD
MozReview-Commit-ID: Fva2LLVlsRV

--HG--
rename : testing/mozharness/configs/single_locale/mozilla-beta.py => testing/mozharness/configs/single_locale/mozilla-release.py
extra : rebase_source : 409a84ec51db28e84cff7a1c99a6a71062b53985
extra : amend_source : 7ee20d43707114d46cc66b2056b99402d5b2369a
2016-03-14 08:26:54 -04:00
Timothy Nikkel
ce9ddc5a29 Bug 1255675. SurfacePipe handles removing the frame rect, so pass the frame rect directly.
This is left over from the pre-SurfacePipe code that interacted directly with the Downscaler. It was calculating the size of the surface for the Downscaler to use, and then the Downscaler would handle putting transparent pixels inside that surface (and outside the framerect).

--HG--
extra : rebase_source : aad384fa8589f291254f0a18537a5d6674487182
2016-03-13 15:56:00 -07:00
Jonathan Kew
35c3b97bb4 Bug 1255475 - Properly distinguish 'moving' from 'resizing' state when a maximized window is dragged, resulting in a WM_SIZING message followed by WM_MOVING; this allows us to handle DPI rescaling during the move if necessary. r=emk 2016-03-14 18:35:59 +00:00
Edwin Flores
3a94cf4328 Bug 1234077 - Test that GIFs are still drawn correctly when their frame rects are truncated - r=seth 2016-03-14 18:26:38 +00:00
Blake Kaplan
84248389f9 Bug 1186139 - Don't use a sync message where we don't have to. r=felipe 2016-03-14 11:13:47 -07:00
Nicolas B. Pierron
f329668dd6 Bug 1252034 - Value Numbering: Unconditionally generate fixup blocks. r=sunfish 2016-03-14 18:10:16 +00:00
Kartikaya Gupta
b3806e256d Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: 15XWTTM0tZI
2016-03-14 14:07:31 -04:00
Kartikaya Gupta
4b7ef956c7 Bug 1255997 - Account for scrollbar dimensions when testing the size of the displayport. r=botond
MozReview-Commit-ID: 8SrIfA8xuqq
2016-03-14 14:07:16 -04:00
Andrea Marchesini
e0a0cfb614 Bug 1254730 - patch 2 - Better comments and a better management of lifetime of ChannelEvents, r=michal 2016-03-14 18:46:22 +01:00
Myk Melez
c0ff981fd3 Bug 1255163 - remove addon install privilege from marketplace.firefox.com; r=ehsan,margaret 2016-03-14 10:42:55 -07:00
Myk Melez
aac50f8e24 Bug 1250352 - stop restricting SyncComponents.manifest to specified apps; r=gps 2016-03-14 10:41:53 -07:00
Marco Castelluccio
5a3105910c Bug 1255161 - Remove dom.mozApps.used preference. r=myk 2016-03-14 17:39:09 +00:00
L. David Baron
89ad8d0c53 Bug 1142531: Check more bits in nsStyleContext::MoveTo assertion. r=heycam
MozReview-Commit-ID: 455suOkmdj7
2016-03-14 10:27:05 -07:00
L. David Baron
a1dea9b4fc Bug 1251797 - Don't fault struct out of rule tree if all of the potential physical property destinations already have a winning value in the cascade. r=heycam
I believe this is useful for cases like having logical properties in the
UA style sheet that are commonly overridden (e.g., margins on lists).

MozReview-Commit-ID: KxojbfMYq0f
2016-03-14 10:27:05 -07:00
L. David Baron
19b419056a Bug 1145218 followup - Properly parenthesize macro argument. No review.
MozReview-Commit-ID: EZ5zX4L6z6W
2016-03-14 10:27:05 -07:00
L. David Baron
c54f49142c Bug 649142 followup: Correct #undef. No review.
MozReview-Commit-ID: BjkVBufjlBQ
2016-03-14 10:27:04 -07:00
Terrence Cole
fd33957a9b Bug 956899 - Replace PRLock with Mutex in TraceLogger; r=h4writer
--HG--
extra : rebase_source : ce25db425ac6024eecb40848de141c7f25769ab4
2016-03-03 10:27:57 -08:00
Terrence Cole
ec791cf10a Bug 956899 - Replace PRLock with Mutex in JitSpewer; r=nbp
--HG--
extra : rebase_source : faa38a262ab411c6c781ae8e36197c29b1706773
2016-03-03 10:27:57 -08:00
Terrence Cole
9d131b35b6 Bug 956899 - Add a std::lock_guard work-alike; r=froydnj
--HG--
extra : rebase_source : c80c16798e2785f642a735bf4a24f859e202bee7
2016-03-03 10:27:57 -08:00
Terrence Cole
e54e391f05 Bug 956899 - Convert exclusive access lock from PRLock to Mutex; r=jandem
--HG--
extra : rebase_source : b13f0ea577d947e5192d16181ac14051490de741
2016-03-02 10:43:34 -08:00
Benjamin Bouvier
015562d605 Bug 1255956: Check for OOM after flushing constant pools; r=luke
MozReview-Commit-ID: KPOxVZ2D4vi

--HG--
extra : rebase_source : 39989ddca7b9605b82ef6002cd9e66baa8ad6008
extra : amend_source : 759a3ed085a2d1917ce6ca8bcd84b688bd69174d
2016-03-14 16:43:24 +01:00
Jakob Olesen
acc528baf8 Bug 1252924 - SIMD.*.prototype.valueOf. r=waldo
When SIMD objects have proper value semantics, this method will just return
|this| after a type check.

Until then, do as the polyfill and override valueOf to throw a TypeError so
that ToNumber() can't convert a SIMD value to a number.

Fix wrong code in asm.js/testBug1099216.js. This code was using Float32x4(x)
instead of Float32x4.check(x) as an argument coercion.

MozReview-Commit-ID: H9zaEfoqs2J
2016-03-14 09:50:15 -07:00
Jakob Stoklund Olesen
a6cad32eee Bug 1252924 - SIMD.*.prototype.toString(); r=waldo
Reuse the existing toSource() method which happens to produce exactly what the
SIMD.js spec requires.

MozReview-Commit-ID: CVKUF7DEI7D
2016-03-14 09:50:15 -07:00