Commit Graph

480800 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
63a50e8725 Bug 1253683 - Don't layerize scrollframes which are overflow:scroll but not actually scrollable. r=tnikkel
MozReview-Commit-ID: 6DUE3PB2hLI

--HG--
extra : rebase_source : 2e9aa59f5545a14ec70dcb6b7fbaf97bcce5dd0b
2016-06-29 14:29:40 -04:00
Kartikaya Gupta
95d204ffcd Bug 1282957 - Add a visual indicator for pages affected by scroll-linked effects. r=mstange
MozReview-Commit-ID: KuAL2CUDCnj

--HG--
extra : rebase_source : 19ed84b06568a9dbca5d96aecb02161aa5535d42
2016-06-28 18:31:15 -04:00
Gijs Kruitbosch
b1bd30f80e Bug 1199678 - recognize MS Edge in MigrationUtils.jsm for default browser detection, r=Dolske
MozReview-Commit-ID: Bmuyv59fRAv

--HG--
extra : rebase_source : 0869e916cf5adda158f417d0a50160a37bc8ff40
2016-06-29 19:37:48 +01:00
Kartikaya Gupta
26e7e639be Bug 1283176 - Dump XMost and YMost values instead of width and height for sticky layers. r=nical
MozReview-Commit-ID: C9fJA03RamJ

--HG--
extra : rebase_source : a6d1c9cef47589642e6ca75b97c0619e76e6c0ab
2016-06-29 12:15:23 -04:00
David Keeler
fbd578cfcf bug 826783 - make certificate viewer more flexible about its minimum size r=mgoodwin
This makes the certificate viewer able to shrink itself down a bit on small
screen sizes. Without this patch, the "Close" button would be off the screen on
small resolutions like 1024x768. On larger screen sizes, this patch should have
no effect on the initial size of the certificate viewer window (although it now
can be made smaller manually).

MozReview-Commit-ID: IET9dxx23Xc

--HG--
extra : rebase_source : 487c88d626df7184502226b9ce02410adc504f12
2016-06-24 10:23:18 -07:00
David Keeler
06b53f1c5e bug 1282871 - import the Family Safety root by default when applicable r=mgoodwin
Enabling this feature should make https sites work in Firefox on Windows 8.1 for
user accounts where Microsoft Family Safety features have been enabled (whereas
previously Firefox would show a connection untrusted error page).

MozReview-Commit-ID: JH5Gn9lCYDA

--HG--
extra : rebase_source : 755c498471fe581456384b1bf7b187fe46d66b97
2016-06-28 14:18:26 -07:00
Masatoshi Kimura
759c6d2a52 Bug 1279479 - Hide DHE cipher suites from the first handshake. r=keeler
MozReview-Commit-ID: BXZm6EMaLy2

--HG--
rename : security/manager/ssl/tests/unit/test_weak_crypto.js => security/manager/ssl/tests/unit/test_fallback_cipher.js
extra : rebase_source : 925361a6114fa5b09f74e2f61e504a1e3b938805
2016-06-23 03:48:02 +09:00
Alexandre Lissy
1ef0829ff2 Bug 1283135 - Fix gamepad IPDL dependency with no gamepad r=baku
MozReview-Commit-ID: LoUZCMPe2pC

--HG--
extra : rebase_source : 13400a538ccea7f87f1e03fb6f1877d999ca8ff8
2016-06-29 17:02:21 +02:00
Kartikaya Gupta
31b88c18e8 Bug 1282587 - Remove telemetry probe expiring in Firefox 50. r=botond
MozReview-Commit-ID: IOBw3kRPNQY

--HG--
extra : rebase_source : 4a32c7e317f96256ed219e49cf2346160707074e
2016-06-27 17:52:50 -04:00