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

494432 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta eae6ab8433 Bug 970125 - Rip out the BrowserElementPanning JS code that's not used any more. r=kanru
MozReview-Commit-ID: 9VRrVliiU6r

--HG--
extra : rebase_source : ba49e5f270b37c80dd12258b3820f7e82cba6fef
2016-10-06 10:36:17 -04:00
Benjamin Bouvier 5a37b850aa Bug 932687: Update value of dict mode in test; r=h4writer
MozReview-Commit-ID: FaFbhKhg2NM

--HG--
extra : rebase_source : a9f2d765de402680e0e8f998de28a83bd35eaac2
2016-10-05 14:51:10 +02:00
Alexandre Poirot bb097f327b Bug 1266134 - Prevent browser_computed_keybindings_01.js from opening options panel. r=jryans
MozReview-Commit-ID: LXCWjQwkwUN

--HG--
extra : rebase_source : 3f52c1215204c7493864c70c90419d336b4ff4bb
2016-09-15 15:08:11 -07:00
Alexandre Poirot ea8a314340 Bug 1266134 - Wait for window close before ending test in browser_styleeditor_private_perwindowpb.js. r=jryans
MozReview-Commit-ID: 65WEA8goOP5

--HG--
extra : rebase_source : f09ad06a734b1b5858f3ddc6baa07af80f76026b
2016-09-12 03:20:52 -07:00
Alexandre Poirot 9a6921d014 Bug 1266134 - Convert browser_dbg_on-pause-raise.js to Task and wait for TabSelect before asserting the newly selected tab. r=jryans
MozReview-Commit-ID: 7vu2fFdiE4g

--HG--
extra : rebase_source : 1a9e856099c0ba51a1e2e67670d82b0ed55e6603
2016-08-25 05:48:27 -07:00
Alexandre Poirot 267e9a1610 Bug 1266134 - Fix responsive design possible leak on shutdown. r=jryans
MozReview-Commit-ID: 3DteAYhBDNi

--HG--
extra : rebase_source : a27bd83e986f735ceafe13bc47106c8bdfb1f57c
2016-09-15 09:57:46 -07:00
Alexandre Poirot de732c9b3f Bug 1266134 - Pull host management out of toolbox.xul. r=jryans
MozReview-Commit-ID: 71GNAFuVFgl

--HG--
extra : rebase_source : 9ae3b50749f8eef3d83c4411b425ce2b2435837c
2016-08-25 05:51:11 -07:00
Gijs Kruitbosch 6b4a71b6fc Bug 1277750, fix intermittent bug734076.js test failure on linux64 e10s by forcing a size onto the <img> element loading an invalid URI, r=mikedeboer
In the failing case, the context menu is basically appearing over <body>
instead of the image. In that case we don't show the 'view image' option
and don't have a URL to use to open the image, which means we try and
do a security check for the load of '', which fails, and we don't get
a new load on which to run the rest of the test.

My guess is this is happening because if the image hasn't loaded yet
by the time we run the code, it takes up no space at all, and a mouse
event at its coordinates only 'hits' the body.

We can avoid that by givin the element width and height.

MozReview-Commit-ID: kU2IoYTqeE

--HG--
extra : rebase_source : f381a33b62bc910f3becf69b4971b56e57c33e5f
2016-10-06 16:11:02 +01:00
Gijs Kruitbosch 0e58530148 Bug 1308351 - make about:rights web-linkable like about:license and friends, r=mikedeboer
This is a one-line fix. about:rights doesn't take query parameters, isn't interactive, and so making it linkable should be fine for uplift.

MozReview-Commit-ID: CQwh6SPLARf

--HG--
extra : rebase_source : 278b97a21a397c2d6f4cc7fc4da29e12ee27adb9
2016-10-07 11:19:49 +01:00
Mark Goodwin 19e1ce84e0 Bug 1306471 - Modify the SiteSecurityService to allow dynamic pin preloads r=keeler
MozReview-Commit-ID: JLbJcMuvcyI

