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

2770 Коммитов

Автор SHA1 Сообщение Дата
Jessica Jong 443ac20d5c Bug 1371111 - Open picker when input element's padding area is clicked. r=mconley
Currently, we listen to click events on the xbl binding; but actually we should
listen to click events on the input element itself, so that we get called when
the padding area is clicked.

MozReview-Commit-ID: 8NQKrxSXUyL

--HG--
extra : amend_source : 6106cd61c85a94b8272f2c8ff9abc68320946cbb
2017-08-17 20:33:00 -04:00
Paolo Amadini 601339c92d Bug 1358792 - Fix uninterruptible reflow at adjustSiteIconStart. r=mak
This adds a spacer element before the type icon so we don't have to compute its initial margin.

MozReview-Commit-ID: 7dJ38Iwistn

--HG--
extra : rebase_source : a2d140d2906dba0858554c4cd7b9e97f05474518
2017-08-21 15:16:44 +01:00
Christoph Kerschbaumer e991a21b16 Bug 1370843 - Provide correct triggeringPrincipal for dropLinks. r=smaug,tooru 2017-08-22 10:07:03 +02:00
Scott Wu c42e4b8c55 Bug 1381421 - (Part 1) Handle dates earlier than 0001-01-01 and later than 275760-09-13 correctly. r=mconley
MozReview-Commit-ID: Af4ZuYIxRsT

--HG--
extra : rebase_source : 0df0422eabc074e1cd761a834931718b8ca6f733
2017-08-21 10:16:55 +08:00
Perry Jiang 1d5a1be675 Bug 1382248 - avoid loading autoscroll.png at startup. r=florian
MozReview-Commit-ID: FJppk3NjY2x
2017-07-28 14:13:13 -07:00
Wes Kocher 26b94753b0 Backed out changeset dc7527bdb79f (bug 1382248) for failures in browser_all_files_referenced.js a=backout
MozReview-Commit-ID: B5KYawseGjB
2017-08-14 14:35:52 -07:00
Perry Jiang f6ea01b2bd Bug 1382248 - avoid loading autoscroll.png at startup. r=florian
MozReview-Commit-ID: Ks6uw1tjbkG
2017-07-28 14:13:13 -07:00
Scott Wu 73ab930f53 Bug 1328219 - (Part 1) Add a PickerReady event for testing and check if picker exists before updating. r=mconley
MozReview-Commit-ID: 2GGdWskTZwJ

--HG--
extra : rebase_source : e853d073dde01ac59364a136e6d2026143dfacb6
2017-08-02 17:05:38 +08:00
Tooru Fujisawa e50adffb61 Bug 1379842 - Check content principal when dragging and dropping from browser. r=smaug 2017-08-10 09:43:35 +09:00
Masatoshi Kimura ca088e461c Bug 389565 - Remove nsIExternalProtocolService::LoadUrl. r=Paolo
MozReview-Commit-ID: lMq06cPWYB

--HG--
extra : rebase_source : 5c48597cbe4491fff93d3e757efa5ecad0f7fc22
2017-08-06 11:25:42 +09:00
Masatoshi Kimura b186427ed3 Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko

--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Dão Gottwald 14b814278d Bug 1387716 - Remove ancient workaround for bug 341047. r=masayuki
_updateScrollButtonsDisabledState doesn't use nsIScrollBoxObject, so this shouldn't be a problem anymore.

MozReview-Commit-ID: DP7RD0lA7dQ

--HG--
extra : rebase_source : b39ae8b8cd05aa454ec5e4f960db7529c3ca455f
2017-08-05 14:43:41 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Dão Gottwald 9c17a9deed Bug 1387701 - Simplify lineScrollAmount. r=masayuki
MozReview-Commit-ID: 401ja5XzBpO

--HG--
extra : rebase_source : f08808c8a6a9a1033e0cd7b24af1be7cd9fca74a
2017-08-05 12:17:11 +02:00
Dão Gottwald c2876c7355 Bug 1387084 - Use instant scroll behavior when doing pixel scrolling. r=Gijs
Touchmove and wheel events are sent frequently enough that smooth scroll behavior
prevents the expected pixel distance from being reached before the next event.

Also replace aSmoothScroll parameters with aInstant to better reflect how this
works: its purpose is to force instant scrolling, whereas omitting it falls back
to "auto" (which may mean instant or smooth depending on different factors).

The ensureElementIsVisible call from browser-customization.js can go away as
customize mode doesn't add padding around the window anymore.

Finally, remove the unused scrollPosition and scrollPaddingRect properties.

MozReview-Commit-ID: 3Ac7g6zZ0hW

--HG--
extra : rebase_source : e43d0bcab82c74e65d01a0fd79bfaec96952b35a
2017-08-05 10:12:38 +02:00
Sam Foster bae82564b3 Bug 1352075 - Implement new animation for opening/closing the arrow panels. r=dao,mossop
* Use new panel animation when opening arrow-panels (including bookmarks menu) to fade in and drop into position
* Linux/GTK is (still) excluded
* New animation is non-directional (i.e. LTR vs. RTL)

