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

2770 Коммитов

Автор SHA1 Сообщение Дата
Jared Wein 169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Mark Striemer bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
Jared Wein bd3dba7dd8 Bug 1355211 - Scroll events should be prevented in all cases except when allowunderflowscroll is true and the scrollbar is hidden. r=enndeakin+6102
MozReview-Commit-ID: GXhf9bM6ZIo

--HG--
extra : rebase_source : 6599f20293c793a1dc10c4fce5467386cda878c8
2017-04-10 16:45:33 -04:00
Kaku Kuo a9ee9f11cc Bug 1354465 P2 - use mozvideoonlyseekbegin event to start throbber timer; r=jaws,jwwang
MozReview-Commit-ID: 4zwcoB8M3xI

--HG--
extra : rebase_source : 8bf50d1bc7e5532de0c7b70c0c20ff6f74fe8c19
2017-04-07 18:06:20 +08:00
Marco Bonardo 9e2ecc36f9 Bug 1353708 - Avoid autocomplete call to richlistbox's ensureElementIsVisible when there can't be a scrollbar. r=florian
EnsureElementIsVisible can cause a Layout flush, so we should try to avoid it when possible.

MozReview-Commit-ID: Dr0D8vPl9rd

--HG--
extra : rebase_source : e1d6de9c1449f0b4d9780d374e5632fb40498902
2017-04-05 18:45:16 +02:00
Jessica Jong 4a5bdab7a2 Bug 1346085 - Part 3: RTL support for date/time input box. r=gandalf,mossop
Set the .dir property of the input box wrapper to `rtl` if this is a RTL
locale.

MozReview-Commit-ID: D2qJVjvzxNW

--HG--
extra : rebase_source : f0514ab18fe129600adfbd695f15594c6f4c8ca9
2017-04-05 15:02:37 +08:00
Jessica Jong 68680ac23a Bug 1346085 - Part 2: Set input element's focus state when inner fields are focused/blurred. r=smaug
Since the inner fields of date/time input are now <span> instead of <input>
text, we are adding an API for binding code to set the focus state of the
bound input element when inner fields are focused/blurred.

MozReview-Commit-ID: 9wvu57xT6HZ

--HG--
extra : rebase_source : c6c3832fe0aa0fe9429052dcb5b15a3497c33fa4
2017-04-05 15:02:30 +08:00
Jessica Jong 382e8c7690 Bug 1346085 - Part 1: Use <span> for editable fields in date/time input box. r=mossop
When adding support for RTL in date/time input box, we noticed that bidi text
was not displayed properly with mixed of inline and block elements. By
changing our editabled fields from <input> to <span>, we can rely on bidi
algorithm and markups to display the inner fields in the right order.

MozReview-Commit-ID: 7r8OVSJXJRU

--HG--
extra : rebase_source : b130a5424b533930a57695a65196454c72d7be10
2017-04-05 15:00:13 +08:00
Jared Wein 0117fd004b Bug 1348828 - Only prevent default behavior of scroll event if the tree is scrollable. r=enndeakin+6102
MozReview-Commit-ID: AGS103gy08O

--HG--
extra : rebase_source : f262d6df34d44ee5f4aa758c49d0f3795f1194ae
2017-04-03 21:51:11 -04:00
Kaku Kuo 86a20bfd54 Bug 1350852 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; r=jaws,jwwang
MozReview-Commit-ID: CV3LsfA6s1O

--HG--
extra : rebase_source : 8337aac3a3395b65a8ffca975c51b40666c12023
2017-03-27 18:22:55 +08:00
Ray Lin 5495fb2264 Bug 1350191 - Change keypress event propagation to capture to correctly preventDefault if control is focused. r=jaws
We could not avoid controls being focused after De-XUL, in order
to preventDefault before event propagate to focused control, we should
change the way of keypress event propagation in media controls.

MozReview-Commit-ID: 4KNPU4XlSDJ

--HG--
extra : rebase_source : 1146e18e3beebca8ae36a4de126c5c920aa5cdfd
2017-03-25 11:48:30 +08:00
Ray Lin d1f8959c8b Bug 1348224 - Don't call _adjustAcItem() if result's type is different from existing item's type. r=adw
MozReview-Commit-ID: D0b4TPnD8KY

--HG--
extra : rebase_source : 761b852702bedb63414750f2838517939b1c80bc
2017-03-17 16:40:33 +08:00
Ray Lin c24dde2cc6 Bug 1350315 - Hide cursor when video controls fadeout for desktop. r=Gijs
We used to have this rule in shared stylesheet for both mobile and
desktop, but the namespace mismatched after visual refresh (De-XUL).
Now we should add this rule back to hide cursor while fading out.

MozReview-Commit-ID: HDZKn8CrQ5X

--HG--
extra : rebase_source : 7a63650b9f048dd5b0b0b79ce289bc762cc6a07b
2017-03-25 11:41:44 +08:00
Jessica Jong 2638fe61fa Bug 1344624 - [DateTimeInput] (l10n) Part 2: Display formatted numbers in <input type=date>. r=mossop
MozReview-Commit-ID: BOaNefKe2Pb

--HG--
extra : rebase_source : afc5439ddff6d05a08bf111aaf5371be4cd1c640
2017-03-24 11:13:26 +08:00
Jessica Jong afdb7ecd5d Bug 1344624 - [DateTimeInput] (l10n) Part 1: Display formatted numbers in <input type=time>. r=mossop
Add a new attribute "rawValue" in each of the numeric fields. We store the
non-formatted number in this attribute, and display formatted number using
Intl.NumberFormat.

MozReview-Commit-ID: JkcBObFoYQ3

--HG--
extra : rebase_source : 05918ba57513f9c816273a758ab2aa7198722135
2017-03-24 11:13:20 +08:00
Jan Henning c49f232ab2 Bug 1328868 - Part 3 - Make the effective text zoom retrievable from JS. r=tnikkel
We want to read this value during testing.

MozReview-Commit-ID: FVA7VdvSTEt

--HG--
extra : rebase_source : 7ae56480ad34a4b3b417b3593496619a55910ec6
2017-02-25 19:27:15 +01:00
Jared Wein a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Zibi Braniecki 3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst 0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Mark Banner 3dffe30808 Bug 1348954 - Html5-video controls do not hide when in fullscreen. r=ralin
Undo incorrect change from bug 1341029, and tell ESLint about how Utils is 'global' to some of the videocontrols.xml event listeners.

MozReview-Commit-ID: 9ItMIzwYhEj

