Commit Graph

51007 Commits

Author SHA1 Message Date
Alastor Wu
6d9e2d48b4 Bug 1276830 - part3 : modify tests. r=rillian
MozReview-Commit-ID: 9imko6c1Z4R

--HG--
extra : rebase_source : 6d0e0873ffdc28a13ce3e498f73ba1c81aa8b9fb
2016-06-06 10:12:42 +08:00
Alastor Wu
c7ce01fded Bug 1276830 - part2 : modift LineAlignSetting value in vtt.jsm. r=rillian
MozReview-Commit-ID: FlKbht9uklN

--HG--
extra : rebase_source : 2cba6c52ec9e4137dd99a27f4714930cc958e563
2016-06-06 09:53:24 +08:00
Alastor Wu
be17624070 Bug 1276830 - part1 : introduce LineAlignSetting. r=rillian,smaug
MozReview-Commit-ID: 1nZhCpPpTEh

--HG--
extra : rebase_source : f0f55cbcf5df79753b05f16579591f2ce8aa195a
2016-06-06 09:53:16 +08:00
Jan Varga
a25258797e Bug 1195930 - Part 11: Unified SQLite database schema and storage version, major and minor version support; r=asuth 2016-06-05 21:43:09 +02:00
Jan Varga
2b9890e7bd Bug 1195930 - Part 10: Use extra durability mode for storage.sqlite; r=asuth 2016-06-05 21:43:02 +02:00
Jan Varga
111f87a355 Bug 1195930 - Part 9: Remove old directories (fixes bug 1273717); r=asuth 2016-06-05 21:42:55 +02:00
Jan Varga
af49dba19e Bug 1195930 - Part 8: Fixed support for origin clearing, reworked internal origin patterns to use OriginAttributesPattern; r=asuth 2016-06-05 21:42:48 +02:00
Jan Varga
1fb4d91a67 Bug 1195930 - Part 7: New test for metadata v2 restoring (also tests userContextId origin attribute); r=asuth 2016-06-05 21:42:40 +02:00
Jan Varga
381cd4b9e9 Bug 1195930 - Part 6: A new schema upgrade for IndexedDB databases; r=asuth 2016-06-05 21:42:33 +02:00
Jan Varga
5a2fea4594 Bug 1195930 - Part 5: Core changes, support for storage directory versioning, new metadata v2 files, origin suffix added to API methods, origin attributes used across the implementation, more upgrade tests; r=asuth 2016-06-05 21:42:25 +02:00
Jan Varga
f81ab7f0fb Bug 1195930 - Part 4: Move code to correct place - add; r=asuth 2016-06-05 21:42:18 +02:00
Jan Varga
0360bbe43a Bug 1195930 - Part 3: Move code to correct place - remove; r=asuth 2016-06-05 21:42:11 +02:00
Jan Varga
3249fba977 Bug 1195930 - Part 2: Refactor StorageDirectoryHelper to a base class and two separate final classes, improve correctness of default storage upgrade and add support for resource urls; r=asuth 2016-06-05 21:42:01 +02:00
Jan Varga
64b62c9b07 Bug 1195930 - Part 1: Re-enable tests for clearing origin data; r=asuth 2016-06-05 21:41:48 +02:00
Stephanie Ouillon
e4fbe1d9ac Bug 1247459 - Meta and header CSP are merged without a semicolon. r=ckerschb 2016-05-17 15:34:53 +02:00
Chris Peterson
0ca60536e0 Backed out changeset 7383d49bc7c8 (Flash click-to-play bug 1186948) 2016-06-05 01:03:36 -07:00
Bryce Van Dyk
2c618f7655 Bug 1276643 - External media tests reset widevine GMP. r=maja_zf
Make the EME mixin also reset the widevine GMP. This gives us some
widevine downloader coverage, as well as meaning that EME tests that
rely on widevine should work.

MozReview-Commit-ID: AyeeLu2lJRK

