Commit Graph

2199 Commits

Author SHA1 Message Date
Kris Maglione
2ca65ba3f6 Bug 1576247: Re-enable WebExtensions browser mochitests on fission debug. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D43287

--HG--
extra : moz-landing-system : lando
2019-08-23 19:20:31 +00:00
Kris Maglione
9446d616cc Bug 1575369: Fix test race. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D43288

--HG--
extra : moz-landing-system : lando
2019-08-23 19:19:59 +00:00
Narcis Beleuzu
9f23833df7 Bug 1575369 - Disable browser_ext_sidebarAction_incognito.js on Mac and Win10. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43176

--HG--
extra : moz-landing-system : lando
2019-08-23 17:42:52 +00:00
Omkar Konaraddi
d51709da87 Bug 1575972 - Support favicon for defaultIcon on contextual tip r=adw
Differential Revision: https://phabricator.services.mozilla.com/D43153

--HG--
extra : moz-landing-system : lando
2019-08-23 04:22:33 +00:00
Peter Van der Beken
4a053507cd Bug 1570330 - Make test_doorhanger_homepage_button (in browser_ext_chrome_settings_overrides_home.js) wait on page load before moving to next task. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43088

--HG--
extra : moz-landing-system : lando
2019-08-23 10:05:19 +00:00
Kris Maglione
467bd404f5 Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42179

--HG--
extra : rebase_source : 319e389d7c38d919b2c5d474aa8417f443f94fb4
extra : source : 080ff558e41aad0cf05ca896c7f98bf4c9a2e7e9
2019-08-14 16:14:02 -07:00
Razvan Maries
e989f5e5c6 Bug 1570478 - Disabled browser_ext_devtools_network.js on Windows, Linux and MacOS. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42456

--HG--
extra : moz-landing-system : lando
2019-08-19 09:22:20 +00:00
Mark Banner
b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Abdoulaye O. Ly
cbbacc1e6a Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 19:51:42 +00:00
Oana Pop Rus
8f85c499fe Backed out 3 changesets (bug 1559244) for browser chrome failure in browser_background_tab_crash.js on a CLOSED TREE
Backed out changeset 1ce7d9bbe7a1 (bug 1559244)
Backed out changeset dced8cea7b23 (bug 1559244)
Backed out changeset dabda4e90259 (bug 1559244)
2019-08-15 22:21:26 +03:00
Abdoulaye O. Ly
8aec5ed540 Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 17:16:26 +00:00
Omkar Konaraddi
59721c8468 Bug 1559501 - Implement icon support through setContextualTip r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39820

--HG--
extra : moz-landing-system : lando
2019-08-12 19:43:42 +00:00
Omkar Konaraddi
62485bc441 Bug 1559508 - Implement onButtonClicked and onLinkClicked events r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39538

--HG--
extra : moz-landing-system : lando
2019-08-12 17:55:50 +00:00
Omkar Konaraddi
0cf14b59de Bug 1568708 - Set contextual tip's texts, remove tip during onShutdown, require urlbar permission r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39521

--HG--
extra : moz-landing-system : lando
2019-08-09 17:50:06 +00:00
mandy cheang
48f276929d Bug 1566489 - Avoid reading extension-setting.json on start-up, read it lazily. r=aswan,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40860

--HG--
extra : moz-landing-system : lando
2019-08-08 16:15:17 +00:00
Julian Descottes
3df7a88f3b Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009

--HG--
rename : devtools/server/main.js => devtools/server/debugger-server-connection.js
rename : devtools/server/main.js => devtools/server/debugger-server.js
extra : moz-landing-system : lando
2019-08-08 12:44:13 +00:00
Andrew Swan
036b82a357 Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 21:33:49 +00:00
Rob Wu
7fa47a343f Bug 1570700 - Drop support for resource/chrome icons in search engines r=mkaply,daleharvey,mixedpuppy
All built-in engines have migrated from OpenSearch to WebExtensions.
WebExtensions do not support resource: or chrome:-URLs in their
`favicon_url` field, so the "resource:" and "chrome:" URLs can only be
used by external opensearch XML files. These should not rely on internal
resources from omni.ja, as the bug shows. So just drop support for
"chrome:" and "resource:"-URLs, as we don't need them any more.