--HG--
extra : rebase_source : 4ea996771c00e25e7e33063cfb56cf19c2cf059a
2017-03-21 17:17:49 +01:00
Jessica Jong 28c686a81c Bug 1347069 - [DateTimeInput] (l10n) 12/24hr format for <input type=time> based on locale. r=mossop
MozReview-Commit-ID: 1QJig3ZTV7R

--HG--
extra : rebase_source : f5f0f90ceb2644573ac9733f1bbab86df534e4f0
2017-03-21 11:11:10 +08:00
Ray Lin 6658469733 Bug 1347673 - Visibility state of extra video control buttons should be recalculated each time the video controls are adjusted. r=jaws
MozReview-Commit-ID: Lj7kttJ9skU

--HG--
extra : rebase_source : 36c34c64c344b163f09290e656f24f0dd5cb75a0
2017-03-16 18:19:56 +08:00
Michael Layzell 838290fd27 Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku
MozReview-Commit-ID: LigZnHM34CC
2017-03-21 11:08:03 -04:00
Nihanth Subramanya d5ac420cfd Bug 1341742 - Split secondary action for push notification permission prompt into "not now" and "never". r=johannh
MozReview-Commit-ID: DTkUuWabNjH

--HG--
extra : rebase_source : cd0188b641c858a8a631b1112be593dc4085aa8c
2017-02-24 18:42:36 -08:00
Florian Quèze be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze 9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Scott Wu 45d09e0952 Bug 1343707 - Make datetimepopup.xml binding attach lazily. r=mconley
MozReview-Commit-ID: C7LnrxIbU3K

--HG--
extra : rebase_source : d821a141eb550541a49beaa2afd9b7caf6a054e2
2017-03-03 13:58:53 +08:00
Jessica Jong a162417a23 Bug 1301312 - Part 5: Handle input element's attribute change explicitly. r=smaug
MozReview-Commit-ID: AswWoeGasXZ

--HG--
extra : rebase_source : 10591d31c76a4745a9953cd944533cb2fd6940b4
2017-03-15 11:39:02 +08:00
Jessica Jong 24b91bfb0b Bug 1301312 - Part 4: Order fields in <input type=date> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: 42WjAsLImc6

--HG--
extra : rebase_source : 4ef3b7ab6bb07c744c6f36aa8511f1f9af5e3f0c
2017-03-06 14:45:14 +08:00
Jessica Jong f5d74d5f13 Bug 1301312 - Part 3: Order fields in <input type=time> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: ALgurGjv3d0

--HG--
extra : rebase_source : ee5c56b1aaba09e2d7c23359df9396f186efb147
2017-03-06 14:44:22 +08:00
Jessica Jong 0b66175c10 Bug 1301312 - Part 2: Localize placeholders for <input type=time>. r=mconley
Use entities declared in DTD files so that lozalizers can fill in appropiate
placeholders for each locale.

MozReview-Commit-ID: 9KODExaDnDe

--HG--
extra : rebase_source : e6a9f27c68907aded0483028aee3a17744491a56
2017-03-06 14:43:23 +08:00
Jessica Jong b4fc37baaf Bug 1301312 - Part 1: Localize AM/PM strings for <input type=time>. r=gandalf,mconley
MozReview-Commit-ID: 2QycAbnHmHv

--HG--
extra : rebase_source : cbbd9ce4ccebcf611d5ccd908536c107424e3fb4
2017-03-06 14:43:12 +08:00
Carsten "Tomcat" Book 10f32bd039 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein 47bca0c9c7 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : e0c8ebf58f73644ba17978afea72a3470df770d8
2017-03-14 19:58:38 -04:00
Kaku Kuo 0aeeafab7a Bug 1309494 part 2 - implement the show throbber mechanism; r=jaws
MozReview-Commit-ID: 1UKAYu0xy9u

--HG--
extra : rebase_source : 83ede58e14bd191b281caf6026dfe3ca4b24c3bb
extra : source : f598e9dc77bbb812f930faf0328b8f557299941c
2017-03-13 11:29:39 +08:00
Kaku Kuo 63fa03c5a7 Bug 1309494 part 1 - let video controler handle the "mozexitvideosuspend" event; r=jaws
MozReview-Commit-ID: 5DfzY8kDTP4

--HG--
extra : rebase_source : a502241298848f9b39d7e978e3a8fb7a1a87d1e7
extra : source : 778b6c2d384cad117fb914fdb0ba2d591ef60baa
2017-03-13 10:57:25 +08:00
Dão Gottwald 40034ab5b7 Bug 1345432 - Clean up XUL checkbox styling, remove fallback styling and fix the focus indicator. r=karlt
MozReview-Commit-ID: CcqLKFVvLwC

--HG--
extra : rebase_source : 8665cf698dfc561a2bdc84de27a75bea00cd44f9
2017-03-13 13:12:37 +01:00
Sebastian Hengst 3bfaa978bd Backed out changeset 5a7fca706daa (bug 1329942) for failing browser-chrome browser_bug553455.js. r=backout 2017-03-08 19:57:15 +01:00
Mark Striemer 8e358ac751 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 6537a89d805fd28651911965aebd008de0530a12
2017-02-28 15:26:12 -06:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze 37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Florian Quèze 7f1b926f29 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +01:00
Florian Quèze cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Scott Wu 998e9923de Bug 1320880 - Add RTL support to date picker r=mconley
MozReview-Commit-ID: LIrOuUCfz17

--HG--
extra : rebase_source : 61781745759e1efb7851e1478bc6d3a591cb16c7
2017-02-17 18:16:17 +08:00
Zibi Braniecki 3613954ec3 Bug 1339892 - Refactor mozIntl to have a nicer API and thin logic. r=smaug
MozReview-Commit-ID: J4QXXBy7JII

--HG--
rename : toolkit/components/mozintl/MozIntl.cpp => toolkit/components/mozintl/MozIntlHelper.cpp
rename : toolkit/components/mozintl/MozIntl.h => toolkit/components/mozintl/MozIntlHelper.h
rename : toolkit/components/mozintl/mozIMozIntl.idl => toolkit/components/mozintl/mozIMozIntlHelper.idl
extra : rebase_source : 9753dbeea2e11c7fde550df1a20b1c3d1b2063fe
2017-03-01 16:58:11 -08:00
Mark Banner a656cedb11 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos

--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
Ray Lin cae0cc252f Bug 1341019 - Fix undef item variable in _onChanged(). r=standard8
MozReview-Commit-ID: 1WrioG5O0Np

