Commit graph

4140 commits

Author SHA1 Message Date
Mike de Boer
d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Tiberius Oros
b60668b4f6 Backed out changeset 82d5734d2fea (bug 1449317) for valgrind-test failures on a CLOSED TREE 2018-04-18 00:49:24 +03:00
Mark Banner
1f4fe4c185 Bug 1449317 - Update the default string in the address bar. r=florian
MozReview-Commit-ID: C00zxCTJmHY

--HG--
extra : rebase_source : 459e7e14370a0c884bb394bde4ec5bf3edf1aadc
2018-04-09 15:32:19 +01:00
Mark Striemer
847b01e89d Bug 1397809 - Part 2: Add a doorhanger when an extension changes the homepage r=aswan,Gijs
MozReview-Commit-ID: CwZ3E32xROS

--HG--
extra : rebase_source : 304392af1ae5ff0bc5677ad25e90bbd1f9f0ecac
2018-01-11 18:59:32 -06:00
Andrew Swan
68d8f5e967 Bug 1331521 Remove about:newaddon r=kmag
MozReview-Commit-ID: 6OFXGYEmSmy

--HG--
extra : rebase_source : 80ee72c190a2b2d06b895ad5bda22cc9b5849b01
2018-04-16 14:11:10 -07:00
Michael Kohler
4c381de5f6 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD

--HG--
extra : rebase_source : 0ba78e764ea2c77ecaafcd35a502940ea1a37ac2
2018-04-09 20:46:45 +02:00
Paolo Amadini
3193903d17 Bug 1391948 - Don't use checkboxes for the "View Bookmarks Toolbar" and "View Bookmarks Sidebar" items in the Bookmarks button menu. r=mak
MozReview-Commit-ID: 2P3yV6xHLxi

--HG--
extra : rebase_source : 9352eac0344844218622149a3dc34959e620d431
2018-04-11 12:42:18 +01:00
Manish Kumar
7262fc3cf9 Bug 1440292 - Remove unused gUIDensity.setCurrentMode. r=johannh
--HG--
extra : amend_source : b4717f6c074e441ea85af2ecb9c575171cfdaa80
2018-04-09 14:01:51 +02:00
Jonathan Kingston
ff73ac0338 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja

--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00:00
Dão Gottwald
f8110c1b6a Bug 1451709 - Remove code for the "Restore Tabs From Last Time" button in the tab bar. r=mikedeboer
MozReview-Commit-ID: JMmkE6axBBK

--HG--
extra : rebase_source : 2449c9fd6fe8f59280dbdfe5a1a55bcd2867a665
2018-04-05 14:02:55 +02:00
Dão Gottwald
bf9d434a13 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai

--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
Manish Kumar
09c4ec88f6 Bug 1450446 - Remove obsolete XULBrowserWindow.inContentWhitelist and XULBrowserWindow.hideChromeForLocation. r=dao 2018-04-02 04:57:59 +02:00
Shane Caraveo
cfe18d0c3e Bug 1446913 - document and fix event object usage, r=felipe 2018-03-30 12:04:40 -05:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Tom Ritter
efbbb80e27 Bug 1397757 Add Learn More link for the Canvas Permission Prompt r=johannh
MozReview-Commit-ID: 5pR8VAmFwqM

--HG--
extra : rebase_source : 4a4046b0ebef716c6a31bdc219f4c21033d7682f
2018-03-26 23:27:39 -05:00
Franziskus Kiefer
5c6b90f0b8 Bug 1448787 - separate error for self-signed certs, r=keeler,johannh
Reviewed By: keeler, johannh

Bug #: 1448787

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

--HG--
extra : rebase_source : 3a9317445c7df5f09675da67888930304b75fc4b
2018-03-29 11:51:33 +02:00
Dão Gottwald
c37f295a17 Bug 1448303 - Refactor TabsInTitlebar initial update handling. r=florian
MozReview-Commit-ID: BQTe6cVyHo1

--HG--
extra : rebase_source : fdc23cfe4902ffd831adf0f9418177342906b241
2018-03-28 20:36:21 +02:00
Drew Willcoxon
e5e43736bc Bug 1221539 - Add search engine discovery to the page action menu. Part 2: Add the new action. r=Gijs
MozReview-Commit-ID: DEEZBwmV0JD

