Commit graph

3937 commits

Author SHA1 Message Date
Wes Kocher
b11975d1ad Merge m-c to autoland, a=merge
MozReview-Commit-ID: L5cEw8jWPNI
2017-07-31 17:53:14 -07:00
Wes Kocher
179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
1ac9951d82 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs
--HG--
extra : rebase_source : 838f891fc0d6a53a82f06f6b9c4261ae89c79cc3
2017-07-31 12:51:35 +02:00
Sebastian Hengst
3625be87df Backed out changeset ecaae0733ca1 (bug 1383367)
MozReview-Commit-ID: 2lnZ8OUnXnG
2017-07-30 12:54:02 +02:00
Kris Maglione
89980ca107 Bug 1383367: Part 3 - Defer getComputedStyle call if a reflow is currently pending. r=mconley
MozReview-Commit-ID: 33IRfOlaBxP

--HG--
extra : source : 1f9ec38274940ff20a1bfc0a6b8c76ea5ae16cff
2017-07-26 14:30:00 -07:00
Drew Willcoxon
6f9f704b57 Bug 1374477 - Add browser-pageActions.js for Photon page actions. r=Gijs
MozReview-Commit-ID: DUl7WlSnk4k

--HG--
extra : rebase_source : 2f7f39fc30216f330a1488c574cad856189fbe8d
2017-07-29 20:24:58 -07:00
Carsten "Tomcat" Book
139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Gijs Kruitbosch
4d02b42e8a Bug 1378807 - make search bar shortcut work in the permanent overflow panel, r=bwinton
MozReview-Commit-ID: HLdegoy2525

--HG--
extra : rebase_source : 8442a0b0e1f5cdb76870f7e70252506d96a900cc
2017-07-27 15:00:38 +01:00
Kershaw Chang
fc3aa4a532 Bug 1366822 - Part1: Modify NetworkPrioritizer to only update selected tab's window ID, r=dao
The original NetworkPrioritizer tracks each browser window and give the high priority to the selected tab.
This patch is based on the NetworkPrioritizer, but only send a notification of the current selected tab's content outer window ID to network module.
2017-07-27 23:41:00 +02:00
Carsten "Tomcat" Book
4588f63d76 Backed out changeset 1f9ec3827494 (bug 1383367) 2017-07-28 09:45:16 +02:00
Kris Maglione
6463caf0f6 Bug 1383367: Part 3 - Defer getComputedStyle call if a reflow is currently pending. r=mconley
MozReview-Commit-ID: 33IRfOlaBxP

--HG--
extra : rebase_source : a1de8cdc6819dc9c8ecceb790247640a8162149f
2017-07-26 14:30:00 -07:00
Carsten "Tomcat" Book
d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Gijs Kruitbosch
b05b8580d3 Bug 1383458 - disable pin to overflow / move to panel for flexible spacers (and other special items), r=jaws
MozReview-Commit-ID: 4eeKLsjPi6I

--HG--
extra : rebase_source : d3ba424dc044c6278d5b8aad809d1ca2becfbfbe
2017-07-26 17:28:47 +01:00
Wes Kocher
39b73cc234 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3prpvFA27fd
2017-08-10 18:24:04 -07:00
Wes Kocher
201dd4a9e1 Backed out changeset 93151fa47fcf (bug 1376895) for permafailing test_frameNavigation.html a=backout
MozReview-Commit-ID: 88VukVNkZHW
2017-08-10 14:20:01 -07:00
Hossain Al Ikram
ce41eb1cfb Bug 1388032 - Remove BrowserCustomizeToolbar. r=dao
--HG--
extra : rebase_source : 85051b9ea84de086b489e75ce80b0393594f0b68
2017-08-07 10:59:00 -04:00
Dão Gottwald
44fcf357ef Bug 1380617 followup: fix indent
MozReview-Commit-ID: 9cSfd6TGax8
2017-08-10 21:47:00 +02:00
Marco Castelluccio
20abff2d5a Bug 1383926 - Stop defining lazy module getter for Task.jsm in browser.js and nsBrowserGlue.js. r=mconley
--HG--
extra : rebase_source : 6ca9002259b3088150e2a2175e87f0cc63404683
2017-07-24 23:24:13 +02:00
Florian Quèze
ce79aaeea4 Bug 1381853 - lazy load editBookmarkOverlay.js into the browser window, r=mconley. 2017-07-23 00:18:00 +02:00
Florian Quèze
b5647ed1c0 Bug 1381853 - lazy load downloads scripts into the browser window, r=mconley. 2017-07-23 00:18:00 +02:00
Florian Quèze
520a79823f Bug 1381853 - lazy load nsContextMenu.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
2e4c2cc726 Bug 1381853 - lazy load browser-thumbnails.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
d05f708f77 Bug 1381853 - lazy load browser-sync.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
d65f4676a6 Bug 1381853 - lazy load browser-social.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
22b404db62 Bug 1381853 - lazy load browser-safebrowsing.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze
cfb8e478a5 Bug 1381853 - Remove browser-refreshblocker.js and move its code to tabbrowser.xml, avoiding the RefreshBlocked event completely, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze
7dddee4b69 Bug 1381853 - lazy load browser-gestureSupport.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze
839c58b538 Bug 1381853 - lazy load browser-fullScreenAndPointerLock.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
9422b19f8d Bug 1381853 - lazy load browser-customization.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
8a99c9ce27 Bug 1381853 - lazy load browser-ctrlTab.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
71d8831567 Bug 1381853 - lazy load browser-addons.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
f2657d6151 Bug 1381853 - lazy load viewSourceUtils.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze
5aa184f945 Bug 1381853 - lazy load panelUI.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze
c41a960d40 Bug 1381853 - lazy load browserPlacesViews.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze
10acf21200 Bug 1381853 - load viewZoomOverlay.js and browser-fullZoom.js into the browser window lazily, r=mconley. 2017-07-23 00:17:55 +02:00
Florian Quèze
359a6563f2 Bug 1381853 - load printUtils.js into the browser window lazily, r=mconley. 2017-07-23 00:17:55 +02:00
Jared Wein
b451d4ce96 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg

