Commit graph

4291 commits

Author SHA1 Message Date
Mike de Boer
ecf63670d4 Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a

--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
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
Emilio Cobos Álvarez
98d261390a Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-16 17:26:49 +01:00
Tiberius Oros
d01a762799 Merge autoland to mozilla-central. a=merge 2018-03-16 11:51:52 +02:00
Gurzau Raul
540992331b Backed out 6 changesets (bug 1439875) for massive breakage for nightly users a=backout
Backed out changeset 990a8eb972cd (bug 1439875)
Backed out changeset 187aef60922c (bug 1439875)
Backed out changeset 9c764daa1234 (bug 1439875)
Backed out changeset f8e091577d2a (bug 1439875)
Backed out changeset 1ee5a2d21901 (bug 1439875)
Backed out changeset 610ba5dfaae1 (bug 1439875)
2018-03-16 11:26:31 +02:00
Tim Nguyen
f74cd699cc Bug 1445100 - Remove pageReport property from browser binding. r=Paolo 2018-03-15 17:56:48 +00:00
Emilio Cobos Álvarez
3beb2dc514 Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek

--HG--
extra : rebase_source : 253bea4c4e90727c0e8cce4726bf7a695ca26d9d
extra : source : 4d6f855ea529f6043b3ca886f53901e16a3d6405
extra : histedit_source : b0aa76063dca7a85e43b3bf670aab8f185a57915%2C760885a660c4fd92e7ae777614ad3cdc84dc9b31
2018-03-15 21:19:50 +11:00
Andreea Pavel
efd81bd597 Backed out 6 changesets (bug 1439875) for browser chrome failures at browser/base/content/test/general/browser_private_browsing_window.js on a CLOSED TREE
Backed out changeset 1ee033e0061a (bug 1439875)
Backed out changeset 7f25473e9b29 (bug 1439875)
Backed out changeset 69550dec0534 (bug 1439875)
Backed out changeset f3b96ce3490b (bug 1439875)
Backed out changeset 9ded55072903 (bug 1439875)
Backed out changeset 7b33ad14ce8c (bug 1439875)
2018-03-14 23:54:24 +02:00
Emilio Cobos Álvarez
e60d31cc60 Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-14 20:47:39 +01:00
arthur.iakab
5205dccc44 Merge mozilla-central to mozilla-inbound 2018-03-14 12:18:15 +02:00
Dão Gottwald
02e5ec126a Bug 1445351 - Add comment with bug reference (DONTBUILD) 2018-03-14 07:32:58 +01:00
Gurzau Raul
8e99377c83 Merge inbound to mozilla-central. a=merge 2018-03-14 00:40:07 +02:00
Tim Taubert
e7ef1499fc Bug 1444829 - Add WebAuthn prompt icon r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1444829

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

--HG--
extra : amend_source : a2b13d16a4da5c8eb81762d4c121151c3a177be9
2018-03-13 18:50:14 +01:00
Andreea Pavel
e74f76b184 Backed out 6 changesets (bug 1439875) for failing mochitest clipboard at browser/components/customizableui/test/browser_editcontrols_update.js and mochitest headless at dom/events/test/pointerevents/test_bug1414336.html on a CLOSED TREE
Backed out changeset f21bdb9b67e8 (bug 1439875)
Backed out changeset bd81fafecd95 (bug 1439875)
Backed out changeset 3296aef96276 (bug 1439875)
Backed out changeset a1237d0711a2 (bug 1439875)
Backed out changeset fc25cbe8e22e (bug 1439875)
Backed out changeset 25e681a47121 (bug 1439875)
2018-03-13 18:37:16 +02:00
Emilio Cobos Álvarez
6c15a62ef4 Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-13 15:36:15 +01:00
Dão Gottwald
ff2e63c19e Bug 1445337 - Send Reader:PushState message to the correct browser. r=Gijs
MozReview-Commit-ID: HmNFGgCgRTc

--HG--
extra : rebase_source : 476bb2203e2825c9d995b42bdf7308628a2a1b69
2018-03-13 18:17:43 +01:00
Dão Gottwald
1283d25eac Bug 1443849 - Part 4: Call gBrowser.init from gBrowserInit and prevent early access to gBrowser. r=Gijs
MozReview-Commit-ID: 6QxXs8fUk3o

--HG--
extra : rebase_source : 45dec7271435e7f7123fc03c358e48b6387d7a4c
2018-03-13 14:44:16 +01:00
Narcis Beleuzu
64def92be1 Backed out 4 changesets (bug 1443849) backed out for mochitest bc failures on /browser_tabs_close_beforeunload.js
Backed out changeset 54259728e099 (bug 1443849)
Backed out changeset e2768d74d30e (bug 1443849)
Backed out changeset b34c63d24344 (bug 1443849)
Backed out changeset 22799a033471 (bug 1443849)
2018-03-13 17:24:33 +02:00
Dão Gottwald
0ccb5d6ccd Bug 1443849 - Part 4: Call gBrowser.init from gBrowserInit and prevent early access to gBrowser. r=Gijs
MozReview-Commit-ID: 6QxXs8fUk3o

--HG--
extra : rebase_source : b24b2d3541d675c8abe924d424e9d441aab15507
2018-03-13 14:44:16 +01:00
Gijs Kruitbosch
d2ebbb38df Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Dão Gottwald
3a59da2e31 Bug 1444891 - Remove the statuspanel binding. r=jaws
MozReview-Commit-ID: KcpOYuObiNG