--HG--
extra : transplant_source : %13ck%EA%AD%8F%B8.%E5%A0%EC%2C%B4%40h%E0s%0C%1D%B4
2016-05-30 15:21:51 +12:00
Andrea Marchesini
f49a386d9b Bug 989619 - patch 3 - console API should use [ProtoObjectHack], r=bz 2016-06-04 09:33:24 +02:00
Andrea Marchesini
c30cdb7269 Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz 2016-06-04 09:32:51 +02:00
Andrea Marchesini
be787b709b Bug 989619 - patch 1 - Codegen should allow static methods with a reserved C++ keywords as the name, r=peterv 2016-06-04 09:31:44 +02:00
Andrea Marchesini
3f22b78a94 Bug 1274362 - a Symbol passed to postMessage should throw DataCloneException, r=sfink 2016-06-04 09:24:28 +02:00
Masayuki Nakano
258c1f97d6 Bug 1277756 part.7 Rename TextRangeType::NS_TEXTRANGE_SELECTEDCONVERTEDTEXT to TextRangeType::eSelectedClause r=smaug
MozReview-Commit-ID: GyRYWzfeWrm

--HG--
extra : rebase_source : 8bebacaf675ec4a3cf91cfd434d07beeb7fb1567
2016-06-03 19:15:21 +09:00
Masayuki Nakano
3fa2003d17 Bug 1277756 part.6 Rename TextRangeType::NS_TEXTRANGE_CONVERTEDTEXT to TextRangeType::eConvertedClause r=smaug
MozReview-Commit-ID: 3mexBm278As

--HG--
extra : rebase_source : ef363b0ac50396631e9b145b7e869330509fe259
2016-06-03 19:05:32 +09:00
Masayuki Nakano
98f069e029 Bug 1277756 part.5 Rename TextRangeType::NS_TEXTRANGE_SELECTEDRAWTEXT to TextRangeType::eSelectedRawClause r=smaug
MozReview-Commit-ID: MbG4siLb4Q

--HG--
extra : rebase_source : 23c20c55c3936dc6af5f57414ef7630003480275
2016-06-03 18:57:21 +09:00
Masayuki Nakano
f4254e7f7f Bug 1277756 part.4 Rename TextRangeType::NS_TEXTRANGE_RAWINPUT to TextRangeType::eRawClause r=smaug
MozReview-Commit-ID: KLC1VPiYTdz

--HG--
extra : rebase_source : 3f750e526bb04b26ed66d2c0fada14e7d5b43d73
2016-06-03 18:48:37 +09:00
Masayuki Nakano
4fc95828b6 Bug 1277756 part.1 Make anonymous enum for NS_TEXTRANGE_* to an enum class named "TextRangeType" r=smaug
For making our code clearer by the stronger type check, we should change the anonymous enum for NS_TEXTRANGE_* to enum class whose name is "TextRangeType" and whose type is "RawTextRangeType" which is an alias of uint8_t.

Additionally, this also adds some utility methods for them.

Note that some lines which are changed by this patch become over 80 characters but it will be fixed by the following patches.

MozReview-Commit-ID: 76izA1WqTkp

--HG--
extra : rebase_source : 27cd8cc8f7f8e82055dbfe82aba94c02beda5fa4
2016-06-04 09:49:21 +09:00
Jeff Gilbert
636cda5db0 Bug 1275866 - Clear WebGLTimerQuerys on WebGL GLContext teardown. - r=jerry,jrmuizel 2016-06-03 16:10:23 -07:00
Wes Kocher
11d59fe446 Backed out changeset 14c8ec387dd2 (bug 1277154) because it seems like a good candidate for what broke reftests
--HG--
extra : rebase_source : 97d3f6df5465d848f3c5785eca7a01de8867e185
2016-06-03 14:11:05 -07:00
Cameron McCormack
832de75eca Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
--HG--
extra : rebase_source : 4f8bf468aff4b06e9c410f7197551baa254760f6
2016-06-03 17:16:39 +10:00
Jonathan Watt
2eb705bb3f Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas 2016-05-25 17:01:18 +01:00
Nathan Froyd
1dd7bdbf29 Bug 1277429 - remove unused variable in ResolveRequestedModules; r=baku 2016-06-03 18:31:58 -04:00
Paul Adenot
d5fef47a98 Bug 1277284 - Bustage fix in opt, on a CLOSED TREE.
MozReview-Commit-ID: LC7mBVas8CB
2016-06-03 15:32:52 +02:00
Paul Adenot
f01e0bea9e Bug 1277284 - Reset the volume when starting a new audio stream for a MediaStreamGraph. r=jesup
This prevents having the volume set to zero in some cases.

