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

23052 Коммитов

Автор SHA1 Сообщение Дата
Jing-wei Wu 06f1e7cc9f Bug 1329128 - Part 2: Implement create bookmark folder page. r=ahunt,Grisha
MozReview-Commit-ID: JtSklBDUq7L

--HG--
extra : rebase_source : bb59a0974f6b56ff9630181c3d8345ffe5cbfaf1
2017-05-05 00:56:55 +08:00
Jing-wei Wu 88e8de85ed Bug 1329128 - Part 1: Implement the functionality of remove bookmark folder in BrowserProvider. r=Grisha
MozReview-Commit-ID: GQfM4Z9zU2x

--HG--
extra : rebase_source : 41ad92ab139214f900e6b70e8fc9972adb0f0d72
2017-05-02 17:52:55 +08:00
Jing-wei Wu e1fe7cc7e3 Bug 1329131 - Part 2: Implement selecting bookmark folder page. r=Grisha
MozReview-Commit-ID: 6uEC9iauvZj

--HG--
extra : rebase_source : fd022ccdc3841c697aef7e5b2305afd04fd1ab5e
2017-04-24 00:41:46 +08:00
Jing-wei Wu a381669023 Bug 1329131 - Part 1: Implement the functionality of listing all bookmark folders except special folders. r=Grisha
MozReview-Commit-ID: AK79E6kkXFI

--HG--
extra : rebase_source : 2f3730fd29c4d304342e631cb4a4f9289fe15ce5
2017-04-21 18:31:03 +08:00
Alastor Wu c821469fbb Bug 1357639 - part11 : increase the waiting time for notification UI changed. r=sebastian
I observe that sometime it takes longer time for the UI notification changed in
try sever, and it cause the intermittent fail.

Therefore, I would like to increase a little bit time for waiting UI changed.

MozReview-Commit-ID: BnsZq3DObFa

--HG--
extra : rebase_source : 034f38799a2f9722f23bb0a2a139047d21508729
2017-05-09 10:51:52 +08:00
Alastor Wu bf83e1f904 Bug 1357639 - part10 : check notification id. r=sebastian
Use notification id to check whether the notification is correct is more stable than just checking the
number of system notification.

MozReview-Commit-ID: BVYdMrBsSLR

--HG--
extra : rebase_source : 9be3ca9a854c25a61bf233a24e7ed7745efacb1a
2017-05-09 10:51:27 +08:00
Alastor Wu 33a5f6f6ea Bug 1357639 - part9 : wait tab event to make sure media started successfully. r=sebastian
Since the robocop tests would run on super slow emulator on try, and then we
can't wait the tab's audible state change within the MAX_WAIT_MS time. It might
need more time.

So, we should check the media has been started by waiting the "Tab:MediaPlaybackChange"
event, and then to check other tab's attribute.

In addition, move the tab attribute checking independently into new functions,
so that we would clearly see that we have four things need to check in function
checkIfMediaPlayingSuccess().
- tab's media playing state
- media notification UI
- tab's audio playing state
- audio focus state

MozReview-Commit-ID: 8S0Ems23iPX

--HG--
extra : rebase_source : 9bbe525ba1dcdf8415d034ced39d9a9a4836f1e9
2017-05-08 14:10:59 +08:00
Alastor Wu 2cd810d300 Bug 1357639 - part8 : add annotiation @RobocopTarget. r=sebastian
To make sure these functions can be used in robocop test.

MozReview-Commit-ID: KPAKOrg5Ows

--HG--
extra : rebase_source : 8ef6dd7c14e8dc0d3219aed0901793a17f945372
2017-05-08 14:10:56 +08:00
Alastor Wu 984b8d5b93 Bug 1357639 - part7 : add check for notification's content. r=sebastian
Add check for media notification's small icon, title and content text.

MozReview-Commit-ID: AOhag8gQVqs

--HG--
extra : rebase_source : 8ad1c7fa0e7796a0d873fba432c646846a0742d3
2017-05-08 14:10:54 +08:00
Alastor Wu 914b4abd82 Bug 1357639 - part6 : list all test tasks in the ctor. r=sebastian
It's easy to know what test tasks we'll run in this test.

MozReview-Commit-ID: DdtFp4pOXlC

--HG--
extra : rebase_source : 5615d2c1169ee0f59c95ab21d3e5e2fd26c99a33
2017-05-08 14:10:51 +08:00
Alastor Wu 99f67571e1 Bug 1357639 - part5 : create new type test class for media playback. r=sebastian
Create new test class for reducing the redundant code and can provide more
flexibility for adding new related test in the future.

MozReview-Commit-ID: 2f3O8vfHo12