--HG--
extra : rebase_source : 6784b6b8ae7d9615fedfc6e4bb7ac2d27c297f72
2018-03-12 20:47:31 +01:00
Brendan Dahl
c52106c442 Bug 1444228 - Remove editBookmarkOverlay.xul. r=standard8
Move the main contents of editBookmarkOverlay.xul into an include file and
inline the DTD and CSS files where used. Convert several chrome tests to
browser tests since the preprocessor is hard to use within the testing
framework.


MozReview-Commit-ID: DpPBOpZSuBN

--HG--
rename : browser/components/places/content/editBookmarkOverlay.js => browser/components/places/content/editBookmark.js
rename : browser/components/places/content/editBookmarkOverlay.xul => browser/components/places/content/editBookmarkPanel.inc.xul
rename : browser/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xul => browser/components/places/tests/browser/browser_bug427633_no_newfolder_if_noip.js
rename : browser/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xul => browser/components/places/tests/browser/browser_bug485100-change-case-loses-tag.js
rename : browser/components/places/tests/chrome/test_bug631374_tags_selector_scroll.xul => browser/components/places/tests/browser/browser_bug631374_tags_selector_scroll.js
rename : browser/components/places/tests/chrome/test_editBookmarkOverlay_keywords.xul => browser/components/places/tests/browser/browser_editBookmark_keywords.js
rename : browser/components/places/tests/chrome/test_editBookmarkOverlay_tags_liveUpdate.xul => browser/components/places/tests/browser/browser_editBookmark_tags_liveUpdate.js
rename : browser/themes/linux/places/editBookmarkOverlay.css => browser/themes/linux/places/editBookmark.css
rename : browser/themes/osx/places/editBookmarkOverlay.css => browser/themes/osx/places/editBookmark.css
rename : browser/themes/windows/places/editBookmarkOverlay.css => browser/themes/windows/places/editBookmark.css
extra : rebase_source : aca072691251c1a44e82ab8091796abd2b140e22
2018-03-16 09:26:49 -07:00
Gurzau Raul
15dec6f886 Backed out changeset a09f27b6dceb (bug 1297630) for bc failures on content/test/about/browser_aboutNetError.js and en-us failures on functional/security/test_ssl_disabled_error_page.py on a CLOSED TREE 2018-03-16 18:27:17 +02:00
Johann Hofmann
f4c91f3461 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 : 5a49571b04b682bcde61e61f9874a25e405661f5
2018-03-15 13:55:13 +01:00
Cosmin Sabou
b7b21eb5b0 Backed out changeset 4805bc295b9a (bug 1444891) for ESlint failure on browser/base/content/browser.js 2018-03-12 19:49:23 +02:00
Dão Gottwald
494566d194 Bug 1444891 - Remove the statuspanel binding. r=jaws
MozReview-Commit-ID: JaMhIAWHbEv

--HG--
extra : rebase_source : 09a2bff84c8f1b47e64c7f6fde65689b7d5f11c9
2018-03-12 14:55:55 +01:00
Gurzau Raul
570598f5af Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-14 00:43:01 +02:00
Dão Gottwald
6a87ef97bf Bug 1445298 - Remove global nsIWebNavigation constant from browser.js. r=Felipe
MozReview-Commit-ID: 27NdHKNnyJa

--HG--
extra : rebase_source : 00706988f93942d7c4a5e7bd76fa92d3184c0cbe
2018-03-13 17:07:40 +01:00
Tim Taubert
6ded2cf370 Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1430150

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

--HG--
rename : dom/webauthn/tests/cbor/cbor.js => dom/webauthn/tests/cbor.js
extra : amend_source : f137c2aebea5797cd07d4500cb71c2b9be4e4844
2018-03-11 18:47:14 +01:00
Dão Gottwald
1d92eccd3c Bug 1444614 - Avoid initializing gBrowser and gBrowser.tabContainer early in the urlbar binding constructor. r=Gijs
MozReview-Commit-ID: Lfv4d8RzhmZ

--HG--
extra : rebase_source : 8be318c2200a0bb96f8b176f270a330d618d16ff
2018-03-10 15:02:33 +01:00
Prathiksha
b360ee3691 Bug 1435160 - Format notification popup description message in a helper function. r=johannh
MozReview-Commit-ID: Bwy2WrbXjUf

--HG--
extra : rebase_source : 7560c426f8e3fbfb102cfcba1ef7f15fc112ec38
2018-02-28 02:01:55 +05:30
Arthur Deschamps
9e3694575a Bug 1438069 - "Get me out of here" button now redirects to page "Private Browsing with Tracking Protection" in private mode - r=johannh
--HG--
extra : rebase_source : b4cd177eb731cfb6b4adbb16278fe71ef024b807
2018-02-20 19:27:55 +01:00
Prathiksha
239dd9178f Bug 1437324 - Wrap popup permission indicator text in the Site Identity Panel when it exceeds the width of the panel. r=johannh
textContent is used to set the indicator label text here instead of the value attribute because the text set using the value attribute does not wrap when it exceeds the width of the panel, which in turn pushes the menulist and half of the indicator text out of view.

MozReview-Commit-ID: 1VBaQlbZwzQ

--HG--
extra : rebase_source : 9bda7f5d8ec59b61dbc0e93c9a715c971ab5dceb
2018-03-03 19:19:42 +05:30
Dão Gottwald
92ae27a927 Bug 1442398 - Convert the TabBrowser class to a plain object and make gBrowser available already before gBrowser.init returns. r=bgrins
MozReview-Commit-ID: Cmq8IOaoxn5

