Commit Graph

54192 Commits

Author SHA1 Message Date
Bryce Van Dyk
f3afe526e9 Bug 1299756 - Update VideoPuppeteer __str__ to output played ranges. r=maja_zf
This is a quality of life change. Since VideoPuppeteer uses, and since I plan on
using the played ranges of a video element more, it is useful to output them as
part of the str representation.

MozReview-Commit-ID: LwVPfVtFF1v

--HG--
extra : rebase_source : 1ebe4b7a7176a15f7e9300dee84103a8f6b86708
2016-09-01 10:50:05 +12:00
Kartikaya Gupta
48a5a4c393 Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm
This patch prevents the Windows widget code from dispatching the contextmenu
event if APZ is handling touch input. Instead, the APZ code processes the
raw touch input, and will fire a contextmenu event when the user lifts their
finger after a long-press action, in keeping with the Windows platform
convention. Doing it this way also allows us to respect web conventions where
the web content can prevent the contextmenu event from firing by calling
preventDefault on the touchstart event; this was not possible when dispatching
the contextmenu event directly from the widget code.

This also makes long-pressing on browser chrome components work properly, as
it just shifts the point in time that the contextmenu event is fired without
changing any of the code that triggers the XUL popup. However, some changes
were needed to have the widget code ignore the synthetic mouse events that
the Windows platform sends us, because those would otherwise immediately
dismiss the contextmenu popup after it appeared.

MozReview-Commit-ID: 9HFZLC6xUAi

--HG--
extra : rebase_source : aea932d9f95454c585bcdf962d151c946b5c6ec2
2016-08-30 17:32:08 -04:00
Andi-Bogdan Postelnicu
038e7bc3cc Bug 1299749 - removed unused variable from SessionMessageTask. r=baku
MozReview-Commit-ID: 6QfkkCfQ60

--HG--
extra : rebase_source : 8dd222b4218f4b461e547713c5e0f45998a3569c
2016-09-01 11:55:49 +03:00
Andi-Bogdan Postelnicu
5543303791 Bug 1299762 - prevent string concatanation in string list initialization. r=baku
MozReview-Commit-ID: 446gukGBkvS

--HG--
extra : rebase_source : 79ee9fee386318b97b6754fb4218bb9618f29df8
2016-09-01 13:12:54 +03:00
Ryan VanderMeulen
37b200a0c5 Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
Ryan VanderMeulen
44f02640c6 Merge fx-team to m-c. a=merge 2016-09-01 11:48:45 -04:00
Ryan VanderMeulen
23932b1a58 Backed out 5 changesets (bug 1298768, bug 1297963) for causing widespread mochitest-bc failures.
Backed out changeset dedd56fa5c54 (bug 1297963)
Backed out changeset bc1ac59cfe8f (bug 1297963)
Backed out changeset a2e337d5aa02 (bug 1297963)
Backed out changeset e73da71408a3 (bug 1297963)
Backed out changeset 56f8bca8f8e8 (bug 1298768)

CLOSED TREE
2016-09-01 08:05:43 -04:00
Ryan VanderMeulen
6119440646 Backed out changeset 96ef0dd840e8 (bug 1299415) for TextureClient asserts/crashes in various test suites. 2016-09-01 08:01:58 -04:00
Aryeh Gregor
0c1d7143d1 Bug 984778 - Make hasFeature() and SVG requiredFeatures always return true; r=bz,longsonr
hasFeature() always returning true matches the current DOM spec.  SVG 2
has removed requiredFeatures.  Chrome has had both of these always
return true since 2014, and they seem to have had no problems.

Even requiredFeatures="" (empty string) now returns true, matching
Chrome.

