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

479212 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson e93d5f7b7d Bug 1208328 - Implement MediaStream.onaddtrack. r=jib, r=smaug
MozReview-Commit-ID: JVZO5mlxvgW

--HG--
extra : rebase_source : 49b0ebaff593c28b727602d7b61bab5feea80485
extra : source : ba0529f6b0733534d50fa842dfebd52c6b477140
2016-05-31 09:29:52 +02:00
Andreas Pehrson fedd99c881 Bug 1208328 - Test that "addtrack" and "removetrack" events don't occur on manual operations. r=jib
MozReview-Commit-ID: F3T9upYPlnU

--HG--
extra : rebase_source : 8b453047152069f04a750d7594d2025c0ca78963
extra : source : 22150caec0d26f651b8c9bf0e17190c4b386f4bf
2016-05-27 18:01:14 +02:00
Andreas Pehrson 4e8eda20c7 Bug 1208328 - Add test for "addtrack" on recv side of RTCPeerConnection. r=jib
MozReview-Commit-ID: 2KkAc5uFjAZ

--HG--
extra : rebase_source : b6f08b3831f55621fbae8493fcace53e2558c055
extra : source : 6ce08f664f9cf5337b993cf282610681c945e97e
2016-06-09 13:46:19 +02:00
Andreas Pehrson 36786eb617 Bug 1274221 - Ensure MediaStreamListeners are always notified of created and ended tracks. r=ctai, r=jesup
This means that when a MediaStreamListener is added to a stream, we'll call
NotifyQueuedTrackChanges with TRACK_EVENT_CREATE for all tracks that already
exist.

Likewise, we'll call NotifyQueuedTrackChanges with TRACK_EVENT_ENDED for all
tracks that exist and have ended.

This fixes potential race conditions where a track was created and/or ended
before the listener was asynchronously added.

MozReview-Commit-ID: G3juhfiZMtg

--HG--
extra : rebase_source : 4f7b9c116e7d25cfc4c3894551173925613c6c14
extra : intermediate-source : 45bfebd36a99baef6bee50e52ac9c78965a7f1c2
extra : source : 70e8c5a785a9866e6205b54bd1c45faaf834717d
2016-05-24 13:23:50 +02:00
Andreas Pehrson b116cbbb27 Bug 1274221 - Make FindOwnedDOMTrack look for (optionally) unique tracks. r=ctai
MozReview-Commit-ID: 1y8YuwJWIS5

--HG--
extra : rebase_source : 0baab5c71f5e935f69dd3430fc6ce0a7f6c866b3
extra : intermediate-source : ce89c5b1f32de13ca7128de14538eabcb749b925
extra : source : c2154e0e122ac3981d1c5c7e748633a64111cbf7
2016-05-24 13:26:25 +02:00
Andreas Pehrson 9f0a44a15a Bug 1274221 - Test that multiple tracks of the same source all end when in the same stream. r=jib
MozReview-Commit-ID: 64T6I4RDrKH

--HG--
extra : rebase_source : 3de3601fb209dae2474dac2fb8661a971a455ffd
extra : intermediate-source : 96d02a1982f7cd0a21d089006ca235360d1dcd43
extra : source : b9a09fe46c5e1adc8659070a8f4f60d9e09b7311
2016-05-24 13:24:04 +02:00
Andreas Pehrson e10c6cef75 Bug 1208373 - Don't remove tracks from StreamTracks. Just their content. r=jesup
MozReview-Commit-ID: 6JrnR2IWlAS

--HG--
extra : rebase_source : 447be87b7493a2131fc04add3560eaeef7d37019
extra : source : c864d8ec3ba36ead778d798f14b2107a53a6d290
2016-06-08 14:32:12 +02:00
Andreas Pehrson d551df2bcf Bug 1208373 - Introduce a new blocking mode to MediaInputPort. r=jesup
This lets us notify about a created TrackUnionStream track (and since it was
created, we can notify when it ends), even though it has been blocked from main
thread.

MozReview-Commit-ID: HyopzISBfbb