--HG--
extra : rebase_source : fec1e75d3ca35d17d71d797e46c45983aaeb0c12
2016-10-06 11:00:43 +01:00
Sebastian Kaspari 5f32403b2b Bug 1301466 - Make Activity Stream highlights clickable. r=ahunt
MozReview-Commit-ID: 1kVxu8aCdiC

--HG--
extra : rebase_source : cc27dc064df354d2095e764f7ced9954fbabcd97
2016-10-05 20:19:29 +02:00
Sebastian Kaspari 249bd223a6 Bug 1306609 - Rename CompactItem to HighlightsItem. r=ahunt
MozReview-Commit-ID: JX76g6HnG7g

--HG--
extra : rebase_source : 304d90556fcb454e992f977b8b34b17e8abcc48e
2016-10-05 14:19:49 +02:00
Sebastian Kaspari f1b0653da5 Bug 1306609 - Remove unused HighlightsItem. r=ahunt
Going forward there will be just one highlights item/layout with an optional image.

MozReview-Commit-ID: BmtUTtanjJr

--HG--
extra : rebase_source : e80edea42af9bdc9c3a79b3bd9588d0a91f8faf7
2016-10-05 14:14:40 +02:00
Sebastian Kaspari b07c491681 Bug 1306609 - Show source label next to highlights (Visited, Bookmarked). r=ahunt
MozReview-Commit-ID: BRGESCA5sbq

--HG--
extra : rebase_source : 94c43ad3b348f6887ffc5c8fd3e0d6d9f2436364
2016-10-05 14:00:19 +02:00
Sebastian Kaspari 26e0697196 Bug 1306609 - BrowserProvider.getHighlights(): Reorder columns. r=ahunt
The UNION operator requires the two result sets to have the columns in the same order.

MozReview-Commit-ID: JRtw0LDZ5ib

--HG--
extra : rebase_source : a2cc6b2a9190cf9fb8ec75351446e0a91e613710
2016-10-05 13:46:31 +02:00
Sebastian Kaspari f5638f7d34 Bug 1306609 - Activity Stream highlights card: Update text colors. r=ahunt
MozReview-Commit-ID: FROHMxV3woL

--HG--
extra : rebase_source : 00f0eca38e1b27ef2529a0c4ec8a8538bc02cca1
2016-10-04 15:14:42 +02:00
Sebastian Kaspari 1bb734c90b Bug 1306609 - Activity Stream: Update color of divider and circle page indicator. r=ahunt
MozReview-Commit-ID: iecrGffzKz

--HG--
extra : rebase_source : cd1de514757a29de52841c774383417d8e659e09
2016-10-04 15:11:37 +02:00
Sebastian Kaspari ac82622bf0 Bug 1306609 - Activity Stream: Update padding/margin of highlights cards. r=ahunt
MozReview-Commit-ID: 95YXz1IONLU

--HG--
extra : rebase_source : 41b17ceec5a6f1af70e2517794e635ae4fbe65a5
2016-10-04 15:09:17 +02:00
Sebastian Kaspari 1e7f11e40c Bug 1306609 - Activity Stream: Update look and feel of highlights headline. r=ahunt
MozReview-Commit-ID: DKacqgyLQXk

--HG--
extra : rebase_source : b949898eeb678625eeaddebc660d6b35c95331bb
2016-10-04 14:30:37 +02:00
Sebastian Kaspari b197ec34c2 Bug 1306609 - Remove MORE link from activity stream panel. r=ahunt
MozReview-Commit-ID: 7TMGKX4pXrO

--HG--
extra : rebase_source : 682eedc14b30113b04b051d14e1836aa97da0fa3
2016-10-04 14:11:39 +02:00
Sebastian Kaspari ae479daed9 Bug 1295340 - Update copy for "Custom Tabs" in Settings. r=Grisha
MozReview-Commit-ID: L47Mh2gDcYz