--HG--
extra : rebase_source : 6a87486a2b09b18e05da3886a9f8cc0d17a373af
2017-02-20 21:55:37 +08:00
Ray Lin a8d715ed6c Bug 1339269 - Enhance controls adjustment against delay layout reflow. r=jaws
MozReview-Commit-ID: KABc6RkCCS5

--HG--
extra : rebase_source : f4ab48e73a56d331c3045197704cb73f9dd8b82d
2017-02-10 17:08:44 +08:00
Alastor Wu 606eb319fa Bug 1192818 - part2 : only dispatch DOMAudioPlaybackStarted when there is audible sound. r=baku
The DOMAudioPlaybackStarted event would affect the tabbrowser's attribute,
"soundPlaying", and this attribute should indicate whether the tab is audible or not. However, in present codebase, even the tab has "soundplaying", it doens't mean
the tab has audible sound, you need to check extra attribute, "muted".

After applying this patch, tabbrowser can only own one of the attributes ("soundplaying"
or "mute"). These attributes won't exist at the same time, so we can easily know
whether the tab is audible by checking "soundPlaying".

Let's see an example,
step1. playing a playing audio
  - tab owns "soundPlaying"
step2. mute the tab
  - tab owns "muted"
step3. stop audio
  - tab owns "muted"
step4. replay the audio
  - tab owns "muted"
step5. unmute the tab
  - tab owns "soundPlaying"
step6. stop audio
  - tab owns ""

MozReview-Commit-ID: EEKEbAVzsVm

--HG--
extra : rebase_source : 823d501e9162ae8b611f2e97dd763c1eec16c2cf
2017-02-23 14:15:47 +08:00
Scott Wu 13bc7a75b4 Bug 1337319 - Order month and year spinners based on locale datetime format r=mconley
MozReview-Commit-ID: AmAVjybJZ6A

--HG--
extra : rebase_source : 009b64009817ae468c0d47b473d4cbdcf72246c0
2017-02-16 15:57:54 +08:00
Wes Kocher 13e1cccb3f Merge inbound to central, a=merge
MozReview-Commit-ID: EEMZdLCheAm
2017-02-21 17:35:01 -08:00
Gabor Krizsanits f9bc8c7133 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap r=felipc 2017-02-21 13:30:17 +01:00
Carsten "Tomcat" Book 70d5eceb33 Backed out changeset 59d4978e8726 (bug 1289723) for eslint failure 2017-02-21 12:11:04 +01:00
Sebastian Hengst 6974fb160a Backed out changeset 042e5fbe7846 (bug 1192818) 2017-02-21 19:29:29 +01:00
Mark Banner 789a9ce84c Bug 1341031 - Fix releasing drag capture for popups. r=mconley
MozReview-Commit-ID: 5dxGEtuQPK2

--HG--
extra : rebase_source : bd56be868c3be647c8fae0d6af3cc7c623129636
2017-02-20 13:41:34 +00:00
Alastor Wu f2ea075d35 Bug 1192818 - part2 : only dispatch DOMAudioPlaybackStarted when there is audible sound. r=baku
The DOMAudioPlaybackStarted event would affect the tabbrowser's attribute,
"soundPlaying", and this attribute should indicate whether the tab is audible or not. However, in present codebase, even the tab has "soundplaying", it doens't mean
the tab has audible sound, you need to check extra attribute, "muted".

After applying this patch, tabbrowser can only own one of the attributes ("soundplaying"
or "mute"). These attributes won't exist at the same time, so we can easily know
whether the tab is audible by checking "soundPlaying".

Let's see an example,
step1. playing a playing audio
  - tab owns "soundPlaying"
step2. mute the tab
  - tab owns "muted"
step3. stop audio
  - tab owns "muted"
step4. replay the audio
  - tab owns "muted"
step5. unmute the tab
  - tab owns "soundPlaying"
step6. stop audio
  - tab owns ""

MozReview-Commit-ID: 50NorRbRIP

--HG--
extra : rebase_source : 8a06d1df7f4e3b974b18292944b19ada20eb655d
2017-02-21 18:41:13 +08:00
Timothy Guan-tin Chien 7e24fdda99 Bug 1338961 - A mozinputrangeignorepreventdefault hack for input[type=range], r=smaug, sr=smaug
This is a terrible hack, asking input[type=range] in our video control
xbl binding content continue to handle mouse/touch event, even if the
event is being defaultPrevented by the content.

MozReview-Commit-ID: G1huxbS7oeq

--HG--
extra : rebase_source : 27153ce36e6883d947894da69dd9aca47965e99b
2017-02-17 17:05:27 +08:00
Ray Lin 7506c4daa4 Bug 1333008 - Don't toggle play or pause when button is focused. r=jaws
MozReview-Commit-ID: 2tyQUOOMQgH

--HG--
extra : rebase_source : 28057a03f67f6a0714b90215f142d2692185afa4
2017-02-16 14:19:32 +08:00
Mark Banner 21ce8768db Bug 1322747 - Show https in autofill heuristic results. r=mak
MozReview-Commit-ID: GlOoeQBOMIi

--HG--
extra : rebase_source : abd71c481c6246c75d6c1c09861a7619ee2ce834
2017-01-26 15:13:19 +00:00
Gabor Krizsanits a498797697 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap 2017-02-21 11:27:19 +01:00
Ray Lin 85b5669d7a Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6

--HG--
extra : rebase_source : b56e03c157b295921319e17019fbda99f2793e99
2017-01-24 23:32:36 +08:00
Scott Wu 763d2e9aa1 Bug 1329927 - Use mozIntl.getDisplayNames for date picker UI r=mconley
MozReview-Commit-ID: LqKzK9jx1i6

--HG--
extra : rebase_source : 28c4c747e1bd176c804792bc9efb6f475725a57a
2017-02-14 13:07:22 +08:00
J. Ryan Stinnett 32d643c588 Bug 1335281 - Use frame loader for same process browsers. r=mrbkap
This changes the `relatedBrowser` property which held a <xul:browser> to the
more explicit `sameProcessAsFrameLoader` which takes an nsIFrameLoader.

This clarifies the purpose of the property and also (by switching to the frame
loader) makes it easier to set in some contexts.

MozReview-Commit-ID: LnEvSP8zkto

--HG--
extra : rebase_source : f9f4c07995ef39f1ccd5042e9ae3df37879423b6
2017-02-14 14:12:35 -06:00
Sebastian Hengst 64660d1cc7 Backed out changeset 059c01d1a40f (bug 1326138) for leaks, e.g. in devtools/client/aboutdebugging/test/browser_service_workers_not_compatible.js. r=backout on a CLOSED TREE 2017-02-15 10:02:38 +01:00
Ray Lin 5900859fb2 Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6

