Commit Graph

474639 Commits

Author SHA1 Message Date
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Masayuki Nakano
5d4da6c226 Bug 1267526 part.1 TSFTextStore shouldn't notify TSF of selectin change when the selection isn't actually changed r=m_kato
MozReview-Commit-ID: 8HLz30lR2TH

--HG--
extra : rebase_source : 81b9ddb643eb4878e9d6c6c5457d7a016039a1b6
2016-05-11 18:18:51 +09:00
Masayuki Nakano
93330474c8 Bug 1267526 part.0 IMMHandler and TSFTextStore should use LazyLogModule instead of PR_NewLogModule for consistency with related logs in dom/events r=m_kato
MozReview-Commit-ID: IDmV291bKsz

--HG--
extra : rebase_source : 7065c5f25e5c25b4e1c832356e1dc3eee7a144bf
2016-05-11 18:01:34 +09:00
Lars T Hansen
43a3540b4d Bug 1272014 - make a correction that disappeared in a merge. r=bbouvier
--HG--
extra : rebase_source : a6d84fde433f3b9495c3c82a1763d9591bc81500
2016-05-12 11:05:16 +02:00
Jon Coppeard
2b8b720874 Bug 1271110 - Evict the nursery when discarding JIT code outside of a GC r=sfink a=abillings 2016-05-12 10:00:43 +01:00
Thinker K.F. Li
2f0f3cd7e3 Bug 1253241 - Return empty render bound for empty clip. r=mattwoodrow
--HG--
extra : rebase_source : e758e8d1146e0dd7ba4e0c4c588ee19d5999cad9
2016-05-02 20:24:00 +02:00
John Dai
4971a1fd72 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
--HG--
extra : rebase_source : 027f8d8e7aa2ebbec5561dd83149b19c16814665
2016-05-11 04:26:00 +02:00
John Dai
def16ce1d5 Bug 1088761 - Support reportValidity() for form controls. r=smaug
--HG--
extra : rebase_source : 56206e694b413ad1afdd7ded5dd12ef3a0d296f1
2016-05-11 04:24:00 +02:00
John Dai
b0ac1b27cb Bug 1088761 - Remove redundant trailing spaces. r=smaug
--HG--
extra : rebase_source : aea196343737511284cbe3ea2c7fc052987a8c85
2016-05-11 04:23:00 +02:00
Gijs Kruitbosch
4cef5f7452 Bug 1271049 - fix showing alternative styles from <style> elements and make the test actually test things, r=mconley
MozReview-Commit-ID: BD7eQl5iNaJ

--HG--
extra : rebase_source : 1e41f2eaccb87897f52200f4c323ab361f89ab64
2016-05-09 14:35:54 +01:00
Cykesiopka
ebd2e17c94 Bug 1265207 - Enable ESLint "var-only-at-top-level" rule for PSM tests. r=jjones
|let| is generally preferred over |var| in PSM JS.

MozReview-Commit-ID: 7SJWQSKFxI4

--HG--
extra : rebase_source : 387c6259ffa2cb0585ff366edc568ccc39bfd902
2016-05-09 18:04:14 -07:00
Lars T Hansen
cb72513c65 Bug 1272014 - Masm code for 64-bit bit counting. r=bbouvier
--HG--
extra : rebase_source : 37d8142f0b3bf2c418b15ebf60b1d15dc34c1511
2016-05-11 17:01:08 +02:00
Lars T Hansen
2f12a83ecd Bug 1271985 - Correct heap size in bullet.js test casei. r=luke
--HG--
extra : rebase_source : 21127b6383c388c2a4e6466c84aea2dbf078deb1
2016-04-26 09:42:43 +02:00
Carsten "Tomcat" Book
04dcac6287 Backed out changeset 233a3b2d3b36 (bug 1271987) for landings with wrong bug numbers
--HG--
extra : rebase_source : 30a9533d2ed6cb2e44acd9755bd4e0ddfb5a3283
2016-05-12 10:28:27 +02:00
Carsten "Tomcat" Book
ef8bc0f084 Backed out changeset 5190ada5abfe (bug 1272015)
--HG--
extra : rebase_source : c7c951a7cb72dc312d66e3cc4b931417d0d7f1a7
2016-05-12 10:28:12 +02:00
Jonathan Kew
473d904d86 Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange 2016-05-12 09:31:13 +01:00
Lars T Hansen
0b6164df6b Bug 1272015 - Masm code for 64-bit bit counting. r=bbouvier
--HG--
extra : rebase_source : 4f4a08d192932a2ff9fad35f21c6b02894448867
2016-05-11 17:01:08 +02:00
Lars T Hansen
c58c3804fd Bug 1271987 - Correct heap size in bullet.js test case. r=luke
--HG--
extra : rebase_source : 9f3f20ef9208a2e0aa881c18da4dae6117b8f62b
2016-04-26 09:42:43 +02:00
Masayuki Nakano
c92ba85982 Bug 1261880 NativeKey should decide printable KeyboardEvent.key value of keydown and keypress events with following WM_CHAR message of WM_KEYDOWN r=m_kato
Some special keyboard layout may use a key as a non-lockable modifier key even if the key isn't a non-lockable modifier key (e.g., CapsLock key of 'Neo' for German). In such case, KeyboardLayout class cannot initialize NativeKey::mCommittedCharsAndModifiers with actual input character properly because KeyboardLayout class doesn't support such eccentric keyboard layouts.

