Commit Graph
5700 Commits
Author SHA1 Message Date
Mark Banner 358fce1e31 Bug 1343519 - Change the ESLint rule 'import-browserjs-globals' to be an environment (mozilla/browser-window) to better describe the purpose of it. r=mossop
MozReview-Commit-ID: FTDV8BcMGeF
2017-03-01 21:29:52 +00:00
Mike de Boer 657a95fd6d Bug 1333270 - disable remote browser testing in test_bug263683.xul due to frequent intermittent failures. r=Gijs,jaws
MozReview-Commit-ID: GNkjXjhO1zh
2017-03-01 13:50:13 +01:00
Ricky Chien 9b8c8e13ec Bug 1340469 - Get licensing signoff on using JSZip r=gerv
MozReview-Commit-ID: 9raceTBrisO
2017-02-22 15:41:41 +08:00
Masatoshi Kimura 7f7e7b1b45 Bug 1342144 - Fix ESLint errors in toolkit/. r=Yoric
MozReview-Commit-ID: 9sp2uMryv8U
2017-02-24 22:02:11 +09:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Sebastian Hengst fca0c70529 Bug 1342388 - Make all strings at about:webrtc localizable. r=jib
MozReview-Commit-ID: BIuJKlfVGfL
2017-02-24 13:34:14 +01:00
Sebastian Hengst c0f03e69f0 Bug 1336920 - Display the presence/absence of a valid Google and Mozilla API key in about:support. r=florian,francois
MozReview-Commit-ID: CRW3Ttb5DZm
2017-02-16 13:01:21 +01:00
Carsten "Tomcat" Book edbc6dc7ca Merge mozilla-central to autoland 2017-02-24 11:54:01 +01:00
Carsten "Tomcat" Book b156024e5f merge mozilla-inbound to mozilla-central a=merge 2017-02-24 11:46:38 +01: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
Jeff Gilbert ed4d7c9c69 Bug 1341957 - Add webgl.getSupportedExtensions() to about:support. - r=daoshengmu
MozReview-Commit-ID: EQci0ZxlVyM
2017-02-23 14:42:05 -08:00
Alastor Wu c25e3a360b Bug 1339230 - part3 : add test. r=baku
MozReview-Commit-ID: FzcEwErGad3
2017-02-24 17:17:09 +08: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
Alastor Wu a79d7e38d5 Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 5RnyBRE73lQ
2017-02-23 14:15:45 +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
Sebastian Hengst 0dd56967f5 Backed out changeset c32c74847eb6 (bug 1335539) 2017-02-21 17:53:45 +01:00
Andrea Marchesini 10d85bf63f Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 15:04:47 +01: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 95a9b8273e Backed out changeset 38fa2ec33fa4 (bug 1192818) for frequently failing test_noAudioNotificationOnVolume0Element.html on Android 4.3 debug. r=backout 2017-02-21 19:30:26 +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
Carsten "Tomcat" Book 638f736b6e Merge mozilla-central to autoland 2017-02-21 14:19:28 +01:00
Carsten "Tomcat" Book 62425aaabb Backed out changeset 952f0a7824ad (bug 1335539) 2017-02-21 10:30:06 +01: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
Alastor Wu 3d07567345 Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 703JHj9dICT
2017-02-21 18:41:09 +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
Carsten "Tomcat" Book 9fbc541997 merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01: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
Jed Davis a7ea89d1b0 Bug 1286865 - Step 3: Expose rejected syscall log in about:support. r=adw r=gcp
MozReview-Commit-ID: 6YcwfRtPM2
2017-01-30 18:51:13 -07:00
Andrea Marchesini 83ac311d0c Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 07:51:35 +01: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
Carsten "Tomcat" Book a5c0126a56 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Mike de Boer 0e3dcc8b9d Bug 1333270 - wait until we find a word before we yield/ await the toggle highlight promise to avoid timing issues when switching to a remote browser element. r=jaws
MozReview-Commit-ID: F0kq7oYm8WS
2017-02-16 18:55:40 +01:00
Mark Banner 0172a32b29 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Wes Kocher 1b59f791d4 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3ZzrFonZOIV
2017-02-16 09:28:52 -08:00
Carsten "Tomcat" Book b20d301621 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Phil Ringnalda dc2920a705 Backed out changeset b834e9088133 (bug 1330144) for timeouts in test_dialogfocus.xul 2017-02-16 07:33:53 -08:00
Ryan Hunt 576ef50021 Bug 1338891 - Backout telemetry scroll tracking r=smaug 2017-02-15 18:56:23 -05:00
Neil Deakin bbadbd2016 Bug 1109868, panels should watch their anchors for position and visibility changes and update accordingly, r=tn 2017-02-16 08:53:59 -05:00
Neil Deakin 165743c3e0 Bug 1330144, don't focus 'noinitialfocus' elements at all in dialogs, r=gijs 2017-02-16 08:53:58 -05: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
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
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