Граф коммитов

474 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca e37e8dabfe Backed out 2 changesets (bug 1682434) for Browser-chrome in browser/components/search/test/browser/browser_contentSearchUI.js. CLOSED TREE
Backed out changeset 4fb5a850c536 (bug 1682434)
Backed out changeset 8ffb755b259c (bug 1682434)
2020-12-18 19:53:59 +02:00
Marco Bonardo 7cec5c8073 Bug 1682434 - Don't store long strings in search history. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D99954
2020-12-18 14:27:18 +00:00
Peter Van der Beken f00258370c Bug 1643018 - Fix TypeError: can't access property "permanentKey", browser is undefined. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D99480
2020-12-11 19:00:50 +00:00
kanishk509 3eca37d628 Bug 1654217 - Make getEngineByAlias async. r=Standard8,preferences-reviewers,nanj
Differential Revision: https://phabricator.services.mozilla.com/D96729
2020-12-11 21:41:17 +00:00
Mark Banner 3f5df73069 Bug 1681382 - Drop BrowserSearch.record*SearchInTelemetry and call BrowserSearchTelemetry direct. r=daleharvey
Depends on D99206

Differential Revision: https://phabricator.services.mozilla.com/D99207
2020-12-10 23:40:58 +00:00
Mark Banner 5bfe12a2c4 Bug 1680735 - Rename SearchTelemetry to SearchSERPTelemetry. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98791
2020-12-08 20:42:15 +00:00
Emilio Cobos Álvarez fe363fa80f Bug 1678987 - Make page style menu deal with <link disabled> better. r=mconley
<link disabled> doesn't appear in document stylesheets, but some pages
use it to use alternative stylesheets.

Differential Revision: https://phabricator.services.mozilla.com/D97988
2020-12-04 01:34:15 +00:00
Emilio Cobos Álvarez a302d5875a Bug 1679160 - Simplify a bit PageStyleChild. r=mconley
We don't use the href, so don't send it to the parent.

Remove getBrowserStyleSheets (also unused).

Differential Revision: https://phabricator.services.mozilla.com/D97921
2020-11-30 21:37:15 +00:00
stransky 1a6364a456 Bug 1675764 [Wayland] Don't use screen sharing preview with PipeWire, r=jib
When screen sharing preview is generated a system dialog is fired and the same system dialog
is fired again when an actual sharing is performed.

Shared resource is selected by system dialog only, we don't have any control which system resource
will be shared over PipeWire. So there's no point to generate a preview of a resource which may not be shared
as an user can select a different resorce.

The preview should be generated by system dialog where the shared resource is selected and confirmed,
we only consume that user selection.

Depends on D96694

Differential Revision: https://phabricator.services.mozilla.com/D96806
2020-11-25 09:23:02 +00:00
stransky f11f528e9f Bug 1675764 [Wayland] Use explicit PipeWire entry at screen sharing dialog when PipeWire is used, r=dminor,jib,johannh
When we share content by PipeWire, a system portal is used to select which content is shared.
In that case put only PipeWire portal name placeholder to device list.

Differential Revision: https://phabricator.services.mozilla.com/D96694
2020-11-25 09:22:59 +00:00
Emilio Cobos Álvarez 472511bebf Bug 1679050 - Backed out changeset 73181c2aa309 (bug 1455479) for having too many false positives. r=backout,a=NarcisB
MANUAL PUSH: Backout on a CLOSED TREE
2020-11-25 00:41:59 +01:00
Emilio Cobos Álvarez e69e249773 Bug 1455479 - Show paste context menu item when there are paste event listeners. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97751
2020-11-21 16:22:42 +00:00
David Parks 1e71ef1cb8 Bug 1675349: Replace plugin behavior with a basic fallback r=jmathies,mixedpuppy
The browser currently only enables plugin behavior for Flash and our internal test plugins.  This patch replaces support for those plugins with a simple fallback that shows a transparent region where the plugin would have been.  It removes the file system search(es) for the plugin dynamic libraries and short-circuits the logic to determine if plugins should do something special -- all implementations now behave the same in the presence of plugin elements.

The new behavior is:
1. If the <object> or <embed> element lists a type of something other than "x-shockwave-flash" or "x-test" then the behavior is unchanged.  This means that non-plugin types behave properly and unknown types (for example, typos) are also unaffected (they reduce to 0x0 elements).
2. If the <object> element has an HTML fallback in the DOM (see spec for <object> elements) then the fallback is always shown.
3. Otherwise, the element is shown as a transparent region with the size specified in attributes.