--HG--
extra : rebase_source : bd6cb3133641b841304d23da541636d58a40c189
2017-01-24 23:32:36 +08:00
Iris Hsiao 96255052b9 Backed out changeset 40d22c458595 (bug 1326138) 2017-02-14 17:54:00 +08:00
Ray Lin fdac0321d0 Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6

--HG--
extra : rebase_source : 9d1efc92a18fdb00d82d1056a78aff2108cc0313
2017-01-24 23:32:36 +08:00
Matthew Noorenberghe 97743adb2b Bug 1333256 - Bring back the insecure field warning Learn More text in bold. r=johannh
MozReview-Commit-ID: CpPgkdmbb2O

--HG--
extra : rebase_source : da03efa9aaaa70a504fb158359f7897c1d4883e3
2017-02-14 02:19:20 +08:00
Wes Kocher 6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Neil Deakin 58847a19b0 Bug 1337458, fix event reference in autoscroll mousewheel handling, r=felipe 2017-02-08 11:16:12 -05:00
Jared Wein 7d9b3b83c6 Bug 1336301 - Styles that are applied directly to the select element should be forwarded to the popup. r=mconley
MozReview-Commit-ID: 29DjcUUqEkx

--HG--
extra : rebase_source : 97970d2e8f1b6527caa2767b06ddf110a2478195
2017-02-04 00:33:13 -05:00
Ray Lin 3ea8b4e339 Bug 1328060 - re-adjust controls when get metadata of video duration. r=jaws
MozReview-Commit-ID: AKY5Umg08P6

--HG--
extra : rebase_source : c853f769839e5b02a21902eda32b59f79433fa58
2017-02-06 10:22:37 +08:00
Alastor Wu 1694edb819 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : b5f8855b17664bb1cc2b485f1d85120c0939931f
2017-02-03 14:47:08 +08:00
Jared Wein 3ea4fdab77 Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
MozReview-Commit-ID: 8wqclzJr2si

--HG--
extra : rebase_source : 95377b0916cd160302bfdfdbc62c9b795bfbad8f
2017-01-31 15:58:27 -05:00
Wes Kocher 9886fc0a7a Backed out changeset 88872e0b68d2 (bug 1335483) for failures in browser_selectpopup.js a=backout
MozReview-Commit-ID: 39EV3LzTBiI
2017-02-03 11:54:32 -08:00
Jared Wein 3de08e5fac Bug 1335483 - Compare the user agent value for the select option styling to determine if content has opted-in to custom styling. r=mconley
MozReview-Commit-ID: 8wqclzJr2si

--HG--
extra : rebase_source : 38999f77e1c39ee465f8ddb783bae58138adfce2
2017-01-31 15:58:27 -05:00
Carsten "Tomcat" Book c5dbb5ded6 Backed out changeset 6661e2f65c07 (bug 1328060) for test failures in own test 2017-02-03 12:48:03 +01:00
Ray Lin 79a4687d13 Bug 1328060 - re-adjust controls when get metadata of video duration. r=jaws
MozReview-Commit-ID: AKY5Umg08P6

--HG--
extra : rebase_source : 78e632ab17b806a9a5934bec4ba22ab9a66459cb
2017-01-23 00:35:08 +08:00
Phil Ringnalda 3281b2aab2 Backed out 5 changesets (bug 1328058) for timing out in browser_block_silentAudioTrack_media.js
CLOSED TREE

Backed out changeset 0c48cff3db5d (bug 1328058)
Backed out changeset 37d35ca95b1f (bug 1328058)
Backed out changeset 0c177bdf5ec3 (bug 1328058)
Backed out changeset b369d9999b8a (bug 1328058)
Backed out changeset 61dbcbe35565 (bug 1328058)
2017-02-02 20:59:34 -08:00
Alastor Wu e684e589c7 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : 7b4214f1f552ba75da94e4bb1795178983af20f7
2017-02-03 11:25:04 +08:00
Ray Lin 33af36eb06 Bug 1332994 - highlight current enabled CC item when video first loaded. r=jaws
MozReview-Commit-ID: HEpp5Ztp5cB

--HG--
extra : rebase_source : 2ff5dbc9c6435aee411abb9be797e64e006bf7ae
2017-01-23 15:46:42 +08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze dca267bbc7 Bug 1334199 - make the no-useless-parameters eslint rule report getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:01 +01:00
Neil Deakin b4e25b502a Bug 1332708, open start dragging on a menuitem when dropdown is open, r=mconley 2017-01-26 05:43:30 -05:00
Phil Ringnalda 7da3c9dcf4 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00
Sebastian Hengst 9a59f695d5 Bug 1331608 - show every month exactly once in monthpicker. r=mconley
MozReview-Commit-ID: CNyo3d7PN8c

--HG--
extra : rebase_source : a695a45c2c311201e3c898d01b2e0bbd1d0bb2c6
2017-01-23 12:37:32 +01:00
Scott Wu e6a72b8eb5 Bug 1329589 - Set calendar variables for date picker using Intl.getCalendarInfo r=gandalf,mconley
MozReview-Commit-ID: KmKVSAyNgeW

--HG--
extra : rebase_source : a622ba80eb46f7c47f87747d0fdbd9766b54cec0
2017-01-10 16:41:36 +08:00
Mike de Boer a6ba9e50b7 Bug 1332757 - don't select the findbar input field contents upon find-again when modal highlighting is enabled. r=Gijs
MozReview-Commit-ID: 7H1yZtTVLXC

--HG--
extra : rebase_source : af5fdec9f7a881e8166823cf554ce3ea1c1fe4c3
2017-01-23 13:31:18 +01:00
Matthew Noorenberghe df8974cb62 Bug 1319176 - Open the SUMO page when the insecure login warning is clicked. r=seanlee
MozReview-Commit-ID: JxAps2ySOnZ

--HG--
rename : toolkit/components/passwordmgr/test/browser/browser_insecurePasswordWarning.js => toolkit/components/passwordmgr/test/browser/browser_insecurePasswordConsoleWarning.js
extra : rebase_source : 33bca31c943c99374e432defb2d6c6ac39262cf9
2017-01-23 16:06:22 -08:00
Christoph Kerschbaumer efed4c23ee Bug 1331686 - Pass correct triggeringPrincipal for tabs openen through ctrl-click and open link in new tab. r=gijs 2017-01-22 11:47:36 +01:00
Ray Lin 5f1bacb107 Bug 1328061 - Restore dragging state when video seeks to the same point twice. r=Gijs
MozReview-Commit-ID: 2AiMzufcKyd

