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

503332 Коммитов

Автор SHA1 Сообщение Дата
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
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
Hannes Verschore 28a56b4679 Bug 1310155: IonMonkey - Part 1.2 - Remove accidental pushed spewing, r=jandem 2016-12-12 10:30:02 -10:00
Benjamin Smedberg 835aaa0cad Bug 1306327 part A - NS_EXPORT macro in APKOpen.h can conflict with nscore.h: rename it to APKOPEN_EXPORT to avoid build issues on a CLOSED TREE, r=glandium
MozReview-Commit-ID: 5Y08hwtc7s2

--HG--
extra : source : b1a3d2e42a4e38ca49f7316bef5ac5de9340f940
extra : amend_source : 7858b1690ccf42619c88dd3c9a2984dedebd4e65
2016-11-29 14:27:30 -05:00
Benjamin Smedberg 2246c8a642 Bug 1321593 part B - Unify the startup path between `firefox --app` and normal Firefox startup, r=glandium
MozReview-Commit-ID: E6m3eWrX3aB

--HG--
extra : rebase_source : 6b365b0a16b70feeafc7f6a2daf4fb36075314d4
extra : histedit_source : 965abd3a83bdf847de2f617e14dd4e4b381d2b1e
2016-12-02 09:08:01 -05:00
Benjamin Smedberg 4df1abc2c0 Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium
MozReview-Commit-ID: CQv1UrSaw4D

--HG--
rename : xpcom/build/nsXREAppData.h => xpcom/build/XREAppData.h
rename : xpcom/glue/AppData.cpp => xpcom/glue/XREAppData.cpp
extra : rebase_source : c909ee206d31b110c6a38cc466ef24a465ee2ae5
extra : histedit_source : e86c3900412229f99ade29c5b8e3943d943ec718
2016-12-02 09:07:24 -05:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Carsten "Tomcat" Book d3df6f204d Merge mozilla-central to mozilla-inbound 2016-12-12 17:14:34 +01:00
Masatoshi Kimura df263f0393 Bug 1322831 - Remove dependence on Windows types from Stopwatch.h. r=jandem
MozReview-Commit-ID: 5SS8eJfQq1G

--HG--
extra : rebase_source : 1bcae6103d3eaf471dc04202153a3e738bcd7f24
extra : source : c932b755dad7a07fcf360e480421685b9d1b92aa
2016-12-10 14:18:25 +09:00
Benjamin Smedberg 80f9ae8dda Bug 1304790 - Add a telemetry probe that measures how long it takes for a content process to start up and communicate back to the parent, r=mconley data-r=francois
MozReview-Commit-ID: 5OaeqZXL6zS

--HG--
extra : rebase_source : 481daa6ef6b05f9c83698ffa39ed7334cd108b8c
2016-12-09 08:52:28 -10:00
Nathan Froyd 8d1051edff Bug 1321883 - remove unused variable in gtk2drawing.c; r=karlt 2016-12-12 03:04:48 -05:00
Gijs Kruitbosch d54f6b8fe6 Bug 1322701 - define CAN_DRAW_IN_TITLEBAR in the theme moz.build files, r=dao 2016-12-09 13:51:50 -10:00
Honza Bambas 706f18a2c8 Bug 1318759 - Properly query final class in HttpChannelParent::OnStartRequest to prevent evil static_cast, r=jduell 2016-12-09 05:52:00 +01:00
Ruturaj K. Vartak 018ac6cbd9 Bug 1318259 - Firebug theme - Adjust UI of markup view in Inspector panel. r=ntim 2016-12-09 04:10:00 +01:00
André Bargull 7c06eb05a0 Bug 1319926 - Part 1: Warn when deprecated String generics methods are used. r=jandem 2016-11-24 08:58:02 -08:00
Frédéric Wang 17991b4c62 Bug 1322743 - Add STIX Two Math to the list of math fonts. r=karlt 2016-12-09 13:00:00 -05:00
Thinker K.F. Li db61896b15 Bug 1319669 - Handle TaskTracer at STS thread and Cache thread. r=honzab 2016-12-09 14:09:00 -05:00
Lars T Hansen 76c7159be5 Bug 1246597 - DOM comment change. r=me
--HG--
extra : rebase_source : 26794fefac6d5296b20ab54abba61f5e06bb872f
2016-11-24 14:16:17 +01:00