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

503466 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 716c21f071 Bug 1322070: P1. Don't attempt to decode some audio format. r=jolin
Rather than asserting that the bit depth is 16 bits, let it fallback to other PDMs

MozReview-Commit-ID: DnO3nvgEFAe

--HG--
extra : rebase_source : 486e2aece7ebbbdf7058a6580198b1dc5c97247a
2016-12-05 08:05:35 +11:00
Nicholas Nethercote d307e2a3a9 Bug 1322080 (part 3) - Remove nsIXPCScriptable::addProperty. r=peterv.
The only non-trivial implementation of this method is in nsEventTargetSH, but
it's never called, so no point keeping it around. (Similar methods were removed
in bug 1132184 and bug 1132187.)
2016-12-02 17:37:55 +11:00
Nicholas Nethercote f4dc382625 Bug 1322080 (part 2) - Remove XPC_MAP_WANT_POST_CREATE_PROTOTYPE. r=peterv.
It's never defined, and there's a comment in
XPCWrappedNativeProto::CallPostCreatePrototype() explaining how
PostCreatePrototype() doesn't have an associated "want" check.
2016-12-02 17:12:08 +11:00
Nicholas Nethercote f00c0d326b Bug 1322080 (part 1) - Remove nsEventTargetSH::doCreate(). r=peterv.
It's unused.

--HG--
extra : rebase_source : 4757d2ccf82194dda566f26ccf432bb869f4edba
2016-12-02 16:37:31 +11:00
Hector Zhao 820b4609ce Bug 1318736 - Copy image file only if it's successfully decoded. r=tnikkel
MozReview-Commit-ID: DoTGyjUDzUh
2016-12-02 11:25:25 +08:00
Kaku Kuo e34f6551e4 Bug 1322801 part 4 - defer the logic of invoking seek operation to SeekingObject's subclasses; r=jwwang
MozReview-Commit-ID: JjugShNlLV

--HG--
extra : rebase_source : f06d968e01916753d2fc803734e1e2c53680064d
2016-11-29 18:37:27 +08:00
Kaku Kuo db4795578c Bug 1322801 part 3 - defer the logic of resetting MDSM to SeekingObject's subclasses; r=jwwang
MozReview-Commit-ID: KPgO74TlQSJ

--HG--
extra : rebase_source : 32b45e76c9292e4b7484bc80df186f29205b7ecd
2016-11-29 18:06:34 +08:00
Kaku Kuo 3524304082 Bug 1322801 part 2 - defer the creation of SeekTask into SeekingState's subclasses; r=jwwang
MozReview-Commit-ID: 5rVD9r4JX3h

--HG--
extra : rebase_source : 8b7add95599a6627ebbad49e4541e3faf617d342
2016-11-29 17:42:57 +08:00
Kaku Kuo 2c5668e620 Bug 1322801 part 1 - create AccurateSeekingState and NextFrameSeekingState; r=jwwang
MozReview-Commit-ID: Kkh5wuOL1k9

--HG--
extra : rebase_source : 242e089418e64a83a22b7b631155a94dfbfdada6
2016-11-30 10:32:29 +08:00
Kaku Kuo 05dbfd5c5d Bug 1322801 part 0 - correct build error; r=jwwang
MozReview-Commit-ID: LddjkJsgxa

--HG--
extra : rebase_source : 949642556eaf9db89166ca9b9eb8f253354b9cea
2016-12-09 17:39:34 -10:00
Scott Wu 03eac1039b Bug 1283385 - (2/2) Rename timepicker.css to datetimeinputpickers.css; r=mconley
MozReview-Commit-ID: AvLRWiY5y62

--HG--
rename : toolkit/themes/shared/timepicker.css => toolkit/themes/shared/datetimeinputpickers.css
extra : rebase_source : d181093e5d03897f1f36e495c282ab68f425caf5
2016-11-29 15:14:38 +08:00
Andrew McCreight d00682b3cf Bug 1321029 - State::__Error is no longer used. r=kanru
MozReview-Commit-ID: 3HfwUrcGeTv

--HG--
extra : rebase_source : 67941c9703cba52938c0ba92c69288da95dde54b
2016-11-28 15:39:11 -08:00
Carsten "Tomcat" Book 2e1bdf3b3c Merge mozilla-central to autoland 2016-12-14 17:12:27 +01:00
Matt Howell e7f07a6850 Bug 1323325 - Find the correct updates directory to remove in 64-bit installers; r=rstrong
MozReview-Commit-ID: 14fPGOOYPRE

--HG--
extra : rebase_source : 2f10be108827a704b71e7d66b186d4ed7ff8adb1
2016-12-13 16:21:46 -08:00
Tom Klein 1368b01c9d Bug 1202861 - 2. Refresh tabs panel when compact tabs configuration changes. r=sebastian
MozReview-Commit-ID: HV9EQcLtCrE

