Commit Graph

473190 Commits

Author SHA1 Message Date
Kaku Kuo
f78f42e9df Bug 1266027 part 1 - make the MediaDecoderReaderWrapper as a proxy of requesting media data; r=jwwang
MozReview-Commit-ID: CgTBPmtbNfh

--HG--
extra : transplant_source : %16%86%F676/S%C8%5Dj%86%9C%09%0E%D9%16L%DB%92y
2016-04-27 14:50:23 +08:00
Benoit Girard
c089c3f45c Bug 1264530 - Make sure mPluginWindow is initialized. r=njn 2016-04-29 08:51:00 +02:00
Bevis Tseng
0631910d02 Bug 1264380 - Get Composed Document of Shadow DOM Element Properly. r=wchen 2016-04-20 18:28:28 +08:00
Martin Stransky
c64aea7200 Bug 1263145 - Render multiline input text entries as GtkTextView, r=karlt 2016-04-27 01:07:00 +02:00
Christoph Kerschbaumer
9944442791 Bug 1261634 - Tests for whitespace skipping within meta csp. r=dveditz 2016-04-21 21:19:50 +02:00
Christoph Kerschbaumer
a9a95d1918 Bug 1261634 - Update whitespace skipping for meta csp. r=dveditz 2016-04-21 21:15:06 +02:00
Jean-Yves Avenard
e1f2021daa Bug 1269178: P4. Add mochitest. r=gerald
It ensures that resume from waiting for data is correct and the MediaFormatReader internal seek can handle partial GOP.

MozReview-Commit-ID: 1jyv3dajQPv

--HG--
extra : rebase_source : d9aba013aaacc9c19ee6a47ead839adda5c1299e
2016-05-02 13:28:39 +10:00
Jean-Yves Avenard
0eb3dc97f9 Bug 1269178: P3. Add mochitest. r=gerald
MozReview-Commit-ID: 2iqZetykYgj

--HG--
extra : rebase_source : b18e35f8ee6d1a714e997d8d131c6731f8de90d4
2016-05-02 11:16:00 +10:00
Jean-Yves Avenard
0508995f47 Bug 1269178: P2. Ensure that no skip to next keyframe logic is activated while there's a pending seek. r=gerald
While a seek is pending, the demuxer has been reset meaning that ShouldSkip() would almost always incorrectly return true and would corrupt the seeking state.

MozReview-Commit-ID: 6R912Fu6Nul

--HG--
extra : rebase_source : a20a5d0ed1c0d21c04014790bdf5a0c07edb82a4
2016-05-02 10:53:31 +10:00
Jean-Yves Avenard
a2f6eca10d Bug 1269178: P1. Retry InternalSeek if previous attempt failed once more data is available. r=gerald
MozReview-Commit-ID: DtaKBzxRVR8

--HG--
extra : rebase_source : ad49222ad6405caac6e56cda959cd230b5f9b925
2016-05-01 23:37:09 +10:00
Jean-Yves Avenard
74dc9128dc Bug 1269177: Wait for demuxing request to complete before treating new data notification. r=gerald
MozReview-Commit-ID: LF0YiCJJr3l

--HG--
extra : rebase_source : 05efa1d0be191bc5ceb754a30b5b2c72c09a4228
2016-05-01 20:54:11 +10:00
Gerald Squelart
fe40ee4beb Bug 1269250 - Fix line endings in test_gmp_playback.html - r=jya
MozReview-Commit-ID: AR43LFOYvqu

--HG--
extra : rebase_source : 6030f255798fb32e2759b0b01e72212ce28798e3
2016-05-02 14:04:42 +10:00
Nicholas Nethercote
7cc5e1d84e Bug 1268772 (part 5) - Use MOZ_MUST_USE in other parts of xpcom/ds/. r=erahm.
As well as adding MOZ_MUST_USE to a number of functions, this patch:

- Changes the return type of nsObserverList::GetObserverList() from |nsresult|
  to |void|, because it always returned NS_OK and none of the callers checked
  the result.

- Removes an unnecessary |new| check in nsSupportsArray::Enumerate().

--HG--
extra : rebase_source : 3a93124ef2a7db3929119194ceacbc56bc80d2c6
2016-04-28 17:11:17 +10:00
Nicholas Nethercote
2ae68d12e9 Bug 1268772 (part 4) - Use MOZ_MUST_USE with NS_NewISupportsArray(). r=erahm.
A few callers of NS_NewISupportsArray() didn't use the return value to detect
failure, but instead checked if the |array| argument was null after the call.
This is inconsistent with the majority of the calls to NS_NewISupportsArray().
This patch changes them to be checked in the normal way.

--HG--
extra : rebase_source : bf91836d7c3b159833c303a3716f4d9366f8b76a
2016-05-02 09:06:47 +10:00
Nicholas Nethercote
e049e2be4f Bug 1268772 (part 3) - Remove NS_NewWindowsRegKey()'s return value. r=erahm.
It's always NS_OK. The patch also removes an unnecessary failure check as a
result.