--HG--
extra : rebase_source : a3d676257473bba08190b8e2b24d027c42306621
extra : intermediate-source : 5454dcaa31ff8eb060b6f1531a376dcbc24ffb4d
extra : source : 690904309e169aa74f95163f0d796493ef882972
2016-06-07 16:20:29 +02:00
Andreas Pehrson b0d8a94789 Bug 1208373 - Fix test_peerConnection_capturedVideo.html to wait for close() promise. r=jib
MozReview-Commit-ID: AOrm5JkfxAG

--HG--
extra : rebase_source : 3ff50ff74c3acf33feeb8dfe6539d080df6f3aa9
extra : intermediate-source : 7f2842b199f5f377de64b130e0e8f8f0867abd3b
extra : source : b9c629250c90c42950b2b91ccf248dd1da6cdbf5
2016-05-04 16:32:17 +02:00
Andreas Pehrson bc991593cb Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : 96ffe09a577f951b1d960434aa3b2de9d4aa2c4b
extra : intermediate-source : 2b5684b6362e51af2e90115e2b855662358b51b4
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson 416244b4cf Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : 37600d9e9090d5a72f3b85baedb075914d473568
extra : intermediate-source : 9c8e3a0dbff3d67d20e7637e9e9975c52e35764c
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Andreas Pehrson 81342d42f3 Bug 1208373 - Test that ended tracks that are cloned are also ended. r=jib
MozReview-Commit-ID: 4YU31TK0Mdf

--HG--
extra : rebase_source : d56d39f2f7071a67bf99ed4cb4fd3b26ee51cc4f
extra : intermediate-source : 816141c9f43f5b98d7b1489e1fd61196f2feb570
extra : source : 0d4ff0ff0dac011751329d23122e8e55e37ee3f7
2016-05-04 11:28:14 +02:00
Andreas Pehrson 4457fc9483 Bug 1208373 - Add test for MediaStreamTrack "ended" event and "readyState" attribute. r=jib
MozReview-Commit-ID: INZ0XtRTgt1

--HG--
extra : rebase_source : 70fdf8eaaeb70d8d9c446858ab8a5bb48bc555ae
extra : intermediate-source : 1a53787bf0f7580e8d06cbb5e2b4142490aaf9a4
extra : source : dc5697d8abd4454539a67966cf2e110d2a1ce081
2016-05-12 14:02:10 +02:00
Andreas Pehrson 47b2747187 Bug 1208373 - Test that a peerConnection's received tracks end on close(). r=jib
MozReview-Commit-ID: 1iVTt6XBRpZ

--HG--
extra : rebase_source : f82ee79df243676200efb8fab7672779d19b447b
extra : intermediate-source : ea733590b88625520282a8438b3068e76927c881
extra : source : 548b2be660a128084e1916409add6bd97d5efed3
2016-05-12 14:30:51 +02:00
Andreas Pehrson 86afa4200c Bug 1208373 - Check that we don't get "ended" event for tracks after calling stop(). r=jib
MozReview-Commit-ID: K9gOZtUNQ5K

--HG--
extra : rebase_source : 57e54c89fcad5e3f52a5d0e9b7ea877fcd33fdad
extra : intermediate-source : 2b077be047c0bb50e8c72e9922a5fa0b7ec4df87
extra : source : 2996367191d23fd1aa4630d4a964b2577c7fbf8c
2016-05-12 13:50:34 +02:00
Carsten "Tomcat" Book 7433982068 Backed out changeset 5038112b5f78 (bug 1277275) for bustage 2016-06-13 09:55:08 +02:00
Honza Bambas ee7057c5e9 Bug 1277275 - Cache I/O queue length telemetry, r=michal 2016-06-09 09:00:00 +02:00
bechen 5f7ef9b5d7 Bug 882717 - Invoke TimeMarchesOn when the startTime/endTime/pauseOnExit be changed of TextTrackCue. r=rillian
MozReview-Commit-ID: 7Xol9x83lLx