--HG--
extra : rebase_source : c74ea804ea39e7e6f9df24b45a4efa37b0aead51
2018-03-07 06:49:53 +01:00
Dão Gottwald
732eeec0ab Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2

--HG--
extra : rebase_source : 4fd817951e19b39b5b06e75614031302177e86b2
2018-03-05 20:33:36 +01:00
J. Ryan Stinnett
ef9b21aeaf Bug 1442923 - Convert openInExtenalEditor to Promises. r=bdahl
This resolves some confusion around the required callback for
`openInExtenalEditor` by converting it to instead return a Promise.  This also
simplifies the flow of its callers as well.

MozReview-Commit-ID: EYoucELJLbu

--HG--
extra : rebase_source : b27541f6d86b06d967b6a5023d82c43efb422d67
2018-03-05 11:50:50 -06:00
Dão Gottwald
63def97e4c Bug 1442961 - Remove the windowdragbox element and binding. r=jaws
MozReview-Commit-ID: JZVMty8qMCP

--HG--
extra : rebase_source : 0f065f0f82e94775fa1d74812e948d88d2516d24
2018-03-05 14:54:03 +01:00
Christoph Kerschbaumer
d0bbab23a2 Bug 1430751 - Apply unified behavior model for about: pages to about:privatebrowsing. r=gijs,mrbkap 2018-03-05 09:20:34 +01:00
Prathiksha
68615f1636 Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 7CLfN4Io0ez

--HG--
extra : rebase_source : 8af54d5a3e4c35113f54b4fcc0ae05b47c0ce60a
2018-02-18 00:20:11 +05:30
Johann Hofmann
826e0a8031 Bug 1440607 - Move getAnimations call out of the rAF for the WebRTC blinking animation. r=florian
MozReview-Commit-ID: It4buk33ea7

--HG--
extra : rebase_source : d891865c6a442249038ece0704e2cdbe17c6c793
2018-02-27 22:46:32 +01:00
Andreea Pavel
1eb964c5f3 Backed out changeset 8e5b1525be69 (bug 1192927) or failing testing\firefox-ui\tests\functional\security\test_no_certificate.py TestNoCertificate.test_no_certificate on a CLOSED TREE 2018-03-02 13:51:15 +02:00
Prathiksha
30e02230c8 Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 3KUbgencO3M

--HG--
extra : rebase_source : d8cbf97c6764fd3700a7cbc6d5dc19565b97bad1
2018-02-18 00:20:11 +05:30
Michael Kaply
b7a354c792 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5

--HG--
extra : rebase_source : d0a9255aae8b8d038c69978cbeabbfc394ad46cd
2018-03-01 10:20:38 -06:00
Marco Bonardo
e9b3ac1755 Bug 1439315 - 8 - Remove some dangling NetUtil usage. r=standard8
MozReview-Commit-ID: A8WcjKkFhVA

--HG--
extra : rebase_source : a4acea017a24de112b1c3bef6ba16d3e0a837a6e
2018-02-28 15:20:05 +01:00
Dão Gottwald
de08cb1cdb Bug 1441788 - Expose Reader View shortcut in the address bar button's tooltip. r=mikedeboer
MozReview-Commit-ID: 88p5xYUrefQ

--HG--
extra : rebase_source : 5c7d4e8067e6c570d6c04fd9758febb098768be2
2018-02-28 11:45:54 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Tooru Fujisawa
9d6ff71db6 Bug 1435908 - Part 2: Pass the triggering principal when opening an URI from new tab button and new window button drag and drop. r=Gijs 2018-02-28 10:36:44 +09:00
Tooru Fujisawa
869b614794 Bug 1319157 - Check each URIs for home button. r=Gijs 2018-02-28 10:36:43 +09:00
Tooru Fujisawa
3546360add Bug 1435910 - Part 1: Warn when opening too many tabs by drag and drop. r=Gijs 2018-02-28 10:36:43 +09:00
Brian Grinstead
18bb37dcc8 Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9

--HG--
extra : rebase_source : 26b833413bab71168aa15e03f0f3803884be3f6b
extra : amend_source : 150cef6748ca8a9e819de0c674fac5966dd574cf
2018-02-27 10:04:14 -08:00
Valentin Gosu
84b854ce2c Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.

MozReview-Commit-ID: 3cK5HeyzjFE

--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +01:00
Valentin Gosu
a60ce32b46 Bug 1439931 - nsIIOService.extractScheme/net_ExtractURLScheme should lowercase its output r=mayhemer
MozReview-Commit-ID: LZ2rqIdIoXQ

--HG--
extra : rebase_source : 3d9973f0001ddc2d98cad0ddddb646cedac489c7
2018-02-26 16:42:27 +01:00
Johann Hofmann
f943b48940 Bug 1431027 - Update disk space warning to reflect the latest preferences. r=nhnt11
This changes the disk space notification to show the correct preferences path
and to use the correct openPreferences arguments.

MozReview-Commit-ID: BuKAUvDjp9T

