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

493832 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 022c2c76a7 Bug 1306549 part.6 Create KeyboardLayout::ActivateDeadKeyState() r=m_kato
There is DeactivateDeadKeyState() but not ActivateDeadKeyState().  There should be both of them and hides the dead key state management into them.

MozReview-Commit-ID: JvAPE5f2HVy

--HG--
extra : rebase_source : d7027a1a6b75c6859e79d651d3e9b0136cc09891
2016-09-16 19:09:12 +09:00
Masayuki Nakano c5efc36210 Bug 1306549 part.5 Create KeyboardLayout::GetCompositeChar() for wrapping VirtualKey::GetCompositeChar() r=m_kato
VirtualKey::GetCompositeChar() needs index of virtual keycode which may make around the caller messy.  So, KeyboardLayout::GetCompositeChar() should wrap it and KeyboardLayout::MaybeInitNativeKeyWithCompositeChar() should use it.

MozReview-Commit-ID: 8KLTJpCFZ8u

--HG--
extra : rebase_source : fd13c009330fd485c8cba30f469fc645b560c623
2016-09-16 18:54:48 +09:00
Masayuki Nakano da22fd3b2b Bug 1306549 part.4 Create KeyboardLayout::GetNativeUniCharsAndModifiers() for wrapping VirtualKey::GetNativeUniChars() r=m_kato
Similar to VirtualKey::GetUniChars(), VirtualKey::GetNativeUniChars() needs key index.  So, it should be wrapped by a new helper method, KeyboardLayout::GetNativeUniCharsAndModifiers(), and KeyboardEvent::InitNativeKey() should use this instead of accessing its member's GetNativeUniChars().

MozReview-Commit-ID: 7M9OlNF698Y

--HG--
extra : rebase_source : e19a5c99014a8f0a0ed7cc3a86fe0c4ee10cebb5
2016-09-16 18:38:53 +09:00
Masayuki Nakano 49ebeb51f0 Bug 1306549 part.3 KeyboardLayout::InitNativeKey() should use GetUniCharsAndModifiers() instead of using VirtualKey::GetUniChars() directly r=m_kato
When InitNativeKey() retrieves UniCharsAndModifiers for a key, it needs key index for the given virtual keycode.  Therefore, wrapping the code with GetUniCharsAndModifiers() makes InitNativeKey() code simpler since each call specifies the virtual keycode to the method instead of key index.

MozReview-Commit-ID: Azy8chXexaz

--HG--
extra : rebase_source : 98da43e7f542037f952206cd3db731f6cbb097e7
2016-09-16 18:22:12 +09:00
Masayuki Nakano 1559d32969 Bug 1306549 part.2 Create overload methods which take ModifierKeyState instead of VirtualKey::ShiftState r=m_kato
This patch gets rid of |shiftState| from KeyboardLayout::InitNativeKey() and make each caller clearer.  This must make other developers understand what modifier state is used at each call.

MozReview-Commit-ID: 6zydP1jkffv

--HG--
extra : rebase_source : ea1d5f49ea02812aa632bdbad871688879f2b401
2016-09-30 15:32:10 +09:00
Masayuki Nakano af0de6d7e8 Bug 1306549 part.1 KeyboardLayout::InitNativeKey() should use KeyboardLayout::IsDeadKey() r=m_kato
KeyboardLayout::InitNativeKey() is very messy because it handles a lot of cases without helper methods.

It's important to make it simpler implementation for preventing regressions caused by some patches which are written with misunderstanding.  So, let's rewrite the method with helper method.

First, this patch make InitNativeKey() use IsDeadKey() instead of referring the table because calling IsDeadKey() is easier to understand.

MozReview-Commit-ID: DtN9qoh7Gz7

--HG--
extra : rebase_source : 8e769c1c88bfe646940491c111de609dbf53eeec
2016-09-16 17:24:39 +09:00
Enes Goktas 69fd7610fa Bug 1303236 - Skip check_vanilla_allocations if -flto flag is set; r=glandium
MozReview-Commit-ID: 7WOz6LpRP7L