--HG--
extra : rebase_source : 71b68621198d72c069f505d922e92ed357eefe8b
2018-03-28 11:28:20 -07:00
Csoregi Natalia
f80b492e44 Backed out changeset 3e32fb05601e (bug 1448303) expected to fail on browser_windowopen.js. CLOSED TREE 2018-03-28 21:34:21 +03:00
Dão Gottwald
a791e420c3 Bug 1448303 - Refactor TabsInTitlebar initial update handling. r=florian
MozReview-Commit-ID: ASVRIsVIoKa

--HG--
extra : rebase_source : 2a388c9f15c75fb736550714df062d1c4d7a0ed2
2018-03-28 20:24:26 +02:00
Margareta Eliza Balazs
7f19ad998a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-28 00:59:33 +03:00
Dão Gottwald
e6320ddb5d Bug 1448565 - Extract tab bar visibility handling from the tabs binding. r=Gijs
MozReview-Commit-ID: RDvodB7C8e

--HG--
extra : rebase_source : 821cfdd9e3a6cfafd19ab46a9395f06ad01f9ec8
2018-03-27 23:19:15 +02:00
Franziskus Kiefer
806baa5430 Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.

Bug #: 1415279

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

--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
Coroiu Cristina
f7507f7dd5 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
Dão Gottwald
a42207b4aa Bug 1448613 - Clean up TabsInTitlebar resize event handling. r=johannh
MozReview-Commit-ID: CXsfgWOAtwO

--HG--
extra : rebase_source : a0f53ac721b08d1adaaf90578f7499e18d567d0f
2018-03-26 17:24:17 +02:00
Csoregi Natalia
977c314ca4 Backed out changeset a1bb89af06ba (bug 1448613) - expected to fail due to Bug 1446264. CLOSED TREE 2018-03-26 18:19:14 +03:00
Dão Gottwald
99010f0537 Bug 1448613 - Clean up TabsInTitlebar resize event handling. r=johannh
MozReview-Commit-ID: 9UaG2RHst7

--HG--
extra : rebase_source : 1dd7d38344f8645f9cae1d5ce6b58c0e5d24807d
2018-03-25 05:54:38 +02:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Dão Gottwald
a53d603a50 Bug 1448572 - ToolbarIconColor.uninit and CompactTheme.uninit need to run even if the load event wasn't handled. r=bgrins
MozReview-Commit-ID: Cks9rSMZo5y

--HG--
extra : rebase_source : b08f4e4d7f297fb81d6a82c702b0ae924d92cd40
2018-03-24 18:34:19 +01:00
Dão Gottwald
ed71721eed Bug 1448286 - Remove redundant gBrowser.tabContainer.updateVisibility call. r=florian
MozReview-Commit-ID: 8mdaanwgH7b

--HG--
extra : rebase_source : 6894145402b3d4d6252f0ed1203ffbfd80dc3216
2018-03-23 12:10:56 +01:00
Dão Gottwald
58bab935a5 Bug 1448078 - Set the extradragspace attribute before TabsInTitlebar does its initial update. r=johannh
MozReview-Commit-ID: 4jYJ8K3EWfa

--HG--
extra : rebase_source : 6314f4fd7525748f62cb8111e848b46706136a21
2018-03-22 18:52:29 +01:00
Dão Gottwald
69dab05a48 Bug 1448043 - Activate the Light/Dark theme stylesheet before the initial layout. r=bgrins
MozReview-Commit-ID: BQRiXfopFFI

--HG--
extra : rebase_source : c7895e6221024c8f6a1c267a3ca734df405d3f19
2018-03-22 17:05:09 +01:00
Dão Gottwald
2aff048970 Bug 1448017 - Initialize ToolbarIconColor before the initial layout to spare a potential restyle after the initial layout. r=bgrins
MozReview-Commit-ID: LLJ2EftdXZn

--HG--
extra : rebase_source : 26292d2555e705672d6bf5b2381d3626c1b31f3c
2018-03-22 16:18:20 +01:00
Brian Grinstead
f935a6e935 Bug 1447052 - Set up LightweightThemeConsumer in onBeforeInitialXULLayout instead of onLoad r=dao
MozReview-Commit-ID: GjuSvpkywlR