--HG--
extra : rebase_source : 678f52801d100a980f529fc565d1009c38320ae4
2018-02-22 00:31:16 +01:00
Mike Conley
4e9c3d2fe2 Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : b8c9ae40dbdd0f5587d03e8b7c0833bd94032a78
2018-02-11 20:15:11 -05:00
Andreea Pavel
1aac7df383 Backed out 3 changesets (bug 1434376)for failing browser chrome at browser/base/content/test/performance/browser_urlbar_search_reflows.js on a CLOSED TREE
Backed out changeset b636251b75ab (bug 1434376)
Backed out changeset fccbba9cb959 (bug 1434376)
Backed out changeset b5128504011c (bug 1434376)
2018-02-25 12:44:28 +02:00
Mike Conley
96fbfba56f Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : b8c9ae40dbdd0f5587d03e8b7c0833bd94032a78
2018-02-11 20:15:11 -05:00
Johann Hofmann
593a01f28c Bug 1333468 - Part 1 - Move WebRTC sharing indicator into the identity block and add a paused state. r=florian
MozReview-Commit-ID: ETi6nX2Eapc

--HG--
extra : rebase_source : cc7575236c84de23ff7e86182c81160306f096c6
2017-11-16 19:33:19 +01:00
Prathiksha
fb6210fff5 Bug 1433513 - Correctly handle new expire type (EXPIRE_POLICY) in the Site Identity panel and Page Info window. r=johannh
MozReview-Commit-ID: 7mfxnqI1C65

--HG--
extra : rebase_source : 6000e334bc43978a11a4d9de447445de2249933f
2018-02-14 00:16:53 +05:30
Gijs Kruitbosch
77d40712b5 Bug 1439396, r=mak
--HG--
extra : rebase_source : 8d92f674148d4edc985e1c6ae9bfcb91b7ff5403
2018-02-21 12:18:40 +00:00
Florian Quèze
055aab242e Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
708b543532 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
ed88da887a Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +01:00
Johann Hofmann
256143626d Bug 1438806 - Set correct default permission when showing blocked popups in the identity popup. r=prathiksha
MozReview-Commit-ID: 9dSsGViBbbU

--HG--
extra : rebase_source : cc6759d4b7dffd94312d418ea8bfb1ca75203e01
2018-02-16 12:21:02 +01:00
Nihanth Subramanya
a37bd50fe6 Bug 1438511 - Don't update sidebar UI density before SidebarUI is initialized, or if the sidebar is not open. r=florian
MozReview-Commit-ID: GTfBrSccecX

--HG--
extra : rebase_source : 878f733204cfcea79590975a3b3b93e365b7963c
2018-02-15 19:31:03 +05:30
Brendan Dahl
40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Dão Gottwald
694859a3f8 Backed out changeset f23ac3f571cf
MozReview-Commit-ID: FLl0Gd0oG6o
2018-02-16 09:27:40 +01:00
Dão Gottwald
080e52a924 Backed out changeset c03c60285f5d
MozReview-Commit-ID: 1JWaWpvbii6
2018-02-16 09:27:22 +01:00
Dão Gottwald
3907cbdf72 Backed out changeset 9833d3aa5451
MozReview-Commit-ID: HwyR97pKxfA
2018-02-16 09:27:05 +01:00
Dorel Luca
75f385b6d6 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Florian Quèze
929dc2dc6f Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
dc85c9d6d9 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
e516fc0d1b Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +01:00
Brian Grinstead
94425bff73 Bug 1434401 - Remove the "root-element" binding from :root and create the LightweightThemeConsumer directly from browser.js;r=dao,Gijs
MozReview-Commit-ID: GZiovTZpu6a

--HG--
extra : rebase_source : 1726f3cff3aab3571dfe14b741deed0567d88e55
2018-02-13 09:16:10 -08:00
Johann Hofmann
9b1ad03ff0 Bug 1433511 - Properly handle default popup permissions in the site identity popup. r=prathiksha
We were not correctly setting the menulist value for default popup permissions,
which went largely unnoticed so far because the user had no way of actually setting
these permissions explicitly. It might happen with policy engine in the future
and so we should fix this.

MozReview-Commit-ID: 1VQc1NRGGX

--HG--
extra : rebase_source : 91dd30d11913316e1fc50c09b3ca37ae6430c938
2018-02-07 12:10:26 +01:00
Sebastian Hengst
f5e840425b merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Paolo Amadini
d59df3cdd5 Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy

--HG--
extra : source : 22c83b1d417d7c7bd21a71109f4800f5d37bbb77
extra : intermediate-source : 6de7133c267288a468804f67f91df68b10b9793e
2018-02-06 09:02:27 +00:00
Gijs Kruitbosch
da3597c3bb Bug 1436559 - stop doing busy-work in setOverLink and make textToSubURI available on Services.jsm, r=florian
MozReview-Commit-ID: F63kE4GE67B

--HG--
extra : rebase_source : e1dbae3f45b532e2f498c5e815a98531398143ea
2018-02-07 22:07:08 +00:00
Florian Quèze
dcb4222a1a Bug 1434945 - the tabbar visibility should be set during a DOMContentLoaded listener, r=johannh. 2018-02-08 19:40:15 +01:00
Florian Quèze
bcb534551f Bug 1434945 - the UI density should be set from a DOMContentLoaded listener, r=johannh. 2018-02-08 19:40:15 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Marco Bonardo
7fbf3c9577 Bug 1167237 - Remove nsIBrowserGlue.sanitize() and nsIBrowserGlue. r=johannh
MozReview-Commit-ID: DPs8n6OTfDh

--HG--
extra : rebase_source : eb6fb1fcbafd5630b838404dde48b1ed0f3f2c36
2018-02-06 14:23:03 +01:00
Brian Grinstead
9f2a58c64c Bug 1435437 - Expose gNavigatorBundle as a plain JS object with a stringbundle-like API;r=Gijs
This will allow us to not rely on an actual <stringbundle> while still avoiding a mass rewrite
of code that accesses gNavigatorBundle with the more awkward API exposed by gBrowserBundle.