--HG--
extra : rebase_source : 2147ee6816f976e38ccf456505beb1edfc8147dc
2016-09-21 12:31:41 -07:00
Enes Goktas 43ddfab91c Bug 1303227 - Wrap libxul.so linker to prevent getting the linking process killed; r=glandium
This patch removes the memory usage tracking in the script that wraps the
linking of the xul library. This patch also generalizes the wrapping of the
xul linking process to all platforms.

MozReview-Commit-ID: HyncF3aVwdx

--HG--
extra : rebase_source : 8fb90c896dc57793d1c9d9aa4e8492dec8697e36
2016-09-20 17:58:34 -07:00
JW Wang f3306e0506 Bug 1306566 - Remove the check for mIsVisible from MDSM::DonePrerollingVideo(). r=kamidphish
MozReview-Commit-ID: GIEibT6YKmC

--HG--
extra : rebase_source : a4741c9ddf5a17ccc30ecce645886ee17a31129d
2016-09-30 16:11:58 +08:00
Nils Ohlmeier [:drno] 6f030a6694 Bug 1306782: remove B2G from WebRTC mochitest.ini. r=dminor
MozReview-Commit-ID: LACslRHbQFp

--HG--
extra : rebase_source : ab1fd30345073e3b07499bcaf09f2e806ba4c8bc
2016-09-30 16:49:26 -07:00
Eric Rahm e5be6e71b3 Bug 1307223 - Don't warning multiple times about WMF dlls failing to load. r=cpearce
We already report failure in |LoadDlls| on the initial failure to load, there's
no need to warn more than once per session.

MozReview-Commit-ID: FhsR2ZaMSLT

--HG--
extra : rebase_source : ae7d94af5c9d9253b82b2d45dc6967b5b21c6492
2016-10-03 14:02:15 -07:00
Robert Helmer 6177419992 Bug 1306492 - release staging directory when add-on install is postponed r=kmag
MozReview-Commit-ID: 3mMFS2l8bKq

--HG--
extra : rebase_source : 31048819e830e79db468a39e1ce1cfb2e5d0fa66
2016-09-29 19:38:08 -07:00
Phil Ringnalda 35869db574 Backed out 5 changesets (bug 1305801) for ASan gtest bustage
Backed out changeset 0c95d5dec6d9 (bug 1305801)
Backed out changeset bca0e706dbc5 (bug 1305801)
Backed out changeset def8da367beb (bug 1305801)
Backed out changeset 56ceae52d847 (bug 1305801)
Backed out changeset 14457cc4c325 (bug 1305801)
2016-10-03 22:14:49 -07:00
Dimi Lee b4c5400f77 Bug 1305801 - Part 5: Support SafeBrowsing v4 partial update. r=gcp
MozReview-Commit-ID: 7OEWLaZbotS

--HG--
extra : rebase_source : dea720f726306238f7fe3687d7c2579410923752
2016-10-04 09:14:39 +08:00
Dimi Lee f0aab4a2ce Bug 1305801 - Part 4: Store variable-length prefix to disk. r=francois, r=gcp
MozReview-Commit-ID: BMTGtgMuQdg

--HG--
extra : rebase_source : 6f613883071de209f53596060b637e928f458978
2016-09-19 11:51:01 +08:00
Dimi Lee b3889409ed Bug 1305801 - Part 3: Testcase for variable length prefixSet. r=francois, r=gcp
MozReview-Commit-ID: Gy7LtQ11EkV

--HG--
extra : rebase_source : dffe478b8dec6a00532b5c5a888df8e9db6daa6f
2016-09-14 14:49:41 +08:00
Dimi Lee 55a866eaa1 Bug 1305801 - Part 2: Add telemetry for variable-length prefix set. r=francois
MozReview-Commit-ID: 8SebDJ8ZeKn

--HG--
extra : rebase_source : 069a6279fad396b50d180743395541bebe3f3c7a
2016-09-27 14:26:09 -07:00
Dimi Lee fb063cefc6 Bug 1305801 - Part 1: Implement variable length PrefixSet class for Safe Browsing v4. r=francois, r=gcp
MozReview-Commit-ID: 49XX1Gu1XqX