--HG--
extra : rebase_source : de322ffcc261ad3ef497ec82494056d44c767590
2017-07-21 18:00:01 -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
Johann Hofmann
3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Sebastian Hengst
367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Thomas Nguyen
196e1a74c9 Bug 1376591 - Move SafeBrowsing.init() after startup and put it into IdleDispatch Callback r=florian
MozReview-Commit-ID: E834rSHikYb

--HG--
extra : rebase_source : 4caf9d213009e7e86626d6f54f1096856990709a
2017-07-10 15:30:17 +08:00
Perry Jiang
b3ffa2a697 Bug 1376892 - Don't show stop button for local url loads. r=jaws 2017-07-10 13:17:06 -07:00
Edouard Oger
383d9e6921 Bug 1382299 - Wait until Sync is finished before updating Send to Device menu. r=markh
MozReview-Commit-ID: BkBLanxtqJt

--HG--
extra : rebase_source : 1ff822c4767ef71cd5087dc0d279bb00260feca1
2017-07-19 13:48:37 -04:00
Jared Wein
b9f5336377 Bug 1378784 - Listen for TextZoomChange in addition to the FullZoomChange events to update the zoom UI when the zoom changes. r=dao
We were already listening for FullZoomChange. TextZoomChange is very similar, but is only triggered when the user has chosen 'Zoom Text Only' from the View > Zoom menu.

MozReview-Commit-ID: H8orEwS1ZhE

--HG--
rename : browser/modules/FullZoomUI.jsm => browser/modules/ZoomUI.jsm
extra : rebase_source : 1f77a3d994d34387ad8fa87ea9d403b1dfbd0a6f
2017-07-18 17:39:11 -04:00
Jared Wein
a590cd6dde Bug 1381993 - Position the stop/reload animation using absolute positioning to make sure that the animation remains vertically centered even when non-default font sizes are used. r=Gijs
MozReview-Commit-ID: KQb1X6zrzOk

--HG--
extra : rebase_source : 0cf862c57fe74d9dbca77fc6660065963e9d3ade
2017-07-20 08:26:49 -04:00
Edouard Oger
44cfaff39c Bug 1359894 - Show Send Tab to all users. r=markh
MozReview-Commit-ID: EzgiQjMQsaJ

--HG--
extra : rebase_source : 234c2c14b7c07d3617d82dacc9b5bd4f993727b4
2017-05-01 10:56:19 -04:00
Sebastian Hengst
93ff680f2c Backed out changeset 394e4cd341ca (bug 1376892) for frequent failures in browser_aboutStopReload.js. r=backout a=backout
MozReview-Commit-ID: AKFJsfmXo5N
2017-07-16 10:57:47 +02:00
Perry Jiang
88fa774391 Bug 1376892 - Don't show stop button for local url loads. r=jaws
MozReview-Commit-ID: 9YrsiscPLUs
2017-07-10 13:17:06 -07:00
Shane Caraveo
1fe5a3a13e Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y

--HG--
extra : rebase_source : 8f82fa6beabfa89916bbc97ec799c6e5d6b3ff18
2017-08-16 08:54:21 -07:00
Carsten "Tomcat" Book
77f62ad05a Merge mozilla-central to autoland 2017-08-16 14:21:20 +02:00
Jared Wein
5318fa431d Bug 1390579 - Check if aRequest is an instanceof nsIRequest instead of just a simple null check since when switching tabs aRequest is an Object that maintains some of the request details. r=Gijs
I also changed the code to update the timeWhenSwitchedToStop so if pages continue to load long after the tab switch we will still show the animation when the page has finished loading.

MozReview-Commit-ID: 3kAgKB8GPMZ

--HG--
extra : rebase_source : 799ae8aa16b39dfa55ebb0fd4b0ebba215e225fa
2017-08-15 16:09:35 -04:00
Jared Wein
4837c778e7 Bug 1375883 - Replace 'sites' with 'websites' in strings for preferences since the Mozilla language guide prefers the full 'websites' term. r=mconley
MozReview-Commit-ID: GVB7wnjULL6

--HG--
extra : rebase_source : 9a9405c30202f842c60f641af8d04189de57fb69
2017-07-31 16:06:12 -04:00
Ricky Chien
daac97d466 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ

--HG--
rename : browser/components/preferences/in-content-new/findInPage.js => browser/components/preferences/in-content/findInPage.js
rename : browser/components/preferences/in-content-new/searchResults.xul => browser/components/preferences/in-content/searchResults.xul
rename : browser/components/preferences/in-content-new/tests/browser_checkspelling.js => browser/components/preferences/in-content/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content-new/tests/browser_engines.js => browser/components/preferences/in-content/tests/browser_engines.js
rename : browser/components/preferences/in-content-new/tests/browser_layersacceleration.js => browser/components/preferences/in-content/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content-new/tests/browser_masterpassword.js => browser/components/preferences/in-content/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js => browser/components/preferences/in-content/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content-new/tests/browser_security-1.js => browser/components/preferences/in-content/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content/tests/browser_security-2.js
extra : rebase_source : 9adc8231c896f93f7f262a09482b44a2875bd5fd
2017-08-21 17:48:18 +08:00
Sebastian Hengst
51133fbff6 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout
--HG--
rename : browser/components/preferences/in-content/findInPage.js => browser/components/preferences/in-content-new/findInPage.js
rename : browser/components/preferences/in-content/searchResults.xul => browser/components/preferences/in-content-new/searchResults.xul
rename : browser/components/preferences/in-content/tests/browser_checkspelling.js => browser/components/preferences/in-content-new/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content/tests/browser_engines.js => browser/components/preferences/in-content-new/tests/browser_engines.js
rename : browser/components/preferences/in-content/tests/browser_layersacceleration.js => browser/components/preferences/in-content-new/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content/tests/browser_masterpassword.js => browser/components/preferences/in-content-new/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content/tests/browser_permissions_dialog.js => browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content/tests/browser_security-1.js => browser/components/preferences/in-content-new/tests/browser_security-1.js
rename : browser/components/preferences/in-content/tests/browser_security-2.js => browser/components/preferences/in-content-new/tests/browser_security-2.js
2017-08-31 16:58:32 +02:00
Ricky Chien
3ff2ff68ed Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ

--HG--
rename : browser/components/preferences/in-content-new/findInPage.js => browser/components/preferences/in-content/findInPage.js
rename : browser/components/preferences/in-content-new/searchResults.xul => browser/components/preferences/in-content/searchResults.xul
rename : browser/components/preferences/in-content-new/tests/browser_checkspelling.js => browser/components/preferences/in-content/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content-new/tests/browser_engines.js => browser/components/preferences/in-content/tests/browser_engines.js
rename : browser/components/preferences/in-content-new/tests/browser_layersacceleration.js => browser/components/preferences/in-content/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content-new/tests/browser_masterpassword.js => browser/components/preferences/in-content/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js => browser/components/preferences/in-content/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content-new/tests/browser_security-1.js => browser/components/preferences/in-content/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content/tests/browser_security-2.js
extra : rebase_source : 6f59261adcb6cd3098b3596c01c9165ad6bfc03c
2017-08-21 17:48:18 +08:00
Perry Jiang
491c7f5d8c Bug 1393582 - Remove CastingApps support for Firefox desktop. r=felipe
MozReview-Commit-ID: B2bqiNXibPP
2017-08-25 14:03:47 -07:00
Sebastian Hengst
71854680c0 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-08 00:07:48 +02:00
Michael Kaply
84dc410d2d Bug 1378461 - Report other search engine names. r=mak, data-r=rweiss
--HG--
extra : rebase_source : 0b3088af1691db055a13feeff86041e6ab6346b2
2017-09-06 17:36:07 -05:00
Edouard Oger
f4f4832d9e Bug 1369539 - Sync UI startup performance improvements. r=florian,markh
MozReview-Commit-ID: 7ibJokJttLh

--HG--
extra : rebase_source : 7eac08de35da72744ce4b101d4f52229fe0e0688
2017-07-04 14:23:33 -04:00
Wes Kocher
f3484aa1b2 Backed out changeset dec7cb09336e (bug 1369539) for test_uistate.js failures a=backout
MozReview-Commit-ID: 4SBjyEI1v6q
2017-07-10 16:51:15 -07:00
Edouard Oger
98e6346e07 Bug 1369539 - Sync UI startup performance improvements. r=florian,markh
MozReview-Commit-ID: 7ibJokJttLh

--HG--
extra : rebase_source : 3b6790b0daa7b2e8eb96e4a4371a56ea964cc2e1
2017-07-04 14:23:33 -04:00
Jared Wein
f767281cf2 Bug 1355924 - The refresh/stop button should have an animation when changing between states. r=dao
MozReview-Commit-ID: 1t3tVLGaggl

--HG--
extra : rebase_source : cb150120ae5a020a0ebbdf37ebe199c683a806ea
extra : source : 50152b6704652225ecf48803f052565a883ec8bb
2017-07-07 20:39:30 -04:00
Rajesh Kathiriya
881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Sebastian Hengst
b90c33261c Backed out changeset ff995f2f71f2 (bug 1378313) for frequently failing test_accessiblecaret_cursor_mode.py on Linux opt. r=backout 2017-07-06 18:33:05 +02:00
Dão Gottwald
9013d94b3a Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: Dfh6VbirwPe

--HG--
extra : rebase_source : c08ddb408c2316bf957cffeed7ff12ffbb02bd0c
2017-07-06 12:32:29 +02:00
Carsten "Tomcat" Book
2b2178d5fa Backed out changeset f49a21b8b4bd (bug 1378313) for perma failurs like browser_temporary_permissions_navigation.js | Test timed out
--HG--
extra : rebase_source : a370cac0ac5683b90e5efcd3113a5ee8b7d13286
2017-07-06 12:24:17 +02:00
Carsten "Tomcat" Book
2178a22de4 Merge mozilla-central to autoland 2017-07-06 11:24:24 +02:00
Dão Gottwald
920860b1f3 Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: CaBLYFKwPgh

--HG--
extra : rebase_source : a9279e74a2a95779ff58e1ace484cbc45cfbe8c6
2017-07-06 11:07:08 +02:00
Carsten "Tomcat" Book
655eba682c Backed out changeset ff0abac31f47 (bug 1378313) for causing browser_formless_submit_chrome.js | Test timed out 2017-07-06 10:50:28 +02:00
Dão Gottwald
de6e5653ef Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: A5yX9dc4TOK

--HG--
extra : rebase_source : 28c19acb82850c64991b36184fac74e6fa033808
2017-07-05 11:14:20 +02:00
Erica Wright
de48536bed Bug 1377182 - Fix animation for tabbar session restore button. r=Gijs
MozReview-Commit-ID: 9bkpvelpQEw

--HG--
extra : rebase_source : b7bcfef89c40bf94489751de26121b1329237760
2017-06-29 11:31:59 -07:00
Johann Hofmann
e57999a689 Bug 1350210 - Part 1 - Add UI density settings to customize mode. r=jaws
MozReview-Commit-ID: C0g6aFPW2pX

--HG--
extra : rebase_source : 9802bba188043c04796cf13e0741396ec1447a8d
2017-06-27 18:50:34 +02:00
Christoph Kerschbaumer
2ad43ee9bd Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
Phil Ringnalda
8b5562f065 Backed out changeset 3beaca4665c1 (bug 1355924) for massive "inline-size less than zero" assertion failures
CLOSED TREE

MozReview-Commit-ID: EXIjvcfYAtH
2017-07-03 19:12:55 -07:00
Jared Wein
1d6b40488a Bug 1355924 - The refresh/stop button should have an animation when changing between states. r=dao
MozReview-Commit-ID: 1t3tVLGaggl

--HG--
extra : amend_source : 52c1e5311710c24b1ff3de2da4870ece439d7f8a
2017-06-22 17:48:21 -04:00
Alastor Wu
ade6cb9314 Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: 58U7DJSMtss

--HG--
extra : rebase_source : 762bfd2be06e21a964fd93076867b4f72a085adc
2017-06-29 04:48:38 -07:00
Johann Hofmann
ac6ab2ed0f Bug 1364896 - Part 4 - Add a popupshowing listener to the entire document instead of individual elements. r=nhnt11
MozReview-Commit-ID: Fypw3TSziyk