Current OpenSearch engines that relied on chrome/resource:-URLs can
either replace the URL with a data:-URL, or migrate to WebExtensions.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 16:38:54 +00:00
Brindusan Cristian
eadcacfe30 Backed out changeset b4678e759a18 (bug 1569135) for mochitest failures at test_headless_screenshot.html. CLOSED TREE 2019-08-07 20:38:53 +03:00
Andrew Swan
34c3a8c80d Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 16:07:08 +00:00
Johann Hofmann
ae0eba57ce Bug 1570751 - Avoid identity block flickering. r=Ehsan
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 09:03:13 +00:00
Drew Willcoxon
2137a9f3ed Bug 1570492 - Make browser.topSites.get({ newtab: true }) prefer sites' labels to titles. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40112

--HG--
extra : moz-landing-system : lando
2019-08-06 23:35:33 +00:00
Mark Banner
31fe00df28 Bug 1535049 - Add telemetry for the homepage ignore actions. r=daleharvey,chutten,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40394

--HG--
extra : moz-landing-system : lando
2019-08-05 21:53:09 +00:00
Mark Banner
f41a03f6cb Bug 1535049 - Disallow setting homepages to ignored urls. r=daleharvey,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40393

--HG--
rename : browser/modules/test/unit/test_HomePage.js => browser/modules/test/unit/test_HomePage_ignore.js
extra : moz-landing-system : lando
2019-08-05 21:52:59 +00:00
Narcis Beleuzu
d4ac89ee81 Backed out changeset 836310e3d3ee (bug 1570751) for bc failrues on browser_ext_popup_select.js . CLOSED TREE 2019-08-05 13:41:00 +03:00
Johann Hofmann
d9aad9e6f2 Bug 1570751 - Avoid identity block flickering. r=Ehsan
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 07:08:58 +00:00
Nicolas Chevobbe
9eb7ab91ab Bug 1568143 - Don't use JsTerm reference to evaluate code. r=jdescottes.
JSTerm `execute` function is renamed to `_execute` to emphasize
that it's a private function.
A `dispatchEvaluateExpression` is added to the WebConsoleWrapper
so other panels can use that if they need to.
A test helper is added to be able to evaluate without grabbing
the jsterm reference, and tests are modified to use the new
helper, or the existing `executeAndWaitForMessage`.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 11:50:28 +00:00
arthur.iakab
e070f1469e Backed out changeset 8b4a4d993cf3 (bug 1521363) for causing browser chrome faulures Bug 1570526
--HG--
extra : rebase_source : 9137a39ee76989e662c436108290d612defe3751
2019-08-02 13:32:46 +03:00
Marco Bonardo
b34a0c82ce Bug 1570434 - Add an API to toggle engagement event telemetry. r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40194

--HG--
extra : moz-landing-system : lando
2019-08-01 16:37:17 +00:00
Shane Caraveo
5ff32ebdd1 Bug 1521363 fix timing issue in tabs events test r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D39786

--HG--
extra : moz-landing-system : lando
2019-07-30 08:50:02 +00:00
Drew Willcoxon
7d609ae764 Bug 1569812 - Quantumbar: Allow extensions to specify search engines by name, URL, or alias. r=mak
`UrlbarResult` objects for search results have a `payload.engine` property, the name of the engine, but extensions won't always know the name Firefox uses internally or even any name at all. For example, the top sites API returns search results with aliases but not names. We should let extensions specify engine URLs and aliases, and we can use them to look up the engine name.

The UrlbarResult.jsm change is unrelated but fixes a minor annoyance I found while working on the top-sites extension. My background script returns results with `isKeywordOffer: true`, but that causes an error in `UrlbarResult.payloadAndSimpleHighlights` because it converts string values to arrays and then expects non-string values to be arrays. Instead, it should be converting non-array values to arrays.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 17:00:07 +00:00
Tim Nguyen
b6d8cc41ad Bug 1569375 - Refactor browser panel CSS to reduce shadow DOM traversal after CE conversion. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39594

--HG--
extra : moz-landing-system : lando
2019-07-31 15:22:08 +00:00
Ciure Andrei
12bb7f0789 Bug 1394984 - browser_ext_sessions_window_tab_value.js disabled on debug builds on all platforms due to high frequency failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38954

--HG--
extra : moz-landing-system : lando
2019-07-25 08:48:54 +00:00
Paul Zuehlcke
5a377a3a37 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-30 08:28:31 +00:00
Rob Wu
71cf2ae4e8 Bug 1569403 - Wait for delayedStartupFinished in tabs.create r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39605

--HG--
extra : moz-landing-system : lando
2019-07-29 17:16:09 +00:00
Drew Willcoxon
5638261f4a Bug 1568617 - Add a newtab option to browser.urlbar.topSites.get that returns the top sites exactly as shown on newtab r=mixedpuppy,Mardak
This is based on D39589, which moves the top sites API from toolkit to browser.

