Commit Graph

494970 Commits

Author SHA1 Message Date
Chris Pearce
591af22fc7 Bug 1308076 - Fixup PSSH parser gtests. r=jwwang
We're now obliged to be stricter, taking from the example of the Web Platform
Tests.

MozReview-Commit-ID: AJNDoRZ9BF8

--HG--
extra : source : 5180fdf042b03362b882ceb3a8ac0e664049bd64
2016-10-07 21:12:18 +13:00
Chris Pearce
3bb7ad5953 Bug 1308076 - Rename CLEARKEY_KEY_LEN to CENC_KEY_LEN. r=jwwang
This better reflects that it's used for all CENC keys, not just ClearKey keys.

MozReview-Commit-ID: 9uCzDKVDLjc

--HG--
extra : source : 3307b3e0d411ceb9888f10afdbebc07ab9efce61
2016-10-07 11:14:04 +13:00
Chris Pearce
a496a6ae23 Bug 1308076 - Mark WPT encrypted-media-generate-request-disallowed-input as expected fail. r=jwwang
It will pass once we re-sync from upstream, as the upstream test matches the
specified behaviour, whereas this test does not.

MozReview-Commit-ID: J16olE6QgP

--HG--
extra : source : 1446d8fba42db4e727848b4c1e14150b753fb8c8
2016-10-07 10:26:25 +13:00
Chris Pearce
ef74aeb8a8 Bug 1308076 - Use PsshParser to validate CENC init data. r=jwwang
Now that we can link gmp-clearkey's PSSH parser into Gecko, we can
simply use that inside MediaKeySession to validate that the CENC
init data matches the spec.

This change enforces that CENC init data uses the common system Id.
As far as I can tell, Widevine only uses that now.

MozReview-Commit-ID: HrlKQHcv5DI

--HG--
extra : source : f61138f1030e87026eb432e83d36e46c81e55b33
2016-10-06 23:17:44 +13:00
Chris Pearce
8b3c096a18 Bug 1308076 - Don't statically link mfplat.lib into gmp-clearkey. r=glandium
We're loading functions from that library dynamically in gmp-clearkey anyway,
we don't need to statically link this.


MozReview-Commit-ID: AKwP5aWLsK3

--HG--
extra : source : 857f21f44316ef8125fedf8db22b5d3191d9c7e9
2016-10-07 11:20:05 +13:00
Chris Pearce
35e13f726f Bug 1308076 - Move ClearKeyCencParser to PsshParser library. r=glandium
To validate the PSSH init data passed to EME, I'd like to reuse the same
PSSH parser that the ClearKey CDM shared library uses. So move the code
out of gmp-clearkey and into its own library, so we can link it statically
into code that needs to use it.



MozReview-Commit-ID: 7xSUSmCueJz

--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
extra : source : 78dcbc5d3c26547c63269eb14034a67863cf28de
2016-10-06 20:23:38 +13:00
Chris Pearce
a52e1adba5 Bug 1308076 - Validate keyids json format. r=smaug
Use a WebIDL dict to define the "keyids" EME init data format, and
then use that to parse and validate incomint "keyids" EME init data
and ensure it's in the expected JSON format, i.e.:

https://w3c.github.io/encrypted-media/format-registry/initdata/keyids.html

This means we now pass the "generateRequest() with too short key ID."
case of encrypted-media-generate-request-disallowed-input.html
(upstream that is, our local copy of that WPT is out of sync).


MozReview-Commit-ID: 6W7j2a9Bg7E

--HG--
extra : source : fed2a26df89a5c2a600a6e6d1ab63ab86706fc45
2016-10-06 17:57:08 +13:00
Chris Pearce
1678efebbf Bug 1308076 - Basic validation of EME initData. r=jwwang
Implement more of MediaKeySession.generateRequest() to validate initData before
passing to CDM.

Also throw TypeErrors when initData is not valid, as per the spec.

Only trivial validation happens here, I'll add more comprehensive validation in
subsequent patches.

MozReview-Commit-ID: 3jTOsJNvRDo