--HG--
extra : rebase_source : 8578cfce32f163c487beae78733ea9a0c9d2b7cf
2017-06-27 23:05:10 +02:00
Johann Hofmann
52fae80746 Bug 1364896 - Part 2 - Increase margin of all context menus that are triggered through touch. r=dao
MozReview-Commit-ID: ISc3ZyS1njY

--HG--
extra : rebase_source : 8bbf0390a2c0dc82cfe6bb073ee0e6447f4afc81
2017-06-09 14:47:50 +02:00
Ryan VanderMeulen
309d4a291b Backed out 3 changesets (bug 1364896) for causing bug 1376466.
Backed out changeset 5c870a786e94 (bug 1364896)
Backed out changeset 134d9ee1e545 (bug 1364896)
Backed out changeset 8f52f28a9eaa (bug 1364896)
2017-06-27 14:32:07 -04:00
Johann Hofmann
8c3112beb4 Bug 1364896 - Part 2 - Increase margin of all context menus that are triggered through touch. r=dao
MozReview-Commit-ID: ISc3ZyS1njY

--HG--
extra : rebase_source : 1fb615686b4221be53fcd769e8075c2f1ca75a30
2017-06-09 14:47:50 +02:00
Erica Wright
8f442c723b Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 6zrEbIxXp8c

--HG--
extra : rebase_source : 20ba3acdb18e98940e90f099f18c02934dee0e8b
2017-06-20 11:33:55 -07:00
Bob Owen
82095a15a7 Bug 1374997 Part 1: Make sure changing the tab is allowed, before we switch back after print preview. r=Gijs 2017-06-21 15:03:31 +01:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Rajesh Kathiriya
fafb858b26 Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
MozReview-Commit-ID: 9OhLgBpYS4L

--HG--
extra : rebase_source : 5155e715934e7acd2ffadb4856eb91f481cbf56c
2017-06-15 18:24:17 +01:00
Johann Hofmann
219252fd4b Bug 1355771 - Automatically enable Firefox touch mode in Windows Tablet mode. r=dao
MozReview-Commit-ID: 1KLFdsNlib1

--HG--
extra : rebase_source : c91fe7e86c36fa388a6fbc72c69f9b0d0b44474f
2017-06-07 12:54:39 +02:00
Wes Kocher
ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Rajesh Kathiriya
6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Edouard Oger
2ade684a77 Bug 1368383 part 2 - Handle the Sync-not-ready state in page action send to device. r=markh
MozReview-Commit-ID: JYPCw3OVGXo

--HG--
extra : rebase_source : db403e81360a38c813aa3566a53548262a7ba487
2017-06-01 16:52:40 -04:00
Dão Gottwald
71c056b229 Bug 1371218 - Move browser.js' stray DOMContentLoaded handler into gBrowserInit. r=mconley
MozReview-Commit-ID: 8P7uSKdNGWK

--HG--
extra : rebase_source : 85b5448b15cf90dc26348211653f8e62d99fda00
2017-06-08 11:24:30 +02:00
Gijs Kruitbosch
0dd04f177f Bug 1368194 - add tooltiptext to 'send to device' items in the page action menu, r=adw
MozReview-Commit-ID: JZDgR0d4puz

--HG--
extra : rebase_source : 2bd0facf1b2697efb2c449a99701c81a4a471ecb
2017-06-08 12:51:06 +01:00
Gijs Kruitbosch
b9c12b59fb Bug 1367012 - update edit UI visibility checks for photon, r=mikedeboer
This ensures we update edit UI visibility state when opening/closing the
overflow panel, as well as ensuring we do so if/when the edit controls
get over/underflowed. It then updates the test to ensure we correctly
check the overflow panel, both for overflown items and for items
put there by the user when photon is enabled.

MozReview-Commit-ID: AjRH8wz5Pla

--HG--
extra : rebase_source : 706063645062f52333d5491907ea9ba857bcabe7
2017-06-08 11:17:55 +01:00
Michael Layzell
ac7ba92fd5 Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Mark Banner
c93c2a1504 Bug 1370240 - Enable the ESLint no-control-regex rule across mozilla-central. r=mossop
MozReview-Commit-ID: IN7YMk7yhAO

--HG--
extra : rebase_source : be0a9cae6eae14d4f097eced2e231a96c89c9c47
2017-06-05 15:43:09 +01:00
Marco Bonardo
dd81367ed0 Bug 1337858 - Replace CopyFavicon in the Docshell with a proper favicons API. r=standard8
MozReview-Commit-ID: 8wjSbj0FTwE

--HG--
extra : rebase_source : 9957affac43f7e04dcd94d2fa9cf2d973cd327de
2017-05-18 16:48:23 +02:00
Andrea Marchesini
3750b8cf84 Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02:00
Mike de Boer
86a57ab6f4 Bug 1354105 - Add zoom controls - zoom in, zoom reset, zoom out and fullscreen - buttons to the Photon app menu. r=Gijs
MozReview-Commit-ID: 8cJg4vbdYgL

--HG--
extra : rebase_source : e3276709b64aa71d884c391be4f4fa75607676f1
2017-06-01 19:36:04 +02:00
Ryan VanderMeulen
d2c439025d Backed out changeset ff5590f1750d (bug 1367450) for browser_CaptivePortalWatcher.js failures. 2017-06-01 10:47:44 -04:00
Nihanth Subramanya
6e982ab4d4 Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: I9NKOYEYc5g

--HG--
extra : rebase_source : 156974e79c638bbbd2d6fc73ee9bde3490f2028f
2017-06-01 06:23:10 +05:30
Ryan VanderMeulen
b02794c62d Backed out changeset a2b294e57559 (bug 1367450) for ESLint failures. 2017-06-01 10:04:57 -04:00
Nihanth Subramanya
993b5198ec Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: 2nqIoDABm0a

--HG--
extra : rebase_source : 36529b88cf0ca7ee305e9db220f6a42eca5ddbb6
2017-06-01 06:23:10 +05:30
Christoph Kerschbaumer
0944826c8a Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
Timothy Guan-tin Chien
0d616cb6d0 Bug 1363850, Part III, Set pref to make new about:preferences Nightly only, r=jaws,mconley
MozReview-Commit-ID: Khanjh79tPd

