Commit graph

4409 commits

Author SHA1 Message Date
Dipen Patel
0679e09a9a Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704

--HG--
extra : moz-landing-system : lando
2018-09-07 22:50:17 +00:00
Luca Greco
4a99376e2a Bug 1433334 - Store the install source of the extensions for telemetry. r=aswan
- Implemented stored "install source of the extensions" for telemetry events.
- Added test assertions related to the expected install and addon installTelemetryInfo.
- Added installTelemetryInfo to addon installed from "drag-and-drop" file urls on Firefox Desktop.

Differential Revision: https://phabricator.services.mozilla.com/D4445

--HG--
extra : moz-landing-system : lando
2018-09-07 19:08:14 +00:00
Dorel Luca
8bbbdd9f43 Backed out changeset f105be1abab0 (bug 1477985) for browser-chrome failures on browser/base/content/test/performance/browser_urlbar_search.js. CLOSED TREE 2018-09-12 22:59:14 +03:00
Dão Gottwald
aaa06ffd2d Bug 1477985 - Implement basic UrlbarInput and UrlbarView classes and a hidden pref for using them. r=standard8 2018-09-12 20:47:03 +02:00
Coroiu Cristina
437a9f5e37 Backed out 2 changesets (bug 1393570) for build bustage on linux on a CLOSED TREE
Backed out changeset 23f496cd8a42 (bug 1393570)
Backed out changeset e41e69aa9eb5 (bug 1393570)

--HG--
extra : source : 56a508217ab7e7c28e1e5622f8dd31caa98a8706
2018-09-12 20:40:27 +03:00
Rob Wu
66071655a7 Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
Other (internal API) changes besides extension API changes:

- This also introduces support for opening a window with multiple tabs
  in a non-default container tab.

- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
  gBrowser.loadTabs call, unless allowInheritPrincipal is set. Currently
  there are no callers that set this flag, but in case it's desired,
  I added an opt-in via window.arguments[10] in browser.xul/js.

  For single-argument URLs, the flag is an opt-out, since there are
  multiple callers that rely on principal inheritance (bug 1475201).

Depends on D4928

Differential Revision: https://phabricator.services.mozilla.com/D4929

--HG--
extra : rebase_source : 23f496cd8a42d49f732e0ba4bae7cb0cc8aa5818
2018-09-12 15:15:22 +00:00
Dale Harvey
9a497be87b Bug 1478348 - Dont show doorhanger on about:newtab. r=johannh
MozReview-Commit-ID: EmHV3OS6Kra
2018-09-12 16:15:03 +01:00
Dão Gottwald
87b1e322e2 Bug 1489552 - Let BrowserWindowTracker.getTopWindow use the module's internal window list instead of nsIWindowMediator::getZOrderDOMWindowEnumerator / getMostRecentWindow. r=nhnt11 2018-09-10 22:27:38 +02:00
Oriol Brufau
29fc9939ad Bug 1401610 - Add "Remove Extension" context menu item to browserAction. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D3565

--HG--
extra : moz-landing-system : lando
2018-09-05 10:02:52 +00:00
Rob Wu
e69ac92ea0 Bug 1415333 - Set correct userContextId at window creation r=Gijs
The container tab indicator should also be set on the tab, not just on
the browser. Otherwise it is possible for the indicator to be missing
when a new window is opened.

And previously, if the URL was an "about:blank" URL, the tab in the new
window would use the default container because of the early return in
_handleURIToLoad. This is fixed by accounting for window.arguments[6]
when initializing the default (about:blank) tab in the tabbrowser.

Unit tests for these code path will be added in bug 1393570.

Differential Revision: https://phabricator.services.mozilla.com/D4920

--HG--
extra : moz-landing-system : lando
2018-09-05 09:39:56 +00:00
Gijs Kruitbosch
9d274b2d2f Bug 1337794 - remove obsolete pagehide handling hacks from browser.js r=mconley
The pagehide handler has been as dead as a doornail for a while now,
but the side-effect of forcing the creation of an about:blank document
in non-remote windows was implicitly relied upon by some tests.

This removes the dead code and fixes up some tests.

Differential Revision: https://phabricator.services.mozilla.com/D4962

--HG--
extra : moz-landing-system : lando
2018-09-04 17:55:05 +00:00
Gijs Kruitbosch
ef7146a4be Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : rebase_source : e51b66bb18d0e600814b48d5cd3ec9d5dea3028a
extra : source : 96b5a88ac0041a1bd382a731749e1fca9aa911ed
2018-09-03 14:43:38 +01:00
Margareta Eliza Balazs
ffea0ab6ab Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-31 12:27:44 +03:00
Margareta Eliza Balazs
5ddcd7b745 Backed out changeset 96b5a88ac004 (bug 1486824) for causing frequent failures e.g: browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about.js a=backout 2018-08-31 12:17:27 +03:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Gijs Kruitbosch
9d70cb3843 Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : moz-landing-system : lando
2018-08-30 15:07:36 +00:00
Gurzau Raul
09fe34b331 Merge inbound to mozilla-central. a=merge 2018-08-31 00:49:36 +03:00
Dave Townsend
3e24d077aa Bug 1487437: Only show a space for a pending icon if it started loading while the throbber was showing. r=dao.
This stops us from showing a pending space when an icon is added after loading is
complete causing us to shift the title when both pending and previous icon are
shown.