--HG--
extra : rebase_source : 4eab2b439632ad60321b480f46aa408e6c32fc42
2016-11-28 09:27:24 -06:00
Tom Klein cb910a483d Bug 1202861 - 1. Create compact (two column) tabs tray option for portrait mode phones. r=sebastian
Changing the setting currently won't take effect until you rotate the tabs
panel (to cause it to be recreated); that will be fixed in the next commit.

MozReview-Commit-ID: HZfQRy8zubV

--HG--
extra : rebase_source : 78c3606eb55146afe3d59b0cdfa623999f09796b
2016-11-29 13:22:37 -06:00
Brian Birtles 3a6e8529d3 Bug 1322589 - Correct description of StyleAnimationValue::Accumulate; r=hiro
MozReview-Commit-ID: 39gWkeIs11F

--HG--
extra : rebase_source : 6d94af4fd16fbc705ad9847643ed22b148de563b
2016-12-08 14:45:57 -10:00
Andrew McCreight 75d98cae1d Bug 1322536 - Make some mScanInProgress checks fatal in release builds. r=smaug
MozReview-Commit-ID: 2hNtePfSxkF

--HG--
extra : rebase_source : 7434f50ef61e01297c87be15e34ecdb00acdb9f6
2016-12-08 11:03:42 -10:00
Markus Stange 016f125539 Bug 1322471 - Report the true thread name for content process threads in the profile, and add a processType field. r=BenWa
MozReview-Commit-ID: 52Eb3Rks9mE

--HG--
extra : rebase_source : 62c170badbf3897d303301489d8e919819f71f80
2016-12-07 21:40:20 -10:00
JW Wang 7523429b66 Bug 1322087. Part 4 - enable some test in mediasource-endofstream.html. r=cpearce
P2 fixes the test because it forces HAVE_ENOUGH_DATA when endOfStream() is called.

MozReview-Commit-ID: CK5CHvoS9bU

--HG--
extra : rebase_source : 96ff8f773234ad1b2bbc685381c94f6df30d4dea
extra : source : 7f9fb0cbe6e0e8aa5d727417357dfa976f297014
2016-12-07 13:08:45 -10:00
JW Wang 9b83914222 Bug 1322087. Part 3 - allow MediaResoure::Tell() to be called on the main thread. r=cpearce
It is safe to call Tell() on the main thread because it won't block the main thread like Read() does.

MozReview-Commit-ID: 64B41l8fe1

--HG--
extra : rebase_source : b5fc0ec44e8c238841c4f4329d14a0e476f7e422
extra : source : 3d229e2cc659d262ce04c4b09b3484b6524af4b4
2016-12-07 03:22:32 -10:00
JW Wang a7e9648832 Bug 1322087. Part 2 - move readyState to HAVE_ENOUGH_DATA when we have no more data to fetch. r=cpearce
http://searchfox.org/mozilla-central/rev/dc8cf05768b83a6ef0b4039edd6efddd56ee4109/dom/media/MediaDecoderStateMachine.cpp#1065
Changing nextFrameStatus to UNAVAILABLE might change readyState to HAVE_CURRENT_DATA and cause 'waiting' to fire.
It doesn't make sense to fire 'waiting' at the end of playback.

http://searchfox.org/mozilla-central/rev/dc8cf05768b83a6ef0b4039edd6efddd56ee4109/dom/html/HTMLMediaElement.cpp#5423
Note the check for Ended() doesn't work as expected to prevent 'waiting' from firing at the end of playback
because of the way how TailDispatcher schedules stateChange tasks.

This patch keeps readyState in HAVE_ENOUGH_DATA when playback is near the end for wanting no more data.
readyState will change to HAVE_CURRENT_DATA when the playing state of MediaDecoder is changed to PLAY_STATE_ENDED.

MozReview-Commit-ID: 6EspaD2hhx

--HG--
extra : rebase_source : 345aad2757d684e24863ae2daf506b035955efe7
extra : source : 56736efbab04a5c2d66faf2514bac93acf4c79f7
2016-12-07 10:41:33 -10:00
JW Wang 8e49c2b21d Bug 1322087. Part 1 - move |if (!mFirstFrameLoaded)| up to save some duplicate checks. r=cpearce
MozReview-Commit-ID: 77duxxtEAQP

--HG--
extra : rebase_source : 19810302dff31bdc02f12d79d1518ad9793fabc0
extra : source : bd86f44a0c38b8d60fafd8bdb26bdb786662c90f
2016-12-06 15:54:51 -10:00
Jan-Ivar Bruaroey cbd13cdc7b Bug 1322274: Use this._async() wrapper in PeerConnection.js for cleaner code r=mt
MozReview-Commit-ID: C5wwHiitrEz