--HG--
extra : rebase_source : 790325cbf5b7c676c11f00cdf32195ebe61e33b0
2017-01-18 10:52:19 +08:00
Neil Deakin 234dd053c4 Bug 1321472, move the drag-scrolling behaviour into the menulist binding so that both remote <select> elements and <menulist> can share this behaviour, r=mconley 2017-01-19 10:04:20 -05:00
Neil Deakin 03860c9589 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:56:43 -05:00
Sebastian Hengst ab069c7236 Backed out changeset 6d632eefccb4 (bug 1325591) for failing a11y/accessible/tests/mochitest/actions/test_media.html. r=backout on a CLOSED TREE 2017-01-17 19:06:14 +01:00
Jared Wein 5e37a69783 Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
MozReview-Commit-ID: 7iXjQtp9ftV

--HG--
extra : rebase_source : 281bc81a05c3f7105918c1eac5141915851cfbe9
2017-01-17 10:38:58 -06:00
Ray Lin bdb11914be Bug 1325591 - Hide overlay and clickToPlay of video in Windows high contrast theme. r=mikedeboer
MozReview-Commit-ID: ARxnSMQ32el

--HG--
extra : rebase_source : 033d6381f4dff75c44a4bbf4923695cce3be140b
2017-01-16 12:06:07 +08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jessica Jong 1f0dcc2334 Bug 1320225 - [DateTimeInput] Integration of input type=date input box with picker (part 1). r=mconley,smaug 2017-01-17 13:09:03 +08:00
Mike de Boer 6e5d62a6f2 Bug 1316514 - if we attempt to make the 'Highlight All' toggle a global setting, then we need to set the pref when toggled. r=Gijs
What you see first is the removal of the line `this._highlightAll = aHighlight;`, which is repeated in the `_setHighlightAll` method.
This line was put here initially to make the test_findbar_events.xul test pass but in fact makes it so that the pref is never set in `_setHighlightAll`!
In other words, we never actually persisted the 'Highlight All' state properly.
Reading further: the `_dispatchFindEvent` attaches some findbar state flags to the event details, including the value of `_highlightAll`.
Even though none of our consumers use it currently (haven't checked if TB does, though), you can cancel further execution of highlighting all ranges.
Since the `_setHighlightAll` doesn't do that kind of processing, but merely makes sure the internal state is up to snuff, is persisted properly and the buttons are updated, I moved it up to be invoked before dispatching the event.

MozReview-Commit-ID: 4BBy4FR1r5c

--HG--
extra : rebase_source : 204e77aaef3cd55886daeb2e0fdef84da1159c68
2017-01-13 17:27:18 +01:00
Scott Wu fef6d9cb6c Bug 1320225 - [DateTimeInput] Integration of input type=date picker with input box (part 2). r=mconley
MozReview-Commit-ID: DcwvCSa1ofR

--HG--
extra : rebase_source : e67b1b6feec4952859d635cbf468bd927db6c8bc
2016-12-21 14:51:53 +08:00
Neil Deakin cef415ae16 Bug 1329907, use opacity to clear the treecell text while editing instead of changing the value, r=jaws 2017-01-11 08:07:37 -05:00
Michael 7fde7078aa Bug 1300784 - Combine non-e10s and e10s select dropdown implementations, preffed off. r=mconley
Patch by Michael Wright and Freddy (Junshan) Luo.

MozReview-Commit-ID: G0CaZplABpC

--HG--
extra : rebase_source : d0e29ecc80835bf227f623643518ec0cf2d01364
2016-12-21 11:09:39 -05:00
Carsten "Tomcat" Book 47628ca590 Merge mozilla-central to autoland 2017-01-10 12:24:10 +01:00
Carsten "Tomcat" Book 89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Wes Kocher 105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Sean Lee 857b7ed220 Bug 1325695 - Handle Overflow and OverUnderflow cases when adjusting the height of autocomplete popup.; r=adw
MozReview-Commit-ID: 2U0di120coT

--HG--
extra : rebase_source : 676170871316fc84119d884e74a48fb95e97429f
2016-12-24 06:14:41 +08:00
Scott Wu 2c37b1a545 Bug 1325922 - Add arrows svg file and style month-year button for date picker r=mconley
MozReview-Commit-ID: KH0nTr7kN2m

--HG--
extra : rebase_source : 1211f50553b8ab38e59c8000fd4c0ef25a9ed0bc
2016-11-24 16:45:28 +08:00
Mike de Boer 607071aae6 Bug 1327212 - undo a line removal done in bug 935521 that causes regressions. r=Gijs
MozReview-Commit-ID: HaUEOSpEsXs

--HG--
extra : rebase_source : d95b913bf4305a801c0ec6247a15d78b2902c48d
2017-01-07 01:05:33 +01:00
Jared Wein 446545a6ee Bug 1329013 - Enable no-lone-blocks rule for eslint and remove the seven unnecessary blocks that it found. r=mossop
MozReview-Commit-ID: 9DJGO4en378

--HG--
extra : rebase_source : 820f939e9a751c9be4461ef225fa73fff7829675
2017-01-05 13:30:25 -05:00
Mike de Boer 1a8c598c70 Bug 1324143 - part 1 - remove the deprecated '_getRangeContentArray' utility method and its uses, the unused '_maybeHighlightAll' findbar method and cleanup range outline highlighting code. r=jaws
MozReview-Commit-ID: gLKKEd3CoA

--HG--
extra : rebase_source : d9a7d19ac8787b0292a82387df886b8635d9fe43
2017-01-06 13:11:26 +01:00
Wes Kocher 1b9930db65 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2ocdQCLe0I1
2017-01-05 17:31:25 -08:00
Ray Lin 951126c380 Bug 1325594 - Prevent controls being tabbed inside video control. r=mikedeboer
MozReview-Commit-ID: cYSumQ084S

--HG--
extra : rebase_source : 548efdb6e2006e32ee92fe3229e85ddcb56b6d0d
2017-01-04 17:18:42 +08:00
Carsten "Tomcat" Book 1f7edaeef1 Backed out changeset e1ee23936aa8 (bug 1327212) for clipboard tests 2017-01-04 14:25:58 +01:00
Mike de Boer 13be049e38 Bug 1327212 - undo a line removal done in bug 935521 that causes regressions. r=Gijs
MozReview-Commit-ID: EJyhEUviMhI

--HG--
extra : rebase_source : 2a748ebd9a2620e4e45ade2e4caa6f115b5b3bcc
2017-01-03 17:52:20 +01:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
J. Ryan Stinnett 3ab5230464 Bug 1326445 - Remove Gonk specific video controls. r=jaws
MozReview-Commit-ID: 75Ui045M21V

--HG--
extra : rebase_source : a04bffedb153ad5ef37f15145695a8bf79c09c44
2016-12-30 12:18:44 -06:00
Philip Chee 2038d42f75 Bug 1326210 - Noticed in Bug 1265881 Error: TypeError: temp is null Source File: chrome://global/content/bindings/preferences.xml Line: 1227 r=Mossop 2016-12-31 04:50:26 +08:00
Jared Wein 2bd8ec9d21 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 264815538de1d0698cbd82e1b995be1b1b07f373
2016-12-28 12:22:09 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein e916e6e896 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 4085737de26adb421eb9b3c9e9841d44a1c89fa4
2016-12-28 12:22:09 -05:00
aceman 81424a65e3 Bug 1142224 - focus the menulist (instead of the inputbox) once it stops being editable. r=enndeakin 2016-12-21 10:03:00 +01:00
Masayuki Nakano 4f6e3ae44a Bug 1320467 <scrollbox>.lineScrollAmount should return average width or height r=mstange
Currently, <scrollbox>.lineScrollAmount returns its font height.  However, according to the other methods, <scrollbox> is designed for scrolling elements in it.  Additionally, old implementation declared that1 line is 1 element.  Therefore, this patch makes it returns avarage width or height of the children.

MozReview-Commit-ID: E9qfhHy5sTt

--HG--
extra : rebase_source : a85c632242e5824596e9363c80323f1c9a89b39a
2016-12-10 11:39:34 +09:00
Masayuki Nakano fa3151a9d8 Bug 1320609 part.1 wheel event handler of <scrollbox> should use |_smoothScrollByPixels| instead of |scrollByPixels| when the deltaMode is DOM_DELTA_LINE or DOM_DELTA_PAGE r=mstange
<scrollbox> should scroll its contents smoothly even if wheel device doesn't support high resolution scroll.

This patch makes the wheel event handler use |_smoothScrollByPixels| when deltaMode is DOM_DELTA_LINE or DOM_DELTA_PAGE.  The reason why ignoring DOM_DELTA_PIXEL is, such devices are typically supports high resolution scroll.  Therefore, <scrollbox> doesn't need to animate its scroll by itself.

However, |_smoothScrollByPixels| doesn't work fine without some additional fixes.

First, this patch doesn't stop pending scroll from |_smoothScrollByPixels| because discarding some pending scroll causes slower scroll.  Actually, when you turn mouse wheel faster, scroll amount becomes smaller without this fix.

Next, this patch adds continous scroll mode to |_scrollAnim| object.  If it's requested new animation during processing previous scroll, it keeps previous scroll amount and restart animation with new destination.  Additionally, accumulating the scroll distance as fractional value.  Therefore, it scrolls 3px when 1.5px scroll is requested twice.

Finally, this patch discards pending scrolls when user tries to scroll to reverse direction.  When user tries to scroll to reserse direction, the user must want to scroll the contents from current position rather than actual scroll destination.  Therefore, this patch discards pending scrolls in |_smoothScrollByPixels|.  Although, it might be better to handle this in |_scrollAnim|.  However, |_isScrolling| is not managed by it and changing the behavior in private method is safer than changing utility object (i.e., |_scrollAnim|).

Additionally, this patch fixes timestamp issue at callback of requestAnimationFrame().  Sometimes, the given timestamp is older than start time.  In that case, current code scrolls to reverse diretion.  Therefore, we should treat such old timestamp as same as start time.

MozReview-Commit-ID: DluWUN2VhVw

--HG--
extra : rebase_source : 067467444c7a0aee4d551410c50de3a8a97601c5
2016-12-22 20:04:35 +09:00
Neil Deakin c2823e53e4 Bug 1328410 - only restore focus if the user did not explicitly place focus elsewhere, r=jaws
MozReview-Commit-ID: CdL2gN7EgbF

--HG--
extra : rebase_source : 0ccedd666b999e4adbab8443bb75c0695606f304
2017-01-04 23:01:34 +00:00
Florian Quèze e98dedc5c2 Bug 1329182 - remove trailing newURI null parameters in XBL bindings, r=jaws. 2017-01-09 20:27:25 +01:00
Thomas Nguyen 0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Michael Layzell 0fa642800b Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU

--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Wes Kocher 0b3c388b2f Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00
Jessica Jong 556aae19f0 Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug
--HG--
rename : dom/html/test/forms/test_input_time_focus_blur_events.html => dom/html/test/forms/test_input_datetime_focus_blur_events.html
2016-12-19 00:50:00 +08:00
Masayuki Nakano 7436f01057 Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).