MozReview-Commit-ID: 2B4smbo1xZP

--HG--
extra : rebase_source : 0f2eef9178cb61802f158efe88b82a723f5e082e
2018-02-02 16:15:53 -08:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dzmitry Malyshau
05561ae950 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Kartikaya Gupta
b9bc1f73c5 Back out cset 75b5af791006 (bug 1433139) for OS X debug mochitest-chrome-3 failure. r=me 2018-01-26 11:31:34 -05:00
Dzmitry Malyshau
90b1205b68 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Paolo Amadini
449c7a5310 Bug 1432016 - Part 2 - Move descriptionHeightWorkaround and some other methods to the PanelView class. r=Gijs
MozReview-Commit-ID: 59fUuB35Ygy

--HG--
extra : rebase_source : 65133023f89241da1b8475b783ffc80e35ee3c28
2018-01-25 15:35:45 +00:00
Kris Maglione
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Jonathan Kingston
04acd987f8 Bug 1335970 - Add prefs to add "Not Secure" text to insecure pages. r=johannh
MozReview-Commit-ID: JtCAjIYI3Qz

--HG--
extra : rebase_source : 50673aa85686d9e0ea979b77c477c5612ee98a54
2018-01-20 22:41:59 +00:00
Prathiksha
6bef493eb4 Bug 1427952 - Make hostname in Canvas permission prompt more prominent. r=johannh
MozReview-Commit-ID: DKUCWoDLutu

--HG--
extra : rebase_source : 4316e09db358a66ff3425e096c08e45e6faa83e4
2018-01-17 20:03:55 +05:30
Mark Banner
e532b05d01 Bug 1431020 - Remove unused globals TLS_ERROR_REPORT_TELEMETRY_MANUAL_SEND and TLS_ERROR_REPORT_TELEMETRY_AUTO_SEND. r=florian
MozReview-Commit-ID: HFStJKJKsSA

--HG--
extra : rebase_source : e99827cf8a9929bd6479cc9f65a3dad06c06e15e
2018-01-17 09:08:06 +00:00
Steve Pfister
a513316b3d Bug 1338497 - make the safebrowsing notification dismiss when navigating to other domains, r=gijs
This moves the Safe Browsing notification banner into its own object, makes it aware of the current base domain,
and adds a function that's called when the location changes to determine if it should dismiss or not.

MozReview-Commit-ID: 31JQ4dUyFb4

--HG--
extra : rebase_source : e6d6589b0eef2d132fa355d4a6b36d2c429004af
extra : histedit_source : e385d8d7b609985ff29d8c9ff2d9ed55fc58bb85%2Ce8fb5de30938510a2b5d6a709b051e754a9ebc54
2018-01-12 00:53:31 -05:00
Tim Nguyen
e1b673bf04 Bug 1428938 - Remove legacy toolbar customization code. r=Gijs
MozReview-Commit-ID: 1ppfxI7yYJW

--HG--
extra : rebase_source : b4a2c44dd5e244c81e479e6b43e9669cc031f349
2018-01-11 16:35:17 +00:00
Henri Sivonen
381880a0e0 Bug 1428771 - Make UCS2_CHAR_IS_BIDI check for lead surrogates corresponding to U+1E800...U+1EFFF and rename to UTF16_CODE_UNIT_IS_BIDI. r=jfkthame
MozReview-Commit-ID: 9ZKF6SaN79n

--HG--
extra : rebase_source : 406f2647e65e2bdb97190b12564bafa6df39e6a8
2018-01-08 16:18:32 +02:00
Gijs Kruitbosch
dd719e911e Bug 1422643 - deal with tabs in the protocol in js paste detection code, r=florian,valentin
MozReview-Commit-ID: Ax5LGkIedkY

--HG--
extra : rebase_source : 85a9871a4de44652fe3bbfd455af389fe27d7714
extra : source : 6ad5ec88a8982d83b8097fd76a2383aae94711c6
2017-12-20 18:57:48 +00:00
Alessio Placitelli
87093beef1 Bug 1417473 - Implement the hybrid content telemetry API. r=chutten,Gijs
This enables whitelisted pages to send messages to the chrome using
asynchronous messaging from the content. This patch only adds the
API and test coverage. The first consumer of the API will be added
as part of bug 1417479.

MozReview-Commit-ID: ESxFFjvhpWA

--HG--
extra : rebase_source : 5f5183022134f87a64f830c084f84f7594b17b52
2017-11-27 11:54:27 +01:00
Csoregi Natalia
7dec907cd4 Backed out 3 changesets (bug 1417473) for failing browser_HybridContentTelemetry.js. r=backout on a CLOSED TREE
Backed out changeset 27db7bf978be (bug 1417473)
Backed out changeset a365a5a59ad1 (bug 1417473)
Backed out changeset 443747e39abe (bug 1417473)
2018-01-05 13:45:25 +02:00
Alessio Placitelli
33178fcdc7 Bug 1417473 - Implement the hybrid content telemetry API. r=chutten,Gijs
This enables whitelisted pages to send messages to the chrome using
asynchronous messaging from the content. This patch only adds the
API and test coverage. The first consumer of the API will be added
as part of bug 1417479.

MozReview-Commit-ID: ESxFFjvhpWA

