Commit Graph

2778 Commits

Author SHA1 Message Date
Ehsan Akhgari
530c747a80 Bug 1395795 - Convert RemoteController.jsm into a normal JS script in order to avoid paying the cost of wrapping the arrays passed in the arguments; r=Mossop 2017-09-01 15:12:08 -04:00
Brian Grinstead
26a7c6c740 Bug 1394975 - Remove the tabbrowser-tabbox xbl binding;r=mossop
This is used to change the tabs property on the tabbox, which can be done
on the tabbox binding directly by passing an attribute

MozReview-Commit-ID: EViFT4O4ozl

--HG--
extra : rebase_source : 896de8e284237547b31baa0761901d1ecf672fc5
2017-08-31 09:31:36 -07:00
John Lin
38273ed7b3 Bug 842782 - p3: lock fullscreen video orientation. r=ralin
- if enabled, lock orienation when fullscreen state change
- use video aspect ratio to choose which orientation to lock

MozReview-Commit-ID: 3HP60YNbWcc
2017-08-28 18:15:44 +08:00
Sebastian Hengst
de6f7dc3a1 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-08-25 13:21:40 +02:00
Jessica Jong
8a5430a780 Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked. r=mconley
Currently, we use 'noautohide' to avoid closing the picker when the anchored
input box is clicked. However, 'noautohide' does not work well on some Linux
distributions and noautohide panels behave differently to regular panels when
mousing over another window. So, 'nolluponanchor' is what we want here.

MozReview-Commit-ID: CfkufnbUw4v
2017-08-25 17:15:13 +08:00
Dan Banner
f1eb5aaa84 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh

--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
Ray Lin
119a277823 Bug 1391791 - Calculate controlBar width without counting toward audio padding. r=jaws
MozReview-Commit-ID: DHuUef5R2VN

--HG--
extra : rebase_source : 8244ef873e04134bba516aa7aff159281f723380
2017-08-22 22:46:33 +08:00
Kris Maglione
821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
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