This patch moves all of them to nsIEditor for avoiding redundant QIs.

MozReview-Commit-ID: DzIKuGHG4iy

--HG--
extra : rebase_source : cc5e9a6ae4572ebe461d9770ffa5c23d33dc8526
2016-12-20 21:47:31 +09:00
Ray Lin 5148fc1d9d Bug 1319569 - Remove unused timeThumb binding in videocontrols.xml and unreferenced statistics formatting styling from videocontrols.css. r=jaws
The timeThumb is no longer used since bug 1271765 and the statistics were removed by bug 1270853.

MozReview-Commit-ID: 3Pwl381IBdz
2016-12-16 02:22:00 -05:00
Jared Wein 0070259e2a Bug 1323767 - Fix the indentation and inconsistent brace-style, and switch to using ES6 method definitions in videocontrols.xml. r=ralin
MozReview-Commit-ID: 9GNVgX5gZpc

--HG--
extra : rebase_source : 2f47a742d8486218041f5f717b209aa8f4d1d881
2016-12-15 12:29:04 -05:00
Scott Wu d9cd33f405 Bug 1323109 - Fixed date time pickers popup position; r=mconley
MozReview-Commit-ID: DuY4ZVyszBE

--HG--
extra : rebase_source : 68e42287c3526bffd5785c20ffd3c12ab3a7fe0b
2016-12-01 16:45:16 +08:00
Marco Bonardo 96cd40a062 Bug 1323600 - Some fields have been converted to properties and won't reset anymore when the binding is recreated. r=mossop
MozReview-Commit-ID: CHxBFpbW6aS

--HG--
extra : rebase_source : caa8602ca6e0648b8f52e8de9c430298528d3286
2016-12-15 00:58:21 +01:00
Scott Wu 7b525c00a2 Bug 1283385 - (1/2) Implement date picker UI; r=mconley
MozReview-Commit-ID: 8uscU75qrkR