* Add a `newtab` option to `browser.urlbar.topSites.get` (similar to the abandoned D36200) that returns exactly the top sites shown on newtab
* Add a `AboutNewTab.getTopSites` function that returns those sites from activity stream
* Keep the changes made in bug 1547669

There are a couple of missing things related to the default top sites that this doesn't address but ideally we would have. I think we can come back to these if necessary.

* Actual favicons for the default top sites instead of using the bigger tile images since they don't seem to be the same for every site.
* Proper names names for the default sites. There's a `hostname` property, but it would be nice to have e.g. "YouTube" instead of "youtube".

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

--HG--
extra : moz-landing-system : lando
2019-07-29 18:30:59 +00:00
Drew Willcoxon
912ec74678 Bug 1569366 - Move the top sites API from toolkit to browser r=mixedpuppy
Bug 1547669 added some things to the top sites API, but it turned out to be not quite what we (the quantumbar team) needed (see bug 1568617). What we need is the list of top sites exactly as it appears on newtab. That list is determined by activity stream, which lives in browser. But the top sites API lives in toolkit.

There was an earlier, now abandoned revision for that bug [1] where it was suggested that top sites be moved to browser. So we should do that.

[1] https://phabricator.services.mozilla.com/D36200

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

--HG--
rename : toolkit/components/extensions/parent/ext-topSites.js => browser/components/extensions/parent/ext-topSites.js
rename : toolkit/components/extensions/schemas/top_sites.json => browser/components/extensions/schemas/top_sites.json
rename : toolkit/components/extensions/test/xpcshell/test_ext_topSites.js => browser/components/extensions/test/xpcshell/test_ext_topSites.js
extra : moz-landing-system : lando
2019-07-29 17:00:19 +00:00
Csoregi Natalia
141bcffcc8 Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Paul Zuehlcke
15afab0390 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-29 08:37:55 +00:00
Kris Maglione
675ba868c0 Bug 1568035: Part 2 - Skip tests which cause shutdown crashes under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39460

--HG--
extra : rebase_source : d21f1f9505a23809462ddd8064df44832bbf070f
2019-07-22 13:55:23 -07:00
Rob Wu
b1082cb25d Bug 1559216 - Let tabs API wait until tab has been restored r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D37323

--HG--
extra : moz-landing-system : lando
2019-07-25 17:55:57 +00:00
Andreea Pavel
fc92f585e2 Backed out 3 changesets (bug 1559244) for causing bug 1370046
Backed out changeset de76712278a6 (bug 1559244)
Backed out changeset 467caef2ef9c (bug 1559244)
Backed out changeset 17ab0c52dca0 (bug 1559244)
2019-07-25 17:42:32 +03:00
Abdoulaye Oumar Ly
70d817b8d5 Bug 1481055 - Improve the consistency of params of tab multiselection functions in gBrowser. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36356

--HG--
extra : moz-landing-system : lando
2019-07-22 17:16:40 +00:00
Abdoulaye O. Ly
71143356cc Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-07-24 18:43:14 +00:00
Alexis Beingessner
bb09834391 Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

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

--HG--
extra : moz-landing-system : lando
2019-07-24 14:10:56 +00:00
Edwin Gao
7fd5fb983a Bug 1555454 - disable permafailing tests on macosx1014, migrate mochitest-browser-chrome to macosx1014 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38783

--HG--
extra : moz-landing-system : lando
2019-07-23 18:30:26 +00:00
Bogdan Tara
0cd03d6d7f Backed out changeset ad5e0980c273 (bug 1555454) for central permafails on browser_devices_get_user_media.js a=backout 2019-07-22 07:45:40 +03:00
Edwin Gao
6383bcad31 Bug 1555454 - disable permafailing tests on macosx1014, migrate mochitest-browser-chrome to macosx1014 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38783

--HG--
extra : moz-landing-system : lando
2019-07-21 09:27:47 +00:00
Dão Gottwald
5e619a09bf Bug 1567406 - Use ids instead of classes for urlbar-input and urlbar-scheme. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D38631

--HG--
extra : moz-landing-system : lando
2019-07-19 13:22:23 +00:00
Luca Greco
596f9bba69 Bug 1472740 - Remove usage of deprecated lwt aliased from browser_ext_manager.js. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D37889

--HG--
extra : moz-landing-system : lando
2019-07-19 11:31:13 +00:00