Commit Graph

480809 Commits

Author SHA1 Message Date
Terrence Cole
a0867f7269 Bug 1283256 - Make GC stats per GCCycle; r=jonco
--HG--
extra : rebase_source : c8589e74b23e634e05f8921af5bbafc4d5b9751d
2016-06-28 12:29:39 -07:00
Jeff Gilbert
a2a360130b Bug 1280508 - Add regression test. - r=jrmuizel
MozReview-Commit-ID: B4DimyTYdoc
2016-06-30 13:56:47 -07:00
Kyle Huey
ebc76ad30d Bug 1283328: Clean up some thread shutdown stuff and remove CameraUtils. r=froydnj 2016-06-30 13:54:06 -07:00
Kyle Huey
902d2d23ef Bug 1283327: Factor out SynchronouslyCreatePBackground. r=billm 2016-06-30 13:54:06 -07:00
Jeff Gilbert
5ab2e8878e Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-30 13:51:53 -07:00
Jeff Gilbert
91b80dc1c5 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-30 13:51:49 -07:00
Daniel Holbert
3996555d1a Bug 1282670, part 3: Make several imagelib .cpp files #inclue their corresponding .h file as their very first #include, per Gecko convention. r=seth
(In some cases, I've left "ImageLogging.h" being included before the corresponding .h file, because I ran across a warning comment saying that it needs to be included before any IPDL-generated files & anything that includes prlog.h; and it seems possible that Foo.cpp's corresponding Foo.h file could include such headers now or in the future.)

MozReview-Commit-ID: HPvUVj8YuKc
2016-06-30 10:27:03 -07:00
Daniel Holbert
17deb8bb7c Bug 1282670, part 2: Remove unnecessary/redundant string-related #include & "using" declarations in imagelib. r=seth
MozReview-Commit-ID: 1hgnUosiOFU
2016-06-30 10:25:35 -07:00
Daniel Holbert
c1e322c6c5 Bug 1282670, part 1: Add missing #include & "using" declarations in imagelib. r=seth
I found these issues locally by moving all of imagelib's .cpp files to SOURCES instead of UNIFIED_SOURCES.  (That change isn't part of this patch, though.)