--HG--
extra : rebase_source : 84d197b1b1915d767049bfc0280c070e89c286d1
2017-05-25 18:12:00 +08:00
Ryan VanderMeulen
1c7a54d579 Merge m-c to autoland. a=merge 2017-05-30 16:10:23 -04:00
Ryan VanderMeulen
bd262b8cd1 Merge inbound to m-c. a=merge 2017-05-30 16:09:14 -04:00
Ryan VanderMeulen
af691573d4 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Johann Hofmann
2b3b15148f Bug 1365912 - Add a pref for enabling compact and touch mode. r=dao
MozReview-Commit-ID: 1hmTdl0zSKB

--HG--
extra : rebase_source : ff11c96e23d80cf943d7b22173cf996d8d5dff51
2017-05-30 14:09:54 +02:00
Carsten "Tomcat" Book
c9c84e3b6a Merge mozilla-central to mozilla-inbound 2017-05-30 11:53:26 +02:00
Christoph Kerschbaumer
6d2ca8d657 Bug 1365232 - Have _delayedStartup() provide the correct triggeringPrincipal. r=gijs 2017-05-16 15:29:14 +02:00
Christoph Kerschbaumer
3fc12a8c6e Bug 1363977 - Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-29 21:32:21 +02:00
Carsten "Tomcat" Book
bdfe9a25bf Backed out changeset 2b92af4575ae (bug 1357386) 2017-05-30 08:51:22 +02:00
Christoph Kerschbaumer
74a7c96cd0 Bug 1357386: Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-30 08:31:08 +02:00
Dan Mosedale ext:(%3E)
98c3ffc703 Bug 1367119 - make BrowserOpenTab fire browser-open-newtab-start observer, r=Mardak
MozReview-Commit-ID: KDuG5X8yMAR

--HG--
extra : rebase_source : aa84a69015a7ff8fd7709b5107c8847659cf3504
2017-05-23 16:30:50 -07:00
Drew Willcoxon
83efe33bc6 Bug 1363183 - Add a "bookmark" item to the page action menu. r=mikedeboer
MozReview-Commit-ID: 9RR4U3X3gIT

--HG--
extra : rebase_source : b2307c2c64a2913fd2c0fc3d2225164fcd6d0cba
2017-05-25 16:19:02 -07:00
Gijs Kruitbosch
26219bb139 Bug 1368370 - remove leftover page action hiding, r=dao
MozReview-Commit-ID: KEaOIYhKL6G

--HG--
extra : rebase_source : 60bf711ab0332f640035e277a843aba87f85161e
2017-05-29 11:40:41 +01:00
Drew Willcoxon
547921aa65 Bug 1363182 - Add a "send to device" subview to the page action menu. r=eoger,mikedeboer
Add a Send to Device subview to the page action panel.  When the page isn't
sendable, disable the Send to Device menu item.  When the user doesn't have any
devices, show a menu item that opens the Firefox Account preferences pane.

Generalize gSync.populateSendTabToDevicesMenu() so that it can be used to
populate any kind of container, not only a menupopup with menuitems.

Add an SVG that shows a phone and an SVG that shows a desktop.

MozReview-Commit-ID: EZQKAEAr08q

--HG--
extra : rebase_source : bda87f105712a6c6ba83da1a78179eee93b5f4d0
2017-05-24 15:49:43 -07:00
Sebastian Hengst
d1ec3e6aa9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Paolo Amadini
33ebc4466d Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.

There is still a workaround included for wrapping blocks not being taken into account in height calculations.

MozReview-Commit-ID: 9rrPU5O5hUx

--HG--
extra : rebase_source : b872c14a553c4293ac476d5d22c634a5a0f6cb24
extra : intermediate-source : bf96469b6ea7daee29eb75a60d11f017a1c86a64
extra : source : 719bb4e7286fbd3baf32061929e4b7d9f953c671
2017-05-23 17:08:01 +01:00
Doug Thayer
82301632cc Bug 1359733 - (pt. 2) Refactor gMenuButtonUpdateBadge r=rstrong
Since we now have a store of notifications that is global across
all windows, it no longer makes sense to consume the API from
within browser.js. This patch moves the browser.js logic out into
a jsm file that is wired up through nsBrowserGlue, such that it
will be lazily instantiated on the first update event it would
receive[1].

We decided to move this into toolkit, as this piece of the
system is fairly generic and shouldn't differ between
applications.

[1]: There is a change to nsBrowserGlue to use "global[module]"
instead of this[module]. This mirrors the code for all the other
types of notifications, and I suspect it was just a latent bug,
since the original diff that includes this line makes no use of
it.

MozReview-Commit-ID: 8EQdM9BOpgl

--HG--
rename : browser/base/content/test/appUpdate/.eslintrc.js => toolkit/mozapps/update/tests/browser/.eslintrc.js
rename : browser/base/content/test/appUpdate/browser.ini => toolkit/mozapps/update/tests/browser/browser.ini
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindow.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindow.js
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindowFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindowFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPrompt.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPrompt.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPromptNoStaging.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPromptNoStaging.js
rename : browser/base/content/test/appUpdate/browser_updatesCantApply.js => toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadSizes.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadSizes.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesDownloadFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesDownloadFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesMalformedXml.js => toolkit/mozapps/update/tests/browser/browser_updatesMalformedXml.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchWithBadPartialSize.js
extra : rebase_source : 24048650b23eff0a1da9679d1e9b5e1db1900287
2017-05-19 08:56:22 -07:00
Mike de Boer
96546e2ad2 Bug 1354108 - Add the edit controls (cut, copy, paste) to the static menu panel. r=Gijs
MozReview-Commit-ID: Dudscy7dSB1