--HG--
extra : rebase_source : a4656dc0872e6c0a4aec2f60bc2c22ad668a4368
2016-09-14 14:49:26 +08:00
Phil Ringnalda 7026f16e79 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Phil Ringnalda c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Wes Kocher 5739609d11 Backed out changeset bc4680ea08a9 (bug 1307042) for android mda test failures a=backout CLOSED TREE 2016-10-03 16:03:12 -07:00
Wes Kocher 265355461f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE
--HG--
extra : amend_source : 3dc85338e38502f95b5f667babbd6cf0282c70d1
2016-10-03 14:50:27 -07:00
Brad Lassey 04c44176b6 bug 1294341 - only assert that navigator.plugins is not empty when there is a hidden CTP plugin r=bsmedberg 2016-09-29 12:39:02 -04:00
Brad Lassey 750d2949b7 bug 1294341 - add a fake filename to avoid an assertion that plugin filenames have periods in them r=bsmedberg 2016-09-29 12:37:20 -04:00
bechen 8d4c4d713c Bug 1304948 - Part 3: Add testcase. r=rillian
MozReview-Commit-ID: DHT8B5ULA1i

--HG--
extra : rebase_source : e880209682d8d16d8f10c5c85f6fe2ca1e503999
2016-09-29 17:46:52 +08:00
bechen 9a94b5158f Bug 1304948 - Part 2: Don't run TimeMarchesOn when shutdown. r=rillian
MozReview-Commit-ID: AE6FE74ESHN

--HG--
extra : rebase_source : c6bd95af29d063c237e07c3fbdefb0daf76874f1
2016-09-29 17:47:33 +08:00
bechen 1d54633f83 Bug 1304948 - Part 1: Check the target cue belongs to corresponding TextTrack. r=rillian
MozReview-Commit-ID: 3X3FjYw2p26

--HG--
extra : rebase_source : 76a3e453d8edde947d7e32134121ba94e91c7a7e
2016-09-29 17:47:35 +08:00
Samael Wang 104fe2c997 Bug 1300461 - UpdateIndex on LOAD_NORMAL_REPLACE, ReplaceEntry at requestedIndex when available. r=smaug
--HG--
extra : rebase_source : 9bb3c7488a1785ee5c4106b8e024555f31b3220c
2016-09-30 11:55:10 +08:00
Chris Pearce b2629e2eec Bug 1307248 - Replace uses of CompareUTF8toUTF16(kEMEKeySystem*) with Is*KeySystem(). r=jwwang
MozReview-Commit-ID: BTTacIyYfGZ

--HG--
extra : rebase_source : 4c3146ce7ca597c33871e8fb76b1c86d93c24ef7
2016-10-04 09:48:28 +13:00
Chris Pearce 5215e69245 Bug 1307248 - Add Is{Primetime,Widevine}KeySystem() functions. r=jwwang
MozReview-Commit-ID: GnH0T8IJhgR

--HG--
extra : rebase_source : cbaa64436e8ce034f6c953afa74001054f2ade0a
2016-10-04 09:40:32 +13:00
Michael Froman d35956ee16 Bug 1291714 - bool to enable dtmf tones in AudioConduit and setup dtmf payload type. r=bwc
MozReview-Commit-ID: IMneZx9wlhj

--HG--
extra : rebase_source : 0e65711f7a36f75c8956efb0860fd63f7890a279
2016-09-28 21:22:44 -05:00
Gijs Kruitbosch 3ed3aaaf19 Bug 1000458 - stop races in location bar <return> handling code, r=mak
MozReview-Commit-ID: IcQCNj0FcCu

--HG--
extra : rebase_source : 863f6f214772252be7d310cacdc49d82be215216
2016-09-28 19:54:25 +01:00
Greg Tatum 6184dccc11 Bug 1303748 - Fix color cycling in CssColor by adding more HSL precision; r+tromey r=tromey
MozReview-Commit-ID: EtNj5IdOnKr

--HG--
rename : devtools/client/shared/test/unit/test_cssColor.js => devtools/client/shared/test/unit/test_cssColor-01.js
extra : rebase_source : 7b8c2628089368a6330489a03f31e58aca8bd0bb
2016-09-28 09:31:26 -05:00
Chris Pearce c5076e76b0 Bug 1307019 - Testcase for encrypted MP4 without PSSH and MDSM waiting-for-CDM. r=jya
Tests that a fragmented MP4 file without a PSSH, but with encrypted valid
tracks with valid TENC boxes, is able to load with EME. This is a test for
the code path added in bug 1300069.