MozReview-Commit-ID: 4JSCDcd7jmT

--HG--
extra : rebase_source : bcc4b7229160e7cbe7ee4e7a4c712b497f7cbe16
2016-06-02 15:46:17 +02:00
Carsten "Tomcat" Book
e2e1501bad Merge mozilla-central to mozilla-inbound 2016-06-03 12:41:23 +02:00
Carsten "Tomcat" Book
71eb3110f9 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02:00
Jean-Yves Avenard
1a83f50401 Bug 1277508: P2. Add HasPendingDrain convenience method. r=kamidphish
MozReview-Commit-ID: Lcij7sc2y9d

--HG--
extra : rebase_source : 917ad661b0de70062d00758ed359e574562f75fd
2016-06-02 21:08:05 +10:00
Jean-Yves Avenard
e6ff9b5d09 Bug 1277508: P1. Don't attempt to demux new samples while we're currently draining. r=kamidphish
We should only attempt to demux new samples once all pending decoded frames have been returned. Otherwise, the next demuxing attempt once a resolution change has been detected will reset the state and drop all decoded frames.

MozReview-Commit-ID: 2coKQA8lZ8c

--HG--
extra : rebase_source : f8df34bd9ea1b05c251a34d043da19c7d3d5e587
2016-06-02 20:54:33 +10:00
Jean-Yves Avenard
0fa6daa947 Bug 1277729: Ignore readyState value when reporting the buffered range. r=jwwang
For plain media playback, the buffered range will always be empty if readyState is HAVE_NOTHING has we need to decode the metadata to determine the duration and eventually decode the first frame to determine the start time. With MSE however, the buffered range is per spec directly related to the source buffer buffered range.

So we can always simply query the MediaDecoder to determine the buffered range regardless of the readyState value.

MozReview-Commit-ID: BQs8iuUCiNw

--HG--
extra : rebase_source : 28fea8a89eab38b481a15d76061debacce86274f
2016-06-03 11:46:36 +10:00
Jean-Yves Avenard
8dddf4b2bc Bug 1276184: [MSE] P3. Be consistent with types when accessing track buffer. r=kamidphish
MozReview-Commit-ID: BJlNeValVxE

--HG--
extra : rebase_source : 333397c0b67d9f5d9a549abef873e43ce2bfe91e
2016-06-02 17:14:03 +10:00
Jean-Yves Avenard
c7855950ec Bug 1276184: [MSE] P2. Remove the need to scan the track buffer when frames are being removed. r=kamidphish
The index at which we are removing frames is always the one where we will be inserting the next ones.

MozReview-Commit-ID: DHeJDmwiMS9

--HG--
extra : rebase_source : 3730c0ed7fbdb4d9f8b4157f36aa7bb9d03a6517
2016-06-02 16:59:00 +10:00
Jean-Yves Avenard
2089f9d8bb Bug 1276184: [MSE] P1. Scan where to start removing frames from the start if new block added starts with a keyframe. r=kamidphish
We keep the next position on where to add frames so that we do not break the current coded frame group. However, when the new group of added frames starts with a keyframe we do not have to worry about breaking the previous coded frame group.

MozReview-Commit-ID: G81xGuSa4Y2

--HG--
extra : rebase_source : 4cbe5d0b5921c68c877815af15bbd10b40f18c80
2016-06-02 16:40:43 +10:00
Jean-Yves Avenard
94b2b53bfe Bug 1275381: [aac] Rework AudioSpecificConfig if extensions are present. r=cpearce,kamidphish,?kamidphish
WMF is very strict with the AudioSpecificConfig passed on and will error if an unknown extension is found. Attempt to detect those extensions and remove them if necessary.

