Commit Graph

492081 Commits

Author SHA1 Message Date
Andi-Bogdan Postelnicu
9b7638bfd4 Bug 1301333 - mark Initialize as initialisation function for CycleCollectedJSContext. r=mccr8
MozReview-Commit-ID: BRO2gsJRNjk

--HG--
extra : rebase_source : 22f027261538bf1a3e39d8bd02fd93cda61fe693
2016-09-16 13:31:37 +03:00
Jean-Yves Avenard
e555d04fbf Bug 1303970: P2. Fix "If the media data fetching process is aborted by the user steps". r=jwwang
MozReview-Commit-ID: 6n91VY00gAo

--HG--
extra : rebase_source : 61aab7eecb527c55199a597db7b08681206c3f2f
2016-09-20 19:52:06 +10:00
Jean-Yves Avenard
3eae3b5916 Bug 1303970: P1. MEDIA_ERR_ABORTED can be returned even if readyState is HAVE_NOTHING. r=jwwang
So change assertion accordingly.

MozReview-Commit-ID: AuaDlyF0MAL

--HG--
extra : rebase_source : 60f1b34c8320d8ad47845bfd9d8f23e27d3a8620
2016-09-20 19:36:09 +10:00
Jean-Yves Avenard
2010639f50 Bug 1304252: P3. Further error details for agnostic decoders. r=gerald
MozReview-Commit-ID: 1tb4f9xQKyr

--HG--
extra : rebase_source : 37bd772240de01d9fcb2fac765f58b27e6f86c9c
2016-09-21 13:25:00 +10:00
Jean-Yves Avenard
5b5bc32ab4 Bug 1304252: P2. Provide further error details for android decoder. r=gerald
MozReview-Commit-ID: 8xi9MBnZsfQ

--HG--
extra : rebase_source : 529c5185802b9e9a954e3993129a9c774210de7c
2016-09-21 13:22:31 +10:00
Jean-Yves Avenard
0ac98dd6e1 Bug 1304252: P1. Provide error details for ffmpeg decoder. r=gerald
MozReview-Commit-ID: A0qbYNm4CjX

--HG--
extra : rebase_source : 4c9c719e9a4310ef34b99bf491c7f76bd1e5e3e4
2016-09-21 13:21:27 +10:00
JW Wang
00c05e18ae Bug 1300714 - Don't force entering DECODING when playState becomes PLAYING. r=cpearce
For it doesn't guarantee a smooth playback with a little data buffered.

MozReview-Commit-ID: 5NNQ4Q8uz39

--HG--
extra : rebase_source : dab53162cc06ddc74cca08e910a19eff01446703
2016-09-06 16:40:30 +08:00
JW Wang
5e9751305f Bug 1303347 - add assertions for debugging if Observe() could ever happen after Unsubscribe(). r=cpearce
MozReview-Commit-ID: 9XhGYI3fTqb

--HG--
extra : rebase_source : b42dce2b15cb044871e355090dade17abf651ee9
2016-09-20 11:27:46 +08:00
Iris Hsiao
c82aa62cec Backed out changeset cf43cacdb262 (bug 1294232) for XPCShell failures
CLOSED TREE
2016-09-21 14:24:26 +08:00
Shane Caraveo
caf8a7af28 Bug 1304142 pocket a/b test updates, r=Gijs
MozReview-Commit-ID: ChBRc81QQ7Y

--HG--
extra : rebase_source : 56c0a97d4cd56e9a9f2b6307b23d4a1f3e0f31d1
2016-09-20 16:06:37 -07:00
Chris Pearce
7e7b3c9f0f Bug 1280829 - Only block non-MSE content which is encrypted once it reaches load metadata. r=jya
Previously, we'd block loading of non-MSE content when there was a MediaKeys
attached, that is, we'd assume that all content was EME content if a MediaKeys
was attached. But some sites attach a MediaKeys and then load non-MSE non-EME
content, and that (despite being a bit silly) shouldn't fail.


MozReview-Commit-ID: 9LupWaehXim

--HG--
extra : rebase_source : 6db281feb27a61b49dc565d4d4562a3d2366fc89
2016-09-21 13:04:01 +12:00
Gregory Szorc
08197be0d0 Backed out changeset e6b3befb87a2 (bug 1300807) for eslint bustage 2016-09-20 19:10:41 -07:00
Andrew Comminos
003ca59831 Bug 1294232 - Refactor blocklisting on Linux to support the downloadable blocklist. r=jrmuizel
MozReview-Commit-ID: ESJY9kkqXR8