This was landed then backed out due to test failures. New since last review:

* Make opacity & transform transition durations equal - ensuring popup is not still moving when popupshown is fired
* Fix missing comma in transition-duration values
* Add animating attribute to the arrowpanel binding to disable pointer-events during the opening transition (via :jaws)
* Wait for popupshown rather than transitionend in bookmark reparenting test
* Fix specificity of CSS rules for panels/bookmarks-menu on edges other than the top (via :jaws)

MozReview-Commit-ID: DTnvyMryf5Y

--HG--
extra : rebase_source : 77895818356b1b366e93c6a8c508ae2b74dbca5c
2017-07-27 11:07:23 -07:00
Dão Gottwald 691d3a678f Bug 1356705 - Use CSS smooth scroll when smooth scrolling a XUL scrollbox. r=mconley
MozReview-Commit-ID: 4Cjr1MuSVkk

--HG--
extra : rebase_source : ed2a4e1be80d504f6e77f61427cd895b9e688fa5
2017-08-02 16:50:02 -04:00
Dão Gottwald 48da2d49f0 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: 96ug22yZt5G

--HG--
extra : rebase_source : 248c9e43cfd11de7ecee80d73b5b634b8d60e4d8
2017-08-03 09:15:23 +02:00
Wes Kocher cffa02b4bb Backed out 2 changesets (bug 1349555) for failures in viewport-units-css2-001.html a=backout
Backed out changeset 5f1e7e8de03f (bug 1349555)
Backed out changeset 3ef0f35adc9f (bug 1349555)

MozReview-Commit-ID: Ly8AeXQy5Mn
2017-08-02 15:22:58 -07:00
Dão Gottwald 4204a10e89 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
Botond Ballo a69196a7bc Bug 1385468 - Notify browser.xml when APZ cancels an AutoscrollAnimation. r=kats
The notification is sent via GeckoContentController, PAPZCTreeManager if
necessary (to go from the GPU process to the parent process), and the
observer service.

Naturally, the notification is not sent in the case where it's browser.xml
that initiates the shutdown.

MozReview-Commit-ID: IAaSf4HiDF4

--HG--
extra : rebase_source : 80855ac7d3ae44c393dde96650b330cc737f69d6
2017-07-31 19:15:26 -04:00
Sebastian Hengst 4843c0f278 Backed out changeset c9594a10a88a (bug 1349555) for failing browser_windowopen_reflows.js. r=backout 2017-08-02 18:26:37 +02:00
Dão Gottwald e1b916e06e Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Nihanth Subramanya 1592689f85 Bug 1375870 - _constructAfterChildren in preferences.xml should be called only once. r=mossop
MozReview-Commit-ID: IXywqnrAMkf

--HG--
extra : rebase_source : 4f761a66d97e5cc0ec97a12ce4050f9abb9ccaf6
2017-06-23 20:44:45 +05:30
Botond Ballo 3916c49dc6 Bug 1105109 - Put APZ autoscrolling behind a pref. r=kats
For now, the pref is off by default.

MozReview-Commit-ID: BtzmFGIAGey

--HG--
extra : rebase_source : a85b20059ae904cc18241e128974bbe8ee060468
2017-07-28 19:01:52 -04:00
Botond Ballo e54b8b4984 Bug 1105109 - Have the parent process notify APZ of the start and stop of autoscrolling. r=kats
The messages are routed through nsITabParent, nsIWidget, and IAPZCTreeManager
(the latter possibly remoted via PAPZCTreeManager if out-of-process compositing
is used).

MozReview-Commit-ID: 1zXzLa1fqpG

--HG--
extra : rebase_source : c482816ecbaec0a889d817851ee15be186b2a49c
2017-07-26 19:33:02 -04:00
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Carsten "Tomcat" Book 732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sam Foster fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher 4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Wes Kocher 823f61b3a6 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Sam Foster 3dd758f190 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
Zibi Braniecki cc3d3ab8cd Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
MozReview-Commit-ID: IqGbT6ZUfuN

--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
extra : rebase_source : 3180b337ec33bfc8959d0189c8a53ca2c3306e95
2017-07-14 16:47:23 -07:00
Wes Kocher 55d0ef80b9 Backed out changeset 49c4c4a3fb81 (bug 1380065) for failures in browser_aboutStopReload.js a=backout CLOSED TREE
MozReview-Commit-ID: Hxfpijgy3dL

--HG--
extra : amend_source : 588ff0272fac30b78726cf2e216c4f0294c2f3ab
2017-07-21 17:01:30 -07:00
Sam Foster d169f11f91 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : a83177668dc2035ff5c6d92a5f93227190583229
2017-07-13 14:30:38 -04:00
Johann Hofmann 39ffb53fce Bug 1371219 - Increase margin of main menu items when accessed through touch. r=mikedeboer
MozReview-Commit-ID: 9gjxxc6O5YS