MozReview-Commit-ID: 1LEu3iK4R94
2016-09-01 14:35:11 +03:00
Cameron McCormack
d3c7ea79a6 Bug 1297963 - Part 1: Preserve base URI on URLValueData objects. r=emilio
MozReview-Commit-ID: EqdYVp9JPsW
2016-08-29 18:17:26 +08:00
Sotaro Ikeda
758fb640f4 Bug 1299415 - Clear ImageContainer cached resources When VideoSink pause playing r=jwwang 2016-09-01 01:14:57 -07:00
Jean-Yves Avenard
78ef9147a0 Bug 1297265: P12. Rework WAV Decoder use of InputExhausted. r=gerald
MozReview-Commit-ID: A2BCy4hmL2

--HG--
extra : rebase_source : 4d6fee88561149c8c487ce915b0fa8e38fd8b7e4
2016-09-01 20:04:48 +10:00
Jean-Yves Avenard
7eeb483897 Bug 1297265: P11. Rework WMF Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: GX1izQd55Di

--HG--
extra : rebase_source : f3206a7d6e84d16f4e396819c19d306bd899b1ba
2016-09-01 19:43:16 +10:00
Jean-Yves Avenard
526bb76265 Bug 1297265: P10. Rework FFmpeg Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: 8fndcHQELTo

--HG--
extra : rebase_source : ee4d208b67964fbce0b618150c31f80938bea8f5
2016-09-01 19:42:39 +10:00
Jean-Yves Avenard
b2f24696fa Bug 1297265: P9. Rework Vorbis Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: 58KKxY1YcpK

--HG--
extra : rebase_source : e4ebf699c7eba1c68b874d02ccde2fb8bb3c4439
2016-09-01 19:41:53 +10:00
Jean-Yves Avenard
fe5751fd31 Bug 1297265: P8. Rework LibVPX Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: H7KnDpkcaeT

--HG--
extra : rebase_source : b2518d0e292a3e3ddb26048991216a228c09b2b3
2016-09-01 19:41:28 +10:00
Jean-Yves Avenard
b69bfcc9eb Bug 1297265: P7. Rework Theora Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: 1udj9o3r2YE

--HG--
extra : rebase_source : fa0a51879750f2d42720c08a4b21251b179dee96
2016-09-01 19:40:52 +10:00
Jean-Yves Avenard
713efe3bc1 Bug 1297265: P6. Rework Opus Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: 4Usxx2BrQJt

--HG--
extra : rebase_source : c0094e8a3d8ae393bf2f20b8f7d2217978eb0e75
2016-09-01 19:40:15 +10:00
Jean-Yves Avenard
9b83d16355 Bug 1297265: P5. Rework Blank Decoder use of InputExhausted. r=kamidphish
MozReview-Commit-ID: KEfWo1cdRkG

--HG--
extra : rebase_source : fc8c7b9cfb56c3c3cc1dcd56217dc64623c4a8ee
2016-09-01 19:39:28 +10:00
Jean-Yves Avenard
4eaa12cdd8 Bug 1297265: P4. Rework Apple AudioToolbox use of InputExhausted. r=kamidphish
MozReview-Commit-ID: HznYxl9T7t5

--HG--
extra : rebase_source : 5d338eee8fe9039a6887de7170046ba6f5f47609
2016-09-01 19:38:37 +10:00
Jean-Yves Avenard
92fc37ef91 Bug 1297265: P3. Rework Apple VT use of InputExhausted. r=me
The only time we need to use InputExhausted is for the initial video decoding or when a frame is dropped.

MozReview-Commit-ID: IrHqZXJwQe1

--HG--
extra : rebase_source : eb7ff378adafe05458b79a6c3b6c7593c84d40a2
2016-09-01 19:29:19 +10:00
Jean-Yves Avenard
eeb0e7dd1d Bug 1297265: P2. Amend MediaDataDecoder documentation to emphasize the new expected behavior. r=kamidphish
MozReview-Commit-ID: EHFnCnc58qh