For preventing this issue, NativeKey should overwrite mCommittedCharsAndModifiers with following WM_CHAR message when it handles WM_KEYDOWN and should handle with following WM_CHAR message.  However, we should ignore following WM_CHAR message if the character is a control character which shouldn't be inputted into focused text editor.

MozReview-Commit-ID: Ax01nnaRXek

--HG--
extra : rebase_source : fd802e868db8990481873ee8eb98375a50efa47a
2016-05-11 16:47:38 +09:00
Alastor Wu
e24e5bdcbd Bug 1269672 - part4 : remake audio and modify test. r=jwwang.
MozReview-Commit-ID: BM691tnmVNd
2016-05-12 15:05:09 +08:00
Alastor Wu
6b34c93ecd Bug 1269672 - part3 : modify test.
Remake a file which doesn't have the audio-gap, and modify the test.

MozReview-Commit-ID: DuPmMxzD7oc
2016-05-12 14:18:57 +08:00
Alastor Wu
2d52873a0d Bug 1269672 - part2 : move audible data checking from MDSM to DecodedAudioDataSink.
MozReview-Commit-ID: 8uYJ9UA2Jf2
2016-05-12 14:18:53 +08:00
Alastor Wu
5a7ed4aa14 Bug 1269672 - part1 : revert sampling rate changing of the bug1235612.
MozReview-Commit-ID: GxwaZ8qUk1z
2016-05-12 14:15:34 +08:00
Karl Tomlinson
294a905269 bug 1271893 add a 1.5 pixel-scaling step r=acomminos
The only change in behaviour introduced here is that dpi values in the
range [144,168) will now use pixel scaling of 1.5 instead of 2.

MozReview-Commit-ID: JD6FcZGLYtI

--HG--
extra : rebase_source : ebddf46ba6e9b8a478fb2fffabc7cf1ca8ed8c81
2016-05-11 09:21:13 +12:00
Morris Tseng
8d74a6e68f Bug 1268155 - GetAsSourceSurface might return nullptr, let's handle it. r=jgilbert
MozReview-Commit-ID: 6uH9esA2PqC
2016-05-12 14:08:24 +08:00
Nicholas Nethercote
c639a0340a Bug 1271865 - Add a comment to JitFrameIterator::verifyReturnAddressUsingNativeToBytecodeMap. r=djvj.
DONTBUILD because this is a comment-only change.

--HG--
extra : rebase_source : eaed669fe31012fe381a0eb67f808be95c3133eb
2016-05-12 15:43:12 +10:00
Masayuki Nakano
cbc08975f5 Bug 1259661 part.10 Clean up some nits of WidgetMouseEvent definition r=smaug
MozReview-Commit-ID: 9e4F8gOmRpZ

--HG--
extra : rebase_source : 77582b007ebb9a87925543f044d9af06a5f7c2fa
2016-05-10 21:57:16 +09:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Masayuki Nakano
52b8126bf2 Bug 1259661 part.7 Get rid of WidgetMouseEvent::acceptActivation because of unused r=smaug
MozReview-Commit-ID: ItkudUhGGN4

--HG--
extra : rebase_source : 2f396c1acf032c731d7d875b2a427aaddda1a576
2016-05-10 21:01:15 +09:00
Masayuki Nakano
1663e01f1f Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
MozReview-Commit-ID: FHUaUOE5eIB

--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano
2d6e9e3d48 Bug 1259661 part.5 Rename WidgetMouseEvent::context to WidgetMouseEvent::mContextMenuTrigger r=smaug
MozReview-Commit-ID: GDAAHiyRrhY