--HG--
extra : rebase_source : 93a2794de72c53e7414e22e342940e48cf4da84c
2016-08-04 17:02:14 -04:00
Nicolas Chevobbe
4ea262bdad Bug 1303126 - Add a Rep for Symbols. r=Honza,linclark.
Simply displays `Symbol("foo")` as `Symbol(foo)`.
Adds a test file for testing SymbolRep renders as expected.

MozReview-Commit-ID: Kq2wucNASRk

--HG--
extra : rebase_source : 596ec8fba77a95a39718e39e4dc8f0e877f98c94
2016-09-16 12:06:11 +02:00
Matthew Wein
7c9e612290 Bug 1300807 - Switch to using a uuid for the PageAction ID. r=kmag
MozReview-Commit-ID: 4jlz9gdUuQd

--HG--
extra : rebase_source : e264242501856f7859dd5ca85bc81093d7929a25
2016-09-13 11:13:40 -07:00
Bob Silverberg
679d4fcd37 Bug 1280404 - Implement chrome.webNavigation.onTabReplaced, r=aswan
MozReview-Commit-ID: 6K167oHyqz2

--HG--
extra : rebase_source : 9b5b4caf61de22a94018d6d2a4a11f75f18ff207
2016-09-14 15:57:21 -04:00
Thom Chiovoloni
28e8c3a726 Bug 1297400 - Check for client cycles in the client tree in the bookmark validator r=markh
MozReview-Commit-ID: H0L6wbszmpc

--HG--
extra : rebase_source : ce9f606d76726dc51947d9abb17d354b91553171
2016-09-19 11:00:04 -04:00
James Cheng
8998232dfa Bug 1302336 - Rename ICodecManager into IMediaManager. r=jolin
MozReview-Commit-ID: JGIW3BfAwCI

--HG--
extra : rebase_source : fc520f9badfffaea77d3ed54794ff1c74c453078
2016-09-14 11:07:45 +08:00
Jamie Nicol
22f1d4f009 Bug 1245959 - Check video frame has non-zero dimensions before sending image to compositor. r=nical
MozReview-Commit-ID: 6PlWqE6is7Z

--HG--
extra : rebase_source : df4ff6689eea6ff8e95dd0f6d7e3e37b994875a1
2016-09-19 14:41:36 +01:00
Jamie Nicol
dc6488e7d5 Bug 1245959 - Check plugin has non-zero dimensions before sending image to compositor. r=nical
MozReview-Commit-ID: KEd5IBUGlo6

--HG--
extra : rebase_source : b1719e8c1a5cbca40a3940cf9262a4bb28b93abe
2016-09-19 13:28:05 +01:00
Munro Chiang
c86b6515ad Bug 1297337 - implement mediaDevices.ondevicechange for Linux; r=jesup
MozReview-Commit-ID: 6cEq7xVUkhf

--HG--
extra : rebase_source : ee71fea0aa49452bcd403678b3c22c3fe3dd297c
2016-09-01 11:06:49 +08:00
Gregory Szorc
08eb7900f1 Bug 1303860 - Don't change directory when installing Mercurial; r=dustin
install-mercurial.sh was switching directories to /usr/local/mercurial
resulting in following actions adding files to that path. We don't
want that. So avoid the `cd` in install-mercurial.sh.

The main side effect of this change is that the desktop-test image is
now ~1.2 GB smaller because files aren't being saved to
/usr/local/mercurial.

MozReview-Commit-ID: Kyv8oXtvsda

--HG--
extra : rebase_source : f73dc49bf0fe457aebc6c858cd3fcaf6ce59ce6d
2016-09-19 14:15:06 -07:00
Gregory Szorc
4ac2e8dbdc Bug 1302907 - Run mozharness from source checkout if available; r=dustin
Currently, build tasks produce a zip file artifact containing the
content of testing/mozharness.  This zip file is downloaded and applied
by any test using mozharness (which is most of them).

Now that some tests have a source checkout, we don't need to download
a mozharness zip because we can just use the source checkout.

This commit teaches test-ubuntu.sh to accept a custom path to
mozharness files. If that path is defined, we skip downloading the
mozharness zip.

The taskgraph has been updated to pass the path of mozharness in the
checkout to test-ubuntu.sh when a source checkout is available.

MozReview-Commit-ID: 2P17Wx1oytI

--HG--
extra : rebase_source : a631a87737b253aece3bbc550ce58168212ae87c
extra : source : 21fdf73bbb17e34cfe00e372695c4f21e4ba3e6a
2016-09-14 18:20:57 -07:00
Gregory Szorc
92ca1ebc2f Bug 1302907 - Use relative path to mozharness configs; r=dustin
Same deal as the last commit except for config paths.