--HG--
extra : rebase_source : 0163994bd82d6529d17fc50403956dd68df6cd62
2016-09-01 19:28:24 +10:00
Jean-Yves Avenard
d6a56e1228 Bug 1297265: P1. Remove decode ahead logic. r=kamidphish
The MediaFormatReader will no longer attempt to decode several frames in advance and ahead of the MDSM actually requesting it. The speed advantages were dubious at best, and as most MediaDataDecoders abused the use of InputExhausted callbacks we had to place artificial throttle that would often cause side effects.

As such, it is now expected that the MediaDataDecoder will now always call InputExhausted once Input has been called. InputExhausted indicates that the current decoding session has completed and the MediaDataDecoder is waiting for another input.

MozReview-Commit-ID: 9KUpNP9jozV

--HG--
extra : rebase_source : d261a5eb98de54d5bd29acb738c4205c56abca6b
2016-09-01 19:25:54 +10:00
Sebastian Hengst
43c6737660 Backed out changeset 53295d9cc8ef (bug 1297539) for failing own test /browser_bug1297539.js. r=backout 2016-09-01 09:14:28 +02:00
Sebastian Hengst
04d492d9a0 Backed out changeset b7c49e3bcf03 (bug 1297539) 2016-09-01 09:13:52 +02:00
Jean-Yves Avenard
64be3299d6 Bug 1299735: [FLAC] Fix reading of bit depth. r=JamesCheng
MozReview-Commit-ID: 8djHfIRY4kv

--HG--
extra : rebase_source : 3716cc0e3461080553fbc0cac1d99b9c9c1e9f29
2016-09-01 15:43:38 +10:00
Brian Birtles
dbdadee2fc Bug 1299695 - Rework animation phase and fill mode handling r=hiro
This reflects the following updates to the spec:

  9369384f6c

MozReview-Commit-ID: JYUOZcnPEJQ

--HG--
extra : rebase_source : 88e012f19b875d8e718770772189737e2c17ddaa
2016-09-01 10:57:55 +09:00
JW Wang
dd0c4e65ac Bug 1299074. Part 5 - remove unused members. r=kaku
MozReview-Commit-ID: DPDPuMKUNPv

--HG--
extra : rebase_source : b7d4ae01543d433e763591393b8b2a6390d02ec2
2016-08-30 16:48:09 +08:00
JW Wang
39dc5c1878 Bug 1299074. Part 4 - replace checks for IsDecodingFirstFrame() with !mSentFirstFrameLoadedEvent. r=kaku
MozReview-Commit-ID: 4ouQAdn4hbZ

--HG--
extra : rebase_source : a66defca7645b08a600b8a6f188918dfb4ac8032
2016-08-30 16:45:26 +08:00
JW Wang
442262c9fe Bug 1299074. Part 3 - check |mSentFirstFrameLoadedEvent| to know whether we can finish decoding first frames. r=kaku
MozReview-Commit-ID: 10VNH3rhPpy

--HG--
extra : rebase_source : 2ff6d30abdf5d6abb70be562183728be49a1f63d
2016-08-30 16:32:36 +08:00
JW Wang
a9f543d367 Bug 1299074. Part 2 - simplify the handling of pending seek in StartDecoding(). r=kaku
mSentFirstFrameLoadedEvent is sufficient to tell us whether we can handle the pending seek now or later.

MozReview-Commit-ID: KzDd2brvKPA

--HG--
extra : rebase_source : 3c01e4193789c2b535a68ba65d76373269acfc2f
2016-08-30 16:21:43 +08:00
JW Wang
30ac5c6fec Bug 1299074. Part 1 - fix the comment of mSentFirstFrameLoadedEvent because it is not necessarily related to dormant state. r=kaku
MozReview-Commit-ID: 8YewoncY46P