--HG--
extra : rebase_source : f0dd01d261ca05fe5d1264502b610b31127fe244
2016-11-27 10:34:46 -05:00
Henrik Skupin 42083c7956 Bug 1320073 - Release marionette-driver 2.2.0 and marionette-client 3.3.0. r=maja_zf
MozReview-Commit-ID: JgdkguPKOoA

--HG--
extra : rebase_source : d7659acc46ef3c56128726926139ca1e3ee48b73
2016-11-25 10:07:45 +01:00
Michael Layzell 5d13424101 Bug 1318767 - Part 2: Correctly swap web progress listeners when swapping frameloaders, r=dao
MozReview-Commit-ID: KbUd2Os5qac
2016-11-25 10:06:00 +08:00
Daniel Näslund 5f94a9e343 b=Bug 1316803 part 1 - fold constant rhs for add/sub/shift/rotate/bitwise-ops. r=lth 2016-11-24 18:39:35 +01:00
Thomas Wisniewski 0628613ff9 Bug 1308110 - make tab-size animatable. r=cam 2016-12-12 19:55:09 -05:00
Jim Chen cc4198ee1a Bug 1322711 - 3. Convert JavascriptBridge to use Bundle events; r=gbrown
Convert JavascriptBridge, JavascriptTest, and other relevant code to use
the new Bundle events. We used the same "Robocop:JS" event for
communicating both ways before, but now that we have a unified bus, we
need two different events, "Robocop:JS" and "Robocop:Java" for two-way
communication.
2016-12-13 03:21:47 -05:00
Jim Chen e47caac9a9 Bug 1322711 - 2. Convert test-only events to Bundle events; r=gbrown
Convert events that are only used in robocop tests to Bundle events,
which are then used through Actions.expectGlobalEvent /
expectWindowEvent.

"Content:" prefix is added to "DOMContentLoaded" to follow the event
naming convention.