--HG--
extra : rebase_source : 42ac8e4c57b19b03bcf965d40b65c81dde790fba
2017-05-23 12:03:00 +02:00
Carsten "Tomcat" Book
067f1fa700 Merge mozilla-central to mozilla-inbound 2017-05-18 14:59:47 +02:00
Bob Owen
d01f9cd1f7 Bug 1175267 Part 1: Handle file:// URI xpi files in chrome code directly instead of routing through content browser. r=mossop 2017-05-18 13:31:44 +01:00
Bob Owen
15654b3b71 Bug 1351358 Part 4: Select correct remote type upfront when passed window arguments in browser.js onDCL. r=Gijs
This prevents short-lived processes when we are not at the maximum normal content process count and the new window's first tab is not going to load in that remote type.
2017-05-18 12:08:57 +01:00
Bob Owen
d0c57d84c1 Bug 1351358 Part 2.5: Move logic in the parent for switching in and out of Large Allocation process into browser.js RedirectLoad. r=mystor
This fixes a bug where we swap out of the Large Allocation process, when reloaded via the UI.
2017-05-18 12:08:56 +01:00
Bob Owen
47421837bf Bug 1351358 Part 2: Limit the http pages that will load in the file content process with allowLinkedWebInFileUriProcess pref. r=Gijs, r=mystor
This change means that any related http pages driven through content (window.open, links, etc.) will continue to be loaded in the file content process.
Same-origin loads via the UI will also remain in the file content process.
Cross-origin loads via the UI will cause a process switch.
History navigation will stay in the process, if it was originally loaded in that process.
2017-05-18 12:08:56 +01:00
Matthew Wein
7353ca75f1 Bug 1266012 - Add identity indication for the moz-extensions scheme r=mixedpuppy
MozReview-Commit-ID: BtbRGPJbsHs

--HG--
rename : browser/components/extensions/extension.svg => browser/themes/shared/controlcenter/extension.svg
extra : rebase_source : a89e321d3f5750307a869fdf82521a61bce62ce1
2017-05-10 15:14:15 -04:00
Carsten "Tomcat" Book
4603014981 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Alastor Wu
ce9ddc4dab Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: EAmq6OuBYjq

--HG--
extra : rebase_source : e8e9321854b80736f0959fbfecbc8bf9a83b0712
2017-05-17 11:55:54 +08:00
Andreas Tolfsen
10877e266b Bug 1355890 - Add visual cue to urlbar when under remote control r=Gijs
This patch adds a visual UX cue to visually distinguish the user agent
sessions that are under remote control from those used for normal
browsing sessions.  The new hue helps the user identify windows that
are under automation.

browser/base/content/browser.js will now query Marionette to find out if
the remote protocol is running when starting a new <xul:browser>.

The remote-control system notification will also be sent when the
Marionette remote protocol is running, activating any already opened
<xul:browser>s.  The message is sent from testing/marionette/server.js.

MozReview-Commit-ID: AsjGmLL1Rl1

--HG--
extra : rebase_source : b46137b3b620c8216e3f4cc532a35149edb8dcf7
2017-04-27 23:21:43 +01:00
Drew Willcoxon
efa8951e8a Bug 1355323 - Create action menu panel with initial "copy URL" and "email link" items. r=mikedeboer
MozReview-Commit-ID: LpR63K7riho

--HG--
rename : browser/themes/shared/page-action.svg => browser/themes/shared/icons/page-action.svg
extra : rebase_source : b9ab550ffa6c7941af9a2040a794d3df8d9dd35a
2017-05-16 10:25:22 -07:00
Fischer.json
c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Kris Maglione
84e0c25849 Bug 1356826: Part 6 - Wait for delayed startup before checking for side-loads. r=aswan
MozReview-Commit-ID: IpuRNbdUXmE

--HG--
extra : rebase_source : 0fc72897bc0a12b5bd789c9a0d00df3dec4f7760
extra : source : d47998fa24cd084ffba07a73834d8ffb3af81b60
2017-04-15 14:09:41 -07:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Chris Pearce
b1275c271a Bug 1362212 - Remove canPlayTelemetry from _delayedStartup. r=dao
Calling HTMLMediaElement.canPlayType() on the main thread will cause
us to do disk I/O to load system decoding libraries, so we shouldn't
do it on the main thread, let alone on the parent process' main thread.

I moved the telemetry into an idle service observer off main thread
into Gecko in the previous patch.


MozReview-Commit-ID: CH6LNNLzreJ

--HG--
extra : rebase_source : 7075d0a0e1fd88c51da23ab8ef5860a51bf4b2cd
2017-05-05 17:38:40 +12:00
Dão Gottwald
9cc94f157a Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh
MozReview-Commit-ID: Ltp6EghiI44

--HG--
extra : rebase_source : f033cadab35b56cf96f25786260853a8a5f9a1ed
2017-05-11 19:16:05 +02:00
Wes Kocher
ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Fischer.json
7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Andrew McCreight
e3a114f978 Bug 1363215 - Replace calls to __define{Getter,Setter}__ on top-level this with Object.defineProperty. r=Gijs
__define{Getter,Setter}__ are deprecated, and are not defined on
NonSyntacticVariablesObjects, so these calls get in the way of sharing
globals between different .jsms. Probably only the DownloadUtils.jsm
change is really needed for that.

configurable and enumerable are both set to true to match the existing
behavior. If enumerable is set to false, then tests fail, because some
of the getters overwrite the getter with a regular property.

MozReview-Commit-ID: 1OZF45fIAQ

--HG--
extra : source : 96dd2e2d8d1677fb04c98bb3a063df32478fbc00
2017-05-08 14:07:34 -07:00
Doug Thayer
7e3c287071 Bug 1356675 - Show manual update on cant-apply status r=rstrong
If there is an update available but the user can't apply it, we
publish a notification on the update-available topic with the
status "cant-apply". This was previously being ignored by
browser.js. This should fix the bug in question on Windows 10.

MozReview-Commit-ID: 1twRvYEXbiT

--HG--
extra : rebase_source : c116239a35db022f7be13e693702fdff58882fc5
2017-05-04 10:12:52 -07:00
Bob Owen
e317cff839 Bug 1361992: Ensure that PrintPreviewListener methods all use the same source browser. r=Gijs 2017-05-07 16:11:19 +01:00
Iris Hsiao
fa6e98e026 Merge mozilla-central to autoland 2017-05-04 13:22:44 +08:00
Ehsan Akhgari
2f73dfe826 Bug 1360864 - Defer the install and update check for the OpenH264 plugin until the browser is idle; r=cpearce,spohl 2017-05-03 20:15:21 -04:00
Edouard Oger
b3b3ff9cc5 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : dcba087df94d06b15c9f073ff2df3324fd646c57
2017-04-18 14:15:43 -04:00
Kershaw Chang
e8df9986bf Bug 1351281 - Remove NetworkPrioritizer.jsm, r=dao
Since Necko has already given higher priority to http transactions from the focused window, we don't need NetworkPrioritizer.jsm anymore.
2017-05-03 03:28:00 +02:00
Swapnesh Kumar Sahoo
c11cf34901 Bug 1354331 - Remove network.http.enablePerElementReferrer usages. r=valentin r=baku 2017-05-01 00:12:34 +05:30
Dão Gottwald
64faacdafa Bug 1360597 - Cancel existing FX_PAGE_LOAD_MS stopwatch before re-starting it in case we missed a previous STATE_STOP change. r=mconley
MozReview-Commit-ID: 8smK3JwmOFL