--HG--
extra : rebase_source : 170677128c2d39c89f3a3bd76e201df4b3be8fb3
2017-11-27 11:54:27 +01:00
Andreea Pavel
66efc31c71 Backed out 1 changesets (bug 1422643) for failing browser/base/content/test/urlbar/browser_removeUnsafeProtocolsFromURLBarPaste.js r=backout on a CLOSED TREE
Backed out changeset 6ad5ec88a898 (bug 1422643)
2018-01-05 02:13:10 +02:00
Gijs Kruitbosch
1104586864 Bug 1422643 - deal with tabs in the protocol in js paste detection code, r=florian,valentin
MozReview-Commit-ID: Ax5LGkIedkY

--HG--
extra : rebase_source : f645af63ebcee01be937feaf0d0cf98dd7f16c92
2017-12-20 18:57:48 +00:00
Ursula Sarracini
7b4dce9241 Bug 1420285 - Change <browser> attribute isPreloadBrowser to preloadedState r=mconley
MozReview-Commit-ID: 3ooQldAnPZl

--HG--
extra : rebase_source : aac0e2957191ba77f06004a95c5766fa60e2d8b4
2018-01-04 15:54:37 -05:00
Chung-Sheng Fu
cae5668a08 Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
MozReview-Commit-ID: 40mesFLeRWU

--HG--
extra : rebase_source : d6dcab54875a8a557a75d63f25fc1b7844f54d21
2017-12-14 15:59:57 -06:00
Johann Hofmann
9006d66671 Bug 1422903 - Prevent about:privatebrowsing favicon from flickering. r=florian
We apply a custom workaround to show about:home and about:newtab favicons
as early as possible for perceived performance, but didn't previously consider
the about:privatebrowsing page (which can act as both about:home and about:newtab).

MozReview-Commit-ID: gPiV08h0j0

--HG--
extra : rebase_source : 12a6ed0973013ed68e783ca3d39a9492c5185411
2017-12-13 05:55:10 -06:00
Florian Quèze
bf955aea0b Bug 1421460 - restore icon should be visible at first paint, r=johannh. 2017-12-20 16:56:36 +01:00
Florian Quèze
9b41dbed41 Bug 592653 - remove gPrefService from browser.js, r=Standard8. 2017-12-19 23:46:32 +01:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Dão Gottwald
3ea994161f Bug 1419537 - Make 'Close Tabs to the Right' and 'Close Other Tabs' available on pinned tabs to close non-pinned ones. r=jaws
MozReview-Commit-ID: 3kooJBCy8du

--HG--
extra : rebase_source : 744b133e05dc8dfadafa7395cb01f6ced2cec224
2017-12-16 13:24:44 +01:00
Masatoshi Kimura
295faed3f9 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1

--HG--
rename : browser/modules/E10SUtils.jsm => toolkit/modules/E10SUtils.jsm
extra : rebase_source : 0920ce818773af797a0daf3cf4ae90af41d71d2a
2017-12-12 21:35:16 +09:00
Vikas
fff6bedb82 Bug 1374791 - Favicon should be used for sidebar icon when loading web content, r=gijs
--HG--
extra : rebase_source : 1f3e52ca09ed4fb121ae74b14b52273fed41b76b
2017-12-06 14:15:23 +05:30
Johann Hofmann
616150b4ff Bug 1422811 - Move reportTLS functionality for cert error pages into content.js. r=Gijs,mgoodwin
This also ensures that we consider certificate error pages in frames as well as top-level.

MozReview-Commit-ID: IA4vT8yZnuN

--HG--
extra : rebase_source : c8825d4fc3e4a3ca018f27b2ada3a6bba2685a65
2017-12-04 15:39:53 +01:00
Mark Banner
0ac75ab2f7 Bug 1422727 - Removed some unused functions and variables from browser.js. r=florian
MozReview-Commit-ID: IKs5MFFxUp3

--HG--
extra : rebase_source : feed07fdc63301f02488726178ee60ca20a1391a
2017-12-04 12:20:26 +00:00
Dorel Luca
bea662dd30 Merge mozilla-central to autoland r=merge
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
extra : rebase_source : 483a0fb85738c5459165efca8ec6bc971e31b4c2
2017-12-04 12:49:40 +02:00
Jessica Jong
171f326899 Bug 1418020: No need to hide form validation popoup onLocationChange. r=Felipe
We already hide the popup when element blurs, which is fired when navigating to
another page.

MozReview-Commit-ID: 5GvlX1CiOQL
2017-12-04 14:15:28 +08:00
Chung-Sheng Fu
6806c911a3 Bug 1039069 - Provide a popup about English for international users. r=arthuredelstein,mconley
MozReview-Commit-ID: IL8i4vzjWQd

--HG--
extra : rebase_source : 7524445d3508b6de6a347034efb4a28e8d5738c5
2017-09-12 17:32:07 +08:00
Dão Gottwald
76c4fb2a77 Bug 1420601 - Let Accel+W in a pinned tab select the first unpinned tab. r=daleharvey
MozReview-Commit-ID: DNhOuW4BL3P