--HG--
extra : source : d023aec75d1ef1486116510efcc31e2b587e6e50
2016-10-06 17:54:36 +13:00
Francesco Lodolo (:flod)
c1036ebc5d Bug 1309204 - Update l10n searchplugins in list.json. r=mkaply
--HG--
extra : rebase_source : f70c36557b274cbfdc659aca19c56ee20602980e
extra : histedit_source : f050dabf1cad8e562d0db4eb62934c80978f2cbd
2016-10-11 05:25:00 +03:00
Sander Mathijs van Veen
6ce00e9777 Bug 1302682 - Crash [@ __memcpy_sse2_unaligned] with TypedArray. r=jonco
--HG--
extra : rebase_source : 0fa920648ee2a298076208ddcecdc9543312c823
extra : histedit_source : 8d8b514c35556879a25b1ec1a26386b6d5f7da6a
2016-10-11 18:21:26 +03:00
Boris Zbarsky
4d59f9aa76 Bug 1309239. Fix the codegen for a cached DOM getter to not worry about Xrays if the interface doesn't want Xrays (i.e. is not mainthread-exposed). r=baku 2016-10-11 10:32:37 -04:00
Petr Sumbera
6362119e0c Bug 1309157 - Looks for hypot in libm instead of libc in conversion-native-function.js. r=arai 2016-10-11 02:18:53 -07:00
Stone Shih
1063903850 Bug 1304315 - [Pointer Event] Make all pointer events's default width/height to 1. f=bevistseng. r=smaug,masayuki. 2016-09-21 16:26:21 +08:00
Pascal Chevrel
9c997d74dc Bug 1283076: Change default bookmarks for Nightly. r=dolske
- no change on default bookmarks for non-nightly builds
- replace firefox bookmarks by this list for Nightly:
  - Link to the Firefox Nightly blog (https://blog.nightly.mozilla.org/)
  - Link to Bugzilla https://bugzilla.mozilla.org/
  - Link to MDN https://developer.mozilla.org/
  - Link to Nightly Tester Tools addon https://addons.mozilla.org/en-US/firefox/addon/nightly-tester-tools/
  - Link to about:crashes
  - Link to Nightly IRC channel on irc.mozilla.org via mibbit
  - Link to Planet Mozilla https://planet.mozilla.org/

The default bookmark in the bookmark toolbar which was a tour of Firefox feature is now a link to mozilla.org/contribute

This patch also:
- removes all rdf id references in links which are unused
- moves all the data-uri icons to replacement variables to avoid multiple copy-pastes and make the code easier to read
- removes the invalid mention that the file was automatically generated, it is not the case
- updates the meta charset line for a shorter one using HTML5 syntax
- uses lowercase html
- some of the links have keywords or tags defined
- update tests with specific values to test for the Nightly channel vs other channels
2016-10-10 18:33:03 +02:00
Ehsan Akhgari
b441f24399 Bug 1309031 - Remove support for prohibiting the background hang monitor; r=froydnj
The code that was using this was removed in bug 1284674.
2016-10-11 09:37:46 -04:00
Ehsan Akhgari
3cc4749e5d Bug 1309028 - Remove PProcLoader; r=baku
The code using this protocol was removed in bug 1284674.
2016-10-11 09:37:46 -04:00
Petr Sumbera
da0dbd824b Bug 1308897 - CodeCoverage.cpp is missing PRIu64 on several places. r=nbp 2016-10-11 13:10:43 +00:00
Franziskus Kiefer
201d720b45 Bug 1305970 - land NSS 0x295feaebef58, r=me
--HG--
extra : rebase_source : 79639bc9a11c6b1cb6bef1fc43d9e32f07be3f92
2016-10-11 14:33:41 +02:00
Jonathan Kew
061ab35e2b Bug 1308502 followup, add missing const-ness to gfxTextRun::SetPotentialLineBreaks param, tidy up a bit. r=m_kato 2016-10-11 13:47:11 +01:00
Jonathan Kew
175dc497d0 Bug 1308502 - Allow line-break even within a cluster if the preceding character (i.e. base of cluster) is a space. r=m_kato 2016-10-11 13:47:11 +01:00
Jonathan Kew
0844b5ebc4 Bug 1308502 - Add reftests for line-breaking at clusters having <space> as their base. r=m_kato 2016-10-11 13:47:11 +01:00
Sebastian Hengst
71ddac3537 Backed out changeset 6996ca3c1ef6 (bug 1308056) for Windows bustage and spidermonkey test failures. r=backout on a CLOSED TREE 2016-10-11 14:25:54 +02:00
Sebastian Hengst
2742cc30e9 Backed out changeset 7a39a87c6bb9 (bug 1308056) 2016-10-11 14:25:17 +02:00
Sebastian Hengst
19f705d5d8 Backed out changeset c417fb206f6c (bug 1308056) 2016-10-11 14:25:13 +02:00
Sebastian Hengst
4bc4fba9fc Backed out changeset 913ccaec26d5 (bug 1308056) 2016-10-11 14:25:09 +02:00
Sebastian Hengst
0e2b4dff95 Backed out changeset 27bec108f660 (bug 1308056) 2016-10-11 14:25:06 +02:00
Sebastian Hengst
aa9a8bde6a Backed out changeset 5aaf29ab8c30 (bug 1308056) 2016-10-11 14:25:02 +02:00
Sebastian Hengst
111aa330db Backed out changeset 8030f70a5130 (bug 1308056) 2016-10-11 14:24:59 +02:00
Benjamin Bouvier
4f9924e35f Bug 1308056: wasm: enable a few spec test cases; r=luke
MozReview-Commit-ID: AmK8iNrkMTr

--HG--
extra : rebase_source : e2fbb6560bab46b4f44dd1d7065f77bb9e460108
2016-10-07 16:20:18 +02:00
Benjamin Bouvier
63e6c9f167 Bug 1308056: wasm: add syntax for inline import/export in memories; r=luke
MozReview-Commit-ID: Ijh7d0eqvuM

--HG--
extra : rebase_source : f548885324df77c57511f33f47eaa85151245a94
2016-10-07 17:03:14 +02:00
Benjamin Bouvier
624db7b2dd Bug 1308056: Allow to index memory/table owner in elem/data sections; r=luke
MozReview-Commit-ID: 1Sk7OJkbKxi

--HG--
extra : rebase_source : c6ba578b222378cfd14972036d53f9c88dbbdc47
2016-10-07 16:22:24 +02:00
Benjamin Bouvier
cff747d16b Bug 1308056: wasm: add syntax for inline import/export in globals; r=luke
MozReview-Commit-ID: DLc7oCNkbpi

--HG--
extra : rebase_source : 2a9472e84eaf7363c9c9bb3c5a8e1b03a55d33ae
2016-10-07 17:14:17 +02:00
Benjamin Bouvier
5db4b59105 Bug 1308056: wasm: add syntax for inline import/export in functions; r=luke
MozReview-Commit-ID: 7lrs8wG3Tn0

--HG--
extra : rebase_source : 3b7f95bf18e86771e454148cc249e6e34d21bf16
2016-10-07 11:58:18 +02:00
Benjamin Bouvier
2a7a4b6f0e Bug 1308056: wasm: add anyfunc and inline import/export for tables; r=luke
MozReview-Commit-ID: 2DR2KN57OKT

--HG--
extra : rebase_source : d2ef40dc893623180640c614704a912546bfcfad
2016-10-07 17:03:38 +02:00
Benjamin Bouvier
59f55f80bf Bug 1308056: Rename ResizableLimits to Limits; r=luke
MozReview-Commit-ID: 3PUQIUk3HNw

--HG--
extra : rebase_source : 4348fc293d1a4da34ba51d97ef2f115b450645e7
2016-10-10 17:38:11 +02:00
Mike de Boer
ec296b4f2e Bug 1303874 - make the active window object part of the iterator params to make sure that similar iterator runs for different runs are not treated as the same, thus potentially yielding incorrect results. r=jaws
MozReview-Commit-ID: H6gB2IMndM8
2016-10-11 13:08:00 +02:00
Carsten "Tomcat" Book
04666adb7d Merge mozilla-central to mozilla-inbound 2016-10-11 13:02:37 +02:00
Sotaro Ikeda
c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Carsten "Tomcat" Book
cd1be634c9 merge mozilla-inbound to mozilla-central a=merge 2016-10-11 12:01:35 +02:00
Carsten "Tomcat" Book
596549aa9d merge fx-team to mozilla-central a=merge 2016-10-11 12:00:13 +02:00
Cameron McCormack
e05a781a4f Bug 1309081 - Initialize image layer as part of Gecko_EnsureImageLayersLength. r=manishearth
MozReview-Commit-ID: 4MszPafvcKs
2016-10-11 17:55:15 +08:00
Gabriel Luong
c5953099c9 Bug 1308823 - Refactor the markup view into smaller modules r=jdescottes
--HG--
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/utils.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-editor.js
rename : devtools/client/inspector/markup/html-editor.js => devtools/client/inspector/markup/views/html-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/markup-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/root-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-editor.js
2016-10-10 23:37:05 -04:00
Iris Hsiao
8fa5c6d67f Backed out changeset d271311721bb (bug 1297535) for developer's request 2016-10-11 11:13:12 +08:00
Phil Ringnalda
e8dd21b167 Merge f-t to m-c, a=merge
MozReview-Commit-ID: C1redSmlixf
2016-10-10 19:11:56 -07:00
Phil Ringnalda
25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Boris Zbarsky
695f3ad671 Bug 946906 part 9. Add tests for the new [Cached] setup on Xrays. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky
13514334ba Bug 946906 part 8. When getting a cacheable property off a DOM Xray, cache it on the Xray's expando object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky
13a81b596c Bug 946906 part 7. Forbid using [Cached] or [StoreInSlot] with [NewObject]. r=bholley
This guarantees that an interface type returned from a [Cached] or [StoreInSlot]
getter must be wrappercached, because non-wrappercached things can only be
returned from [NewObject] getters or methods.
2016-10-10 18:16:26 -04:00
Boris Zbarsky
fba67a8141 Bug 946906 part 6. Clear the relevant slots on Xray expandos when clearing cached slots on a DOM object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky
8070de70a2 Bug 946906 part 5. Use the codegenned JSClass, if available, when creating Xray expando objects. r=bholley 2016-10-10 18:16:26 -04:00