Commit Graph

2639 Commits

Author SHA1 Message Date
Jessica Jong
a2e018fff5 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
2017-03-06 14:43:23 +08:00
Jessica Jong
1aa8217bd1 Bug 1301312 - Part 1: Localize AM/PM strings for <input type=time>. r=gandalf,mconley
MozReview-Commit-ID: 2QycAbnHmHv
2017-03-06 14:43:12 +08:00
Carsten "Tomcat" Book
b4e9d644a2 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
08870c8c85 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Kaku Kuo
17d95d6b9f Bug 1309494 part 2 - implement the show throbber mechanism; r=jaws
MozReview-Commit-ID: 1UKAYu0xy9u
2017-03-13 11:29:39 +08:00
Kaku Kuo
31afa8e25a Bug 1309494 part 1 - let video controler handle the "mozexitvideosuspend" event; r=jaws
MozReview-Commit-ID: 5DfzY8kDTP4
2017-03-13 10:57:25 +08:00
Dão Gottwald
3ef0f83107 Bug 1345432 - Clean up XUL checkbox styling, remove fallback styling and fix the focus indicator. r=karlt
MozReview-Commit-ID: CcqLKFVvLwC
2017-03-13 13:12:37 +01:00
Sebastian Hengst
4938641b8f 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
fd96104492 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5
2017-02-28 15:26:12 -06:00
Florian Quèze
b15de4893d 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
73074c2660 Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws. 2017-03-07 15:29:48 +01:00
Florian Quèze
0b17fc5d60 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Florian Quèze
c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Scott Wu
d6343b365c Bug 1320880 - Add RTL support to date picker r=mconley
MozReview-Commit-ID: LIrOuUCfz17
2017-02-17 18:16:17 +08:00
Zibi Braniecki
0e13011349 Bug 1339892 - Refactor mozIntl to have a nicer API and thin logic. r=smaug
MozReview-Commit-ID: J4QXXBy7JII
2017-03-01 16:58:11 -08:00
Mark Banner
703aa9e231 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos
2017-02-20 11:45:58 +00:00
Ray Lin
cfb3f06680 Bug 1341019 - Fix undef item variable in _onChanged(). r=standard8
MozReview-Commit-ID: 1WrioG5O0Np
2017-02-20 21:55:37 +08:00
Ray Lin
8b2345dfaa Bug 1339269 - Enhance controls adjustment against delay layout reflow. r=jaws
MozReview-Commit-ID: KABc6RkCCS5
2017-02-10 17:08:44 +08:00
Alastor Wu
8748378ce4 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
2017-02-23 14:15:47 +08:00
Scott Wu
0392513abd Bug 1337319 - Order month and year spinners based on locale datetime format r=mconley
MozReview-Commit-ID: AmAVjybJZ6A
2017-02-16 15:57:54 +08:00
Wes Kocher
e62260bf19 Merge inbound to central, a=merge
MozReview-Commit-ID: EEMZdLCheAm
2017-02-21 17:35:01 -08:00
Gabor Krizsanits
31a62d0a71 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap r=felipc 2017-02-21 13:30:17 +01:00
Carsten "Tomcat" Book
277718205c Backed out changeset 59d4978e8726 (bug 1289723) for eslint failure 2017-02-21 12:11:04 +01:00
Sebastian Hengst
c830c2f9c3 Backed out changeset 042e5fbe7846 (bug 1192818) 2017-02-21 19:29:29 +01:00
Mark Banner
07bbf016e0 Bug 1341031 - Fix releasing drag capture for popups. r=mconley
MozReview-Commit-ID: 5dxGEtuQPK2
2017-02-20 13:41:34 +00:00
Alastor Wu
3ba0d9a442 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
2017-02-21 18:41:13 +08:00
Timothy Guan-tin Chien
fdd0f80f49 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
2017-02-17 17:05:27 +08:00
Ray Lin
dcafc4645d Bug 1333008 - Don't toggle play or pause when button is focused. r=jaws
MozReview-Commit-ID: 2tyQUOOMQgH
2017-02-16 14:19:32 +08:00
Mark Banner
b9ef6fd850 Bug 1322747 - Show https in autofill heuristic results. r=mak
MozReview-Commit-ID: GlOoeQBOMIi
2017-01-26 15:13:19 +00:00
Gabor Krizsanits
165d8f1a09 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap 2017-02-21 11:27:19 +01:00
Ray Lin
323edd5373 Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6
2017-01-24 23:32:36 +08:00
Scott Wu
ae5da877b7 Bug 1329927 - Use mozIntl.getDisplayNames for date picker UI r=mconley
MozReview-Commit-ID: LqKzK9jx1i6
2017-02-14 13:07:22 +08:00
J. Ryan Stinnett
fd466118f9 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
2017-02-14 14:12:35 -06:00
Sebastian Hengst
0cb503003d 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
dc4489257a Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6
2017-01-24 23:32:36 +08:00
Iris Hsiao
83f4b44e39 Backed out changeset 40d22c458595 (bug 1326138) 2017-02-14 17:54:00 +08:00
Ray Lin
2dd7feded9 Bug 1326138 - Refactor _appendCurrentResult to be more generic. r=adw
MozReview-Commit-ID: LTDVtiOYbx6
2017-01-24 23:32:36 +08:00
Matthew Noorenberghe
2b8570b31d Bug 1333256 - Bring back the insecure field warning Learn More text in bold. r=johannh
MozReview-Commit-ID: CpPgkdmbb2O
2017-02-14 02:19:20 +08:00
Wes Kocher
a64f15cdaf Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Neil Deakin
6698ca3f90 Bug 1337458, fix event reference in autoscroll mousewheel handling, r=felipe 2017-02-08 11:16:12 -05:00
Jared Wein
43e67c7c8c Bug 1336301 - Styles that are applied directly to the select element should be forwarded to the popup. r=mconley
MozReview-Commit-ID: 29DjcUUqEkx
2017-02-04 00:33:13 -05:00
Ray Lin
59f01f6b0b Bug 1328060 - re-adjust controls when get metadata of video duration. r=jaws
MozReview-Commit-ID: AKY5Umg08P6
2017-02-06 10:22:37 +08:00
Alastor Wu
f221f7b8c8 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
2017-02-03 14:47:08 +08:00
Jared Wein
e12169bf6e 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
2017-01-31 15:58:27 -05:00
Wes Kocher
8973294639 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
1d335e9426 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
2017-01-31 15:58:27 -05:00
Carsten "Tomcat" Book
ab28aaef85 Backed out changeset 6661e2f65c07 (bug 1328060) for test failures in own test 2017-02-03 12:48:03 +01:00
Ray Lin
03e50bf186 Bug 1328060 - re-adjust controls when get metadata of video duration. r=jaws
MozReview-Commit-ID: AKY5Umg08P6
2017-01-23 00:35:08 +08:00
Phil Ringnalda
54d1f898e0 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
e88f65c8de 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
2017-02-03 11:25:04 +08:00