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

473839 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart a2b3ad3b63 Bug 1266336 - Clarify expected usage of CDM wrapper - r=cpearce
Assert that the CDM wrapper is given a non-null CDM pointer.
(so GetCDM() doesn't need to be null-checked.)
Renamed WidevineVideoDecoder mCDM to mCDMWrapper, to avoid (my) confusion.
Assert that WidevineVideoDecoder is given a non-null CDM-wrapper pointer.
Assert that WidevineVideoDecoder only accesses the CDM before DecodingComplete.

Small optimization: Move aCDM into mCDM (to save an AddRef/Release pair).

MozReview-Commit-ID: yKupY067ly

--HG--
extra : rebase_source : 94140b423a04f28368de0831761406c145fad93e
2016-05-06 12:10:59 +10:00
Gerald Squelart bb3afc2867 Bug 1266336 - Check actual CDM creation - r=cpearce
Check the return result from Widevine's CDM creation function, and handle
failure.

MozReview-Commit-ID: HYvKgdK53aQ

--HG--
extra : rebase_source : b3e28ba5e0020e3a6dd77c8a83b58be233fdc770
2016-05-05 12:04:07 +10:00
Gerald Squelart 7a14964bfb Bug 1266336 - Check sCDMWrapper before creating video decoder - r=cpearce
Ensure that there is a CDM before creating a video decoder that relies on that
CDM. This is mainly to prevent using the Widevine video decoder alone, without
decryption.

MozReview-Commit-ID: 7p49CnmV2r7

--HG--
extra : rebase_source : 49b07100b2be56584bc14f41d39d4872f0539c3a
2016-05-05 11:37:22 +10:00
Chris Pearce faee3cba4f Bug 1268984 - Prefer to re-use a GMPParent with the requested nodeId rather than clone. r=jesup
If you request a GMPParent with a nodeId, you should get any already running
instances with the same nodeId in preference to cloning an existing GMP and
assigning it the nodeId.

This is ensures that EME GMP actors that are same-origin run in the same GMP
instance.

The GMP gtests are failing because of the cross-origin checks in
GeckoMediaPluginServiceParent::SelectPluginForAPI(). The loop there selects the
first GMPParent that can be used from the nodeId passed in. We previously
assumed a GMPParent can be used from a nodeId if the GMPParent has the same
nodeId, or if it has not loaded its process and it has no nodeId. The problem
with assuming that, is if an in-use GMPParent with the target nodeId lies in
the GeckoMediaPluginServiceParent::mPlugins list after a GMPParent with no
nodeId, we'll end up using the first GMPParent (the one with no nodeId) rather
than the one with the target nodeId.

The solution is to change GeckoMediaPluginServiceParent::SelectPluginForAPI()
so that effectively if we have a target nodeId, we'll select the first
GMPParent that has the same nodeId, or we'll clone the first which supported
all the requested capabilities/tags.

This means when you request a GMPParent with a given nodeId, you'll get the one
with the same nodeId (origin) by preference.

MozReview-Commit-ID: 4yVnrO8B1Pg

--HG--
extra : rebase_source : 5db7c6ef5f360df7d2244ca828b68b340c4e9a41
2016-05-05 22:35:44 +12:00
Chris Pearce ad956f902f Bug 1268984 - Store GMPStorage on GMPServiceParent so that it persists inside the same PB session. r=gerald
Prior to this change, we'd store the GMPStorage records for private browsing
sessions in the GMPStorageParent. The problem with this is that they only have
a lifespan matching their corresponding GMPParent. This means that if a GMP
stores something in a PB session, and the GMP is shutdown and then re-created,
we are likely to loose the stored data. This could mean that the PB session
gets results it doesn't expect, and thus expose a way for PB mode to be
detected.


MozReview-Commit-ID: 1OMD0LvidYs

--HG--
extra : rebase_source : 75661a7b1717e39a29c3e12ad203d9273e8485ab
2016-05-05 11:41:33 +12:00
Chris Pearce cc6122ebd1 Bug 1268984 - Ensure GMPs are re-inserted in GMPServiceParent::mPlugins in the same order in ReAddOnGMPThread. r=gerald,jesup
The GMP which GeckoMediaPluginServiceParent::FindPluginForAPIFrom() returns
depends on the order in which GMPs lie in GMPServiceParent::mPlugins. However
when we shutdown a GMPParent we remove and then re-append the GMPParent to
mPlugins. This means the order in which GMPs lie in the list changes.

So when WebRTC requests an H.264 decoder, the first time it will get OpenH264,
since that's first in the list. But once we dispose of that decoder, its
GMPParent will be cloned and the clone will be appended to the end of the
list. This means the next time WebRTC requests a decoder, it'll get whatever
was next in the list.

This could be the Adobe GMP, which seems to be able to handle whatever WebRTC
is putting into it. However, if you do this enough times, you'll get the
Widevine CDM, which can't handle whatever WebRTC is putting into it.

So a quick hack to fix this is in ReAddOnGMPThread is to re-insert the clone
of the GMP into the slot in mPlugins that the original occupied. Then WebRTC
will always get OpenH264 whenever it requests for an H.264 decoder, as the
order of the GMPParents in mPlugins won't change.




MozReview-Commit-ID: Ii4AMqDqAo9

--HG--
extra : rebase_source : 62c10bc5b77ef259917aa6c88309be2423c93914
2016-05-04 13:57:20 +12:00
Gregory Szorc fc62edc337 Bug 1270265 - Print action message when mozharness step finishes; r=jlund
This will enable log parsers to find step boundaries easier.

MozReview-Commit-ID: G4OaViDd9Fv

--HG--
extra : rebase_source : a7e94e4ec088c4fed7eb2b7a1662e308296e8bb2
2016-05-04 13:24:49 -07:00
Ehsan Akhgari 743de77fb3 Bug 1270370 - Part 2: Expose MapIterator and SetIterator through ESClassValues; r=jorendorff 2016-05-05 19:26:29 -04:00
Ehsan Akhgari 08b93635c7 Bug 1270370 - Part 1: Move SetIteratorObject to MapObject.h; r=jorendorff
This patch only moves the code without any changes besides getting it
out of the anonymous namespace.
2016-05-05 19:26:29 -04:00
Matt Woodrow 23ad434a74 Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange 2016-05-06 10:53:24 +12:00
Matthew Gregan dc5d4004b3 Bug 1270004 - Update libcubeb. rs=jesup 2016-05-06 10:36:41 +12:00
Mike Conley 42c8a323e9 Bug 1247137 - Show spinner if switching away from browser that goes away immediately. r=billm
MozReview-Commit-ID: ACQ7cBNn1TE

--HG--
extra : rebase_source : 5d786a4daac37246ea32de253fb5acb85d48fd3f
2016-05-04 12:36:01 -07:00
Ben Kelly 4951f23f02 Bug 1270161 Make fetch() use a control runnable to cleanup if the worker thread is shutting down. r=baku 2016-05-05 13:02:27 -07:00
Eric Rahm c41c5394be Bug 1268215 - Make CCGraphBuilder::AddNode fallible. r=mccr8 2016-05-05 13:54:18 -07:00
Neil Deakin 961f3d6c9b Bug 1256952, revert this bug, r=me
--HG--
extra : source : 1347c189b6da67d2142fb266c82f74272b09139b
2016-04-29 19:42:41 -04:00
Jakob Olesen af0008b968 Bug 1270528: Add JS-specific clang-format. r=jorendorff
Add a js/src/.clang-format that better fits the style used in SpiderMonkey.

Also add a js/src/jit/arm64/vixl/.clang-format to handle the imported VIXL
sources. These sources are from an external source, and they are not
reformatted to make merging future changes easier.

MozReview-Commit-ID: CgzA24csYvp

--HG--
extra : rebase_source : a420b74620bd61452a182b56e42970f4d991148b
2016-05-05 08:28:53 -07:00
Mike Shal b255386314 Bug 1269787 - Move appini_header.py rule to moz.build; r=glandium
MozReview-Commit-ID: 5tly7JYA2f7
2016-04-29 13:45:07 -04:00
Mike Shal 16febf4398 Bug 1269787 - Use _pretty_path instead of full path for inputs; r=glandium
We use _pretty_path when specifying the targets of generated files, so
we need to use _pretty_path for the inputs as well. Otherwise make won't
know that they refer to the same file, and result in "No rule to make
target" errors.


MozReview-Commit-ID: JTdLFbkX1J0
2016-04-29 13:43:25 -04:00
Mike Shal 4bb82a657d Bug 1269787 - Choose tier for GENERATED_FILES based on extension; r=glandium
Some generated files will depend on other generated files, but still
need to be in the export tier because they are C++ headers.


MozReview-Commit-ID: AFvp92lF0xy
2016-04-29 13:41:41 -04:00
Philip Chee bbb194061e Bug 1269412 - In nsWebBrowserPersist::EndDownload set mCompleted = true before issuing the state stop notification r=jld
--HG--
extra : rebase_source : dd0d916e2d605f26ace0e7b84022497fd5dfa8ed
2016-05-06 03:54:11 +08:00
Wes Kocher 5983b42383 Backed out 2 changesets (bug 1240326) for failures in browser_ext_tabs_query.js
Backed out changeset c057ea186ced (bug 1240326)
Backed out changeset 4399e8609c74 (bug 1240326)
2016-05-05 13:06:36 -07:00
Lee Salzman 662be6d02f Bug 1269524 - implement blit_row_s32a_opaque in Skia SkOpts_sse2. r=jrmuizel 2016-05-05 16:01:12 -04:00
Ralph Giles 68b4c267db Bug 1261955 - Re-activate the VIDEO_UNLOAD_STATE telemetry probe. r=SingingTree,bsmedberg
Rename the VIDEO_MSE_UNLOAD_STATE telemetry probe to just
VIDEO_UNLOAD STATE and reactivate it. We were using this
to track MSE deployment success and would now like to
generalize it to all media playback.

We can remove this probe from histogram-whitelists.json because
we now define alert emails and bug numbers.

MozReview-Commit-ID: Jwmdkgl8CC3
2016-05-05 12:45:59 -07:00
Ralph Giles d7723aa39c Bug 1261955 - Re-activate VIDEO_PLAY_TIME_MS telemetry probe. r=SingingTree,bsmedberg
Rename the VIDEO_MSE_PLAY_TIME_MS telemetry probe to just
VIDEO_PLAY_TIME_MS and make it active for all video playback.

We were using this to track MSE deployment success. Now we'd
like to do something similar for video playback in general,
regardless of the origin. This allows us to simplify the
collection code somewhat.

MozReview-Commit-ID: 7s8pOQWipf4
2016-05-05 12:45:59 -07:00
Ralph Giles d463fdaec4 Bug 1261955 - Remove VIDEO_MSE_BUFFERING_COUNT telemetry probe. r=SingingTree
This is no longer necessary.

MozReview-Commit-ID: 8017y0v7VEc
2016-05-05 12:45:59 -07:00
Ralph Giles d47d281bc4 Bug 1261955 - Remove VIDEO_MSE_JOIN_LATENCY_MS telemetry probe. r=SingingTree
This is no longer necessary.

MozReview-Commit-ID: 81pF9cSvKab
2016-05-05 12:45:59 -07:00
Kim Moir 01c64d0bc5 Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 47 r=rail DONTBUILD 2016-05-05 15:05:15 -04:00
David Anderson 86cb20fdbf Add blocklist reasons to the gfxConfig/about:support decision log. (bug 1270404, r=milan) 2016-05-05 14:42:12 -04:00
Nils Ohlmeier [:drno] f746914c9a Bug 1268291: use ICE binding requests for consent refresh r=mjf
MozReview-Commit-ID: 9NBw2WBE5xJ

--HG--
extra : rebase_source : 2047c775c9e0083ab65420c1aead67642d67275e
2016-05-03 00:31:11 -07:00
Aryeh Gregor 9aba692542 Bug 1270499 - Setting reflected unsigned long to out-of-range value should set to default; r=bz
This changes to match the spec, which also aligns the behavior of get
and set (get already maps out-of-range values to the default value).
There is currently no interoperable behavior here, but this aligns us
with IE -- tested in 11, hopefully true for Edge too.

On the way, I also fixed the fact that video's height and width were
being treated as signed.
2016-05-05 21:29:54 +03:00
Aryeh Gregor ccf82a74c7 Bug 881000 - Reflect img.lowsrc as a URL, not string; r=bz 2016-05-05 21:29:54 +03:00
Aryeh Gregor 4f9767021b Bug 1270459 - Limit td/th.scope to known values; r=bz 2016-05-05 21:29:54 +03:00
Aryeh Gregor 7ab958ba96 Bug 1270518 - Make object.code reflect as string, not URL; r=bz 2016-05-05 21:29:54 +03:00
Chris Pearce 645ef4e747 Bug 1266286 - Ensure crash reports work for GMP used by EME code. r=mconley
Crash reporting for GMPs being used from the EME call site are not generating
crash reports because they depend on the MediaKeys object calling
GMPService::AddPluginCrashHandler() to associate a window to which the
PluginCrashedEvent is fired. This doesn't work with e10s enabled because the
GMPParent which causes the plugin crash handlers to run is in the chrome
process, but the MediaKeys which adds the handler is in the child process. So
the crash handler is on the GMPServiceChild, but we only run the crash handlers
that were added to the GMPServiceParent in the chrome/parent process.

The solution is to broadcast a message from the chrome process to all the
content processes when a GMP has crashed that causes the GMPServiceChild to
also run its crash handlers.

MozReview-Commit-ID: 8Lek16G9ZGb

--HG--
extra : rebase_source : 180691046812df474ea33324d2b98ac71d11c9cd
2016-05-04 20:32:00 -04:00
Sebastian Hengst c7999b7c3e Backed out changeset b776e4d0ca2b (bug 1270508) for referencing deleted test. r=backout 2016-05-05 19:50:19 +02:00
Sebastian Hengst 5669e66c58 Backed out changeset 92c3a465c6db (bug 1270508) 2016-05-05 19:49:32 +02:00
Emilio Cobos Álvarez b479a2256d Bug 1270305: stylo: Replace nsTArray to aid rust binding generation, r=bholley 2016-05-05 19:32:29 +02:00
Kirk Steuber 5e03f29369 Bug 1269185 - Prevent crashes in Windows when zip files cannot be read. r=spohl
MozReview-Commit-ID: 32uEegoKL4J

--HG--
extra : transplant_source : %2BN%22%E7%D0%A2%E8%BD%90%A6%E5%F3%F0J%9Ceg%25%FBc
2016-05-04 12:57:21 -07:00
Bob Silverberg 1e8b600698 Bug 1240326 - Part 2: Utilize lazyWidth and lazyHeight properties from frame loaders for tab width and height. r=kmag
MozReview-Commit-ID: FI41LGDrFFK

--HG--
extra : transplant_source : %9C%06%B5H-%80%15%25%C3%8A%F1%D8y%93%D2%C4%9E%22%8BH
2016-04-26 10:25:20 -04:00
Kris Maglione 78e77cfa2b Bug 1240326 - Part 1: Add lazyWidth and lazyHeight properties to frame loaders. r=billm
MozReview-Commit-ID: 6uEcjS10KCW

--HG--
extra : transplant_source : 9%A0I%8Dl%FB%7EQK%8C%E3k%8F%15W%BCA%12p%1D
2016-04-07 17:04:57 -07:00
Aryeh Gregor 86ae6362c9 Bug 1269415 - Allow negative <pre width> values; r=jst
This aligns with the spec and all other UAs, although it's less logical.
2016-05-05 20:20:42 +03:00
Mihai Tabara 2896a22e79 Bug 1214487 - Implement uptake monitoring on slaves/workers r=rail a=release DONTBUILD
--HG--
extra : source : 6a39e8d7aa6962e2ea00e42f7214d3b1c3c442f5
extra : intermediate-source : 9f6c2dca91e7218fce53ba197dd2dbed2e9f7613
extra : histedit_source : 464b2760fe93f0dbde0d5327becf069d6d622d60%2C3236bd4ee7221b57f135d9a973ef80452f055110
2016-05-05 13:11:06 -04:00
Eric Rahm f8f1218f4e Bug 1268616 - Part 3: Reduce the maxmimum IPC message size. r=billm
This reduces the maximum message size to 128MiB which matches what is done
upstream. The goal is to help reduce OOMs due to overly large messages.
2016-05-04 19:20:19 -07:00
Eric Rahm 9caf0110e8 Bug 1268616 - Part 2: Stop sending messages that are too large. r=billm 2016-05-04 17:38:53 -07:00
Eric Rahm 1e768352f4 Bug 1268616 - Part 1: Check max message size before resizing. r=billm 2016-05-04 17:25:41 -07:00
Joe Walker 1b53fc8a37 Bug 1253221 - Sync changes from GCLI web project; r=jryans
Changes in this patch:
* GCLI gave up with testing via phantomjs a while ago, but the docs didn't keep
  up, so this fixes the docs.
* gcli/languages/command isn't used in Firefox, but on the web if a converter
  wrongly produces a null DOM node, then the UI just looks blank, so this change
  makes the error more obvious. However we don't use this in Firefox. I'd like to
  remove the module, but not in this patch.
* The delegate type (used when we want to defer the type of a parameter, e.g.
  with "pref set PREFNAME VALUE" where the type of value depends on PREFNAME)
  forced children to be prediction-less. This allows them to decide for themselves
* The file type assumed that the local filesystem was the same as the remote one
  which is clearly wrong. The change to gcli/types/file fixes that.
* Typo fix to gcli/util/util
* On very slow connections gcli/cli.js could get in a pickle where 2 changes
  happened out of order. We've planned for this, but got in wrong, so this just
  adds a bit of defensive programming.

MozReview-Commit-ID: H88W5UDCikM

--HG--
extra : rebase_source : b4e3da062881a841221c4f8cc9e64046756ed763
2016-03-03 12:42:52 +00:00
Gijs Kruitbosch 3cd803e9cd Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions
MozReview-Commit-ID: EVv6M6x9F44

--HG--
extra : rebase_source : 6d8fc34c6950f0e08f411fe6f9f707517f9b3fd9
2016-05-05 17:45:58 +01:00
Joe Walker 380f7cdff7 Bug 1253225 - Remove GCLI commands not used in Firefox; r=jryans
MozReview-Commit-ID: 5TmpY0yYJ7M

--HG--
extra : rebase_source : 7f46ecc376bb0f0745ba628b621b63a73def8e22
2016-03-03 12:52:15 +00:00
Kartikaya Gupta af50ca223e Bug 1258896 - Make the scroll position check in test_mousecapture a little fuzzier to allow for scroll event coalescing. r=Gijs
MozReview-Commit-ID: LdmaJHeb7rl

--HG--
extra : rebase_source : 3ee2cb3f3c1b9c2d9a65222a6778f6767c86d46d
2016-05-05 12:28:09 -04:00
James Graham e440b12173 Bug 1270508 - Update web-platform-tests expected data to revision 26663baa852c0b42b91e7e72d3aa940e43371571, a=testonly
MozReview-Commit-ID: 3SZYeNaUf2R
2016-05-05 17:31:56 +01:00