--HG--
extra : rebase_source : 2b0d7a337c87afd8e844f435f7e605b881f1aa1b
2017-05-08 14:10:48 +08:00
Alastor Wu 7e133c4d94 Bug 1357639 - part4 : add Fennec test for media control and audio focus. r=sebastian
Add robocop tests and mochitest chrome.

MozReview-Commit-ID: JofkKRSNdB5

--HG--
extra : rebase_source : ffca871a0ea6a041beb4c14b0792dc72b8d2d40d
2017-05-08 14:10:46 +08:00
Alastor Wu 94a68ad4a5 Bug 1357639 - part3 : change audio focus state before notifying observers. r=sebastian
Notify observer might cause the method (notifyStoppedPlaying) is called by C++ side,
and we should change our internal state before calling the method.

MozReview-Commit-ID: 5xNXhGmAIrR

--HG--
extra : rebase_source : 362f921e68d795f568816b1c0a23c0f50c5d0790
2017-05-08 14:10:43 +08:00
Alastor Wu f9a25d2f2f Bug 1357639 - part2 : use enum for audio focus states. r=sebastian
MozReview-Commit-ID: LwLxs7WS5XF

--HG--
extra : rebase_source : e220227d7e08fde2731221c34a37c25061bad8c7
2017-05-08 14:10:41 +08:00
Alastor Wu d9cc434862 Bug 1357639 - part1 : change tab's media playing state when the tab is controlled by media control. r=sebastian
MozReview-Commit-ID: HGuMXut29uB

--HG--
extra : rebase_source : fe78344533cb691562e31ce68b382d8e514b349b
2017-05-08 14:10:39 +08:00
Tom Klein 0bfa0260c1 Bug 1363551 - Remove unused TabsLayoutRecyclerAdapter. r=sebastian
MozReview-Commit-ID: EMsVY1Edime

--HG--
extra : source : ae01497c1ed8ee14a7fb26f2f8c7380cc8ee8e24
2017-05-09 17:37:02 -05:00
Wes Kocher e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Mark Banner 0ae981d837 Bug 1363353 - Apply mozilla/recommended ESLint rules to mobile/android. r=sebastian
MozReview-Commit-ID: D0oCUcq3KNB

--HG--
extra : rebase_source : 4fbfa8a79e3f311ee5332ed207600ce94b829df1
2017-05-09 13:55:49 +01:00
Mark Banner b0c63f1126 Bug 1363353 - Rename the .eslintrc files for mobile to .eslintrc.js to match the rest of the tree. r=sebastian
MozReview-Commit-ID: 8XkJGyGkOW8

--HG--
rename : mobile/android/.eslintrc => mobile/android/.eslintrc.js
rename : mobile/android/chrome/content/.eslintrc => mobile/android/chrome/content/.eslintrc.js
extra : rebase_source : 8d6a5f6fa071be4e62738075f69d15f14ec42a68
2017-05-09 13:55:21 +01:00
Dale Harvey 1857d4538d Bug 1357438 - Add form assist popup to custom tabs / webapps. r=walkingice 2017-05-09 09:01:08 -04:00
Carsten "Tomcat" Book 76ca853e3e Merge mozilla-central to mozilla-inbound 2017-05-09 14:40:11 +02:00
Gijs Kruitbosch 70316b8ea8 Bug 1358248, r=nechen,evanxd
MozReview-Commit-ID: 1EBZFcyvmY1

--HG--
extra : histedit_source : 62066947ec5c3eb6218869be6131dcae15159d74
2017-04-22 15:00:22 +01:00
Jan Henning d5d0cff6cf Bug 1363074 - Part 2 - When skipping the selected tab during session restore, don't select a replacement if we're also opening an URL from our launch intent. r=walkingice
When starting up, ideally we want to only load the foreground tab, with all other tabs being created as delay-loaded "zombie" tabs that occupy minimal resources. To that extent, when restoring the previous session we need to know whether we're planning to open an additional, external tab for a URL received through the launch intent later on. If we do, we don't want to select any tab while restoring the previous session, as that selection is going to be overridden by the external tab anyway. Not selecting a tab from the previous session at this stage means that it can remain as a delay-loaded tab until it is eventually selected by the user.

MozReview-Commit-ID: 1lWnOx0ZuNl

--HG--
extra : rebase_source : 03a286ec3e1c66856d2ffb526cd4277c89b29594
2017-05-08 21:55:07 +02:00
Jan Henning 3e994206e0 Bug 1363074 - Part 1 - Clarify meaning of "isExternalURL" variable during session restore. r=walkingice
MozReview-Commit-ID: JnUiPSiqEhd

--HG--
extra : rebase_source : b66b395271bff0c33585789eb87116bca2d4d864
2017-05-08 21:51:34 +02:00
John Lin cd8259e1ee Bug 1361679 - use MediaCodec async API on supported devices. r=esawin
MediaCodec supports async callbacks since Lollipop. Buffer polling is no longer needed.