--HG--
extra : transplant_source : %DD%5C%E9%5C%98Y4%7B%AE%24%E1%7C%9F%F8%60C%85%0D%D5W
2016-06-08 16:53:30 +08:00
Henrik Skupin 73b62156c7 Bug 950401 - Add process logging to OS X / BSD. r=bsmedberg
MozReview-Commit-ID: bEPQabbSP1

--HG--
extra : rebase_source : 115312fdb0f29a5914c5dcccb9d7ba7eae943ce0
2016-06-03 18:26:15 +02:00
Sebastian Hengst faf31d5017 Backed out changeset c7ddd550008c (bug 1171736) for breaking gecko-decision opt. r=backout on a CLOSED TREE 2016-06-12 21:01:43 +02:00
Justin Wood 1c1bc5647d Bug 1171736 - Add taskcluster scheduling logic (on try) for linux l10n. r=sfink
MozReview-Commit-ID: Auz7sOW5Ptr

--HG--
rename : testing/mozharness/configs/single_locale/tc_linux64.py => testing/mozharness/configs/single_locale/tc_linux32.py
extra : rebase_source : 95494000eeca93b45d267328f3a88315bb2829f8
2016-06-06 16:09:51 -04:00
Nick Fitzgerald ef68e1bb4f Bug 1279633 - Define AsmJSCache_MIN in terms of AsmJSCacheSuccess, instead of the other way around; r=till
rust-bindgen will make an enum variant for the first definition it encounters,
and then define duplicates as constants outside of the enum definition. This has
the unfortunate effect of making AsmJSCache_MIN an enum variant and
AsmJSCache_Success the constant definition outside of the enum in the case of
the AsmJSCacheResult enumeration. This commit rectifies that.

This upstreams the following commit from servo/mozjs:

    50f47cf Bind AsmJSCache_Success rather than AsmJSCache_MIN
2016-06-12 08:04:48 -07:00
Nick Fitzgerald 72b1047e0c Bug 1279349 - Untabify js/src/make-source-package.sh; r=sfink 2016-06-12 08:01:26 -07:00
Nick Fitzgerald 1c383e41a7 Bug 1275638 - Move libmozjs to the upload directory; r=sfink 2016-06-12 08:01:26 -07:00
Andrea Marchesini 82f92bee37 Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly 2016-06-12 16:26:51 +02:00
Andrea Marchesini 1bf257e0b3 Bug 1276880 - 'Open link in a new <container_name> Tab' in the context menu, r=gijs 2016-06-12 16:23:10 +02:00
Mike Hommey d1d2409fb5 Bug 1279108 - Disable leak detection for updater xpcshell tests. r=mccr8
With more recent version of ASAN, the updater program shows multiple
leaks, for different reasons.

One is that the updater code heavily relies on pointers into a large
buffer, with exceptions, making things difficult to avoid leaks of those
exceptions. At least it requires more effort than I'm willing to put for
the sake of upgrading the compiler we use for ASAN.

Another is that the leak suppressions are not currently used for
xpcshell tests, and some leaks attributed to libglib, that would
normally be suppressed, are not.

Moreover, even if the suppressions were used, it looks like some are not
rooted to already suppressed system libraries, and would require
investigation. Ideally, we'd have debug symbols installed for the system
libraries and would have full stack traces, but we don't, so this makes
the whole process harder than necessary.

All in all, the updater is a separate short-lived program, and until we
can address all the problems above, we can just ignore memory leaks in
it (which aren't new anyways and are ignored by not being detected by
the ASAN currently used on automation). We don't disable ASAN entirely,
though, only leak detection, and only for the updater program.
2016-06-12 18:53:00 +09:00
Mike Hommey 9ae35b95e7 Bug 1278456 - Remove stdc++-compat hacks for libstdc++ < 4.6.1. r=froydnj 2016-06-12 18:52:21 +09:00
Mike Hommey c5caa62fdf Bug 1278456 - Add the tooltool GCC library directory to LD_LIBRARY_PATH on Linux builds. r=mshal
Build slaves on automation are based on Centos 6, which doesn't have a
recent enough version of libstdc++ for our new requirements. But since
we're building with a recent GCC or clang with its own libstdc++, we do
have such a libstdc++ available somewhere, and the compiler picks it
when invoking the linker.