Differential Revision: https://phabricator.services.mozilla.com/D95902
2020-11-18 15:55:34 +00:00
Bogdan Tara 56346a0425 Backed out 19 changesets (bug 1675349) for lint failures on browser_ext_browsingData_pluginData and test_archive CLOSED TREE
Backed out changeset 244e0f2b410c (bug 1675349)
Backed out changeset ba5724069dd4 (bug 1675349)
Backed out changeset 37fca259c7e9 (bug 1675349)
Backed out changeset f2b16caca1fc (bug 1675349)
Backed out changeset 28835d4935be (bug 1675349)
Backed out changeset eb913f58953a (bug 1675349)
Backed out changeset 19e3cb80f469 (bug 1675349)
Backed out changeset d9723f3a3a7e (bug 1675349)
Backed out changeset c888dfcdf70e (bug 1675349)
Backed out changeset 48f153341af6 (bug 1675349)
Backed out changeset 7fc67a9b2932 (bug 1675349)
Backed out changeset 1cee4d97f801 (bug 1675349)
Backed out changeset 59a0cb79c7c1 (bug 1675349)
Backed out changeset 43d349fa37b1 (bug 1675349)
Backed out changeset c84bfb6eae59 (bug 1675349)
Backed out changeset 38e9af69ae57 (bug 1675349)
Backed out changeset 3255c1ab3059 (bug 1675349)
Backed out changeset 2f3eaf9c342c (bug 1675349)
Backed out changeset 769e5c0db4c2 (bug 1675349)
2020-11-18 06:06:36 +02:00
David Parks ca8ad84d31 Bug 1675349: Replace plugin behavior with a basic fallback r=jmathies,mixedpuppy
The browser currently only enables plugin behavior for Flash and our internal test plugins.  This patch replaces support for those plugins with a simple fallback that shows a transparent region where the plugin would have been.  It removes the file system search(es) for the plugin dynamic libraries and short-circuits the logic to determine if plugins should do something special -- all implementations now behave the same in the presence of plugin elements.

The new behavior is:
1. If the <object> or <embed> element lists a type of something other than "x-shockwave-flash" or "x-test" then the behavior is unchanged.  This means that non-plugin types behave properly and unknown types (for example, typos) are also unaffected (they reduce to 0x0 elements).
2. If the <object> element has an HTML fallback in the DOM (see spec for <object> elements) then the fallback is always shown.
3. Otherwise, the element is shown as a transparent region with the size specified in attributes.

Differential Revision: https://phabricator.services.mozilla.com/D95902
2020-11-18 03:08:29 +00:00
Nika Layzell 9ff27adca3 Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-12 18:00:53 +00:00
Mark Banner b804f5e4df Bug 1673758 - Search bar in the new tab page should show a default icon for non-app provided engines in all modes. r=daleharvey
Depends on D96744

Differential Revision: https://phabricator.services.mozilla.com/D96745
2020-11-12 19:05:36 +00:00
pbz 48e52372b9 Bug 1675972 - Only call modal state exit if window is currently in modal state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D96746
2020-11-12 12:46:53 +00:00
Tim Huang c342ff2008 Bug 1641270 - Part 5: Send cookieJarSettings across processes for ContextMenu. r=smaug
This patch makes the ContextMenu to send cookieJarSettings from content
to the parent process via ContextMenuChild/Parent. The cookieJarSettings
will be used in 'Save ... As'.

Differential Revision: https://phabricator.services.mozilla.com/D95615
2020-11-11 11:14:09 +00:00
Mihai Alexandru Michis 4038013e6f Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js
CLOSED TREE

Backed out changeset 89a6dab92f1a (bug 1641270)
Backed out changeset 5f9c5af66b77 (bug 1641270)
Backed out changeset dfeb879f4131 (bug 1641270)
Backed out changeset 143728b1b1ab (bug 1641270)
Backed out changeset 265ae2953416 (bug 1641270)
Backed out changeset 55ea7810c160 (bug 1641270)
Backed out changeset 7bef9112f296 (bug 1641270)
Backed out changeset 2663dc1e9a3e (bug 1641270)
Backed out changeset fcba6dba3649 (bug 1641270)
2020-11-11 13:10:11 +02:00
Tim Huang 7a39439a68 Bug 1641270 - Part 5: Send cookieJarSettings across processes for ContextMenu. r=smaug
This patch makes the ContextMenu to send cookieJarSettings from content
to the parent process via ContextMenuChild/Parent. The cookieJarSettings
will be used in 'Save ... As'.

Differential Revision: https://phabricator.services.mozilla.com/D95615
2020-11-10 11:47:47 +00:00
Razvan Maries 10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell b20d2f0f1b Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-04 00:55:23 +00:00
Mike Conley e5905f10e5 Bug 1674317 - Load about:home scripts via the subscript loader when hitting the about:home startup cache. r=k88hudson
Using the subscript loader is currently our best way of getting the loaded scripts recorded for entry
in the ScriptPreloader which is used to cache startup-related JavaScript within the startup window.

Originally, we were using <script> tags to load those scripts, but unfortunately, that loading mechanism
does not qualify for being noted by the ScriptPreloader.

This is a workaround until the Stencil project by the SpiderMonkey team Phase 2 is complete (see bug 1663956),
which should allow us to more easily note scripts to cache at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D95407
2020-11-03 20:54:55 +00:00
Razvan Maries 3f1cea6dd5 Backed out changeset cf8e07fcfaa7 (bug 1674317) for xpcshell perma failures on test_AboutHomeStartupCacheWorker.js. CLOSED TREE 2020-11-03 22:42:03 +02:00
Mike Conley 9e7cb7ad40 Bug 1674317 - Load about:home scripts via the subscript loader when hitting the about:home startup cache. r=k88hudson
Using the subscript loader is currently our best way of getting the loaded scripts recorded for entry
in the ScriptPreloader which is used to cache startup-related JavaScript within the startup window.