--HG--
extra : rebase_source : abc2ccce58f8ecdc659a3716c7b479d2ad82e848
2016-10-06 19:30:50 +02:00
Masayuki Nakano 0f3c94dc03 Bug 1307112 part.10 Clean up NativeKey::HandleCharMessage() r=m_kato
Now, NativeKey::HandleCharMessage() has almost same code, one is for dispatching eKeyPress event for non-printable keys or printable keys when one of Alt or Ctrl key is pressed, the other is for printable keys when Alt or Ctrl key is pressed.

The difference of them is, the former block removes Alt state and Ctrl state for handling AltGr key.  When AltGr key is pressed, both Alt and Ctrl state are true.  However, EditorBase treas keypress events whose altKey or ctrlKey is true as non-printable key event.  Therefore, we need to set these modifier state to false when AltGr key is pressed and the key causes some text.

Note that as far as we know, when a key press with AltGr doesn't cause any characters, WM_CHAR isn't generated.  Therefore, we don't need to check with complicated logic if the key event is actually inputting a character.

MozReview-Commit-ID: BRNWfICvkSm

--HG--
extra : rebase_source : 3b8a2aaeb4c53be1567f7a8d17dfef1af90406dd
2016-10-04 23:01:14 +09:00
Masayuki Nakano 69a96b6460 Bug 1307112 part.9 Get rid of remaining hacks for KeyboardEvent.charCode when Ctrl or Alt is pressed r=m_kato
Current shortcut key handling is really difference from what we did before struggling with "key hell".  Therefore, remaining hacks for charCode in NativeKey::HandleCharMessage() are not necessary because they are for old code.

MozReview-Commit-ID: 3hvsBOiJ6VV

--HG--
extra : rebase_source : 7387fc89930f9b15d5d01612eb4a7a5726924bcd
2016-10-04 22:21:49 +09:00
Masayuki Nakano 337db43f23 Bug 1307112 part.8 NativeKey::HandleCharMessage() shouldn't dispatch eKeyPress event when its message is inputting a control character r=m_kato
This patch makes NativeKey::HandleCharMessage() stop dispatching eKeyPress event when the message is inputting a control character.  NativeKey::HandleCharMessage() runs following cases:

1. WM_KEYDOWN followed by a WM_CHAR message whose wParam is not a control character causes inputting printable characters.
2. WM_CHAR message is received without WM_KEYDOWN message.

So, when HandleCharMessage() is called for a control character, it's unusual case.  E.g., another application sends only WM_CHAR message with a control character.

On the other hand, Gecko is the only browser which dispatches "keypress" event even if pressed printable key doesn't cause inputting any characters.  And such "keypress" event is used for shortcut key handling and some default action handling.  So, even if we stop dispatching eKeyPress event from HandleCharMessage(), it shouldn't affect most users.

Note that this patch does NOT change the behavior when the user inputs a control character with usual keyboard layout such as Ctrl+A of en-US keyboard layout because DispatchKeyPressEventsWithoutCharMessage() dispatches eKeyPress event in such cases.

This patch also adds a lot of tests with Ctrl or Alt state for detecting regressions.

MozReview-Commit-ID: KUNqTp7RDSc

--HG--
extra : rebase_source : f91e37b0b82a8e8a95444a08f6d3101f14fadc50
2016-10-05 15:18:00 +09:00
Masayuki Nakano 1c049b2afa Bug 1307112 part.7 Get rid of Enter and Backspace key hack in NativeKey class r=m_kato
Currently, Enter and Backspace keys are handled without following WM_(SYS)CHAR message.  However, older code needs hack for them for avoiding conflict with Ctrl+J vs. Ctrl+Enter, etc.

So, we can get rid of them now.  And when a keydown causes inputting a control character, NativeKey should handle it with keyboard layout (i.e., without following char message(s)).

MozReview-Commit-ID: 6bVuK0BzFbx

--HG--
extra : rebase_source : 08ff45c1990ef8f3ed7703c69b2dc22e5f1dd6f5
2016-10-04 00:21:40 +09:00
Masayuki Nakano 151e2402f9 Bug 1307112 part.6 Get rid of char message argument from public NativeKey::HandleCharMessage() method r=m_kato
Currently, NativeKey::HandleCharMessage() is only a public method and it takes any char message.  However, when it's called outside of NativeKey, it should work only with NativeKey::mMsg.