MozReview-Commit-ID: KbooPiHmDbN

--HG--
extra : rebase_source : 849628daae33e0dca6ac3735dd8abc05e7554937
2016-06-02 12:07:06 +10:00
dimi
4f68c43631 Bug 1258033 - Part 2: navigator.doNotTrack should be determinded by preference and tracking protection. r=smaug
MozReview-Commit-ID: 7kxLZvptEvx

--HG--
extra : rebase_source : 96fd8f193daf3d53eb668d97db90d5a4317d7872
2016-06-02 10:22:18 +08:00
dimi
8d44df2c72 Bug 1258033 - Part 1: Add IsTrackingProtectionOn for nsILoadContext. r=smaug
MozReview-Commit-ID: 2eQzO6KDLyX

--HG--
extra : rebase_source : 1f5c1c7b250336ff4ecf1e5b3949a532b7bb9144
2016-06-02 10:12:39 +08:00
Carsten "Tomcat" Book
a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Bryce Van Dyk
cfe431113f Bug 1277136 - External Media Tests: Fix typos, update context usage, update gmp reset script. r=maja_zf
- Fix a typo in media.gmp-eme-adobe.version pref strings.
- Update reset gmp script call to be from content context. This
would fail if done from the chrome process.
- Update reset gmp script to use new requestMediaKeySystemAccess
syntax.

MozReview-Commit-ID: FzDgkOWQF9A

--HG--
extra : rebase_source : 5a3082978bd80d994320017c6917e121fa40a742
2016-06-01 08:33:30 +12:00
Kit Cambridge
7500315560 Bug 1275436 - Remove push subscriptions from the server after clearing permissions and site data. r=mt
Previously, we removed records locally, but didn't notify the server.
We can be nice and avoid making the server buffer messages for
subscriptions that the client will never use again.

MozReview-Commit-ID: 5iohGQPHXuz

--HG--
extra : rebase_source : 00639fe1016ffd241c18643049f4b061740025f1
2016-05-20 09:38:26 -07:00
Kit Cambridge
8f4367fa09 Bug 1275434 - Add remote push observer tests. r=dragana
MozReview-Commit-ID: 4BVWwEbI2FX

--HG--
extra : rebase_source : 1ecd69b74a0329b14aa9ce8b3d4172bbf6278397
2016-05-19 21:41:15 -07:00
Kit Cambridge
a5dc7d0ed9 Bug 1275434 - Notify "push-subscription-modified" observers in the child. r=dragana
MozReview-Commit-ID: H3DGrhEm3fn

--HG--
extra : rebase_source : 37d9a07d2a852cdccb9e6c339cf9bcbe01fb6c88
2016-05-14 16:54:51 -07:00
Kit Cambridge
21fdc3d97d Bug 1275434 - Refactor PushNotifier to clarify remoting logic. r=dragana
Previously, all `PushNotifier` methods checked the process type, and
either called `Notify*{Workers, Observers}` or sent an IPDL message.
The message handlers then called back in to `PushNotifier` from the
remote process.

This was clearer when we only sent worker event notifications to the
content process, and fired all observer notifications in the parent.
It became more complicated once we started notifying observers for all
subscriptions in both processes (bug 1266433). This makes it harder to
see omissions; for example, "push-subscription-modified" isn't
currently forwarded to the child, but "push-subscription-change" and
"push-message" are.

This patch moves the remoting code into `PushNotifier::Dispatch`, and
adds a base `PushDispatcher` class. Each notification type subclasses
this class and implements logic for sending messages and firing
observers and worker events. It's more code, but a bit easier to see
which methods are called where.

MozReview-Commit-ID: 7Q0eD7qXOrW

--HG--
extra : rebase_source : c69acb95a0cb5470cf1c804639971be41b976cc2
2016-05-19 19:01:34 -07:00