Differential Revision: https://phabricator.services.mozilla.com/D4694

--HG--
extra : moz-landing-system : lando
2018-08-30 16:58:44 +00:00
Narcis Beleuzu
1e60ae6690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-30 20:08:44 +03:00
Narcis Beleuzu
78f15dbb01 Merge mozilla-central to autoland. a=merge 2018-08-30 16:08:00 +03:00
Narcis Beleuzu
a4ec006bb0 Backed out changeset 4e195f7b2d6b (bug 1486824) for clipboard failures on OSX browser_editcontrols_update. a=backout 2018-08-30 15:59:59 +03:00
Marco Bonardo
12bc352965 Bug 1485746 - Cursor gets reset to start of address bar on window switch. r=adw
This restores the previous behavior where we set the selection only when setting a new different value

Differential Revision: https://phabricator.services.mozilla.com/D4528

--HG--
extra : moz-landing-system : lando
2018-08-30 09:41:24 +00:00
Gijs Kruitbosch
d8fe716bb5 Bug 1485253 - fix crashes due to dead windows' taskbar preview objects sticking around, r=m_kato,florian
The fix in bug 1418793 accidentally removed the onCloseWindow call, which
meant we were setting `.enabled` on taskbar window objects whose windows
were already dead, which was causing crashes.

I've reverted the removal, and also added some nullchecking, because the
C++ component shouldn't make it this easy for consumers to cause crashes.

Differential Revision: https://phabricator.services.mozilla.com/D4559

--HG--
extra : moz-landing-system : lando
2018-08-30 00:58:19 +00:00
Gijs Kruitbosch
a8e2b8e702 Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : moz-landing-system : lando
2018-08-29 17:58:25 +00:00
Dave Townsend
730ca3472e Bug 1473514: Display an empty space for the tab icon while waiting for the real favicon to appear. r=dao
This adds a simple empty box that is displayed when we're still loading an icon
but are no longer showing the throbber. Ideally I'd like to keep showing the
throbber and maintain the busy state but that seems more risky for now.

Differential Revision: https://phabricator.services.mozilla.com/D2364

--HG--
extra : moz-landing-system : lando
2018-08-29 18:27:36 +00:00
ahillier
1991678183 Bug 1471391 - Create initial CFR doorhanger r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D4266

--HG--
extra : moz-landing-system : lando
2018-08-27 15:53:18 +00:00
Arshad Kazmi
69eb976056 Bug 1483073 - Remove BrowserOpenSyncTab() helper function r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4281

--HG--
extra : moz-landing-system : lando
2018-08-26 22:14:17 +00:00
Brian Grinstead
2188a68716 Bug 1482448 - Part 1 - Move window listeners for browser.xul into one place;r=Gijs
This is an extension of the work in Bug 1473160 to make clear in what environments
various gBrowserInit functions are run. Since we currently use these in an `if` block
in browser.js for "navigator:browser" window types, and browser.xul is the only
navigator:browser window that loads browser.js, this moves the event listeners directly
into browser.xul so it's extra clear that they don't run in non-browser top level windows on OSX.

Also move a few on-event handlers from the <window> tag into this block so they
all happen in one place.

Differential Revision: https://phabricator.services.mozilla.com/D4137

--HG--
extra : moz-landing-system : lando
2018-08-24 19:43:39 +00:00
Gijs Kruitbosch
300dbd787f Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8 on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D4095

--HG--
extra : source : f83d8d85c94f2d1cab19085ec1662808def93fe9
extra : amend_source : 3a291878cce0ab7b780921f55cb613b14aebd189
2018-08-24 16:20:36 +00:00
Andreea Pavel
663c6bc5c5 Backed out changeset f83d8d85c94f (bug 1485577) for failing bc at browser/base/content/test/performance/browser_tabopen.js on a CLOSED TREE 2018-08-24 21:44:38 +03:00
Gijs Kruitbosch
7de2b99549 Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D4095

--HG--
extra : moz-landing-system : lando
2018-08-24 16:20:36 +00:00
Dão Gottwald
295e171195 Bug 1487344 - Add common class for main browser window toolbars and replace #navigator-toolbox > toolbar selectors. r=mconley 2018-08-30 12:13:58 +02:00
Kris Maglione
80327d3561 Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729

--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Paolo Amadini
36aefe42c5 Bug 1482648 - Part 4 - Clean up remaining references to broadcasters in front-end code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3151