--HG--
extra : rebase_source : a265154ab70d860525ae40bfe6bbe82a8374b036
2017-04-28 19:04:24 +02:00
Neil Deakin
cf77cf0e03 Bug 1356587, update the gEditUIVisible flag when the panelUI is opened and closed so that the command updating optimization actually applies. Currently it never applies once the panel has been opened at least once, r=gijs 2017-05-01 10:42:33 -04:00
Matheus Longaray
1cec8e74d5 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk
2017-05-01 17:30:48 +02:00
Kevin Jones
4171e7467d Bug 1360940 - Don't instantiate lazy browsers when checking if the window can close. r=mconley
--HG--
extra : amend_source : b43a008cff64aec3fd09fd743bb794c9ecc4fbdf
2017-04-30 15:21:00 -04:00
Sebastian Hengst
8961c1494e Backed out changeset 99fd6973d18e (bug 1332386) for frequently failing browser_tabSwitchPrintPreview.js on Linux x64 opt-ish builds. r=backout a=backout
MozReview-Commit-ID: 7oyiuBSTGtI
2017-04-29 20:47:54 +02:00
Masatoshi Kimura
8266cde3a0 Bug 817374 - Fix inconsistency of the setOverLink parameter. r=mossop
MozReview-Commit-ID: 6rLOm1T2sOd

--HG--
extra : rebase_source : 1ab6b328ce4190f40934720c9c4c1fd94107d217
2016-11-21 21:39:15 +09:00
Mike Conley
1a7c6049d6 Bug 1336763 - If browser.permitUnload times out in CanCloseWindow, make sure to check the rest of the browsers belonging to other processes before returning a result. r=dao
MozReview-Commit-ID: D59PVfsbDV0

--HG--
extra : rebase_source : 223825be086104e2e06fa69152ebc00ec76dee47
2017-04-19 14:29:42 -04:00
Matheus Longaray
e723d98949 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk

--HG--
extra : rebase_source : cccc12f17f315089c9e5d05116077b7f87f4053b
2017-04-20 14:04:03 +02:00
Drew Willcoxon
197941aadc Bug 1355322 - Add anchor button to urlbar for action menu. r=Gijs
MozReview-Commit-ID: CajXNdGt9cZ

--HG--
extra : rebase_source : 18df66d122108ebba769ed3cada7a8c0847b206f
2017-04-27 18:17:29 -07:00
Wes Kocher
5e8bdb175d Merge inbound to m-c a=merge
MozReview-Commit-ID: A85cs7Yriqj
2017-04-25 13:53:00 -07:00
Florian Queze
b6597dcb0c Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Shawn Huang
a776ab68f5 Bug 1358160 - Get usage from subject instead of data field, r=Fischer
MozReview-Commit-ID: 5UNttoq1jiX

--HG--
extra : rebase_source : b629cf3c33b54fe9a20ceb6e7d996d71917757fe
2017-04-24 21:18:32 +08:00
Ehsan Akhgari
6399dc4d9a Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:

  * In the case where the content JS has requested a new tab, the ID of the
    next TabParent will be stored on the <xul:browser> element.
  * In the case where the content JS has requested a new window, the ID of
    the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Wes Kocher
4f3c2d9829 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DPzfAm14Tdx
2017-04-20 15:52:28 -07:00
Dão Gottwald
5e74d85f79 Backed out changeset 3edd47730527
MozReview-Commit-ID: AESEl0ht2Gi
2017-04-20 12:41:20 +02:00
Sam Foster
1ce685a8c2 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : f944ccd1c2340a5d2973bf47480a6eb78b2aae3b
2017-04-06 10:50:09 -07:00
Wes Kocher
9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matheus Longaray
89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Wes Kocher
514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Dão Gottwald
a25a473801 Bug 1356183 - Let MousePosTracker use event.clientX instead of event.screenX - window.mozInnerScreenX to avoid flushing layout. r=florian
MozReview-Commit-ID: 5jULHMnWFBW

--HG--
extra : rebase_source : eba1780a107c904225b8c316d48133b8454d447b
2017-04-13 11:44:56 +02:00
Kris Maglione
307bb6e57e Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot

--HG--
extra : rebase_source : 0c68bc16eaa016bc7d0e228a95e10d9348dda59f
2017-04-12 14:12:22 -07:00
Sebastian Hengst
51beeffdec Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Jonathan Hao
e5a3b0c533 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : 2512cb3e403093e0f18b3b979d7b4a10e3d7c42b
2017-04-11 10:14:10 +08:00
Wes Kocher
59b56514c9 Backed out 4 changesets (bug 1342178) for frequent test_network_security.html failures a=backout
Backed out changeset 7f9114ffbcae (bug 1342178)
Backed out changeset f19289f0cfef (bug 1342178)
Backed out changeset 4afce44bc2b9 (bug 1342178)
Backed out changeset db9b64a44012 (bug 1342178)

--HG--
rename : devtools/shared/webconsole/test/test_network_security.html => devtools/shared/webconsole/test/test_network_security-hpkp.html
2017-04-10 12:34:10 -07:00
Jonathan Hao
851f486bfc Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : e8cfe06ac3691d45bf97f61a3f5603cbec1bae39
2017-04-06 15:43:35 +08:00
Doug Thayer
f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07:00
Mark Banner
427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Christoph Kerschbaumer
07ba3f59c3 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 12:43:01 +02:00
Carsten "Tomcat" Book
0c24635a19 Backed out changeset fdb11fbb53cf (bug 1344706) for eslint failure 2017-04-03 11:32:38 +02:00
Christoph Kerschbaumer
a40ae7abe5 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 09:58:17 +02:00
Gijs Kruitbosch
290c64c982 Bug 1309946 - remove all traces of add-on performance monitoring, r=Yoric
This removes all the code for add-on performance watching from the
perfmonitoring component. This should mean that for add-on
compartments, we no longer trigger jank or CPOW monitoring in the JS
engine. This should result in minor performance improvements. As a
result, about:performance no longer reports on add-on performance
(but still reports on web page performance).