--HG--
extra : rebase_source : d3907de7978c1e9241c696d5c2c73115bba455f8
2016-11-09 23:38:11 +08:00
Joel Maher 9f60f5a226 backout aba885aafee0210b1f063a423b1c0b3ce28d15f7 for intermittent bug 1272834
MozReview-Commit-ID: BTJ13wWojaI
2016-12-14 10:59:43 -05:00
Carsten "Tomcat" Book fd4709f9c1 merge mozilla-inbound to mozilla-central a=merge 2016-12-14 16:41:28 +01:00
Carsten "Tomcat" Book ed466535b0 Backed out changeset effd2d3a31e0 (bug 1283385i) for eslint failures 2016-12-14 09:42:27 +01:00
Michael Layzell 5d13424101 Bug 1318767 - Part 2: Correctly swap web progress listeners when swapping frameloaders, r=dao
MozReview-Commit-ID: KbUd2Os5qac
2016-11-25 10:06:00 +08:00
Scott Wu 54ad40c942 Bug 1283385 - (1/2) Implement date picker UI; r=mconley
MozReview-Commit-ID: 8uscU75qrkR

--HG--
extra : rebase_source : 3040a648c0e744e2a8f7b1b4d07ff02e0cee318b
2016-11-09 23:38:11 +08:00
Mark Banner 4f94e4bd68 Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
MozReview-Commit-ID: CiIsUjQzp4D

--HG--
extra : rebase_source : 1b98e88673625a52ef82c1fad5d56aec3e2e8e80
2016-11-09 22:06:32 +00:00
Ray Lin a28321d288 Bug 1319301 - Part 1. fadeout grey spacer when play event is not triggered by controls. r=jaws
MozReview-Commit-ID: AouOiY9EGo8

--HG--
extra : rebase_source : f9bc781a3d87bee64d8b5b87e403b1d0c6a299dc
2016-11-22 11:48:04 +08:00
Carsten "Tomcat" Book 51614d31e4 Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell b5fd619e72 Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Timothy Guan-tin Chien f362306fab Bug 1317882 - Calculate overflow for the insecure field richlistitem in the constructor. r=MattN
MozReview-Commit-ID: 9OxrUyK38Ss
2016-11-29 21:18:58 -08:00
Florian Quèze aca29148b2 Bug 1319844 - Fix a few broken paths, r=Gijs. 2016-11-28 12:29:31 +01:00
Carsten "Tomcat" Book d17bc55a94 Backed out changeset b05c8f63d8a2 (bug 1319844) 2016-11-28 15:56:44 +01:00
Florian Quèze dcdba1c4c0 Bug 1319844 - Fix a few broken paths, r=Gijs. 2016-11-28 12:29:31 +01:00
Carsten "Tomcat" Book b2aaf4ffac Merge mozilla-central to autoland 2016-11-25 16:30:53 +01:00
Johann Hofmann a3aed9a4ba Bug 1315236 - Handle popup notifications with no actions. r=Paolo
MozReview-Commit-ID: F3rkoEovBYc

--HG--
extra : rebase_source : dd6ae446b14eb34f56beaa7f8159565b9fdc8e85
2016-11-23 12:16:50 +01:00
Carsten "Tomcat" Book dd36826044 Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Bob Owen 4f48f9317d Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-24 15:08:30 +00:00
Wes Kocher b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Matthew Noorenberghe 5f138b9942 Bug 1318537 - Remove Learn More link from the insecure login field autocomplete popup. r=seanlee
MozReview-Commit-ID: KbRokkIr8DE

--HG--
extra : rebase_source : d25cb7d611870ef30d0fdc074b5ba3db236776e9
2016-11-23 13:42:00 -08:00
Masayuki Nakano f33e5256c6 Bug 1316505 part.2 The "wheel" event of <scrollbox> should use |.scrollByPixels()| instead of |.scrollByPages()| for respecting high resolution delta value and making the scroll smoother r=mstange
Similar to the previous patch, "wheel" event should use |.scrollByPixels()| instead of |.scrollByPages()| because |.scrollByPages()| doesn't support high resolution delta value.

This patch makes the "wheel" event handler of <scrollbox> use |.scrollByPixels()| at handling "wheel" events whose deltaMode is DOM_DELTA_PAGE and multiplies the delta value and |.scrollClientSize|.

MozReview-Commit-ID: 1nyD7niiq3W

--HG--
extra : rebase_source : 41265adb74c015be88bd35d7cdc3cd18a585cf84
2016-11-13 18:04:08 +09:00
Masayuki Nakano b6f661b681 Bug 1316505 part.1 The "wheel" event handler of <scrollbox> should use |.scrollByPixels()| for respecting wheel event's scroll speed and scrolling smoother r=mstange
Currently, ths "wheel" event handler of <scrollbox> uses |.scrollByIndex()|.  However, it scrolls too fast when "wheel" event has high resolution delta value when its deltaMode is DOM_DELTA_LINE.

For respecting the delta value, it should use |.scrollByPixels()|.  Therefore, this patch implements new readonly property, |.lineScrollAmount|, which returns font size of the |.scrollbox| and makes "wheel" event handler multiplies the delta value and |.lineScrollAmount|.

MozReview-Commit-ID: KzIvJyxqrn5

--HG--
extra : rebase_source : 0e11608bf4c47cd7aeef3c1a91b705cfcdf281ab
2016-11-13 19:17:07 +09:00
Sebastian Hengst 4240700f13 Backed out changeset 5b26ae9afaea (bug 1147911) 2016-11-23 18:33:10 +01:00
Bob Owen 67d3ea6af8 Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-23 13:36:57 +00:00
Ray Lin e6fe42b1fa Bug 1302310 - Make the width of video control match video container. r=jaws
MozReview-Commit-ID: B2pyiVfXBMF

--HG--
extra : rebase_source : 6ce4768f338a02d7789a71e9ca02a15c940ecd7b
2016-11-21 10:21:28 +08:00
Panos Astithas 64baf2d729 Bug 1282768 - Part 2 - Move the secondary actions of doorhanger notifications to their own menu button. r=paolo
MozReview-Commit-ID: 2cnufF7wZJG

--HG--
extra : rebase_source : 6bb9c9f8bd52bd8e6f54cbc2b0ef2760fee25c3a
2016-11-20 18:40:22 +01:00
Jonathan Kingston 74e50ea3c1 Bug 1267604 - Restyle doorhanger notifications. r=paolo
MozReview-Commit-ID: HBykgFhgjmX