--HG--
extra : rebase_source : d5aaf97c89deca198abefcebf61da3436e833ebb
2018-08-11 17:25:58 +01:00
Paolo Amadini
bb3d2cf63d Bug 1482648 - Part 3 - Remove remaining broadcasters from front-end code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3150

--HG--
extra : rebase_source : ae1bca38891bf3876af59e1cff047199b19abacd
2018-08-21 14:55:04 +01:00
Paolo Amadini
73d27fb0dc Bug 1482648 - Part 1 - Convert the offline broadcaster to a command. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3148

--HG--
extra : rebase_source : 454154fa5e8d891ec24739b7f17dc827024552b8
2018-08-06 15:38:04 +01:00
Gijs Kruitbosch
1fcdbb4951 Bug 1418793 - stop trying to get per-tab previews to work prior to session restore, r=florian
Initialize WindowsPreviewPerTab later, and make its favicon update code more efficient.

Differential Revision: https://phabricator.services.mozilla.com/D2679

--HG--
extra : moz-landing-system : lando
2018-08-14 13:40:11 +00:00
Dale Harvey
f0d25ece63 Bug 1477294 - Hide identity popup when the user reloads. r=johannh
MozReview-Commit-ID: 26f1lSVKiVA
2018-08-18 11:21:30 +01:00
trisha
1925763b0c Bug 1474820 - Add the 'Accept the Risk and Add Exception' Button to the new certificate error pages r=johannh 2018-08-07 16:27:01 +05:30
Cosmin Sabou
1c8ad7b4ba Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
Brian Grinstead
829d7647d3 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275

--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Kris Maglione
f99ee35b82 Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.

MozReview-Commit-ID: 9PK7bYdQ0yh

--HG--
extra : rebase_source : db2516d2f00a75e233e1957649f2b62a9299b7cd
2018-08-10 13:58:18 -07:00
Kris Maglione
5f9fcd5684 Bug 1472491: Part 5v - Remove Browser:HideSessionRestoreButton listener. r=felipe
MozReview-Commit-ID: FyCY7PCGD2H

--HG--
extra : rebase_source : e8dbe2554cf0c946a3f77c0771b7712edfe95fbd
2018-07-29 22:34:20 -07:00
Csoregi Natalia
2466b82b72 Merge inbound to mozilla-central. a=merge 2018-08-13 18:42:53 +03:00
trisha
7526b69b1d Bug 1476509 - Implement a new clock skew error page r=flod,johannh
MozReview-Commit-ID: 5WmgrxUcSZ6

--HG--
extra : rebase_source : 340fd6b1468e4b0ecd80a7eea2233a8d5499da40
2018-08-02 22:59:04 +05:30
Jonathan Kingston
a91f8e8108 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : 5eab8f37c4bd6048057069cb0ac2ab0b4729d950
2018-07-16 10:17:51 +01:00
Andreea Pavel
dc28b8bddf Backed out changeset ef30529d43dd (bug 1476509) for breaking localization a=backout 2018-08-11 13:45:07 +03:00
trisha
c17b929023 Bug 1476509 - Implement a new clock skew error page r=johannh
MozReview-Commit-ID: BUR0hCnh5gb

--HG--
extra : rebase_source : 464b40d21e23e54542a34bd87de44895e990fd89
2018-08-02 22:59:04 +05:30
Bogdan Tara
89268618f4 Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE
--HG--
rename : browser/base/content/test/contextMenu/browser_utilityOverlay.js => browser/base/content/test/general/browser_utilityOverlay.js
2018-08-11 03:20:30 +03:00
Johann Hofmann
29edd41fd0 Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11
This commit switches the identity popup to use "Content Blocking" as a top-level section
instead of Tracking Protection, which is now demoted to a category of Content Blocking.

To keep this change halfway reviewable, I avoided renaming variables, classNames, ids, etc.
that use the term trackingProtection if they were otherwise unaffected by this patch. There
will be other patches that can do this in the future

Differential Revision: https://phabricator.services.mozilla.com/D2775

--HG--
rename : browser/base/content/browser-trackingprotection.js => browser/base/content/browser-contentblocking.js
extra : rebase_source : 0dd57d6142c971617e9f47d32ce76a4a028d98eb
2018-08-06 12:43:59 +02:00
Jonathan Kingston
c24e0873da Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : a7bdcc1e1373724effb0bec2d80eb9c63ae782a1
2018-07-16 10:17:51 +01:00
Noemi Erli
be6ab34c54 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 691b5b30b6c3b2ddece605c045ad913e466fdbab
2018-08-10 00:35:58 +03:00
Brian Grinstead
abf1620630 Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw

--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Jonathan Kingston
9b7fb2f20c Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046

--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
f389570122 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: mixedpuppy, reviewbot

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046