--HG--
extra : rebase_source : 3a0c30f9ca0e838682204ed1a8d46d6ab35e20b8
2016-05-02 09:06:45 +10:00
Nicholas Nethercote
27327f8bea Bug 1268772 (part 2) - Make infallible nsVariant methods return |void| instead of |nsresult|. r=erahm.
This makes things clearer and removes some unnecessary nsresult checks.

The patch also:
- removes some unnecessary |new| and moz_xmalloc() checks;
- adds MOZ_MUST_USE to some fallible nsVariant methods.

--HG--
extra : rebase_source : fd0bd0c55c22ebf194246ec9997fe971cf282e69
2016-04-29 13:47:44 +10:00
Nicholas Nethercote
a2776c6af7 Bug 1268772 (part 1) - Remove nsCheapSet::Put()'s return value. r=erahm.
It's always NS_OK and none of the call sites look at it.

--HG--
extra : rebase_source : c70ca0c98ef27065ddfacc0a1e84dcfef2ff500a
2016-04-28 15:59:58 +10:00
Martin Thomson
b5081bf610 Bug 1264470 - a=identity is a long attribute, r=bwc
--HG--
extra : rebase_source : 077cb5cf4017cce619ed59decd405d706683d620
2016-04-19 09:10:32 +10:00
bd339
7a139afe3a Bug 1249936 - add a LayerComposite::GetShadowTransform method & simplify Layer::GetLocalTransform. r=botond
MozReview-Commit-ID: 80RNCyxAjtq

--HG--
extra : rebase_source : f567255ff3205da7419a5698b0d5ffa75dd30ad1
2016-05-01 12:54:26 +02:00
Boris Chiou
41989567c2 Bug 1250820 - Part 4: Add MAX to CSSPseudoClassType. r=heycam
Just like CSSPseudoElementType, which uses a special type to represent the
maximum length. We can replace "CSSPseudoClassType::NotPseudo + 1" with
"CSSPseudoClassType::MAX", which means the maximum length.

MozReview-Commit-ID: 4xH0avpWPqX

--HG--
extra : rebase_source : bc8b6a5bb5a84782dea891054b8ea4c5d7ea3db8
2016-04-22 22:18:21 +08:00
Boris Chiou
4487e71e34 Bug 1250820 - Part 3: Replace notPseudo with negation. r=heycam
notPseudo is easy to be confused with NotPseudo, so using negation would be
better.

MozReview-Commit-ID: BtlS1A5YgD3

--HG--
extra : rebase_source : 9c9233fefd826f3c912ef4b31bf096f2d2c4d693
2016-04-22 22:09:20 +08:00
Boris Chiou
66ed914313 Bug 1250820 - Part 2: Replace nsCSSPseudoClasses::Type with CSSPseudoClassType. r=heycam
MozReview-Commit-ID: 6w4SoaS7gRi

--HG--
extra : rebase_source : 6e3c05aedf910616def9f9f43fc0e135a2d84359
2016-04-22 21:38:46 +08:00
Boris Chiou
0fda46ccb4 Bug 1250820 - Part 1: Define scoped enum for CSSPseudoClass::Type. r=heycam
MozReview-Commit-ID: 6RHot1LaUOs

--HG--
extra : rebase_source : 8ad8ffa344091eb0bda6be7986de676be9f7f3ba
2016-04-22 20:40:45 +08:00
Makoto Kato
fe5bf359ac Bug 1262363 - Call [NSTextInputContext handleEvent] for mouse support on IME. r=masayuki
Some IME handles mouse event by handleEvent method of NSTextInputcontext.  So we should call it on mouse event for IME

MozReview-Commit-ID: 6lyXCpOJ3yr

--HG--
extra : rebase_source : a180e0750a2f40838cf24d2985638f96899cf2d4
extra : histedit_source : 84ea9a9b113b33d8dc982b855e2271931c1084f9
2016-04-27 21:14:43 +09:00
Jean-Yves Avenard
74cc8abae0 Bug 1269048: Prevent null deref in debugging information. r=jwwang
MozReview-Commit-ID: FKq9dtrdegg

--HG--
extra : rebase_source : 19c71b8aa43a0f5f96b44821cc690f5295dcf79a
2016-05-02 08:49:18 +10:00
Markus Stange
8fc4b5a29d Bug 1265112 - When rendering blend modes with CompositorOGL, use NV_texture_barrier (if available) to sample directly from the framebuffer. r=jrmuizel
MozReview-Commit-ID: fWSgFOTmhS

--HG--
extra : rebase_source : b4d6f09ecdba5fd186805ae37d46e1a5b338017b
extra : source : 5661561315873d7593d202cbef2535df4bf43400
extra : histedit_source : 5f3d9e8b965966718001f84ee517d7943511e0de
2016-04-15 18:53:35 -04:00
Markus Stange
b0358573d0 Bug 1265112 - Add support for NV_texture_barrier to GLContext. r=jrmuizel
MozReview-Commit-ID: 95j0YBKN1P1