It also removes the AddonWatchers.jsm module and the related Nightly-
only UI (disabled in the parent commit) and strings. This UI wasn't
ready for release, there wasn't sufficient data it was creating
value for users, and there was some evidence that it didn't always
correctly identify the cause of performance issues, thus potentially
leading to user confusion or annoyance. Removing it therefore seemed
the right thing to do.

MozReview-Commit-ID: LsRwuaUtq6L

--HG--
extra : rebase_source : 92d4b775a7a7cbb5793e74eea471be81be974dda
2017-03-29 11:03:47 +01:00
Nihanth Subramanya
612842ec96 Bug 1345687 - Allow identity popup to be shown irrespective of pageproxystate if a permission has been granted to the current site. r=johannh
MozReview-Commit-ID: 4Bjnkgf1m16

--HG--
extra : rebase_source : 222b450ffe9df611b1456a13ee766d5c5b0542a2
2017-03-29 21:04:32 +05:30
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Tim Huang
c9c5bbc22e Bug 1330882 - Part 1: Making new windows to be rounded size when fingerprinting resistance is enabled (adopt from Tor #19459). r=arthuredelstein,smaug
MozReview-Commit-ID: 1qBNQhfdIYP

--HG--
extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
2017-03-29 15:43:54 +08:00
Bianca Danforth
238bdec559 Bug 1347493 - Correctly assign a value to 'title' for phishing and malware sites r=johannh
MozReview-Commit-ID: KiEOLdLjuI5

--HG--
extra : rebase_source : 0353587f9d8e157c8a3fecf5b1bf70159b16ee00
2017-03-26 12:47:50 -07:00
Sebastian Hengst
e86c4a75af Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Zack Herrick
18ed059dcd Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 29359bb726a0ac8164d7304a2453ffeb8009e990
2017-03-28 14:32:54 -04:00
Phil Ringnalda
bf4625c652 Backed out changeset 2a98180ffc2f (bug 1334642) for Win8 failures in browser_toolbariconcolor_restyles.js
CLOSED TREE
2017-04-11 18:59:02 -07:00
Sam Foster
4f20cc9f80 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : 7b49921bc653d57117f1c08212acc6c2db537984
extra : source : dd2d15dc577d9ec1ec16eb69d823c793dd1e9db0
2017-04-06 10:50:09 -07:00
Gijs Kruitbosch
3b26fd9456 Bug 1325841 - fix hiding popup icon when navigating the browser, r=Felipe
MozReview-Commit-ID: AXBgxwb3Jt

--HG--
rename : browser/base/content/test/general/browser_popupUI.js => browser/base/content/test/popups/browser_popupUI.js
rename : browser/base/content/test/general/browser_popup_blocker.js => browser/base/content/test/popups/browser_popup_blocker.js
rename : browser/base/content/test/general/popup_blocker.html => browser/base/content/test/popups/popup_blocker.html
extra : rebase_source : d03d139710882beaaac9581eab6b323e7bc82a45
2017-03-21 15:57:42 +00:00
Dão Gottwald
f6623be0e7 Bug 1348264 - Expose keyboard shortcuts in tooltips for Stop, Reload and Reset Zoom buttons. r=mikedeboer
MozReview-Commit-ID: kTUc5pRdVw

--HG--
extra : rebase_source : 283bde91a2f23fcb11cd4a36b1e4e8ffb1231867
2017-03-22 11:16:48 +01:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mike Conley
e7ee65a066 Bug 1256472 - Make sure checkEmptyPageOrigin checks the browser documentURI for about:blank along with the currentURI. r=Gijs
checkEmptyPageOrigin was only checking the currentURI on the passed browser for about:blank, but
sometimes the currentURI isn't the whole picture. For example, SessionStore, after restoring a
window, can cause a number of blank tabs to start to load, be cancelled, and have their history
replaced. This results in a bunch of unrestored background tabs that appear to have currentURI
set to the URI that the tab will be sent to once restored, but a null content principal, since
the original about:blank load was stopped before it could complete.

We side-step this issue by checking both the currentURI and the documentURI for about:blank
when comparing against the null principal for checkEmptyPageOrigin.

MozReview-Commit-ID: Kzm0MthLqVM

--HG--
extra : rebase_source : e6a83368dd99d458333789f9d986e4706cd4d2bf
2017-03-14 16:24:53 -04:00
Dão Gottwald
fefc17425c Bug 1348122 - Share code between the customizable zoom control and the location bar's zoom indicator. r=Gijs
MozReview-Commit-ID: 7iRRr1gF9R5

--HG--
rename : browser/modules/URLBarZoom.jsm => browser/modules/FullZoomUI.jsm
extra : rebase_source : 90a4f8f0b4a3804c3306a4f5bc70d566b288979f
2017-03-21 09:23:24 +01:00
Wes Kocher
4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Federico Padua
26d8b036b5 Bug 1346188 - Remove redundant AppConstants.jsm import from browser.js; r=dao
This patch removes the redundant lazy import of AppConstants.jsm from
browser/base/content/browser.js since it gets loaded previously as described
in the bug description.

MozReview-Commit-ID: EoSfSgedgNc

--HG--
extra : rebase_source : 8db27f79b9b43559ed4f94457592b092c5f75942
2017-03-19 16:12:48 +01:00
Thomas Nguyen
405f2f52de Bug 1345569 - Get blocked info from content when clicking report false deceiptive site from xul browser. r=francois
MozReview-Commit-ID: GXkbjfOrnHX

--HG--
extra : rebase_source : 7130d656b0dfd2f0cbc64227657347efdce54036
2017-03-20 14:43:08 +08:00
Timothy Guan-tin Chien
4e61315b53 Bug 1273537. r=gijs 2017-03-20 15:57:45 -04:00
Michael Layzell
ccc519e3f4 Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00