MozReview-Commit-ID: Iov65JI86i8

--HG--
extra : rebase_source : c3b0ed330e46ee2328de4d031c96f9792895c3b5
2016-12-30 13:52:08 +08:00
Wes Kocher cbfdaf8fb2 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 5kxOZZxjMEl
2017-05-08 16:07:25 -07:00
Paolo Amadini eddc9033bf Bug 1254558 - Remove about:config preferences only used by the legacy nsIDownloadManager code. r=mak
MozReview-Commit-ID: 7XSnNdirh8s

--HG--
extra : rebase_source : 9b475be16843af7c3dd2244ef43cd34b1c8e5ea3
2017-05-05 11:51:09 +01:00
Dylan Roeh 54cf076aa4 Bug 1325021 - Reduce reliance on GeckoAppShell.getGeckoInterface to solve some custom tabs crashes. r=jchen 2017-05-08 08:48:16 -05:00
Mats Palmgren ab81bf6d9e Bug 1359411 - Backout bug 1328030 since it caused a hang which is strictly worse than the original problem. r=smaug
MozReview-Commit-ID: C12Tajtc7Vy
2017-05-07 22:54:18 +02:00
Carsten "Tomcat" Book 3e473f5e15 Merge mozilla-central to autoland 2017-05-08 10:31:16 +02:00
Jonathan Hao 6a8a4ca331 Bug 1357997 - Use ProxySelector.openConnection instead of url.openConnection. r=sebastian
MozReview-Commit-ID: CAF2Ir81Fq

--HG--
extra : rebase_source : 3e360c067f8033bf072e1f608ce531628ae493cb
2017-04-25 12:01:46 +08:00
Sebastian Hengst 6ff84ee171 Backed out changeset b50714bd8d10 (bug 1322650) for failing chrome's test_video_discovery.html and mda's test_Eviction_mp4.html, both on Android. r=backout 2017-05-05 18:55:11 +02:00
Sebastian Hengst 087bd41f0f Backed out changeset 9badb2705567 (bug 1322650) 2017-05-05 18:54:09 +02:00
Sebastian Hengst eb6ea2b139 Backed out changeset 4135178bae2b (bug 1322650) 2017-05-05 18:53:55 +02:00
Sebastian Hengst 258857a6e9 Backed out changeset b79cbaa5cf1a (bug 1322650) 2017-05-05 18:53:50 +02:00
Sebastian Hengst f3bfd1e1da Backed out changeset d6516a10c808 (bug 1322650) 2017-05-05 18:53:40 +02:00
Sebastian Hengst b66276dd92 Backed out changeset 698a25fb6e01 2017-05-05 18:53:21 +02:00
James Willcox 5d0885869a No bug, fix up checkstyle failure NOBUILD
MozReview-Commit-ID: 3itUJgA2AKg
2017-05-05 09:14:35 -05:00
James Willcox 9392b1227a Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-05 08:56:36 -05:00
James Willcox 086a858585 Bug 1322650 - Don't use inout param for Surface in ICodec r=jolin
It's unnecessary, and the serialization goes wrong with GeckoSurface on the return trip.

MozReview-Commit-ID: 9DUMoLQFhlv
2017-05-05 08:56:34 -05:00
James Willcox e92f96eef9 Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
MozReview-Commit-ID: EXQ5YDSMMGL
2017-05-05 08:56:32 -05:00
James Willcox a7f7a7b630 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-05 08:56:28 -05:00
James Willcox 6b95623eac Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-05 08:56:27 -05:00
Carsten "Tomcat" Book fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Jim Chen 8d537c0b39 Bug 1360629 - Update NDK on builders to include AArch64/ARM64 support; r=nalexander
Use a new version of the packaged NDK that includes AArch64/ARM64
support and includes the 'source.properties' file, so we can detect the
NDK version.
2017-05-04 19:19:30 -04:00
Honza Bambas a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Michael Kaply 50f2aad9c2 Bug 1320072 - Backout intent change - broke partner Google test. r=snorp 2017-05-04 12:27:35 -05:00
John Lin 89eafb3c7e Bug 1350279 - try other codecs when first one failed to create. r=esawin
Video fails to play on Sony Z3C when the media server is in a state that no hardware codec can be created unless reboot. Fallback to software codec when that happens to workaround the issue.

MozReview-Commit-ID: AaRIw7KPaF3

--HG--
extra : rebase_source : d5106d5c75c4430450a81bbe9cfd536f01ef4df9
2017-05-02 15:52:45 +08:00
Wes Kocher 4e89a77541 Merge m-c to autoland, a=merge
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
Wes Kocher 21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00