Originally, we were using <script> tags to load those scripts, but unfortunately, that loading mechanism
does not qualify for being noted by the ScriptPreloader.

This is a workaround until the Stencil project by the SpiderMonkey team Phase 2 is complete (see bug 1663956),
which should allow us to more easily note scripts to cache at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D95407
2020-11-03 19:24:42 +00:00
Johann Hofmann 3d58a1fbfb Bug 941354 - Use innerMostURI on about:{neterror,certerror}. r=prathiksha,baku
This is to prevent issues with parsing the correct hostname for displaying and adding
exceptions for urls like view-source:.

Differential Revision: https://phabricator.services.mozilla.com/D94421
2020-10-27 10:55:51 +00:00
Butkovits Atila 9817823a41 Backed out changeset 2edd2bd119ff (bug 941354) for browser-chrome related failures. CLOSED TREE 2020-10-26 23:31:58 +02:00
Johann Hofmann a735fc4151 Bug 941354 - Use innerMostURI on about:{neterror,certerror}. r=prathiksha,baku
This is to prevent issues with parsing the correct hostname for displaying and adding
exceptions for urls like view-source:.

Differential Revision: https://phabricator.services.mozilla.com/D94421
2020-10-26 20:12:14 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Andreas Pehrson c11959ec0e Bug 1597451 - Remove IterateWindowListeners altogether. r=jib,geckoview-reviewers,agi
GeckoView is seemingly the last user depending on MediaManager iterating over
a all iframes of a window when queried for its capture state.

It is fine however, since GeckoViewMedia already iterates over all windows in
MediaManagerService.activeMediaCaptureWindows, which includes all subframes that
are actively captured.

This patch removes IterateWindowListeners altogether, and the last callsite is
simplified.

Differential Revision: https://phabricator.services.mozilla.com/D93079
2020-10-19 09:56:56 +00:00
Neil Deakin 460cc6a899 Bug 1651802, replace willDestroy methods in actors with didDestroy, add null-check in picture-in-picture actor which occurs if removeMouseButtonListeners while tab is closed, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D90737
2020-10-20 23:27:28 +00:00
Jared Wein 131e1f04be Bug 1670255 - Show default notification bar on permanent private windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D93591
2020-10-15 21:49:03 +00:00
Neil Deakin af842b5083 Bug 1670134, remove message manager reference from LightweightThemeChild.jsm, by getting chromeOuterWindowId from BrowserChild instead, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D93043
2020-10-09 17:36:22 +00:00
Mark Banner 633ab11df1 Bug 1511065 - Switch Search Provider telemetry probes to Remote Settings. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D92202
2020-10-09 16:41:34 +00:00
Mark Banner d92de51aae Bug 1511065 - Update existing search telemetry provider field names to match those of the new remote settings schema. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D92244
2020-10-09 16:41:26 +00:00
Dorel Luca 9fd7c4a9f4 Backed out 3 changesets (bug 1511065) for Browser-chrome failures in browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. CLOSED TREE
Backed out changeset c1182c07b4fc (bug 1511065)
Backed out changeset 9ba2ec197bbb (bug 1511065)
Backed out changeset 35c1fdc39645 (bug 1511065)
2020-10-09 18:45:07 +03:00
Mark Banner 33dec86beb Bug 1511065 - Switch Search Provider telemetry probes to Remote Settings. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D92202
2020-10-09 14:33:45 +00:00
Mark Banner 95cf7925c0 Bug 1511065 - Update existing search telemetry provider field names to match those of the new remote settings schema. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D92244
2020-10-09 08:25:46 +00:00
Reid Shinabarker 5a3e382de8 Bug 1653496 - Picture-in-Picture option not shown for VideoHTMLElement with VideoTrack from Twilio. r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91544
2020-10-09 10:52:18 +00:00
Jared Wein 78056aee58 Bug 1668755 - Don't show the default browser notification bar in private windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92794
2020-10-07 18:27:13 +00:00
Steven MacLeod 8a2f140b36 Bug 1656741, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91760
2020-10-05 22:38:03 +00:00
Narcis Beleuzu 93313c434d Backed out changeset 3722e6ee6ebd (bug 1653496) for bc failures on browser_mediaStreamVideos.js . CLOSED TREE 2020-10-06 00:05:00 +03:00
Reid Shinabarker 917e456342 Bug 1653496 - Picture-in-Picture option not shown for VideoHTMLElement with VideoTrack from Twilio. r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91544
2020-10-05 18:26:35 +00:00
Cameron McCormack 4352fb7b0d Bug 1662839 - Set author style disabled state correctly on newly created iframes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D90953
2020-10-04 03:25:16 +00:00
Erica Wright 8eed61bbe6 Bug 1661756 - Add VPN Card and Banner r=prathiksha,flod,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D88633
2020-09-30 14:46:46 +00:00