Therefore, we should make current HandleCharMessage() a private method and create new overload method which doesn't take MSG as an argument.

MozReview-Commit-ID: LowV2FUmR3U

--HG--
extra : rebase_source : 271c61515752cf1ea56cf12c4f7ef6f1a90c9cac
2016-10-03 23:55:14 +09:00
Masayuki Nakano 2b007a1732 Bug 1307112 part.5 NativeKey should skip non-printable char messages when it initializes mCommittedCharsAndModifiers with following char messages r=m_kato
NativeKey shouldn't include characters which are provided by WM_SYSCHAR message or WM_DEADCHAR message into mCommittedCharsAndModifiers.

MozReview-Commit-ID: Ax1BmO5wTy0

--HG--
extra : rebase_source : 5d7d1735a783213f7c6a47cca0cadb1d4c5104c0
2016-10-03 18:20:29 +09:00
Masayuki Nakano b445cf93ba Bug 1307112 part.4 Rename NativeKey::IsFollowedByNonControlCharMessage() to IsFollowedByPrintableCharMessage() r=m_kato
For consistency with IsPrintableCharMessage(), IsFollowedByNonControlCharMessage() should be renamed to IsFollowedByPrintableCharMessage().

MozReview-Commit-ID: CBJFPO4FZej

--HG--
extra : rebase_source : f5d677743be35a3bb5fca35e7658e907aa46dbcb
2016-10-03 18:07:33 +09:00
Masayuki Nakano 432f317b32 Bug 1307112 part.3 NativeKey::IsFollowedByNonControlCharMessage() should return true when one of following char messages is a printable char message r=m_kato
Currently, NativeKey::IsFollowedByNonControlCharMessage() returns true only when the first char message is a printable char message.  Although, I don't know actual cases coming printable WM_CHAR message after non-printable char message, i.e.,

1. WM_SYSCHAR or WM_DEADCHAR
2. WM_CHAR for a printable character

or

1. WM_CHAR with a non-printable character (a control character)
2. WM_CHAR with a printable character

, we should make it return true because when one or more characters are being inputted, we should ignore non-printable char messages and handle printable char messages in the path handling text input.

MozReview-Commit-ID: 1v7v5mCRFCP

--HG--
extra : rebase_source : f82f7b77376450168bad34be031164ecf7338621
2016-10-03 18:03:46 +09:00
Masayuki Nakano b8a5c9fef9 Bug 1307112 part.2 Create NativeKey::IsPrintableCharMessage() which returns true when given message is WM_CHAR and inputting a printable character r=m_kato
MozReview-Commit-ID: 7f74273Ogo5

--HG--
extra : rebase_source : 860b01320a7f02f9bebea570be43c5c508fd4f41
2016-10-03 17:52:41 +09:00
Masayuki Nakano 4bbcc90d42 Bug 1307112 part.1 Rename NativeKey::IsPrintableCharMessage() to IsCharOrSysCharMessage() r=m_kato
Currently, NativeKey::IsPrintableCharMessage() returns true if given message is WM_CHAR or WM_SYSCHAR.  However, WM_SYSCHAR never causes inputting any character and even if WM_CHAR has a control character (i.e., non-printable character), it returns true.

MozReview-Commit-ID: IoU5F06WImz

--HG--
extra : rebase_source : c48f424f3d2960e6e9ceaa6d2fb09952ca634c3f
2016-10-03 17:45:03 +09:00
Henry Chang b468335de9 Bug 1285848 - Part 2: Request and parse RICE encoded prefix by default. r=francois
MozReview-Commit-ID: Cd0lT5VTM7t