--HG--
extra : rebase_source : 55d94a6773acf50130271256b26fd375d1ee5f4f
extra : source : ce7c9ec848c84a131ca3c26ee879a14ef79192d6
extra : histedit_source : 8d79b4947b934e9be7b565a769d764cb894b89fc
2016-05-01 19:37:42 -04:00
Brian Birtles
02700078d5 Bug 1267018 - Split tests that rely on pref-based changes to Element.prototype into two files; r=heycam
MozReview-Commit-ID: KqLCYOknFRX
2016-05-02 09:28:45 +09:00
Jonathan Watt
73ea9dd190 Bug 1162772, part 3 - Add a getChannelResultPrincipalIfNotSandboxed method to nsIScriptSecurityManager. r=bz
MozReview-Commit-ID: 4QwM1y6wRb
2016-04-28 11:13:09 +01:00
Jonathan Watt
1b7bc2f61d Bug 1162772, part 2 - Expose whether SEC_FORCE_INHERIT_PRINCIPAL was dropped from an nsILoadInfo. r=bz
MozReview-Commit-ID: 5Em9qXwDUIJ
2016-04-28 11:13:09 +01:00
Jonathan Watt
9f2ce06d3b Bug 1162772, part 1 - Allow CompartmentCreationOptions to store Secure Context state. r=jorendorff
MozReview-Commit-ID: 4edUIF2rcBR
2016-04-28 11:13:09 +01:00
Nicholas Nethercote
42f9c7021b Bug 1268771 - Remove OldJitAllocPolicy. r=jandem.
It's unused.
2016-04-29 16:22:35 +10:00
Aryeh Gregor
32bf86a025 Bug 1193762 part 9 - Delete nsCOMPtr<T>::operator T*()&&; r=froydnj 2016-05-01 21:29:23 +03:00
Aryeh Gregor
f14f1babe8 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
f7bc47d59b Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
931f67e573 Bug 1193762 part 6 - Return raw pointer, not nsCOMPtr; r=froydnj
This could alternatively have been fixed by changing
AccessibleCaret::CaretElement to return an nsCOMPtr instead of a raw
pointer, but I chose to change this in the other direction instead, to
match the accepted convention.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
161a269dc0 Bug 1193762 part 5 - Convert DecodePool::threads to nsTArray; r=froydnj
I don't remember what this has to do with this patchset, but it's a good
change anyway.
2016-05-01 21:29:22 +03:00
Aryeh Gregor
585263dafa Bug 1193762 part 4 - Avoid nsCOMPtr in ternary operator; r=froydnj 2016-05-01 21:29:22 +03:00
Mike Hommey
c3a56bf17e Bug 1265486 - Use flat chrome format for mobile/android builds. r=chmanchester
--HG--
extra : rebase_source : a911c6dcea06678e6f118d1a98f13e95a5613fd1
2016-05-01 08:02:43 +09:00
Aryeh Gregor
0a025f6cca Bug 1193762 part 3 - Remove nsEditor::IsDescendantOfEditorRoot(nsIDOMNode*); r=ehsan 2016-05-01 17:59:29 +03:00
Aryeh Gregor
419ed0f1bb Bug 1193762 part 2 - Remove nsHTMLEditor::IsVisBreak(nsIDOMNode*); r=ehsan 2016-05-01 17:59:17 +03:00
Aryeh Gregor
9f98b80267 Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan 2016-05-01 17:59:05 +03:00
Aryeh Gregor
0a569d869c Bug 1191356 part 9 - Convert nsHTMLEditRules::mNewBlock to Element; r=ehsan 2016-05-01 17:58:53 +03:00
Aryeh Gregor
81dd1ee865 Bug 1191356 part 8 - Clean up nsHTMLEditRules::WillAbsolutePosition; r=ehsan 2016-05-01 17:58:41 +03:00
Aryeh Gregor
bf808d8cc0 Bug 1191356 part 7 - Clean up nsHTMLEditor::GetSelectionContainer; r=ehsan
This makes the XPCOM GetSelectionContainer return an error in cases
where previously it would return success but a null pointer.  This could
theoretically cause problems, but there's no obvious non-ugly way to
avoid it.
2016-05-01 17:58:29 +03:00
Aryeh Gregor
1d5314df0c Bug 1191356 part 6 - Clean up nsHTMLEditRules::WillMakeBasicBlock; r=ehsan 2016-05-01 17:58:17 +03:00
Lee Salzman
feaa3aff7d Bug 1268816 - follow-up to fix #ifdef -> #if. r=me 2016-05-01 10:28:09 -04:00
Sebastian Hengst
2fd74ed0d1 Backed out changeset 6dbba6c4a200 (bug 1191356) for build bustage. r=backout on a CLOSED TREE 2016-05-01 16:27:40 +02:00
Sebastian Hengst
ce0ea5ad03 Backed out changeset aa61db1f8f83 (bug 1191356) 2016-05-01 16:27:29 +02:00
Sebastian Hengst
0526cdbd22 Backed out changeset 7b3284a488dc (bug 1191356) 2016-05-01 16:27:21 +02:00