--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Kris Maglione
a5afd46968 Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : rebase_source : 0edbb87354918950e3e66577d0dde140ddc20c23
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -07:00
Brindusan Cristian
8c70dfad01 Backed out changeset 5212e051d039 (bug 1479310) for bc failures on /browser/browser_onboarding_uitour.js.
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
2018-08-07 20:49:43 +03:00
Kris Maglione
d5418d7fd0 Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7

--HG--
rename : dom/ipc/manifestMessages.js => dom/ipc/ManifestMessages.jsm
extra : source : f5d647fae9733c5a19f53539fc6702de2a7fbbab
2018-07-29 13:18:26 -07:00
Kris Maglione
bbe0065e6f Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -07:00
Cosmin Sabou
901f34bef4 Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout
Backed out changeset 915862a355e9 (bug 1479318)
Backed out changeset f150e62dcbbd (bug 1479241)
Backed out changeset a68daa762119 (bug 1479312)
Backed out changeset 2a5aa9de1fd9 (bug 1479945)
Backed out changeset 163276881d35 (bug 1479945)
Backed out changeset 20a1a11b4d0b (bug 1479945)
Backed out changeset ca43bd11f431 (bug 1479945)
Backed out changeset 71700b368132 (bug 1479945)
Backed out changeset f5d647fae973 (bug 1479313)
Backed out changeset 3583823171de (bug 1479310)
Backed out changeset 2d46e1fe3121 (bug 1479309)
Backed out changeset 8f9c9580f687 (bug 1479235)

--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/manifestMessages.js
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/shield-content-frame.js
rename : toolkit/components/normandy/shield-content-process.js => toolkit/components/normandy/content/shield-content-process.js
2018-08-07 17:30:52 +03:00
Dão Gottwald
5b4e355993 Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
MozReview-Commit-ID: 53Mu4zb9X1C

--HG--
rename : browser/components/sessionstore/nsSessionStartup.js => browser/components/sessionstore/SessionStartup.jsm
extra : rebase_source : 5b4f5c2e45841a5ee9123386e8657d8c262ba416
2018-08-04 13:27:40 +02:00
Thi Huynh
b85f1c8fe9 Bug 1480735 - Replace MousePosTracker._windowUtils with window.windowUtils. r=dao
MozReview-Commit-ID: AcADGJH4r2R

--HG--
extra : rebase_source : 0f2613fd6c5da81a7abf3f16b36d365b96be4ff6
2018-08-03 22:01:09 +07:00
Boris Zbarsky
c955b98d55 Bug 1476142 part 2. Remove some unnecessary QIs in browser. r=gijs 2018-08-02 15:26:47 -04:00
Olli Pettay
69b0c7d14a Bug 1480130 - Shadow DOM interferes with Cmd+click handling, r=felipe 2018-08-02 14:55:09 +03:00
dvarga
956d57e7f2 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-02 01:26:29 +03:00
dvarga
e487e6e564 Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00
Siddhant
76afa8409f Bug 1478267 - Drop the callback parameter to getShortcutOrURIAndPostData r=standard8 2018-08-01 15:00:51 +05:30
Kris Maglione
fb8f4c7562 Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7

--HG--
rename : dom/ipc/manifestMessages.js => dom/ipc/ManifestMessages.jsm
extra : rebase_source : be3c8b11dac18219b2e4b8aafa8d213cd1435c80
2018-07-29 13:18:26 -07:00
Kris Maglione
2cb03639b4 Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : rebase_source : 79ecc8b8df092dc9c9e837f0b11eede052df42c7
2018-07-29 12:36:45 -07:00
Dave Townsend
389a969138 Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489

--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Mark Banner
f1731211b5 Bug 1479722 - Rework PlacesUtils.setCharsetForURI to PlacesUIUtils.setCharsetForPage and avoid main thread sync io. r=mak
MozReview-Commit-ID: HeO3Mm5Dibo

Differential Revision: https://phabricator.services.mozilla.com/D2582

--HG--
extra : moz-landing-system : lando
2018-08-01 10:13:59 +00:00
Boris Zbarsky
4abc5c5a25 Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
Kris Maglione
031076f2f3 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Kris Maglione
02ba563399 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
cb1ee1e34d Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Kris Maglione
636f1839e5 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Florian Quèze
f2e5e85840 Bug 1475589 - remove the focused attribute early on the urlbar when adopting a tab, to ensure the url gets properly formatted, r=Gijs. 2018-07-27 23:00:27 +02:00
Dipen Patel
7641beb1f8 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : 9c400bed3c9d29a186fc987c9bd0ffceb37bfd94
2018-07-13 11:48:55 -07:00
Brian Hackett
8f246a4b12 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh.
--HG--
extra : rebase_source : 23307266b2df128845df3ee9972fab240754019d
2018-07-24 21:32:16 +00:00
Boris Zbarsky
270fa12c79 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
96dc530924 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t