SelectionHandlerTest.java is removed because it's no longer used
anywhere.
2016-12-13 03:21:47 -05:00
Jim Chen 23679b7509 Bug 1322711 - 1. Convert property name to string if necessary; r=snorp
When converting a JS object to a GeckoBundle, convert the property name
to a string if necessary, because the property name could be another
type such as an integer.
2016-12-13 03:21:47 -05:00
Jim Chen e3b91096b5 Bug 1322710 - Don't use SpannableStringBuilder.equals; r=esawin
Don't use the system SpannableStringBuilder.equals implementation,
because of a bug in Android N+ that incorrectly compares spans.
2016-12-13 03:21:46 -05:00
Andrea Marchesini 555ef4b166 Bug 1322982 - DOMException should be passed as argument in DecodeErrorCallback - WPT, r=me 2016-12-13 07:26:44 +01:00
Andrea Marchesini 3200b37b47 Bug 1322982 - DOMException should be passed as argument in DecodeErrorCallback, r=padenot 2016-12-13 07:00:15 +01:00
Martin Husemann 6a9a8c76b3 Bug 1322112. Use memcpy() instead of dereferencing a casted pointer where the cast would increase alignement requirements on some architectures in nsIconDecoder. r=tnikkel 2016-12-08 14:10:58 -06:00
Bobby Holley 2207c01808 Bug 1322945 - Change skip_root to unstyled_children_only and use StyleNewChildren in more places. r=heycam
I noticed that our current behavior in ContentRangeInserted is incorrect. Unlike
ContentInserted (where this code lived originally), ContentRangeInserted takes a
start and end element. I'm not sure if we ever take that path for new content that
needs style, but it seemed sketchy. And generally, it seems nice to just always
style new content the same way (though we still need to style NAC by the subtree
root, since it hasn't been attached to the parent yet).

For situations where there is indeed only one unstyled child, the traversal
overhead should be neglible, since we special-case the single-element in
parallel.rs to avoid calling into rayon.

Being more explicit about what we want here also makes us more robust against
the other handful of callpaths that can take us into
nsCSSFrameConstructor::{ContentRangeInserted,ContentAppended}. Currently we
can call StyleNewSubtree on an already-styled element via RecreateFramesForContent,
which triggers an assertion in the servo traversal.

MozReview-Commit-ID: DqCGh90deHH
2016-12-12 18:39:33 -08:00
Ting-Yu Chou 82bc319cce Bug 1293501 - Back out the debug patch (changeset 2eebd44ff2e9). r=me
--HG--
extra : amend_source : 18d87c70497e931e8f3b3aec744e02d1dbdcd2f4
2016-12-13 02:00:25 +08:00
Andrea Marchesini 3c9042f49b Bug 1322966 - Cleanup performance.cpp, r=qdot 2016-12-13 02:27:28 +01:00
Andrea Marchesini 19c6858cf8 Bug 1322980 - FileList::FromSupports is not used, r=qdot 2016-12-13 02:26:15 +01:00
Andrea Marchesini e1fcb9149b Bug 1322979 - Migrating from NS_ASSERTION to MOZ_ASSERT in dom/file, r=qdot 2016-12-13 02:25:37 +01:00
Andrea Marchesini 1ec1f6a9b0 Bug 1322444 - No assertions needed for NS_GetBlobForBlobURI, r=qdot 2016-12-13 02:24:54 +01:00
Robert Strong a27aa51a9e Test changes for Bug 1321951 - Use the same mar files on all platforms for libmar tests and general libmar test cleanup. r=mhowell 2016-12-12 16:57:13 -08:00
Robert Strong 87667f8289 Test data files for Bug 1321951 - Use the same mar files on all platforms for libmar tests and general libmar test cleanup. r=mhowell
--HG--
rename : modules/libmar/tests/unit/data/win_0_sized_mar.mar => modules/libmar/tests/unit/data/0_sized.mar
rename : modules/libmar/tests/unit/data/win_1_byte_mar.mar => modules/libmar/tests/unit/data/1_byte.mar
rename : modules/libmar/tests/unit/data/win_binary_data_mar.mar => modules/libmar/tests/unit/data/binary_data.mar
rename : modules/libmar/tests/unit/data/manipulated_signed_mar.mar => modules/libmar/tests/unit/data/manipulated_signed.mar
rename : modules/libmar/tests/unit/data/win_multiple_file_mar.mar => modules/libmar/tests/unit/data/multiple_file.mar
rename : modules/libmar/tests/unit/data/win_multiple_signed_no_pib_mar.mar => modules/libmar/tests/unit/data/multiple_signed_no_pib.mar
rename : modules/libmar/tests/unit/data/win_multiple_signed_pib_mar.mar => modules/libmar/tests/unit/data/multiple_signed_pib.mar
rename : modules/libmar/tests/unit/data/multiple_signed_pib_mar_2.mar => modules/libmar/tests/unit/data/multiple_signed_pib_2.mar
rename : modules/libmar/tests/unit/data/no_pib_mar.mar => modules/libmar/tests/unit/data/no_pib.mar
rename : modules/libmar/tests/unit/data/win_signed_no_pib_mar.mar => modules/libmar/tests/unit/data/signed_no_pib.mar
rename : modules/libmar/tests/unit/data/win_signed_pib_mar.mar => modules/libmar/tests/unit/data/signed_pib.mar
rename : modules/libmar/tests/unit/data/signed_pib_mar_with_mycert2.mar => modules/libmar/tests/unit/data/signed_pib_with_mycert2.mar
2016-12-12 16:56:58 -08:00
Nicholas Nethercote f81fa28212 Bug 1322080 (part 3, attempt 2) - Remove nsIXPCScriptable::addProperty. r=peterv.
--HG--
extra : rebase_source : af5d98e2d84bd7592b499134e06c98821302f488
2016-12-02 17:37:55 +11:00
Nicholas Nethercote b654a853d9 Bug 1322080 (part 2, attempt 2) - Remove XPC_MAP_WANT_POST_CREATE_PROTOTYPE. r=peterv.
--HG--
extra : rebase_source : 38e7b889e7fa8ea76aba402baf536a3f8d7e297d
2016-12-02 17:12:08 +11:00
Nicholas Nethercote 113f0166f2 Bug 1322080 (part 1, attempt 2) - Remove nsEventTargetSH::doCreate(). r=peterv.
--HG--
extra : rebase_source : a00c73e5940053b4a84f850f6f66bad6d285e2e0
2016-12-02 16:37:31 +11:00
Shu-yu Guo a0e55b3515 Bug 1316832 - Do not consider non-final duplicated positional parameter names to be closed over. (r=Waldo) 2016-12-12 14:20:22 -08:00
Sebastian Hengst 27bd22acd7 Backed out changeset eae2252a519f (bug 1321593) for leaks, e.g. in clipboard and jetpack tests. r=backout
--HG--
rename : xpcom/build/XREAppData.h => xpcom/build/nsXREAppData.h
rename : xpcom/glue/XREAppData.cpp => xpcom/glue/AppData.cpp
2016-12-12 22:10:17 +01:00
Sebastian Hengst b65cbf32d8 Backed out changeset e531af57cd60 (bug 1321593) 2016-12-12 22:09:40 +01:00
Hannes Verschore e82e4986eb Bug 1322774: IonMonkey - Test for OOM condition when creating cases for tableswitch, r=jandem 2016-12-12 10:30:04 -10:00