We setup MSE before starting up EME, so that we exercise the "waiting for
cdm" step in the MediaDecoderStateMachine, which was regressed in bug 1300069.

MozReview-Commit-ID: BXgdzAikWoH

--HG--
extra : rebase_source : b03910c96c8f61622ce7bc9fb7b53adc209526a4
2016-10-03 16:35:27 +13:00
Chris Pearce 64e92ab177 Bug 1307019 - Ensure MDSM and MFR have consistent view of what counts as encrypted. r=jya
The patch in bug 1300069 introduced an inconsistency between what the
MediaDecoderStateMachine and the MediaFormatReader consider an encrypted
stream. The MDSM considered a stream encrypted if mInfo.IsEncrypted() is true,
and that only takes into account the PSSH. Whereas the MFR only considers the
presence of a TENC box to indicate encryptedness. This would cause the MDSM
to not wait for the CDM before trying to start decoding. So if you setup the
MediaSource before setting the MediaKeys on the MediaElement, you'll end up
trying to create an EME decoder without a CDMProxy, and that causes a null
pointer deref and crash.

This patch ensures that the MDSM and the MFR use the same logic to determine
whether a stream is encrypted.


MozReview-Commit-ID: KGuYTuP9XDL

--HG--
extra : rebase_source : 85b303597a401a69f7e4ac63a267d8c8eb52ffa5
2016-10-03 16:34:31 +13:00
Phil Ringnalda 18e0fd86a6 Bug 1307043 - Make [Ubuntu] in try syntax include ASan tests, r=dustin
If you want to run tests on Linux32 and Linux64, you use trychooser syntax like
"-u all[Ubuntu]" which taskcluster supports, but if you also built ASan, and
want tests on ASan, there's no supported documented way to get them. That sounds
like an edge-case, except that to get tests to run on WinXP or Win8 you have to
explicitly list them, so to get tests on every platform you build you have to
list all of them, and if ASan is one of them you have to somehow know to dig
around in the .yml and to know that linux64-asan is the thing to dig out.

MozReview-Commit-ID: 2REf0cUWmK8

--HG--
extra : rebase_source : cb77ff3e016939c94ac05964a6db809fe10aaa1a
2016-10-02 23:20:02 -07:00
Phil Ringnalda b585dfc1bc Bug 1306933 - Support the 'Android 4.3' prettyname alias for trychooser, r=dustin
The trychooser website advertises 'Android 4.3' as the alias to choose Android
tests in [] syntax, but without support for that in taskcluster, someone who
wants both opt and debug tests would need to guess, with no support or
documentation, that they should use [Android 4.3,android-4.3-arm7-api-15]

MozReview-Commit-ID: 4rEKcvqAfDH

--HG--
extra : rebase_source : 336d3a787569e14e5ae8608902e6e557ef2ce6c3
2016-10-01 19:19:24 -07:00
Tom Tromey 7bc8491bea Bug 1067547 - unify ScopedLogging implementations and use in nsEmbedFunctions; r=bsmedberg
MozReview-Commit-ID: 6hDZDaBsNFM

--HG--
extra : rebase_source : 9422c235ebdffd84e06137bb2c63ce106cb39f0b
2016-09-26 11:06:38 -06:00
Tom Tromey 1b3a828426 Bug 1067547 - add more uses of MOZ_COUNT_CTOR to tools/profiler; r=bsmedberg
MozReview-Commit-ID: 5Gf5OkydkL0

--HG--
extra : rebase_source : a32eabd5c8d051370b0f52e1b8edf8029da95a6d
2016-09-26 11:05:44 -06:00
Andrew Halberstadt 6b48ddc0b0 Bug 1304593 - Use |mach python-test| to run python unittests from make check, r=ted
Currently make check loops over all directories and runs each test file in PYTHON_UNIT_TESTS
individually. This patch instead creates a single top-level check target that runs
|mach python-tests|. This should make automation more similar to running locally, be a bit
quicker and make it easier to pull python tests out of make check completely at a future date.

