Commit Graph

489733 Commits

Author SHA1 Message Date
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
Jarda Snajdr
7b300fe2fb Bug 1298225 - Format clipboard text of console stack traces into multiple lines r=bgrins
MozReview-Commit-ID: HkCFEwjhCwx

--HG--
extra : rebase_source : ea50fd4576f9f264890e97b10cd2328224c64880
2016-08-30 12:34:22 +02:00
Masayuki Nakano
8087f7b562 Bug 1293505 part.3 Fix wrong key emulation in test_keycodes.xul r=m_kato
Some tests in test_keycodes.xul emulate native key event with printable character even when Ctrl or Alt key is pressed.

With en-US keyboard layout, Ctrl+[A-Z] causes a control character's WM_CHAR message. However, the other OEM keys and numeric keys don't cause WM_CHAR message when Ctrl is pressed.  So, we need to fix some wrong emulations in it now.

MozReview-Commit-ID: bhF5XeClnd

--HG--
extra : rebase_source : 16b7c1e725cf8877b2b44f8d7f52e129889ed25f
2016-08-31 17:36:53 +09:00
Masayuki Nakano
1604e5479f Bug 1293505 part.2 KeyboardLayout::SynthesizeNativeKeyEvent() should emulate WM_SYEKEYDOWN, WM_SYSCHAR, WM_SYSDEADCHAR and WM_SYSKEYUP correctly r=m_kato
The new test failure is caused by a bug of the test API, KeyboardLayout::SysnthesizeNativeKeyEvent().  It doesn't generate WM_SYSKEY* messages nor WM_SYS*CHAR messages when Alt key is pressed.  Therefore, the new path in the previous code works unexpectedly with automated tests.

This patch makes KeyboardLayout::SysnthesizeNativeKeyEvent() WM_SYS* message aware.  When Alt key is pressed (but Ctrl key is not pressed) and the Alt key + something doesn't cause text input, the API generates WM_SYS* messages as expected.

MozReview-Commit-ID: FLbe4SYEZLf

--HG--
extra : rebase_source : 054147997eddfb01dbad63afc07e0b4f59a60257
2016-08-31 16:42:27 +09:00
Masayuki Nakano
98601adf03 Bug 1293505 part.1 NativeKey should treat a key message as printable key's when the key message is followed by a printable char message r=m_kato
Some keyboard utilities for Windows can change non-printable keys to printable keys.  Therefore, if a keydown message is followed by one or more char message whose wParam isn't a control character, NativeKey should treat it as a printable key's event.

MozReview-Commit-ID: HoFbz5Zafeh

--HG--
extra : rebase_source : 9001c58cb082a93946e1b4c445dfe71f15d08997
2016-08-26 22:12:58 +09:00
Henrik Skupin
4e8321ae87 Bug 1298233 - Skip test for platform buildid in test_appinfo.py r=maja_zf
MozReview-Commit-ID: 72TpI5mA3fW

--HG--
extra : rebase_source : 9ce384e8cd7655e09f976222cd888e795f05558b
2016-08-31 23:39:54 +02:00
Mark Banner
38ec943c53 Bug 1295606 - Remove unused Histogram definitions now that Loop has been removed. r=bsmedberg
MozReview-Commit-ID: Cd8MwyzWn8f

--HG--
extra : rebase_source : 2a653a33110a5b1507ef1545e1924d20f2c1d874
2016-08-16 16:50:05 +01: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
Sebastian Hengst
d574cf4f3d Backed out changeset f2cd09361916 (bug 1297539) 2016-09-01 09:13:48 +02:00
Sebastian Hengst
40638410ec Backed out changeset 54efec27fb40 (bug 1297539) 2016-09-01 09:13:38 +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
Ryan VanderMeulen
663abbf994 Bug 1297539 - Add missing newline to end of browser_bug1297539.js to please ESLint. 2016-08-31 22:57:37 -04: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
Rob Wu
73811a0f67 Bug 1298716 - Unify use of ExtensionTestUtils.loadExtension r=billm
MozReview-Commit-ID: DT6rx6KYODl

--HG--
extra : rebase_source : b37924fe255993006fc9a7dfa115d0527d6d0e10
2016-08-28 17:22:03 -07:00
Rob Wu
105b7c01d0 Bug 1298716 - Serialize extension in ExtensionTestUtils.loadExtension r=billm
MozReview-Commit-ID: BUK2QnMmXp7

--HG--
extra : rebase_source : f98d167db8067a59666c1b260e2c031fb6fbbbae
2016-08-28 16:35:00 -07:00
Jimmy Wang
64b87bb682 Bug 1297539 - Write test for content event 'pasteTransferable' for the remote case. Ensures that EventStateManager dispatches the transferable correctly to TextEditor::PasteTransferable for plain text and HTMLEditor::PasteTransferable for html. r=mrbkap
MozReview-Commit-ID: Hz36piNqX31

--HG--
extra : rebase_source : 39ebcb5647caa673c6729caac67ce020bd53d356
2016-08-30 22:02:56 -04: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
Edouard Oger
7d54172fb4 Bug 1295348 - Send/Handle push messages for send tab to device on Fennec. r=Grisha,sebastian
MozReview-Commit-ID: 1NSMPLQdoXv

--HG--
extra : rebase_source : 4a350317a15d3649a966d8bc4bcd762259cc059a
2016-08-25 16:25:58 -07: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
Wes Kocher
338962fe89 Merge autoland to central, a=merge 2016-08-31 16:54:58 -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
Bobby Holley
eef73cf01e Bug 1299629 - Tweak stylo path for nsPresContext::HasCachedStyleData to avoid triggering operations too early during bootstrapping. r=emilio 2016-08-31 15:09:45 -07:00
Ehsan Akhgari
d05eb37eea Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
Shu-yu Guo
67d57d7fa7 Bug 1298854 - Fix hasInitialEnv computation for RematFrames. (r=jandem) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
a4fe02e490 Bug 1298656 - Fix OOM handling in Debugger::replaceFrameGuts. (r=jimb)
I don't know how to commit a test for this. The fuzz test is extremely
slow if it doesn't crash, and these OOM tests are so brittle that
literally any allocation changes in the engine cause them to no longer
test what they were testing.
2016-08-31 14:56:30 -07:00
Shu-yu Guo
1826a896d0 Bug 1175174 - Fix redeclaring catch parameters in eval. (r=Waldo) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
b99fe5ec73 Bug 1298316 - Don't apply Annex B.3.3 semantics to generators. (r=Waldo) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
b9ce81a92c Bug 1298640 - Always give catch bodies their own lexical scope. (r=Waldo) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
55651d7573 Bug 1298568 - Ensure Scopes that can have data always have non-null data on clone. (r=Waldo) 2016-08-31 14:56:29 -07:00
James Willcox
6adf1a424f Bug 1298822 - Always invalidate layers when resuming the compositor r=BenWa 2016-08-31 16:24:06 -05:00