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

5687 Коммитов

Автор SHA1 Сообщение Дата
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
Alastor Wu c268fbdbaf 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

--HG--
extra : rebase_source : 40ad97cbf84da6f5d013d832cb12e3ed88473dfd
2017-02-23 14:15:45 +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
Sebastian Hengst 346d08ea1b Backed out changeset c32c74847eb6 (bug 1335539) 2017-02-21 17:53:45 +01:00
Andrea Marchesini 0963d18874 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 15:04:47 +01: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 2fc30f09d3 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 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
Carsten "Tomcat" Book 1a3f1390bc Merge mozilla-central to autoland 2017-02-21 14:19:28 +01:00
Carsten "Tomcat" Book 2ccec565b5 Backed out changeset 952f0a7824ad (bug 1335539) 2017-02-21 10:30:06 +01: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
Alastor Wu c5d7911229 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

--HG--
extra : rebase_source : ad2985bd14d6a9b91a73c0d4103aa51c4981124c
2017-02-21 18:41:09 +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
Carsten "Tomcat" Book 9857d2af8e merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01: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
Jed Davis 6e97575e73 Bug 1286865 - Step 3: Expose rejected syscall log in about:support. r=adw r=gcp
MozReview-Commit-ID: 6YcwfRtPM2

--HG--
extra : rebase_source : c3c10f162d2fde842138a59bd120a4f021533ebd
2017-01-30 18:51:13 -07:00
Andrea Marchesini d9d218c052 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 07:51:35 +01: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
Carsten "Tomcat" Book 2b24bba0a1 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Mike de Boer 5dd5d5c81d 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

--HG--
extra : rebase_source : b98c39c57180ccdaab5a6d1c519973fd34dab2be
2017-02-16 18:55:40 +01:00
Mark Banner 733f0b7c97 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

--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Wes Kocher b0b1d367ca Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3ZzrFonZOIV
2017-02-16 09:28:52 -08:00
Carsten "Tomcat" Book f3b2544de0 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Phil Ringnalda 4ef229a0ed Backed out changeset b834e9088133 (bug 1330144) for timeouts in test_dialogfocus.xul 2017-02-16 07:33:53 -08:00
Ryan Hunt 456e464ab3 Bug 1338891 - Backout telemetry scroll tracking r=smaug
--HG--
extra : rebase_source : aa79a6beb132e054113c89e324e4ef00ed2b759a
2017-02-15 18:56:23 -05:00
Neil Deakin af174032a4 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 e553c554fc Bug 1330144, don't focus 'noinitialfocus' elements at all in dialogs, r=gijs 2017-02-16 08:53:58 -05: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
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
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
Carsten "Tomcat" Book 68be0676b8 merge mozilla-inbound to mozilla-central a=merge 2017-02-14 13:38:00 +01:00
Iris Hsiao 96255052b9 Backed out changeset 40d22c458595 (bug 1326138) 2017-02-14 17:54:00 +08:00
Bill McCloskey 4640ca8852 Bug 1334346 - Move print preview code in content script to separate runnable (r=smaug)
MozReview-Commit-ID: 3zvW0bwttzN
2017-02-13 17:02:41 -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
Julian Hector 94cad21ec7 Bug 1329216 - Pass default printer name to child. r=mconley 2017-02-13 13:07:44 +01:00
Florian Quèze 535b5bcde6 Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
Phil Ringnalda 215ca1024e Merge m-i to m-c, a=merge 2017-02-11 17:42:19 -08:00
Mike de Boer 04026a0202 Bug 1261233 - prevent test_bug331215.xul from intermittently timing out. r=Gijs
MozReview-Commit-ID: 4dvWUdNTBOx

--HG--
extra : rebase_source : 1a8c4aeecb8d64add18a50a13c2ba6bc082b2f10
2017-02-11 00:08:15 +01:00
Wes Kocher 9576aa1519 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HXFQTGJASw4
2017-02-08 16:21:53 -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
Mike de Boer e0827c5685 Bug 1333270 - fix frequently failing test_bug263683.xul by reordering the sequence of events on a fresh document. r=jaws
MozReview-Commit-ID: 85CnDZ6ltSB

--HG--
extra : rebase_source : f01442f962957c0832742a9d7844f0bdec467710
2017-02-08 17:16:55 +01:00