--HG--
extra : rebase_source : fe7e3a658192f13f6458f664b35d5937925eca13
2016-05-12 11:39:05 +09:00
Masayuki Nakano
0902859a3a Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
MozReview-Commit-ID: JaE0S7BIgVF

--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Masayuki Nakano
9874716678 Bug 1259661 part.3 Rename WidgetMouseEvent::exitType to WidgetMouseEvent::ExitFrom r=smaug
MozReview-Commit-ID: 8NdDccCrTS7

--HG--
extra : rebase_source : 6c4bf2bceab7638ee25907be7b434f0544dfe325
2016-05-12 11:32:53 +09:00
Masayuki Nakano
decf620aaa Bug 1259661 part.2 Rename WidgetMouseEvent::context to WidgetMouseEvent::ContextMenuTrigger r=smaug
MozReview-Commit-ID: 2amULUnzsxc

--HG--
extra : rebase_source : 8b09dfe85fd9e583d378fd2fd167a169b5258175
2016-05-12 11:28:14 +09:00
Masayuki Nakano
22d783b8ac Bug 1259661 part.1 Rename WidgetMouseEvent::reasonType to WidgetMouseEvent::Reason r=smaug
MozReview-Commit-ID: 3bx2Z32rwb1

--HG--
extra : rebase_source : afb94677ccce2c9ae8ffbf63f0c0566d94430773
2016-05-12 11:17:46 +09:00
Randell Jesup
f02760cc79 Bug 1213050: clean up TaskQueue before dropping references to it r=cpearce
Also adds assertion TaskQueue isn't trying to kill itself

MozReview-Commit-ID: 1AVuYcfnBBA
2016-05-12 00:53:19 -04:00
Takahiro Aoyagi
75f4ef756f Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki
--HG--
extra : rebase_source : 75298d438e6c6c77113ba252c955bc084f216015
2016-05-12 13:28:31 +09:00
Masayuki Nakano
a369570d88 Backout bug 1259669 due to commited with wrong user name
--HG--
extra : rebase_source : eec830244783ded2e16bbe1e123849fbab0b3c8e
2016-05-12 13:23:43 +09:00
Nicholas Nethercote
50166d7047 Bug 1266651 (part 2) - Give nsThreadShutdownContext a proper constructor. r=froydnj. 2016-04-20 11:49:48 +10:00
Nicholas Nethercote
3063dae9e2 Bug 1266651 (part 1) - Rename nsThreadShutdownContext members. r=froydnj.
--HG--
extra : rebase_source : c5c361a2f2f2fa2c1bced5d2a15d294cef01724c
2016-04-20 11:46:35 +10:00
Phil Ringnalda
c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Kaku Kuo
99248811be Bug 1271581 - use newCurrentTime, instead of GetMediaTime() to decide the nextState; r=jwwang
MozReview-Commit-ID: K7VCHFEMxib

--HG--
extra : transplant_source : %94%AD%12%26%DFf%97Cf%06%19%B4%C0%00%9Ak%88%B3%84%BF
2016-05-10 17:53:42 +08:00
Matt Howell
187af240d4 Bug 1237219 - Lock patch files while applying updates; r=rstrong
MozReview-Commit-ID: 8m4SQVhZy4D
2016-04-14 09:33:42 -07:00
Thomas Nguyen
7a6cb90bcf Bug 1261298 - W3C referrer policy attribute is not passed to image. r=jdm
MozReview-Commit-ID: 3S642wheFu1

--HG--
extra : transplant_source : 8%5B%3Eu%40%D2%26%F4%C4%BF4%A2%EDu%0C%D1.%19%C5%86
2016-05-11 09:38:05 +08:00
JerryShih
325dfdc8dd Bug 1256572 - use SourceSurfaceRawData with custom deallocator in imgFrame. r=bas
We can prevent the memory copy in GuaranteePersistance() during painting.
2016-05-05 07:30:00 +02:00
JerryShih
cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
JerryShih
f54115ac72 Bug 1256572 - setup custom deallocator for SourceSurfaceRawData. r=bas 2016-05-10 20:44:00 +02:00
JerryShih
4e7ff09f94 Bug 1256572 - create DataSourceSurface with current data. r=bas 2016-05-10 20:42:00 +02:00
Christoph Kerschbaumer
c1dec946da Bug 1206966 - Use channel->asyncOpen2() in netwerk/test/TestProtocols.cpp. r=mcmanus 2016-05-11 14:41:19 +02:00