MozReview-Commit-ID: 97Xpfu8eFE6
2016-06-30 10:24:27 -07:00
Nick Fitzgerald
08e44f904f Bug 1283308 - Use js::Mutex instead of PRLock for the js shell's sharedArrayBufferMailboxLock; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald
176ee351b9 Bug 1283301 - Use js::Mutex instead of PRLock for the js shell's workerThreadsLock; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald
2148cb0562 Bug 1283289 - Use js::Mutex instead of PRLock in js/src/jit/mips64/Simulator-mips64.{h,cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald
411c5a6258 Bug 1283287 - Use js::Mutex instead of PRLock in js/src/jit/mips32/Simulator-mips32.{h,cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald
102dda7dfd Bug 1283284 - Use js::Mutex instead of PRLock in js/src/jit/arm64/vixl/{Simulator-vixl.h,MozSimulator-vixl.cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald
bc42951b33 Bug 1283278 - Use js::Mutex instead of PRLock in js/src/jit/arm/Simulator-arm.{h,cpp}; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald
f21f1d6466 Bug 1283272 - Fix comment referring to bool return value, when actual return value is void; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald
b1463b83ef Bug 1283245 - Use js::Mutex and js::ConditionVariable instead of PRLock and PRCondVar in HelperThreads; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald
768f4986eb Bug 1283229 - Thread AutoLockHelperThreadState& parameters through various HelperThread-related functions; r=terrence
This is a pre-requisite for moving the `HelperThread` infrastructure over from
using `PRLock` and `PRCondVar` to using `js::Mutex` and `js::ConditionVariable`.
Its needed because waiting on a `js::ConditionVariable` takes the `LockGuard`
for the condvar's mutex as a parameter, so we need to have that accessible. When
we do the conversion, `AutoLockHelperThreadState` will become derived from
`LockGuard` and specialized for the helper thread state lock, and so the guard
will therefore be accessible.
2016-06-30 13:13:30 -07:00
Gijs Kruitbosch
47178e3a6c Bug 1282420 - fix artifact builds so they don't depend on mach being invoked in the topsrcdir, r=chmanchester
MozReview-Commit-ID: BjgxYVI2se0
2016-06-27 14:42:38 +01:00
Nathan Froyd
1363127e17 Bug 1283524 - remove unnecessary NS_ASSERT_OWNINGTHREAD checks in Release method macros; r=mccr8
The definitions of these Release methods already include
NS_ASSERT_OWNINGTHREAD checks earlier, so these second checks are
redundant.
2016-06-30 23:55:36 -04:00
Eric Faust
e8e165c048 No Bug - Added test for new.target in argument defautls. (rs=jorendorff) 2016-06-30 12:54:25 -07:00
Jeff Gilbert
9af1a2490d Bug 1280507 - Disable OffscreenCanvas tests.
MozReview-Commit-ID: 8fpNef6RHfk
2016-06-30 12:41:43 -04:00
Jeff Gilbert
cb4677e853 Bug 1280507 - Simplify context loss handler. - r=jrmuizel
Use a self-referential RefPtr instead of manual AddRef/Release.
Reuse DisableTimer for when a worker is dead.

MozReview-Commit-ID: E1Cv9M7rbe2
2016-06-30 12:39:12 -04:00
Chih-Yi Leu
04356f1b32 Bug 1282993 - Fix build error in Platform which don't support gamepad API. r=baku
--HG--
extra : amend_source : e53f5bcb7815716d5fa585b53b0dca00665a5718
2016-06-29 20:39:00 +02:00
Carsten "Tomcat" Book
f1eca98b04 Merge mozilla-central to mozilla-inbound 2016-06-30 14:14:31 +02:00
Carsten "Tomcat" Book
065ef2b275 Backed out changeset bcd10b16cb33 (bug 1283135) on developers request 2016-06-30 13:49:58 +02:00
Carsten "Tomcat" Book
3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
Carsten "Tomcat" Book
ed3ab6cac3 Backed out changeset bb6bea23a056 (bug 1282226) for blocking merge from m-i to m-c 2016-06-30 12:31:18 +02:00
Carsten "Tomcat" Book
61ce4d4d5c merge fx-team to mozilla-central a=merge 2016-06-30 11:54:32 +02:00
Carsten "Tomcat" Book
3213a7983d Backed out changeset c34ec3e0884c (bug 1248163) for hazard failures
--HG--
extra : rebase_source : 9ef8cd7b6248533e552c3b149257ffafbc0a29ca
2016-06-30 07:20:30 +02:00
Xidorn Quan
4b271deafa Bug 1282334 followup - Remove pointless DOMFullscreenHandler._fullscreenDoc. r=dao
MozReview-Commit-ID: HHoDOeVJNu2

--HG--
extra : source : e51d628bfe236d221e1b9a53d67f2f47b1a7aecb
2016-06-30 14:57:30 +10:00
Xidorn Quan
0826f76d6e Bug 1282334 part 2 - Ensure scheduling flush for fullscreen change. r=smaug
The refresh driver may not be triggered regularly if the page is static.
In that case, we need to ensure a flush is scheduled for fullscreen
change, otherwise the page may get stuck.

MozReview-Commit-ID: c5FhqaIUQW

--HG--
extra : source : 10269de859e1a6b532ecd02fafff205365c51f2b
2016-06-30 14:57:30 +10:00
Xidorn Quan
6415838678 Bug 1282334 part 1 - Not check transaction id for non-e10s. r=dao
Before this patch, there are two issues for non-e10s window:

* The initial entering fullscreen would hit timeout because we do not
  record lastTransitionId for entering for non-e10s, and a number is
  never larger than undefined, so MozAfterPaint never triggers the
  message it should trigger.

* Every exiting fullscreen may hit timeout because when we record the
  transition id in DOMFullscreen:CleanUp, the last paint for fullscreen
  change may have completed, and consequently we won't receive any new
  MozAfterPaint with a larger transition if the page is static.

MozReview-Commit-ID: IWCC6QHA3AL

--HG--
extra : source : 3be19433697e710d33e25f30baf78342ae25d956
2016-06-30 14:57:30 +10:00
Jocelyn Liu
36d3b49b3a Bug 1276240 - Ignore typeExtension argument if the value is null or undefined. r=smaug
MozReview-Commit-ID: 4ZeySrIpgFr

--HG--
extra : rebase_source : 36d230e041b01622110027e00c7b0eb1188454ed
2016-06-28 17:07:32 +08:00
Ted Mielczarek
12d21dc687 bug 1280326 - make MockedOpen case-insensitive on Windows. r=gps
MozReview-Commit-ID: O26u2kVrSk

--HG--
extra : rebase_source : 05233c7718a33fe4c87e087502d2d622c9e089a7
2016-06-28 16:11:33 -04:00
Xidorn Quan
9cd4a13d78 Bug 1274868 - Deactive opened menu when entering fullscreen. r=enn
MozReview-Commit-ID: 9VOMfDQZ0eZ

--HG--
extra : amend_source : 4bb215e2d9256725293ecc8fe66d9b93590af526
2016-06-27 10:42:37 +10:00
Carsten "Tomcat" Book
d8d1e0b986 Backed out changeset d4e94246b3b4 (bug 1274868) for wrong reviewer name 2016-06-30 06:32:37 +02:00
Marcos Caceres
7d0789d464 Bug 1280777 - put window.oninstall behind a pref. r=bkelly r=baku 2016-06-29 19:04:00 +02:00
Cykesiopka
d93f9d1b28 Bug 1282004 - Convert TestMD4 CPP unit test into a GTest. r=mgoodwin
Nothing in the file requires functionality provided by the CPP unit test harness,
so making the file a GTest makes it more accessible.

MozReview-Commit-ID: FaAtF0blCwV

--HG--
rename : security/manager/ssl/tests/compiled/TestMD4.cpp => security/manager/ssl/tests/gtest/MD4Test.cpp
extra : transplant_source : edV%1F%0B97%1B%25%FA%0ABH%14%F5%A2Ms/%7E
2016-06-27 09:06:51 -07:00
Cykesiopka
3f7ca34d26 Bug 1282004 - Make it easier to run all PSM GTests at once. r=mgoodwin
Currently, running all the PSM GTests involves providing a filter that catches
all the various tests. This is annoying and error prone.

The changes here make running all PSM GTests as easy as:
  mach gtest "psm*"

MozReview-Commit-ID: EqaysNvwJaQ

--HG--
extra : transplant_source : %0CCM%99%12%18%8D%B9%DD%84%0C%A06%0Ba%AD%A7%EB%B3%FB
2016-06-27 09:06:43 -07:00
Gregory Szorc
301c133f5c Bug 1280326 - Stop monkeypatching os.path.exists; r=ted
MockedOpen monkeypatches os.path.exists. Changes to MockedOpen
since this test code was written have made it more robust
making the extra monkeypatching in the test not necessary.

This change may not fix the test failure reported in the bug.
But at least it makes the test code simpler.

MozReview-Commit-ID: BnUr08leope

--HG--
extra : rebase_source : d8d721392c88883fddf7959ca40ea194f91483c9
2016-06-24 13:41:49 -07:00
Alexandre Lissy
983701f75d Bug 1282226 - Add aries and nexus 5 to try r=wcosta
MozReview-Commit-ID: LOZHgih2TrM

--HG--
extra : rebase_source : 48456bc24aa23ff6d2f7e4b0edaaa7d5ed0e8e73
2016-06-28 22:06:52 +02:00
Alexandre Lissy
2eb2535e97 Bug 1282226 - Kill secrets from phone-builder image and fix aries/hammerhead r=wcosta
MozReview-Commit-ID: LOZHgih2TrM

--HG--
extra : rebase_source : e17d08683891ca5c74bb8b3930d0aa5e62121c4f
2016-06-28 19:46:40 +02:00
David Keeler
3fed4e5ecc bug 1272858 - use a name-agnostic method to find the built-in root PKCS#11 slot r=Cykesiopka
Previously this implementation would use the expected names of the built-in
module and slot to get a handle on them. This doesn't work on distributions that
use other names. The new implementation searches through the slots from the
default module list for one where PK11_HasRootCerts returns true (which
indicates that NSS considers that slot to contain the default built-in root
list).

MozReview-Commit-ID: LmX27hQfFJU

--HG--
extra : rebase_source : 50383dcc77257fe08ce2c7d908e95cda7c4bbe9d
2016-06-23 15:43:47 -07:00
Chris Pearce
58f2e7cb65 Bug 1282585 - Ensure content process doesn't crash if CDM crashes before MediaKeys attaches to media element or media element loads. r=jwwang
MozReview-Commit-ID: 2CpiDv6u4RP

--HG--
extra : rebase_source : bf0077826135e16667253c212b4897830c452e55
2016-06-29 16:09:24 +12:00
Gregory Szorc
2b4bd7f019 Backed out changeset ed7d7a895962 (bug 1283065) 2016-06-29 14:45:00 -07:00
Alexandre Lissy
1f12aec167 Bug 1283156 - Fix GonkDecoderModule build error r=baku
MozReview-Commit-ID: 8O9CeufBy7r

--HG--
extra : rebase_source : 7080382897c66ded2c28e261d2aef04b197e88c8
2016-06-29 21:03:42 +02:00
Emilio Cobos Álvarez
e6ed33b04e Bug 1283242: style: Whitespace cleanup and remove dead code. r=bobbyholley+313730
gNewCount and gSharedCount aren't even declared.

--HG--
extra : rebase_source : 3c7d79a360ad6eef2e884de513ee45a289d4cd0a
2016-06-29 11:27:42 +00:00
Gijs Kruitbosch
0423031f08 Bug 1283267 - save start time of automigration when we save the finished time, to ensure both actually get written to prefs, r=Dolske
MozReview-Commit-ID: J4foRyWlJTv

--HG--
extra : rebase_source : b0c75e8a66468d063ddfd6cf21bdc0085072d64e
2016-06-29 20:59:23 +01:00
Kartikaya Gupta
20ce0084db Bug 1253683 - Add a test. r=tnikkel
MozReview-Commit-ID: Cn3paFTFo1O

--HG--
extra : rebase_source : 58868e2aef582b4fb12d5dd8af72996863d3fc13
2016-06-29 14:29:42 -04:00