Commit graph

3643 commits

Author SHA1 Message Date
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
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