MozReview-Commit-ID: 3AXwc3i3Iqu

--HG--
extra : rebase_source : 588020b22853f669d9b9ec1b368d82f4b6f14a97
extra : source : dda84d1fb12b3416c81aab675c58b95ecb9f37cd
2016-09-14 17:07:04 -07:00
Gregory Szorc
2316b36f83 Bug 1302907 - Use relative path to mozharness script; r=dustin
Mozharness scripts all live in "mozharness/scripts." So, we don't need
to redundantly define this path. Let's define the script as the relative
path within "mozharness/scripts" instead.

IMO this cosmetic improvement can stand on its own. However, the real
reason for this change is to pave the way for running mozharness from
a source checkout instead of downloading a zip archive of it.

MozReview-Commit-ID: FUnMiLlCcGK

--HG--
extra : rebase_source : 8e11f98dc2f63fa7d7fbd893d68e3c6d475a5759
extra : source : 11ffdc56f5becfeb2ee03423f67749f4baf1f3a7
2016-09-14 16:56:55 -07:00
Gregory Szorc
6598b921fb Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d

--HG--
rename : taskcluster/scripts/tester/test-ubuntu1604.sh => taskcluster/scripts/tester/test-ubuntu.sh
extra : rebase_source : 29040c1cf7baedda0aaeff4bd788d5d400c127f1
extra : source : f227ea4d52fed84e3e682de0aa4cb8869539d645
2016-09-20 17:17:18 -07:00
Jean-Yves Avenard
7fb621f0d6 Bug 1303902: [FLAC] Actually check that we found the first frame. r=kamidphish
MozReview-Commit-ID: 3VRf49DqB00

--HG--
extra : rebase_source : b357a310bf6242b07a1c72ce05ae285fe18cd2a1
2016-09-20 11:43:23 +10:00
Felipe Gomes
e2db273a55 Bug 1304113 - Change tab switching telemetry probes to be opt-out. r=bsmedberg,mconley data-r=bsmedberg
MozReview-Commit-ID: 9gvaE31vizm

--HG--
extra : rebase_source : b5c05db651b678d680c4eb4c4bc40b3b96992c7e
2016-09-20 15:23:10 -03:00
Miko Mynttinen
54872a7fbf Bug 1301818 - Prepare BSPTree for integration with the layers code r=kip
MozReview-Commit-ID: ADJvCZYSk6p

--HG--
extra : rebase_source : 4cfef6cb4344323229da9001de07616621cd5369
2016-09-16 16:03:32 -07:00
Panos Astithas
e921ce95e5 Ensure one-off search buttons are enabled in the URL bar while running browser_autocomplete_autoselect.js (bug 1303811). r=adw
MozReview-Commit-ID: CK97lT8SxV1

--HG--
extra : rebase_source : 231cdb29e7ba9e59d29a0591fb63fd0601c99bec
2016-09-20 11:07:10 +03:00
Tom Tromey
90893e8388 Bug 1301854 - detect BOM when determining resource encoding; r=pbro
MozReview-Commit-ID: 6akivZSRwVN

--HG--
extra : rebase_source : c261a56ac6c3ba07ed3ec911420e23fafe96b0f8
2016-09-16 13:02:33 -06:00
Enes Goktas
2f65f683e3 Bug 1272629 - Add taskcluster task to build binutils package; r=glandium
MozReview-Commit-ID: AEOShpN8ZMI

--HG--
extra : rebase_source : fc8b99002c4944ae666b1a6922edc42d2b0805f4
extra : source : 86d07e6bd5b7197f249e5064ee600fe83b808fb1
2016-09-14 18:47:50 -07:00
Gregory Szorc
e47aeebb80 Bug 1272629 - Add bison package to desktop-build image; r=glandium
We can't add it to the base image because rebuilding the base image
breaks Valgrind due to non-deterministic package version installation
(read the bug for the ugly backstory).

MozReview-Commit-ID: ARKJZfNCRFc

--HG--
extra : rebase_source : 6a36b1289d121367c89c986f86faf1e34a38a906
extra : source : 66c7af8b26544e79b39b7180cb7338bbc2642064
2016-09-14 18:49:53 -07:00
Andrew McCreight
58a9259670 Bug 1292694 - Don't skip marking at Shutdown due to fear of "bad locking problems". r=mrbkap
MozReview-Commit-ID: HetNpQR2s8Y