--HG--
extra : rebase_source : 71cec7055786687a23325ec667d59a2e630f5c57
2017-07-20 16:45:02 +02:00
Ray Lin 1154d19e13 Bug 1382218 - Cap the height of <audio> controlBar as well to get rid of endless reflow. r=jaws
MozReview-Commit-ID: A0wukWRE4fM

--HG--
extra : rebase_source : a789a7ee05ce19440421c0d20743f95e3f651985
2017-07-20 23:14:33 +08:00
Alastor Wu 3308cbf81c Bug 1274919 - part4 : add telemetry probe to measure how long the cursor is hovering before opening the tab. r=bsmedberg,mikedeboer
Measure the time how long the cursor is hovering before opening the unselected
tab. If the tab didn't be opened, the data won't be recorded.

MozReview-Commit-ID: 4oTj0RzJhG

--HG--
extra : rebase_source : 7706df672012027a0def84674e83ea7afd7ee50f
2017-07-20 15:11:35 +08:00
Alastor Wu 1499ee0710 Bug 1274919 - part3 : only send msg if someone is waiting for it. r=jwwang,mikedeboer
Only send the msg "Browser:UnselectedTabHover" when someone requests for the
msg, it can reduce non-necessary communication.

MozReview-Commit-ID: 2mBUMB4AMVo

--HG--
extra : rebase_source : d7a5103e2713735fdd0f65c7de381b219f4cce26
2017-07-20 15:11:25 +08:00
Alastor Wu f0710402aa Bug 1274919 - part1 : send the msg "Browser:UnselectedTabHover" when the cursor is hovering over or leaving the unselected tab r=mikedeboer
This msg is used to notify the status whether the cursor is hovering over the
unselected tab or not.

It's used for the media's feature, resuming the background video decoding.

MozReview-Commit-ID: GuAyLNdH10c

--HG--
extra : rebase_source : 4419dfda8f7f2c7224244b19341ec4987a66fdbe
2017-07-20 14:13:08 +08:00
Scott Wu b9f9b49999 Bug 1382175 - Fix time picker step and min/max regressions. r=mconley
Bug 1363672 uses .getStep() to obtain the step size for an input element in ms,
so we won't need to do conversion anymore. Bug 1364026 uses .getMinimum() and
.getMaximum() to obtain min and max in ms, rather than strings.

MozReview-Commit-ID: pFNcsqEaC0

--HG--
extra : rebase_source : dcba3a0c537580e0675db4cbe17a8d3209395014
2017-07-19 18:44:23 +08:00
Scott Wu 9313aeafa2 Bug 1370086 - [DateTimePicker] Ensure calendar type is Gregorian for all locales. r=gandalf,mconley
MozReview-Commit-ID: H7kPn2bdEhP

--HG--
extra : rebase_source : 0c36a0a9ea79d97375a2ebd506ec8ca880ff881d
2017-07-17 14:31:45 +08:00
Scott Wu e99e36dd18 Bug 1364026 - (Part 2) Check if min and max attributes on input type date are valid date strings. r=mconley
MozReview-Commit-ID: LX6VveJdqer

--HG--
extra : rebase_source : 26429f23121ec39d3658f4aeeeca82a75b99c986
2017-07-11 13:58:04 +08:00
Scott Wu 4a3697d589 Bug 1363672 - Add step support to date picker. r=mconley
MozReview-Commit-ID: 62IfiKArN34

--HG--
extra : rebase_source : 79f38ecd1617d4eb2ea6a9d4e612d172b832c427
2017-05-11 12:16:18 +08:00
Ray Lin dce63d52a4 Bug 1379030 - Only set calculated size to controlbar for audio element since audio-only video has already had given size from layout. r=jaws
MozReview-Commit-ID: 5H5U18DMVxO

--HG--
extra : rebase_source : 0b4129033e6073bd8bb696509f75fe8aca8a56df
2017-07-10 11:25:01 +08:00
Kris Maglione 330469aeb9 Bug 1357486: Part 0g - Run remote debugger host browser in same TabGroup as extension pages. r=me
MozReview-Commit-ID: BPqf0X1hwV6

--HG--
extra : rebase_source : 82b80bbb47533d1bc4ad0ec1e3767b3858d0e946
extra : absorb_source : 9ee1c9f7e5a42743d2ea9e49eae2f509d85ada21
extra : histedit_source : cf82313b4725f01ecd6c6a41b519e41a2d107e09
2017-07-08 15:56:10 -07:00
Ray Lin bb0ee23e51 Bug 1367868 - Don't hide media controls when error occurred for audio even if it hasn't been played yet. r=jaws
Unlike video element, audio has no status overlay to inform users if an
error occurred. Instead of hiding entire media controls, we should keep
it visible in order not confuse users, and see if we can come up with a
better approach such as making the buttons disabled afterwards.

MozReview-Commit-ID: 8YSCxbWwg2O

--HG--
extra : rebase_source : 0da6ce16fe28c7f1d0cbafe0c518f5c2c273abf1
2017-07-04 14:34:13 +08:00