MozReview-Commit-ID: 4Hg4zdFyc61

--HG--
extra : rebase_source : 31d0c38a76c11b75d3bf569f2bf22a0666161726
2016-09-26 15:29:02 -04:00
Andrew Halberstadt 1b0964f59b Bug 1304593 - Take universal binaries into account when detecting objdir mismatches, r=gps
When attempting to run mach from a make target, there were failures on OSX due to an objdir
mismatch:
https://dxr.mozilla.org/mozilla-central/rev/7c576fe3279d87543f0a03b844eba7bc215e17f1/python/mozbuild/mozbuild/base.py#656

The two detected objdirs were "<objdir>" and "<objdir>/x86_64". I believe this should not
count as a mismatch, otherwise it would not be possible to run a mach command from the
x86_64 directory.

MozReview-Commit-ID: CXDEABNWX8L

--HG--
extra : rebase_source : 9daeaf372d872921e7b2854eee0313b5adc0e707
2016-09-30 14:27:38 -04:00
Andrew Halberstadt fae591ac2b Bug 1304593 - Fix broken test_entry_point.py in mach, r=gps
Fix and enable python/mach/mach/test/test_entry_poiny.py.

MozReview-Commit-ID: FtMpt8Nmq3g

--HG--
extra : rebase_source : 73755266b7d9570065c0ab18e0b50e074559914c
2016-09-27 17:11:00 -04:00
Nils Ohlmeier [:drno] 7a1894eae5 Bug 1306777: stop sending RTP after switching to a=inactive. r=bwc
MozReview-Commit-ID: EEetiD4Tm4I

--HG--
extra : rebase_source : b9454944f5070b232c03a605e4dd651264c34b26
2016-09-30 16:13:07 -07:00
Dustin J. Mitchell 3466fe0ae3 Bug 1307177: print recognizable error when unzip fails; r=philor
MozReview-Commit-ID: DAi2cOdugE

--HG--
extra : rebase_source : 48539802056e2dbb556c0f655c3294b4dc9e4a20
2016-10-03 17:47:16 +00:00
Astley Chen 8e60824f68 Bug 1292447: part 10 - Get a11y StyleInfo::TextIndent value resolved correctly. r=surkov,TYLin
MozReview-Commit-ID: Gz0ae9x1WtB

--HG--
extra : rebase_source : a320a405408087de47c879099fbb55641636b56e
2016-10-03 18:14:21 +08:00
Astley Chen c1fd5ee2fe Bug 1292447: part 9 - Update test_value_computation.html. r=TYLin
MozReview-Commit-ID: KFTbWd2oHWg

--HG--
extra : rebase_source : e011f27e4cd9268fafa1ad1d04a3c22f8aab5ad6
2016-10-03 18:14:21 +08:00
Astley Chen 16dcb01585 Bug 1292447: part 8 - Update test_transitions_per_property.html. r=TYLin
MozReview-Commit-ID: 8VgagJu1H9Z

--HG--
extra : rebase_source : 93b87b604e79a2591f6c38c3975e82b01fdd28c9
2016-10-03 18:14:21 +08:00
Astley Chen 2cff7ae293 Bug 1292447: part 7 - Update test_bug1292447.html. r=TYLin
MozReview-Commit-ID: DLP76uIV30w

--HG--
rename : layout/style/test/test_bug365932.html => layout/style/test/test_bug1292447.html
extra : rebase_source : 4411ea59a0ccc90ba43b20146605238324097532
2016-10-03 18:14:21 +08:00
Astley Chen 89f727f21c Bug 1292447: part 6 - Update test_computed_style.html. r=TYLin,xidorn
MozReview-Commit-ID: 3Y3jFp8ZBz

--HG--
extra : rebase_source : dc1d328eafa05cf83cbbce986c0ea2d389bf2ee7
2016-10-03 18:14:20 +08:00
Astley Chen c0318f7bdf Bug 1292447: part 5 - Update property_database.js. r=TYLin
MozReview-Commit-ID: 758FteV3Th6

--HG--
extra : rebase_source : b29eb545d0fbe8991a736ce22a4257b0c06f60d4
2016-10-03 18:14:20 +08:00