--HG--
extra : rebase_source : e8a21ec8a2ebfcd035d8ea4ba334ddcb2d332698
2016-08-30 16:11:58 +08:00
Phil Ringnalda
9f470c98e5 Backed out 11 changesets (bug 1297265) for gtest timeouts during MediaDataDecoder.H264
Backed out changeset 04d9b7160ac9 (bug 1297265)
Backed out changeset c7bffd1ba7fd (bug 1297265)
Backed out changeset ad1915ff688b (bug 1297265)
Backed out changeset 67a97304d44d (bug 1297265)
Backed out changeset e6b9e6184457 (bug 1297265)
Backed out changeset 30636ac0790f (bug 1297265)
Backed out changeset cc70d3a139bc (bug 1297265)
Backed out changeset 345a577c92a1 (bug 1297265)
Backed out changeset ec1f3ac8751c (bug 1297265)
Backed out changeset da9117375d2e (bug 1297265)
Backed out changeset dd4c7aafcc3d (bug 1297265)
2016-08-31 19:49:28 -07:00
Jimmy Wang
407529424f Bug 1297539 - Send message PasteTransferable if the focused element is on the content process, otherwise pass the transferable to the controller directly. r=mrbkap
MozReview-Commit-ID: Bj3mY23YUDT

--HG--
extra : rebase_source : d55a51b0ac01f07fdc6a3cbcaca08bca8d0520fc
2016-08-23 20:00:27 -04:00
Jimmy Wang
daac24680a Bug 1297539 - Add IPC message, PasteTransferable, to call PasteTransferable via a controller on the content process to handle the command content event, "pasteTransferable". New method nsContentUtils::IPCTransferableToTransferable since ContentParent::RecvSetClipboard and TabChild::RecvPasteTransferable both require the same setup to make a transferable. r=mrbkap
MozReview-Commit-ID: 3I443eBOPEO

--HG--
extra : rebase_source : 8cdd9d917685240c64155bd230405876c2c2258e
2016-08-30 21:30:45 -04:00
Ryan VanderMeulen
f2ae8f9bce Merge m-c to autoland. a=merge 2016-08-31 22:34:02 -04:00
Ryan VanderMeulen
3611a7607d Merge inbound to m-c. a=merge 2016-08-31 22:33:17 -04:00
Wes Kocher
a6fa167a46 Merge fx-team to central, a=merge 2016-08-31 17:11:06 -07:00
Kannan Vijayan
e7cae3eb49 Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-08-31 18:14:24 -04:00
Ehsan Akhgari
d05eb37eea Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
Jared Wein
b2e0fdce56 Bug 1297993 - Include the ID of the offending <key> element in the key conflict message. r=masayuki
MozReview-Commit-ID: 7hZLCZqfHAy
2016-08-31 12:53:24 -04:00
Sebastian Hengst
941049b1bd Backed out changeset f2eecd2e2d6d (bug 1295352) for failures in bc4 browser_devices_get_user_media.js on Linux. r=backout 2016-08-31 22:55:52 +02:00
Sebastian Hengst
6cb1f6b5fa Backed out changeset 6e5f577382c9 (bug 1295352) 2016-08-31 22:55:52 +02:00
Sebastian Hengst
bafd0bc35d Backed out changeset 3a4afeb8a046 (bug 1295352) 2016-08-31 22:55:52 +02:00
Sebastian Hengst
c3a1916fe2 Backed out changeset 2bfe422ebb45 (bug 1295352) 2016-08-31 22:55:51 +02:00
Sebastian Hengst
1c86a65d88 Backed out changeset c809cf08cc13 (bug 1295352) 2016-08-31 22:55:51 +02:00
Sebastian Hengst
0e10cf2889 Backed out changeset 6ee63db87f1e (bug 1295352) 2016-08-31 22:55:51 +02:00
Sebastian Hengst
dad02d3b2d Backed out changeset a8c6adebc4ea (bug 1295352) 2016-08-31 22:55:51 +02:00
Sebastian Hengst
a108edd782 Backed out changeset 2e6134a7093b (bug 1294605) 2016-08-31 22:55:51 +02:00
Sebastian Hengst
596401644d Backed out changeset 8a1756ac9539 (bug 1294605) 2016-08-31 22:55:51 +02:00