--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
shindli
70ab23ecd2 Backed out changeset d126a6593e8f (bug 1475647) for mozmake.exe bustage on a CLOSED TREE 2018-07-24 02:55:53 +03:00
Dipen Patel
b0259a189f Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : b15f75e39d04c8485b4eb63416fd1f1e4175fafe
2018-07-13 11:48:55 -07:00
trisha
fbed68adb3 Bug 1463759 Change the copy of certificate error pages r=johannh
MozReview-Commit-ID: LbZBwSk1xX4

--HG--
extra : rebase_source : 27329d727b15b7310df81494d16de38bd0760d42
2018-07-04 18:15:43 +05:30
Abdoulaye O. Ly
64c9f57859 Bug 1475427 - Refactor warnAboutClosingTabs function in tabbrowser.js so that it directly takes the number of tabs to close as param. r=jaws
MozReview-Commit-ID: Hhdanmwx7rN

--HG--
extra : rebase_source : 41f17f27f914f017877c74dfcbaa12c388cd265e
2018-07-18 19:30:36 +00:00
Gijs Kruitbosch
22172a0279 Bug 1441039 - same-document changes should cause empty URL bar to fill back up for current tab, r=mak
Make URLBarSetURI more explicit about what it's looking for in `value`,
and ensure the tabbrowser's progress listeners reset the userTypeValue if it's
empty already and there's a same-site document change.

Differential Revision: https://phabricator.services.mozilla.com/D2181

--HG--
extra : moz-landing-system : lando
2018-07-19 10:47:23 +00:00
Brian Grinstead
538e6d5d64 Bug 1476030 - Part 3 - Migrate callers from document.persist to xulStore.persist;r=Gijs
MozReview-Commit-ID: JmlIDK9A8dv

--HG--
extra : rebase_source : 5bd4129d99d7c6d24b8c4d33b1ff00be5e180628
2018-07-18 09:43:45 -07:00
Bogdan Tara
1a6ffb9e1e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-17 01:02:10 +03:00
Brian Grinstead
a2384c2234 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i

--HG--
extra : rebase_source : 285700446cd9c183fbf6589d461c88b755d4af8c
2018-07-16 11:47:58 -07:00
Johann Hofmann
45ac034b6e Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 60040607f91cd0477fbf98c49b77b8ee09112a17
2018-07-05 23:45:34 +02:00
Coroiu Cristina
d429af947c Backed out changeset 27335463acd1 (bug 1471713) for browser-chrome failures at browser/components/uitour/test/browser_trackingProtection.js 2018-07-12 14:57:30 +03:00
Johann Hofmann
365f7536ea Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 2d101873b071911763a0ccd7574cbc04026cc89f
2018-07-05 23:45:34 +02:00
Coroiu Cristina
d1d4997c18 Backed out changeset 66d9b0f57c81 (bug 1471713) for build bustage on a CLOSED TREE 2018-07-12 10:25:04 +03:00
Johann Hofmann
47d3860672 Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 1623e497e03ff178f98657a9e8d36d0692a31fe1
2018-07-05 23:45:34 +02:00
Brian Grinstead
916ffe84c9 Bug 1473160 - Move non browser window startup and shutdown functionality into a separate JS file;r=Gijs
These are mac-only functions used to support the dock and application menu for
non browser windows (anything that includes macWindow.inc.xul). Make this more
straightforward by splitting the code out into a new script file that gets loaded
directly by macWindow.inc.xul rather than unconditionally adding the functions
and only calling them when needed.

MozReview-Commit-ID: 8y3rij5vqyh

--HG--
extra : rebase_source : 4e9aae343a41ed497e7da1e2c7acab3d42fea8a2
2018-07-11 06:47:16 -07:00
Cosmin Sabou
26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Manish Kumar
a0dd20f6ee Bug 1473585 - Remove restoreLastSession function. r=dao
--HG--
extra : rebase_source : 422c8b774459e9869d504c1e7c907e55fc454602
2018-07-07 20:29:56 +02:00
Dão Gottwald
04dcfe28d9 Bug 1473309 - Move TabContextMenu and stray usercontext-related functions from browser.js to tabbrowser.js. r=bgrins
MozReview-Commit-ID: CA3F65x08Kg

--HG--
extra : rebase_source : 5383ad0d4365cbba53a33c835677b5fcc5facc22
2018-07-04 16:24:37 +02:00
Axel Hecht
5bdc727943 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP

--HG--
extra : rebase_source : c2b014f2fb1c78ce04859344bd1803ef48d5d68d
2018-05-28 12:38:01 +02:00
Brian Grinstead
2d00c754b4 Bug 1445764 - Remove redundant Places imports from pages that load browser.js;r=standard8
MozReview-Commit-ID: JsPiKMA21Fj

--HG--
extra : rebase_source : 3ada5cfcb0218d9c3ca798dd78ce1f6c7f1ec3f8
2018-07-03 14:26:51 -07:00
arthur.iakab
403038737b Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Abdoulaye O. Ly
9bf68371e3 Bug 1458061 - Implement ability to reload a selection of tabs. r=Gijs
MozReview-Commit-ID: CyJLk7pxGRr