--HG--
rename : browser/base/content/test/general/browser_pinnedTabs.js => browser/base/content/test/tabs/browser_pinnedTabs.js
rename : browser/base/content/test/general/browser_bug580638.js => browser/base/content/test/tabs/browser_pinnedTabs_closeByKeyboard.js
extra : rebase_source : 7bf78150f4d1fda4d501fa06b1855ef628547690
2017-11-29 16:17:37 +01:00
Narcis Beleuzu
b5d0f0fad6 Backed out 3 changesets (bug 1039069) for ESlint failures on browser/components/preferences/languages.js r=backout on a CLOSED TREE
Backed out changeset 036a91aed264 (bug 1039069)
Backed out changeset 69af55073d39 (bug 1039069)
Backed out changeset 4fce39a14630 (bug 1039069)
2017-11-30 23:38:27 +02:00
Chung-Sheng Fu
6e8def922b Bug 1039069 - Provide a popup about English for international users. r=arthuredelstein,mconley
MozReview-Commit-ID: IL8i4vzjWQd

--HG--
extra : rebase_source : 8e5748e69e0a9267a62e68619a0620e704d4ff03
2017-09-12 17:32:07 +08:00
Johann Hofmann
c4fd924605 Bug 1401955 - Prevent favicon flickering on about:home and about:newtab. r=florian
This sets the hardcoded favicon paths before painting the tab or window
to ensure they're painted right away.

MozReview-Commit-ID: 5V3gQP7XkNP

--HG--
extra : rebase_source : 1c887d035d031b5f2367d4599d18d4066282bbd5
2017-11-18 15:19:46 +01:00
Mark Banner
69fb61f655 Bug 1420448 - Remove unused gLastBrowserCharset and gAppInfo from browser.js. r=florian
MozReview-Commit-ID: JafFOc6ZCgt

--HG--
extra : rebase_source : 0ba6a8206c51c1d0f4bb4837e31f33049ae20409
2017-11-24 16:30:16 +00:00
Mark Banner
f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Jonathan Kingston
01bea734e5 Bug 1310447 - Add a pref to display a negative indicator in the URL bar for non-secure sites r=johannh
MozReview-Commit-ID: ExV99iQfvD6

--HG--
rename : browser/base/content/test/general/browser_bug590206.js => browser/base/content/test/siteIdentity/browser_check_identity_state.js
extra : rebase_source : c83f4cc4e3ea1bfa51ca922ee030a9d12ee1b35a
2017-11-14 18:36:56 +00:00
Marco Bonardo
ec456e695c Bug 1395508. r=dao
MozReview-Commit-ID: 8jH9dyj5JZU

--HG--
extra : rebase_source : bb6a05188c49c281be6fc405ec155936ab42c603
2017-11-08 15:42:21 +01:00
Dão Gottwald
8ce2197e43 Bug 1354332 - Update the tab bar layout when the UI density changes. r=johannh
MozReview-Commit-ID: 1HGVirulaE3

--HG--
extra : rebase_source : 5b1ee45459696a45138534207c51c8ec2f3d58eb
2017-11-15 13:04:49 +01:00
Gijs Kruitbosch
8c1b02e3d4 Bug 1388029 - remove the remaining uses of AREA_PANEL, r=jaws
MozReview-Commit-ID: L017kRfHfOv

--HG--
extra : rebase_source : c9dcbb76d787281ac2dcf18c59786205aeaacaf9
2017-11-07 12:15:18 +00:00
Paolo Amadini
f735328150 Bug 1409301 - Update the site security subview to the Photon style. r=johannh
The site security subview is now implemented using the "photonpanelmultiview" element, replacing the last instance of the "panelmultiview" element. The subview features a standard Photon header, hence the connection state icon was moved to the element below it. This makes the styles more similar between the main view and the subview. The connection state styles are now applied using a class name, and the tests have been updated accordingly.

This change required some fixes in the "photonpanelmultiview" implementation to make sure the height of the subview is correct and to allow keyboard navigation back to the main view.

Since the expander button and the permission controls in the main view are not visible anymore after the subview is shown, some code related to focus and hover could be removed as well.

MozReview-Commit-ID: 4nIAPWJPV8k

--HG--
extra : rebase_source : 74d6d769421c0f8521bdfae249b4d111e630a3bd
2017-11-11 19:13:43 +00:00
Kris Maglione
397b8bb7f0 Bug 1416074: Remove obsolete extensionNameFromURI helper. r=mixedpuppy
MozReview-Commit-ID: IzaqUZV03rG

--HG--
extra : rebase_source : 84ee23c5bfeeb738f9ab04f697274b5993017a0c
2017-11-09 17:18:59 -08:00
J.C. Jones
0e002bccbd Bug 1409259 - Add a console warning for soon-to-be-distrusted roots r=keeler,ttaubert
This patch adds a new diagnostic status flag to nsIWebProgressListener,
STATE_CERT_DISTRUST_IMMINENT, which indicates that the certificate chain is
going to change validity due to an upcoming distrust event. The first of
these events is this bug, affecting various roots from Symantec.

The STATE_CERT_DISTRUST_IMMINENT flag is set by nsNSSCallbacks and passed,
via nsSecureBrowserUIImpl, to browser.js where it is used to alert the console.

Adding this sort of diagnostic printing to be accessible to browser.js is a
long-desired goal, as future functionality can start doing more decision-making
there. We may, for example, also want to degrade the lock icon, which will be
straightforward with this flag.

This commit does not implement the IsCertificateDistrustImminent method. That is
follow-on work.

MozReview-Commit-ID: 75IOdc24XIV