--HG--
extra : rebase_source : 727a86bcacf35c6f0ab68ba69d1860839cb27730
2016-08-05 15:19:41 -07:00
Masayuki Nakano
eac959a338 Bug 1300003 part.6 NativeKey shouldn't try to dispatch plugin events for removed char messages when mWidget won't dispatch plugin events r=m_kato
Currently, NativeKey::DispatchPluginEventsAndDiscardsCharMessages() calls nsWindowBase::DispatchPluginEvent() and nsWindowBase::DispatchPluginEvent() does nothing when windowless plugin doesn't have focus.  However, this is unclear when other developers read the code of DispatchPluginEventsAndDiscardsCharMessages() and it causes unnecessary virtual calls.  So, it should try to dispatch plugin events only when a windowless plugin has focus.

For making the check safer, nsWindowBase should expose the method to check it as ShouldDispatchPluginEvent().  Unfortunately, we cannot mark this method as const due to PluginHasFocus() needs to be not const method, though.  Then, for loops in DispatchPluginEventsAndDiscardsCharMessages() should check it at each try.

This change helps to log the behavior (working on bug 1297013) without noise.

Additionally, this patch renames the method to MaybeDispatchPluginEventsForRemovedCharMessages() because it doesn't remove any char messages anymore.

MozReview-Commit-ID: F14Lcx47M6U

--HG--
extra : rebase_source : 64b6da75590c99299f75358023844762198136d6
2016-09-15 00:16:18 +09:00
Masayuki Nakano
050c1b4088 Bug 1300003 part.5 Remove odd WM_CHAR messages which are caused by ATOK or WXG (both of them are Japanese IME) r=m_kato
NativeKey removes odd WM_CHAR messages which are caused by ATOK or WXG if the user tries to do "Kakutei-Undo" (meaning "undo the last commit") after dispatching eKeyDown event.

However, NativeKey should remove them from the queue first because there are some problems:

* If focus is moved during dispatching an eKeyDown event, we'll fail to remove the messages from the queue.
* If dispatching eKeyDown advance native event loop due to entering to a modal loop or dosing synchronous XHR, the message pattern is broken before removing the odd messages from the queue.

After removing the odd char messages, NativeKey should store them with mRemovedOddCharMsgs because NativeKey needs to dispatch them to focused windowless plugin.

Note that this patch also fixes a bug of the loop to remove the odd WM_CHAR messages.  Old code removes only one WM_CHAR messages, but we need to remove all WM_CHAR messages before WM_KEYUP.  This must be a regression.

MozReview-Commit-ID: I60bcIx2SFS

--HG--
extra : rebase_source : 19d0e70d9f39e6d0476c62def5e0a2dc1e0ab444
2016-09-14 16:20:53 +09:00
Masayuki Nakano
c0ad8a8fb2 Bug 1300003 part.4 Remove NativeKey::mIsFollowedByNonControlCharMessage because calling NativeKey::IsFollowedByNonControlCharMessage() is enough fast r=m_kato
NativeKey is now removing and storing following char messages when it's created for a keydown message.  Therefore, IsFollowedByNonControlCharMessage() just refers the stored messages and it's enough fast.  So, we can get rid of mIsFollowedByNonControlCharMessage.

MozReview-Commit-ID: 542A2sHNXeC

--HG--
extra : rebase_source : e748c9855c3cf2d45609f94f9ccc8d43d29dc447
2016-09-05 21:47:58 +09:00
Masayuki Nakano
308955d236 Bug 1300003 part.3 NativeKey::GetFollowingCharMessage() should always remove following WM_CHAR message r=m_kato
GetFollowingCharMessage() is now called only when removing following char message.  Therefore, it does not need to have the optional argument indicating if removing the found message.

MozReview-Commit-ID: 7P39wyfSC1

--HG--
extra : rebase_source : a38bb961df1bc03adc21295bc39e4e9c16e864f2
2016-09-05 21:41:48 +09:00
Masayuki Nakano
6934d7ed93 Bug 1300003 part.2 Don't continue to dispatch eKeyPress event at handling WM_KEYDOWN or following WM_CHAR messages if focused window is changed during dispatching an event r=m_kato
While dispatching an event, focused widget may be changed.  In such case, NativeKey shouldn't continue to dispatch remaining events (eKeyPress events) for preventing to dispatch to input text in unexpected website.

MozReview-Commit-ID: 7geuqks0LQK

--HG--
extra : rebase_source : 3e6c82e1eb0e27115fe93b1a3b4a155914fd06f7
2016-09-05 18:56:34 +09:00
Masayuki Nakano
af43a9e1dc Bug 1300003 part.1 NativeKey should remove following char messages before dispatching a keydown event r=m_kato
In some cases, we may receive following char message of WM_*KEYDOWN *during* dispatching an eKeyDown event. In such case, NativeKey shouldn't dispatch eKeyPress event twice (one is caused by receiving WM_*CHAR message, the other is caused by post dispatching eKeyDown event code).