--HG--
extra : amend_source : 97c7d53733c2996e06aa2994f57949357cef35ad
2018-06-29 02:39:18 +00:00
Brian Grinstead
bdde614ed0 Bug 1472751 - Remove MAC_NON_BROWSER_WINDOW preprocessor directive;r=Gijs
The menuitem used to be only included in the markup for the non-browser window
case. This changes it to include it as a hidden <menuitem> for the browser window
case, and then unhide it for the non-browser window case.

MozReview-Commit-ID: 8tY3GiTFmqe

--HG--
extra : rebase_source : 4628aa160fefcb5eacad0e6b174be7216071bda1
2018-07-02 14:25:35 -07:00
Brian Grinstead
ab2a748164 Bug 1471734 - Remove FULL_BROWSER_WINDOW preprocessor directive;r=Gijs
The key used to be removed from the markup. This changes it to include
the <key> but instead disable it through the related command, which fits
the pattern used with other commands.

MozReview-Commit-ID: LPuwULDt22W

--HG--
extra : rebase_source : f463e41602b6c34c4cfcc2254d78647724117318
2018-07-02 10:42:35 -07:00
Coroiu Cristina
a4cd34df05 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-06-30 01:00:54 +03:00
Dave Townsend
d8b7fb22e3 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 6372b2681a59d267f966e9fa2ca9a54e3ff0cea0
extra : intermediate-source : b11aa832c41ac5beef9065f804d11fb7c9887990
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-28 16:06:09 -07:00
Abdoulaye O. Ly
d59d524fbe Bug 1458060 - Implement ability to pin/unpin a selection of tabs. r=jaws
MozReview-Commit-ID: Hqt8QrqQ62V

--HG--
extra : rebase_source : d7edcc85fbe7dd217b4a129f9c7d87457eca3284
2018-06-23 18:07:48 +00:00
Brindusan Cristian
51f77cdfc4 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE
--HG--
rename : browser/base/content/test/favicons/browser_bug408415.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/favicons/browser_bug550565.js => browser/base/content/test/general/browser_bug550565.js
rename : browser/base/content/test/favicons/browser_favicon_change.js => browser/base/content/test/general/browser_favicon_change.js
rename : browser/base/content/test/favicons/browser_favicon_change_not_in_document.js => browser/base/content/test/general/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/favicons/browser_subframe_favicons_not_used.js => browser/base/content/test/general/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/favicons/file_generic_favicon.ico => browser/base/content/test/general/file_bug970276_favicon1.ico
rename : browser/base/content/test/favicons/file_bug970276_popup1.html => browser/base/content/test/general/file_bug970276_popup1.html
rename : browser/base/content/test/favicons/file_bug970276_popup2.html => browser/base/content/test/general/file_bug970276_popup2.html
rename : browser/base/content/test/favicons/file_favicon_change.html => browser/base/content/test/general/file_favicon_change.html
rename : browser/base/content/test/favicons/file_favicon_change_not_in_document.html => browser/base/content/test/general/file_favicon_change_not_in_document.html
rename : browser/base/content/test/favicons/file_with_favicon.html => browser/base/content/test/general/file_with_favicon.html
2018-06-28 23:15:49 +03:00
Dave Townsend
ae4e60478a Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 1e72949e4e1012025ccf87642cc239ea5f15217d
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-04 12:53:55 -07:00
Gijs Kruitbosch
4991b73f4a Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG

--HG--
extra : rebase_source : ffa5561834b03205bf5f5b0cb3ee65b29eb82a9b
2018-06-20 22:53:40 +01:00
Mark Banner
5b8ba7f27e Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH

--HG--
extra : rebase_source : 2e3ad3fedaf82d0e5d3db9bcebf1c2faa46447e7
2018-06-06 21:00:45 +01:00
Marco Bonardo
795a144659 Bug 1419391. r=gijs
MozReview-Commit-ID: IdHuQKgux1c

--HG--
extra : rebase_source : 86870e6266991925386f2f357222d42581b247c2
2017-10-19 13:59:12 +02:00
Dão Gottwald
cd159c76f7 Bug 1459907 - Implement new bookmark confirmation. r=mak
MozReview-Commit-ID: DsTXTKgX72y

--HG--
extra : rebase_source : 836ba1340189d22e4ee9f0fdb1c4ff339fbd266f
2018-06-23 15:28:47 +02:00
Mark Striemer
549ae82f55 Bug 1446101 - Part 4: Remove old alltabs code, rename alltabs-popup to newtab-popup r=dao
MozReview-Commit-ID: 1U0Jg9bpEGV

--HG--
extra : rebase_source : 08a4f7dc03efefe447bdff10b22bca69fce157fe
2018-06-06 16:34:49 -05:00
Mark Striemer
97b891af2b Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao
MozReview-Commit-ID: 3VzqnG6X5rw