--HG--
extra : rebase_source : fd94d5e2549271b4f0696b1435bce9178cb291d1
2016-11-20 18:40:08 +01:00
Michael Layzell faee358314 Bug 1310771 - Part 1: Add an aFlags argument to nsIBrowser::SwapBrowsers, r=mconley
This adds a single flag, SWAP_KEEP_PERMANENT_KEY, which tells the
browser that when it performs the swap, the permanent key should stick
with the browser, rather than following the frameLoader.

This patch also adds the implementation of tabbrowser.swapBrowsers,
which was previously absent, despite being referenced.

MozReview-Commit-ID: CLwJYzpY8Pp
2016-11-18 16:00:43 -05:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Jessica Jong 5509eabfe1 Bug 1314544 - Allow keyboard shortcut when focus is on date/time input box. r=mconley 2016-11-16 23:16:00 +01:00
Sebastian Hengst 5fca81c6e4 Backed out changeset 5cffb4645bc0 (bug 1147911) 2016-11-18 00:58:52 +01:00
Phil Ringnalda ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Neil Deakin e8520ef209 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book 27c7333444 Backed out changeset 09093d38540e (bug 1311279) 2016-11-17 15:42:38 +01:00
Neil Deakin 5a0853cab6 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:28:27 -05:00
Ray Lin 1bd816d4fd Bug 1271765 - Part 3. Update tests for video control visual refresh. r=jaws
MozReview-Commit-ID: 24GoxgtN0Bo

--HG--
extra : rebase_source : 77f7a196f55b1a2327985cd31b74fa3eb828d1c0
2016-11-09 16:47:29 +08:00
Bob Owen 8c7b20c42d Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-17 15:48:52 +00:00
Ray Lin 8c3d97d3bc Bug 1271765 - Part 2: Desktop media control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : e3b49788ddac0537281c8e2fb33c66b31e631db3
2016-10-12 13:31:32 +08:00
Dave Townsend c5bb304fd9 Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm

--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Dave Townsend 6135d646ca Bug 1316882: Turn on space-unary-ops eslint rule. r=MattN
MozReview-Commit-ID: 1xb6sWwhjvd

--HG--
extra : rebase_source : b29de9b4d966a824aee0c65c838e79bc9f35837c
2016-11-10 15:25:40 -08:00
Dave Townsend 35f308c33a Bug 1316882: Turn on rest-spread-spacing eslint rule. r=felipe
MozReview-Commit-ID: EbRmrGz1G0a

--HG--
extra : rebase_source : be99c7cd82799f32d384c2c2621db2ed36f165d8
2016-11-10 15:12:47 -08:00
Dave Townsend 4ac0e05ec7 Bug 1316882: Turn on func-call-spacing eslint rule. r=bgrins
MozReview-Commit-ID: GIkQnRX9woD

--HG--
extra : rebase_source : ed6e9af9b102aaf92965d089d8022b9d94e3f440
2016-11-10 15:05:32 -08:00
Dave Townsend 0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Mike de Boer 877d38b3a2 Bug 935521 - properly disable the find next/ previous buttons on the find toolbar and update their appearance when disabled. r=Gijs
MozReview-Commit-ID: ECynT7VYvTt

--HG--
extra : rebase_source : 963d53ed044a015d36d1fcb46e7744cb66a36593
2016-11-14 13:00:34 +01:00
Wes Kocher cee41d5b80 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Carsten "Tomcat" Book 56781b3922 Backed out changeset 9cfc41a2869e (bug 1267810) for eslint failures 2016-11-11 09:08:33 +01:00
Alastor Wu b2b31d2a59 Bug 1308153 - part1 : notify tabbrowser when the tab was blocked. r=baku,jaws
We need to notify tabbrowser about media-blocking so that we can show the unblocking tab icon.
See bug1308399 for more UX details.

MozReview-Commit-ID: E25lEhZLCZk

--HG--
extra : rebase_source : dcb6cb520bb0983010dfcc728f7251994a886612
2016-11-11 10:42:35 +08:00
Matthew Wein a860065ecd Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : 4a319a11cc8f76e24edfccf15256404d3e858087
2016-11-11 12:41:05 +00:00
Matthew Wein 1dc56d3c39 Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : ef23c5eb90a7e882c09736724ed5b63773be061c
2016-11-11 02:06:14 +00:00
Neil Deakin 855d5e72e3 Bug 1314802, handle text zoom for select popups, r=felipe 2016-11-11 10:30:48 -05:00
Andrea Marchesini 73db43e2da Bug 1316359 - autocomplete.xml must get userContextId from the attribute of the element instead using contentPrincipal, r=Gijs 2016-11-09 19:43:34 +01:00
Carsten "Tomcat" Book 5b3af6e85f Merge mozilla-central to mozilla-inbound 2016-11-09 16:39:18 +01:00
Florian Quèze 8329214144 Bug 1315228 - add a popupIconClass option to popup notifications so that the microphone and screensharing icons can be set without hacks, r=paolo. 2016-11-09 15:32:49 +01:00
Scott Wu 5a636ae0ec Bug 1301284 - Update time picker style to match visual spec; r=mconley
MozReview-Commit-ID: LqYl8qRzlBg

--HG--
extra : rebase_source : af865b9253bd2001eb468863cce13b585bb546e3
2016-10-17 17:24:39 +08:00
Jessica Jong 9285108ef6 Bug 1314542 - Verify millisecond field when setting input time elemet's value. r=mconley 2016-11-04 00:59:00 -04:00
Wes Kocher db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Dave Townsend 6a07a42125 Bug 1314343: Turn on no-unreachable in eslint. r=standard8
Unreachable code can be a sign of a mistake so we should turn this rule on.

MozReview-Commit-ID: LQphsNL7HBX

--HG--
extra : rebase_source : eb5fdb1157cac6e447492ac89bb15d83dc32eef6
2016-11-01 10:58:35 -07:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Iris Hsiao aaddb56e74 Backed out changeset 5b9b56fecb95 (bug 1267810) 2016-11-04 10:57:34 +08:00
Matthew Wein dde16e219d Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : cae9a75edb18529f608bc68f464a432300b8b88e
2016-11-03 16:27:50 +00:00
Mike Conley ca5bc4a97d Bug 1313067 - Make extra padding in autocomplete popup richlistitem opt-in. r=mak
MozReview-Commit-ID: 1nTKHSQzy7b

--HG--
extra : rebase_source : 4886392038d10e4a1cc8db67437afba2bd62b19d
2016-10-28 13:11:30 -04:00