--HG--
extra : rebase_source : e6a95d0be65f667eff0b131274272f0df91f8732
2017-10-18 22:29:42 -07:00
Yura Zenevich
2bd2942ddd Bug 1412358 - add telemetry probes for actions on accessibility indicator button and accessibility privacy preference checkbox. r=jimm
MozReview-Commit-ID: 4xXbf5UwnWK
2017-10-31 10:03:13 -04:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Prathiksha
6a75b6bf98 Bug 1411290 - Make menulist label text visible for popup permission in identity manager in localized builds. r=johannh
MozReview-Commit-ID: 1Vx2uBqzPNc

--HG--
extra : rebase_source : 99f62a3a65230dca11011306a9bf2b7cf1d67733
2017-10-24 22:49:55 +05:30
Jared Wein
d6b4704310 Bug 1406414 - Switch to an APNG loading indicator when the browser is under schedule pressure. r=francois,mconley
MozReview-Commit-ID: 13KnlI9QcvU

--HG--
extra : rebase_source : 04ec34551ca8d0c2b4566c069ddf9202673bd3d2
2017-09-21 16:10:49 -04:00
Prathiksha
49ac66dc70 Bug 1331931 - Move the blocked popup icon into the identity block and add a blocked popup indicator item to the identity popup. r=johannh
MozReview-Commit-ID: HxsG2Uz2PuZ

--HG--
extra : rebase_source : 447af5fb2897d45a920244a39aefe7ee2e16b470
2017-09-17 18:35:10 +05:30
Brian Grinstead
3e5f8f313c Bug 1409784 - Remove mStringBundle from tabbrowser binding and expose gTabBrowserBundle instead;r=dao
MozReview-Commit-ID: 2P0OIuQwQv1

--HG--
extra : rebase_source : fe9c42a30a7becf6b3257d1face42087ae9b068d
2017-10-18 11:41:21 -07:00
Marco Bonardo
1daa7b40ab Bug 1347532 - Allow to set a default icon size for the page-icon protocol. r=standard8
MozReview-Commit-ID: KBQYf14iiQw

--HG--
extra : rebase_source : 568f35d153801a43b1f62ba2e73cb0324ea9bbf7
2017-10-17 16:24:55 +02:00
Felipe Gomes
43ee76c5ed Bug 1407351 - Remove nightly-only e10s testing features from the main browser window. r=mikedeboer
The only thing that I didn't remove was the process ID on the tab tooltip, which I find to be super helpful. For that, I changed the check from E10S_TESTING_ONLY to NIGHTLY_BUILD.

MozReview-Commit-ID: 2qNWebBpsMY

--HG--
extra : rebase_source : b30a4492f839186584c074b82a1969973cda48e0
2017-10-17 13:39:50 -02:00
Ryan VanderMeulen
e8cd5f653b Backed out 5 changesets (bug 1407351) for causing bug 1409395 and breaking nightlies.
Backed out changeset e6ee25ad6a9f (bug 1407351)
Backed out changeset 8e04412824b5 (bug 1407351)
Backed out changeset effeee94316e (bug 1407351)
Backed out changeset a53f34a45f9b (bug 1407351)
Backed out changeset 86a360e12b8a (bug 1407351)
2017-10-17 10:07:55 -04:00
Felipe Gomes
4346cedc0e Bug 1407351 - Remove nightly-only e10s testing features from the main browser window. r=mikedeboer
The only thing that I didn't remove was the process ID on the tab tooltip, which I find to be super helpful. For that, I changed the check from E10S_TESTING_ONLY to NIGHTLY_BUILD.

MozReview-Commit-ID: 8wbjdYIC3gb

--HG--
extra : rebase_source : 2ea1b77d4a9fd9c3eb17853c8ec655b309a3fa8c
2017-10-16 14:00:30 -02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Chung-Sheng Fu
7c32bd61cf Bug 967895 - Prompt (w/ Site Permission) before allowing content to extract canvas data (Tor 6253). r=johannh
MozReview-Commit-ID: 91eeagGmUXv

--HG--
extra : rebase_source : 6171cc7bed0b93932da6ca20db8052ada6a5c07b
2017-08-21 16:52:42 +08:00
Nihanth Subramanya
4a8b35e00c Bug 1389094 - Increase height of sidebar search bar and tree items in touch mode. r=dao
MozReview-Commit-ID: HxT3eNHImyz

--HG--
extra : rebase_source : eff12ac335b7908ded5eca9810aa41251d9eabdb
2017-10-08 22:06:30 +05:30
Dão Gottwald
223f606a50 Bug 1407613 - Remove dropmarker from the generic autocomplete binding. r=mak
MozReview-Commit-ID: DIVPqfbkJnL

--HG--
extra : rebase_source : 00636b09d381b201733be7c6a79433555f106af9
2017-10-11 15:34:57 +02:00
nikshepsvn@gmail.com
ef40ea31cc Bug 1407195 - Remove obsolete BrowserStartup and BrowserShutdown functions. r=dao
MozReview-Commit-ID: 1x48JtX6KNf
2017-10-11 18:39:41 +02:00
Sebastian Hengst
51446ede21 Backed out changeset 0a482229bed6 (bug 967895) for rooting hazard. r=backout
--HG--
extra : amend_source : a0a3ca7e33d17ce5a96effccef92d61ab5f373dd
2017-10-09 19:18:23 +02:00
Chung-Sheng Fu
9221167a14 Bug 967895 - Prompt (w/ Site Permission) before allowing content to extract canvas data (Tor 6253). r=johannh
MozReview-Commit-ID: 91eeagGmUXv

--HG--
extra : rebase_source : c4f5713b2cc7020bfb0c3e49b513ae213836a6df
2017-08-21 16:52:42 +08:00