--HG--
rename : browser/modules/TabsPopup.jsm => browser/modules/TabsList.jsm
extra : rebase_source : f31401acae04607d292972cd4ab783334d2b0242
2018-06-06 15:48:21 -05:00
lucas05@live.it
4bd55164cd Bug 1464414 - Remove gURLBar null-check from XULBrowserWindow.setOverLink. r=dao 2018-06-21 12:23:29 +02:00
layely
9bbf17cc81 Bug 1458039 - Implement ability to mute/unmute a selection of tabs. r=jaws
MozReview-Commit-ID: 7aw08gxOOtk

--HG--
extra : rebase_source : 204170d0ea72c08c43a08b2d2ec359465894c1e8
2018-05-31 03:26:25 +00:00
Mark Banner
df2e67c590 Bug 1453667 - Remove BrowserUITelemetry from search. r=adw
MozReview-Commit-ID: L0Fj2d7BGdt

--HG--
extra : rebase_source : 5479f9b00f5ebba11120c325aba5247422d14d91
2018-06-06 19:40:27 +01:00
layely
0e2c19f78e Bug 1467340 - Ctrl+w and Ctrl+f4 shortcuts close all selected tabs in multi-select context. r=jaws
MozReview-Commit-ID: AfrpuOKBfas

--HG--
extra : rebase_source : 8e1e093697389a5bf1a158b9d7015c1bc40a9d25
2018-06-07 13:36:17 +00:00
Mike Conley
3729d10328 Bug 1458375 - Add a new browser-idle-startup-tasks-finished notification. r=Felipe
This notification fires when a browser window finishes running its idle tasks. Note
that it might never run if every window goes away before the idle tasks can run.

MozReview-Commit-ID: IEH98S29jhV

--HG--
extra : rebase_source : e15e496d5bd41a2ca2aaa170e3546491a9383ba5
2018-05-29 12:47:54 -04:00
Christoph Kerschbaumer
2c105d2ff5 Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Tooru Fujisawa
9578f20512 Bug 1376119 - Add Reopen in Container tab menu. r=baku,Gijs 2018-06-07 15:59:01 +09:00
Zibi Braniecki
861f1f66f5 Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
MozReview-Commit-ID: AwOikE81KpP

--HG--
extra : rebase_source : d23f95a3ec7c4e569d215dee209e0797303c39d3
2018-06-04 17:21:09 -07:00
Ciure Andrei
a36070ee4a Backed out 1 changesets (bug 1462675) for ESlint failures a=backout on a CLOSED TREE
Backed out changeset 50305cce4a82 (bug 1462675)
2018-06-05 18:31:47 +03:00
Zibi Braniecki
b70f7ea8d1 Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
MozReview-Commit-ID: AwOikE81KpP

--HG--
extra : rebase_source : fc50bd0f97180af71515f55004b79afc28a49492
2018-06-04 17:21:09 -07:00
Noemi Erli
8e2471b6cb Backed out 8 changesets (bug 1458375) for Mochitest leaks on a CLOSED TREE
Backed out changeset 30a743401670 (bug 1458375)
Backed out changeset ae969e1cebfb (bug 1458375)
Backed out changeset 1fb76b9b6f82 (bug 1458375)
Backed out changeset 868da3a1b94a (bug 1458375)
Backed out changeset bd2cba9dfb3d (bug 1458375)
Backed out changeset 715850ae92a1 (bug 1458375)
Backed out changeset cfe8da250de7 (bug 1458375)
Backed out changeset 2968c0a21410 (bug 1458375)
2018-05-31 22:38:48 +03:00
Mike Conley
230f19a67a Bug 1458375 - Add a new browser-idle-startup-tasks-finished notification. r=Felipe
This notification fires when a browser window finishes running its idle tasks. Note
that it might never run if every window goes away before the idle tasks can run.

MozReview-Commit-ID: IEH98S29jhV

--HG--
extra : rebase_source : c00e7053a3a18215a3549ea6fd7c7194dd4ca584
2018-05-29 12:47:54 -04:00
arthur.iakab
fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Csoregi Natalia
0c87942d7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-30 12:27:51 +03:00
Boris Zbarsky
a7ede892a2 Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
Mark Banner
9f30e28934 Bug 1463738 - Remove the Bookmark description UI. r=dao
This removes the bookmark description UI, but leaves the backend in-place for a release or two, so that users have time to save anything they want (e.g. via backup).
The backend will be removed in bug 1402890.

MozReview-Commit-ID: La4AYFar7eK

--HG--
extra : rebase_source : 02bfe3cacdac331d09d5e62a1a70f48b68741670
2018-05-23 17:15:09 +01:00
Mark Striemer
9ac0626b1a Bug 1455300 - Part 1: Extract tab menuitem code from tabbrowser.xml r=dao
MozReview-Commit-ID: LP0EZxe5cJ9