--HG--
extra : rebase_source : 08724d3c8039039b8c73f58230b1cdad94ccd786
extra : source : 3abd3bc8a0119433ef66864c8c7fd1394fb0cc14
2016-10-05 14:59:53 +08:00
Henry Chang 1b35e4d7c6 Bug 1285848 - Part 1: Implement Rice Delta Decoding. r=francois.
MozReview-Commit-ID: 2GR51CRFBDL

--HG--
extra : rebase_source : d8b00fcf83cb6a8ec859825929da95e60468aadd
extra : source : 738ba4a8488e38667a2f06f5b1a7280ce7ad7dec
2016-10-05 14:59:43 +08:00
Markus Stange ea5fd38d00 Bug 1293324 - Release widgets from a runnable instead of from an objective C 'performAfterDelay' timer. r=Ehsan
This guarantees that the runnable will be processed before shutdown leak checking.

MozReview-Commit-ID: B89AcDUWb3y

--HG--
extra : rebase_source : bfbd311fba367c1856cc5d972e6e999ccd4de1ac
2016-10-06 23:34:14 -04:00
Phil Ringnalda ef58a75ffd Merge m-c to autoland 2016-10-06 20:24:09 -07:00
Phil Ringnalda fd672b97f1 Merge f-t to m-c, a=merge
MozReview-Commit-ID: HiqZsOM1Bcz
2016-10-06 19:59:02 -07:00
Phil Ringnalda fd7b7476c2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 93ZdJbK1x05
2016-10-06 19:58:18 -07:00
Alastor Wu 10174cc9eb Bug 1308119 - replace nsIAudioChannelAgent with AudioChannelAgent. r=baku
Since I want to use more agent's functions in MediaElement and I don't think these functions need to be exposed on IDL level. (for other languages binding)

Therefore, I want to use AudioChannelAgent directly in MediaElement.

MozReview-Commit-ID: 43FvDeLpZPt

--HG--
extra : rebase_source : 78741d791eb66cfb6223866ce823f217e3438fdb
2016-10-07 10:35:01 +08:00
Brian Grinstead 2eae1a936c Bug 1304778 - Skip new debugger mochitests on linux 32 debug;r=jlongster
MozReview-Commit-ID: E2UMttj6r0m
2016-10-06 13:37:24 -07:00
Sebastian Hengst b6da9cca62 Backed out changeset ddf5af982d8b (bug 1282003) for Android xpcshell X3 crash while running test_ext_alarms.js. r=backout 2016-10-06 20:39:25 +02:00
Sebastian Hengst 01979eecf3 Backed out changeset 13db73034f80 (bug 1282003) 2016-10-06 20:37:05 +02:00
Sebastian Hengst a93f492bd9 Backed out changeset 1d7748535fa3 (bug 1282003) 2016-10-06 20:37:00 +02:00
Dale Harvey 17905c9f75 Bug 1306516 - Fix expected return value from checkForAddons. r=mconley 2016-10-06 17:21:24 +01:00
Thom Chiovoloni 3d449661d1 Bug 1308240 - Fix missing `this.` in Sync's Collection's getters. r=markh
MozReview-Commit-ID: BsYFmkCMYU5

--HG--
extra : rebase_source : b816c2d85bd51e83d1cf5f62a0d13648c44ab824
2016-10-06 11:54:59 -04:00
Thom Chiovoloni a37575012a Bug 1236897 - Split up sync's test_errorhandler.js into two smaller tests r=markh
MozReview-Commit-ID: K9bVn6nNGk7

--HG--
extra : rebase_source : 6272cf286a3dc5dc3f533f04d87226d9a599a550
2016-10-06 11:37:44 -04:00
Carsten "Tomcat" Book 9b7488cce3 Merge mozilla-central to fx-team 2016-10-06 15:30:49 +02:00
Matt Woodrow d8ccc61086 Backed out changeset d35d695f921d (bug 1292923) for troubles with windows refrests 2016-10-06 14:33:29 +02:00
Matt Woodrow 4d48d9abe0 Backed out changeset f5a4eadc760e (bug 1305326) 2016-10-06 14:32:57 +02:00
Matt Woodrow 81cff1917b Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Carsten "Tomcat" Book 7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00