This patch makes NativeKey consume following WM_*CHAR messages before dispatching eKeyDown.  Therefore, the former case will never occur.

For doing that, NativeKey stores following WM_*CHAR messages in mFollowingCharMsgs and uses it when it needs to dispatch eKeyPress events for each WM_*CHAR message.

MozReview-Commit-ID: 6QNvlwVVlTz

--HG--
extra : rebase_source : c33b5a1ac503326d51ef78f4f8a09c9a63df7871
2016-09-15 00:02:15 +09:00
Jamie Nicol
363f957b1f Bug 1288446 - Call glCheckFramebufferStatus after glFramebufferTexture2D to avoid driver crash; r=jrmuizel
Some PowerVR SGX540 devices running Android 4.0 were crashing when
uploading texture data with glTexSubImage2D. This was unearthed by a
Skia upgrade which removed what should have been an unnecessary OpenGL
call. This reinstates the OpenGL call which prevents the crash, but at a
GLContext level rather than in Skia.

MozReview-Commit-ID: Dub8VSs2Dzd

--HG--
extra : rebase_source : 7584b2a71656c78055d1a3cd1410c2a1bd8e70b3
2016-09-08 15:29:44 +01:00
Jarda Snajdr
78964259b9 Bug 1152441 - Part 2: Rewrite the marker view to use React and the Tree component r=gregtatum
MozReview-Commit-ID: 5TNNsVSql46

--HG--
extra : rebase_source : 61e2bdc9b2b6e4757435f9e3125292549db75c21
2016-09-09 16:55:54 +02:00
Jarda Snajdr
2d604e3b72 Bug 1152441 - Part 1: Enhance the Tree component for use in performance waterfall r=fitzgen
MozReview-Commit-ID: 753IKgJF6Oj

--HG--
extra : rebase_source : 87461fc10e0725b96bf52f7b8a3cfb1f16ac4233
2016-09-09 16:54:05 +02:00
Luca Niccoli
dda95d5cd3 Bug 921063 - Lock and (potentially) wait for remote service startup. r=glandium
MozReview-Commit-ID: 5MRX9TtxTLo

--HG--
extra : rebase_source : d836573b16aa52199750f50208710294e921bfa1
2016-09-20 11:14:12 +02:00
Jean-Yves Avenard
40284ca39a Bug 1303673: P9. Make some GMP errors non fatal. r=cpearce
MozReview-Commit-ID: LMWQtJElle7

--HG--
extra : rebase_source : 02e9a30cf049d26b6e7f7f78c98d8b595a72cac5
2016-09-20 16:56:58 +10:00
Jean-Yves Avenard
84106ef146 Bug 1303673: P8. Details for the H264 converter. r=cpearce
Mark some errors as OOM as that's what they are.

MozReview-Commit-ID: 2YEgBjqzMEm

--HG--
extra : rebase_source : 2ae43c8252f93adf9d4b0f86de96875152f739a1
2016-09-20 16:32:04 +10:00
Jean-Yves Avenard
5bb9584b9b Bug 1303673: P7. Provide MFT error code. r=cpearce
MozReview-Commit-ID: BnKR6CKk3eU

--HG--
extra : rebase_source : 53c105d1da372bd89698756988723f9e5ce8bed0
2016-09-20 16:18:17 +10:00
Jean-Yves Avenard
78ecdd8c4e Bug 1303673: P6. Provide further error details for the apple decoders. r=cpearce
MozReview-Commit-ID: 1A0k5BWAlWW

--HG--
extra : rebase_source : da0e24eb45bbe3c07468ae84a8485a5d2f9671af
2016-09-20 16:05:32 +10:00
Jean-Yves Avenard
f8966bc13b Bug 1303673: P5. Provide warning when a MediaDataDecoder error occurs. r=cpearce
Warnings were provided earlier on and got removed. So we instead make it consistent across all decoders.

MozReview-Commit-ID: 53obtEClq98

--HG--
extra : rebase_source : f2e22e0d8ff33e8198b39f5a955b8f233a97daa6
2016-09-20 15:59:42 +10:00
Jean-Yves Avenard
485daa6ea7 Bug 1303673: P4. Provide GMP error code in MediaResult. r=cpearce
MozReview-Commit-ID: LfXNfMymvk4

--HG--
extra : rebase_source : 12c1bf1fe0245802429bbbbf75910f2906fde9f2
2016-09-20 15:57:32 +10:00