--HG--
extra : rebase_source : e074b3590e69e19a85234b781223ea4bdab34fd1
2018-03-20 12:19:39 -07:00
Tim Nguyen
74e6b6b1e9 Bug 1445099 - Remove unused properties from browser binding. r=enndeakin 2018-03-26 16:32:37 +02:00
Andreea Pavel
7062e6b6a2 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-20 00:39:56 +02:00
abhinav
4c164bb0ae Bug 1439721 - Remove WEB_PERMISSION_CLEARED telemetry code. r=johannh
--HG--
extra : amend_source : 040e509ae4368819d704925dae2fbf881ba03fe6
2018-03-07 18:15:36 +05:30
Bogdan Tara
7eb4cdd58d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Bogdan Tara
4785e99532 Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Gurzau Raul
3057041352 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Vivek Dhingra
7b323d8758 Bug 1446060 - Rename mPanelContainer to tabpanels r=dao
MozReview-Commit-ID: 85PNkl3OeBE

--HG--
extra : rebase_source : d7bfb49a8736b8319f6d1ca45f39fe001d4214d8
2018-03-16 10:23:00 -04:00
Brendan Dahl
a4c91290e1 Bug 1442829: Remove macBrowserOverlay.xul. r=Gijs
Move all of the overlay pieces into an include file except for the
DTD's that could not be put there. Inline the DTD's into the files
where they were used. Update comments in macWindow.inc.xul and browser.xul
to more accurately reflect the current state.

MozReview-Commit-ID: HZIeSf29Yl

--HG--
rename : browser/base/content/macBrowserOverlay.xul => browser/base/content/macWindow.inc.xul
extra : rebase_source : 5772943e01b4c6de7526ab829c6ea5b6960016e5
2018-03-19 08:57:12 -07:00
Johann Hofmann
f629d09118 Bug 1297630 - Make certificate error pages work properly in iframes. r=Gijs
This adds workarounds to ensure that messages passed from browser.js
to content.js in the context of certerror pages always contain a frameId
which can be used to identify the frame that is supposed to receive them.

This fix is really meant to be temporary until we come up with a good
replacement for chrome - content communication, which probably boils down
to finding a middle ground between nsAboutCapabilities, RemotePageManager and WebChannel.

I did not update communication for Captive Portal pages, since those require
one-way broadcasting from chrome to content, which is not supported in this model.
This is tracked in bug 1446319.

I did also not change the behavior of the "Go Back" button, which still navigates
away the top level page, because I consider changing that behavior out of scope
for this bug (and in my personal opinion we should not change the behavior).

MozReview-Commit-ID: GrM6PFys6Cu

--HG--
extra : rebase_source : 135cd9abe570736b80587a018ba5caba59247e10
2018-03-15 13:55:13 +01:00
Emilio Cobos Álvarez
b732f903e2 Bug 1445737: Ensure we only update tabsInTitlebar once during browser startup. r=dao
Two fixes here:

updateAppearance really depends on the tabbrowser.xml updateVisibility(), so
make that dependency explicit and remove the event handling from tabbrowser.

After the previous patch, TabsInTitlebar.init() runs much earlier, which means
that the initialization check that bails out from update() is not taken. Turns
out that this is definitely not an edge case, and that tons of initialization
code all over gBrowser.onDOMContentLoaded call updateAppearance(true), causing
tons of extra invalidation and reflows that aren't really needed.

Ensure we only do the work once.

MozReview-Commit-ID: 2E9b12aBast
2018-03-16 17:27:05 +01:00
Emilio Cobos Álvarez
1683a329b9 Bug 1445737: Simplify a bit now that we unconditionally shuffle the window attributes after init(). r=dao
MozReview-Commit-ID: 78lPD2ZISWV
2018-03-16 17:26:52 +01:00
Emilio Cobos Álvarez
847017f4b5 Bug 1445737: Update tabsintitlebar stuff before layout. r=dao
Not doing can it cause perf issues, but old Linux distros aren't really happy
about it, and they barf when the chromemargin is removed dynamically, so prevent
that happening by default.

Right now it happens on the resize we do right before loading the window, but
that will stop working after bug 1439875.

MozReview-Commit-ID: 1Rhaz07fHaY
2018-03-16 17:26:51 +01:00