Problems start happening when we execute some of the built programs
during the build, like host tools (e.g. nsinstall), or target programs
(xpcshell, during packaging). In that case, we need the compiler's
libstdc++ to be used. Which required adding the GCC or clang library
directory to LD_LIBRARY_PATH.

Unconveniently enough, the clang 3.5 tooltool package we're using for
ASAN builds until we can update to at least 3.8 (bug 1278718) doesn't
contain libstdc++.so. So for those builds, pull the GCC package from
tooltool as well, and pick libstdc++ from there.
2016-06-12 18:52:15 +09:00
Mike Hommey aadf5fb0df Bug 1278456 - Bump libstdc++ requirement to 3.4.16 (4.6.1). r=froydnj
Similarly to the considerations about glibc, the Linux compatibility matrix
(https://developer.mozilla.org/en-US/Firefox/Linux_compatibility_matrix)
tells us no distro with Gtk+3 3.4 has a version of libstdc++ older than
4.6.

The data in the matrix doesn't go to that level of detail, but Ubuntu
12.04 LTS, being the only one with version 4.6 (others have at least
4.7), it's worth noting it has version 4.6.3. Which means we can safely
require libstdc++ symbols version 3.4.16 (which were added in 4.6.1).

This will allow us to remove a lot of the stdc++ compatibility hacks.
2016-06-12 18:51:32 +09:00
Mike Hommey a898d16968 Bug 1278456 - Bump glibc requirement to 2.12. r=froydnj
The requirement for glibc has been set to version 2.7 for a long while.

Spidermonkey uses the pthread_setname_np symbol, which is only available
since glibc 2.12. So far, we've been fortunate that the symbol doesn't
end up in libxul, or tests that link to js directly, because the symbol
is eliminated as being called by effectively dead code.

There are multiple reasons why this is going to change, one of which
being changes to the way things are linked, that will make the linker
not eliminate that code in some cases. Another is that eventually, the
separation of build systems between js and top-level is going to fade,
and the glibc checks, which apply to all gecko binaries, will also apply
to js binaries. They currently are not happening, and would fail because
of pthread_setname_np if they were.

Taking a step back, as of version 46, the mozilla.org builds require at
least Gtk+3 3.4. Which means the requirements for the underlying system
have received a dramatic bump, and it's time to revisit the requirements
for binary compatibility.

I went through all my notes from all the recent times binary compatibility
has been considered, and put together a compatibility matrix on MDN from
that data as well as more recent data that I could find here and there,
about the major non-rolling-release distros (RHEL, Fedora, SuSE, Debian,
Ubuntu)
https://developer.mozilla.org/en-US/Firefox/Linux_compatibility_matrix

Considering the data there, none of the distros that have at least Gtk+3
3.4 have a glibc older than 2.13. The list of symbols that 2.13 provides
that 2.12 doesn't have is not large enough, though, to really care about
depending on 2.13.
2016-06-12 18:51:23 +09:00
Carsten "Tomcat" Book 3b5e1843a7 Merge mozilla-central to mozilla-inbound 2016-06-12 11:31:50 +02:00
Carsten "Tomcat" Book c6816bf0df merge mozilla-inbound to mozilla-central a=merge 2016-06-12 11:26:13 +02:00
Gabriele Svelto a7b46c973d Backed out changeset c1dd7376263e (bug 1262852) which caused crashdumps from plugin hangs to be without a signature. 2016-06-12 00:25:25 +02:00
Saad Quadri 54056e201c Bug 1278158 - Allowing filling login forms with an inputElement but without loginFormForFill. r=MattN
MozReview-Commit-ID: 2aZCvMpH1eH

--HG--
extra : transplant_source : M3%B5i.FM%99%84%07%7E%E2%81%08y%AA%DC%BE%3C%ED
2016-06-08 13:59:05 -07:00
Thauã Silveira dd4f3dccc6 Bug 1275570 - "Add Telemetry probe to see how often users enter print preview, and how many simplify the view". r=mconley 2016-06-08 13:14:00 +02:00
Kevin Lam e730d38cc4 Bug 1245952 - Corrected comment in localization note to reference the corresponding string. r=mcomella 2016-06-08 18:08:00 +02:00
Jonathan Kingston 43172a8229 Bug 1248639 - Adding in context menu icons for gtk layout. r=jaws
MozReview-Commit-ID: 4eFIxsmTUOR

--HG--
extra : transplant_source : %14E%98%01%28%BF%05%5Es%EFC%E8%97%8F%A8p%87%84%EA%21
2016-06-09 22:09:16 +01:00
Nicholas Nethercote 01a3b82ac4 Bug 1267551 (part 12) - Use MOZ_MUST_USE even more in js/src/jit/. r=h4writer.
This catches a few missing checks.

--HG--
extra : rebase_source : c70e85efe29461f577794e7fb795d9dc2ed0f024
2016-06-08 16:10:45 +10:00
Masayuki Nakano 9fdc31aea3 Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
MozReview-Commit-ID: 7AqeDbHxGE2

--HG--
extra : rebase_source : 2dada2c98e1186aa7f5699b8d11033eae50ba2c6
2016-06-09 20:58:56 +09:00
Masayuki Nakano a0eb51f54d Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
MozReview-Commit-ID: C2IW7nqjEkD

--HG--
extra : rebase_source : a64cd80650fe51dbc5586511ad8c3287a0ec3225
2016-06-09 20:47:48 +09:00
Masayuki Nakano ebf3bc1862 Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
MozReview-Commit-ID: BZxBnCDBghi

--HG--
extra : rebase_source : 099d1043c7e69f3c49a2d4e34190cbd7c4532107
2016-06-09 20:35:20 +09:00
Masayuki Nakano 61a6a5f987 Bug 1278014 part.11 Rename SelectionType::SELECTION_ACCESSIBILITY to SelectionType::eAccessibility r=smaug
MozReview-Commit-ID: 2nU4KQB5S7N

--HG--
extra : rebase_source : 8bb098b292fa92833e86fd65be62819844e0829e
2016-06-09 20:32:36 +09:00
Masayuki Nakano 10f047dba5 Bug 1278014 part.10 Rename SelectionType::SELECTION_IME_SELECTEDCONVERTEDTEXT to SelectionType::eIMESelectedClause r=smaug
MozReview-Commit-ID: 8v3mqcYorOI

--HG--
extra : rebase_source : a6823273c161eabbfa9e49e689154e547c14a106
2016-06-09 19:29:29 +09:00
Masayuki Nakano aa3d2a6ce9 Bug 1278014 part.9 Rename SelectionType::SELECTION_IME_CONVERTEDTEXT to SelectionType::eIMEConvertedClause r=smaug
MozReview-Commit-ID: 5UNqhB2ZEcZ

--HG--
extra : rebase_source : 74d41ddf5496bdc50306bf916251df4f8d65a65b
2016-06-09 19:14:17 +09:00
Masayuki Nakano ff86f10a4c Bug 1278014 part.8 Rename SelectionType::SELECTION_IME_SELECTEDRAWTEXT to SelectionType::eIMESelectedRawClause r=smaug
MozReview-Commit-ID: DgprOxg87K6

--HG--
extra : rebase_source : 2f655353845292c4e8028f6e43f0dbbbfea11b68
2016-06-09 19:03:40 +09:00
Masayuki Nakano 569677d2f1 Bug 1278014 part.7 Rename SelectionType::SELECTION_IME_RAWINPUT to SelectionType::eIMERawClause r=smaug
MozReview-Commit-ID: BRe10Lyx5mt

--HG--
extra : rebase_source : e57239239fe8029040ce49faff9e37c5ad0b8305
2016-06-09 18:51:49 +09:00
Masayuki Nakano a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano b58c08cb8f Bug 1278014 part.4 Rename SelectionType::SELECTION_NONE to SelectionType::eNone r=smaug
MozReview-Commit-ID: BRfzs8sColP

--HG--
extra : rebase_source : a5190cb20c263b01205e1ff75c76b2970c229b4e
2016-06-09 18:07:18 +09:00