--HG--
extra : rebase_source : 0988341f91ea79db742fd19cb9fa894447b1e50c
2018-05-14 15:10:01 -05:00
Luca Greco
bbb0a980e1 Bug 1458918 - Prevent windows.getLastFocused from leaking tab being adopted by a new window. r=dao,mixedpuppy
MozReview-Commit-ID: 6Nj7J7aI06B

--HG--
extra : rebase_source : 93625678c7799886277566abe79efd1d558e529e
2018-05-03 16:24:02 +02:00
Dorel Luca
047df7a932 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
Coroiu Cristina
c032f38419 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-05-25 20:58:44 +03:00
Felipe Gomes
b77ef88358 Bug 1461548 - Only load the RefreshBlocker frame script when necessary. r=mconley 2018-05-25 14:22:14 -03:00
Dão Gottwald
a71b9f47c1 Bug 1449860 - Focus the location bar when loading about:home. r=mak
MozReview-Commit-ID: FeeNBfGTl7Z

--HG--
extra : rebase_source : 1ef9bdf4d5a149a8d8dabc9acbaa51ff644e4510
2018-05-23 11:17:25 +02:00
Dão Gottwald
dace246775 Bug 1464384 - Stop returning true/false from focusAndSelectUrlBar. r=mak
MozReview-Commit-ID: BKmsjCRZiLs

--HG--
extra : rebase_source : b40289a591de543a8efd9c4470b576d4cb37859d
2018-05-25 15:38:09 +02:00
layely
acb941a30e Bug 1458022 - Implement ability to close a selection of tabs. r=jaws
MozReview-Commit-ID: 4yjajKnONuK

--HG--
extra : rebase_source : 35a0c25a114c99c7cd1de71344f8dacc7536448f
2018-05-21 04:16:01 +00:00
Felipe Gomes
683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Tim Taubert
2a252e45a4 Bug 1464015 - Web Authentication - Rework IPC layer for future Android/Windows support r=jcj
Reviewers: jcj

Reviewed By: jcj

Subscribers: mgoodwin

Bug #: 1464015

Differential Revision: https://phabricator.services.mozilla.com/D1378
2018-05-30 16:06:09 +02:00
ls05
cef592fcd7 Bug 1462285 - Remove const nsIChannel in XULBrowserWindow.onStateChange. r=dao 2018-05-24 15:46:58 +02:00
Johann Hofmann
f277f6146c Bug 1462469 - Add a "Clear Cookies and Site Data" footer button to the identity popup. r=nhnt11
This implements a new button in the identity popup that allows users to quickly
remove cookies and site data from the sites they're visiting.

This uses the SiteDataManager behind the scenes and is similar to the changes
we made for PageInfo already.

There's a major drawback to this approach in that SiteDataManager needs to
refresh its entire data set everytime we want information about a single site
or want to remove anything (it's not trivial to get rid of that limitation while
dealing with all the quirks of our storage APIs). I will work around this by
implementing a way for SiteDataManager to incrementally update itself in bug 1460768.

MozReview-Commit-ID: Iy7ia0KllFq

--HG--
extra : rebase_source : a36e0e7049c5892464d91ad42c3bf523dd5013f9
2018-05-18 11:36:15 +02:00
Oriol Brufau
0d16cdb78d Bug 1457474 - Add 'Manage Extension' in browserAction context menu r=Gijs,mixedpuppy
MozReview-Commit-ID: 3iA7fCeXLVs

--HG--
extra : rebase_source : 0d53cc24e7d6ca733aeca939dbcbd731874acda0
2018-05-14 22:23:21 +02:00
Dão Gottwald
b09a688b84 Bug 1462281 - Remove obsolete getNotificationBox function form browser.js. r=Gijs
MozReview-Commit-ID: DudF9WpoHFD

--HG--
extra : rebase_source : db46d13baf2c5212242c81008ff838860b2445bc
2018-05-17 11:13:45 +02:00
Nan Jiang
401acab6cf Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
MozReview-Commit-ID: EjDFjUvreEp

--HG--
extra : rebase_source : 7c75890bf7f45672623e36ade1dcdbc8dd2c85dc
2018-05-16 11:15:47 -04:00
Marco Bonardo
c8e987256f Bug 1460570 - Merge mozIAsyncFavicons into nsIFaviconService. r=standard8
MozReview-Commit-ID: JAxNj9MfcUI

--HG--
extra : rebase_source : b096792719a74fcf15909ce93f0d9341754009f6
2018-05-10 13:49:00 +02:00
Erica Wright
dc93192a58 Bug 1448918 - Create about:welcome page in preparation for firstrun migration. r=dmose
MozReview-Commit-ID: L34uRsOeziS

--HG--
extra : rebase_source : 9e783e9ba1a8473c8867aa9c2a87337005acbab2
2018-04-23 15:47:57 -04:00