Commit Graph

23374 Commits

Author SHA1 Message Date
Butkovits Atila
277ed87531 Backed out changeset 3c400bb0cd01 (bug 1648639) for bc failures on browser_panel_keyboard_navigation.js. 2020-06-30 21:35:06 +03:00
Emma Malysz
7726722698 Bug 1648639, remove containers, help view, and developer panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81257
2020-06-30 15:11:00 +00:00
Cosmin Sabou
4a382d7801 Backed out 4 changesets (bug 1640338, bug 1640778) for devtools failures on browser_dbg-toolbox-unselected-pause.js.
Backed out changeset 92cb02f03119 (bug 1640778)
Backed out changeset 6401dd804f28 (bug 1640338)
Backed out changeset cb4edb2627bb (bug 1640338)
Backed out changeset b2394d79f48f (bug 1640338)
2020-06-30 19:59:10 +03:00
Yura Zenevich
17dc33c60a Bug 1640778 - remove auto-init experiment code. r=mtigley,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D77057
2020-06-30 14:53:07 +00:00
Vlad Filippov
fda2fee4d0 Bug 1642556 - Write a sync log after sending a tab. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D81191
2020-06-30 14:29:11 +00:00
Emma Malysz
8d5ec61edd Bug 1648198: Remove recently closed tabs and windows panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80717
2020-06-30 03:44:56 +00:00
Csoregi Natalia
c0c732c1f7 Backed out changeset 0f3b01e74838 (bug 1642556) for failures on test_errorhandler_filelog.js. CLOSED TREE 2020-06-30 07:16:34 +03:00
Vlad Filippov
da096351d9 Bug 1642556 - Write a sync log after sending a tab. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D81191
2020-06-30 01:55:09 +00:00
Bryce Seager van Dyk
7ebe6409b1 Bug 1642465 - Test DRM prompt is shown for cross origin iframes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80976
2020-06-29 21:56:25 +00:00
Bryce Seager van Dyk
12c7838399 Bug 1642465 - Add EncryptedMedia actors to handle EME messages. r=Gijs
This patch also removes the code that is replaced by the new actors.

Differential Revision: https://phabricator.services.mozilla.com/D77861
2020-06-29 21:56:25 +00:00
Drew Willcoxon
8cf8a6212d Bug 1646086 - Improve UrlbarProviderSearchTips's impact on ts_paint. r=mak
ts_paint depends on the first MozAfterPaint in the content window, not in the
browser as I had thought. After MozAfterPaint, it pings the parent process and
waits for a response (see `TalosPowers.loadPromise`), and then it ends. It will
wait up to 500ms for the response before timing out. Source:
https://dxr.mozilla.org/mozilla-central/source/testing/talos/talos/startup_test/tspaint_test.html

At first I modified UrlbarProviderSearchTips to wait on
`browser-delayed-startup-finished`, but the jsm kept appearing in ts_paint
profiles, and that's how I found out the above. So that's not sufficient.

There's already a promise in browser.js for waiting on the first paint in the
first content window, but it's "private." I added a public getter for it and
changed the name so it's clearer that it's related to the first content window,
not the browser window.

I also added a 500ms timeout just like the worst case in ts_paint.

Both checks (paint and the timeout) are done for a particular browser window
only the first time UrlbarProviderSearchTips sees it.

Finally, UrlbarProviderSearchTips can avoid importing BrowserWindowTracker
during startup by having browser.js pass the window to its `onLocationChange`. I
saw the BrowserWindowTracker.jsm import in some profiles while working on this.

With these changes, UrlbarProviderSearchTips no longer appears in ts_paint
profiles when I run it locally -- except when it is imported by
UrlbarProvidersManager, which ultimately happens due to setting the placeholder
text in the urlbar input. But even that doesn't appear in every profile.

I've also included the reordering of checks from a previous version of this
patch. That's still worth doing in general even if it's no longer relevant to
ts_paint.

Differential Revision: https://phabricator.services.mozilla.com/D80799
2020-06-29 21:28:07 +00:00
Emma Malysz
392c9ed354 Bug 1648175, remove history and library panel views from the main panel and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80306
2020-06-29 15:41:43 +00:00
Dave Townsend
2d4a0f50de Bug 1642731: Turn excessive calls to document.l10n.formatValue to a single document.l10n.formatValues call. r=Gijs
Rather than sending the strings down to the content process and back up instead
have the content process just send the media type which when prefixed with
`media-` gives us the fluent ID for the string. Ideally this would allow us to
just set that as the `data-l10n-id` for the items but since this tree is
generated by a custom `nsITreeView` implementation that isn't an option so this
still caches the strings on load.

A single formatValues call will be more performant.

Differential Revision: https://phabricator.services.mozilla.com/D77897
2020-06-26 19:17:17 +00:00
Matt Woodrow
b70d4baf2a Bug 1626362 - Add test for not process switching when we get a 204 response. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80103
2020-06-25 04:31:59 +00:00
Mathieu Leplatre
a4fabab49a Bug 1639284 - Store records, timestamp and metadata in one IndexedDB transaction r=Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D78246
2020-06-24 10:00:53 +00:00
Nihanth Subramanya
b60139de76 Bug 1600874 - Enable browser_identityPopup_clearSiteData.js on fission. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D80868
2020-06-25 09:49:16 +00:00
Csoregi Natalia
e67ceab432 Backed out 9 changesets (bug 1626362) for failures on a-download-click-404.html. CLOSED TREE
Backed out changeset d29ac651a4fd (bug 1626362)
Backed out changeset 5ba5cf98a95d (bug 1626362)
Backed out changeset 69b5b01da9c1 (bug 1626362)
Backed out changeset 1d31061f4421 (bug 1626362)
Backed out changeset a627870e35fb (bug 1626362)
Backed out changeset 5f3ee46032b6 (bug 1626362)
Backed out changeset 5b170666991e (bug 1626362)
Backed out changeset 4d31c2ede058 (bug 1626362)
Backed out changeset 66a9ba0f87cb (bug 1626362)
2020-06-25 02:45:52 +03:00
Matt Woodrow
86dcbb169e Bug 1626362 - Add test for not process switching when we get a 204 response. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80103
2020-06-24 22:01:25 +00:00
Kris Maglione
aa9718c2e0 Bug 1648178: Stop loading TelemetryUtils in content processes. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D80919
2020-06-24 20:03:53 +00:00
Kris Maglione
4f021f549e Bug 1645862: Part 2 - Get rid of ContentProcessSingleton. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D79871
2020-06-24 17:33:52 +00:00
Kris Maglione
977f86fb80 Bug 1645862: Part 1 - Split TelemetryController into parent and content modules. r=chutten
Most of TelemetryController is only used in the parent process, but is
currently loaded in all processes, where it needlessly consumes tens of KB of
memory. This patch splits the parent- and content-specific parts, and only
loads each in the processes where they're needed.

Differential Revision: https://phabricator.services.mozilla.com/D79870
2020-06-24 17:33:49 +00:00
Gijs Kruitbosch
b4623ffd8b Bug 1647787 - remove use of whitelist/blacklist from front-end performance tests, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D80697
2020-06-24 14:23:49 +00:00
Francesco Lodolo (:flod)
a4b5e4d9bd Bug 1647692 - Add language packs and dictionaries to about:support, r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80808
2020-06-24 13:30:22 +00:00
Dorel Luca
67ec7cbf19 Backed out 2 changesets (bug 1645862) for browser-chrome failures in performance/browser_startup_content.js
Backed out changeset c5ae0087c1e7 (bug 1645862)
Backed out changeset b4643e4db774 (bug 1645862)
2020-06-24 07:00:08 +03:00
Kris Maglione
3ea9f8b628 Bug 1645862: Part 1 - Split TelemetryController into parent and content modules. r=chutten
Most of TelemetryController is only used in the parent process, but is
currently loaded in all processes, where it needlessly consumes tens of KB of
memory. This patch splits the parent- and content-specific parts, and only
loads each in the processes where they're needed.

Differential Revision: https://phabricator.services.mozilla.com/D79870
2020-06-24 03:09:23 +00:00
Dorel Luca
30e138debd Backed out 2 changesets (bug 1645862) for XPCShell on telemetry/tests/unit/test_TelemetrySend.js
Backed out changeset 015c7a1af896 (bug 1645862)
Backed out changeset 12e1039aba47 (bug 1645862)
2020-06-24 02:12:27 +03:00
Kris Maglione
a0b7d1f89b Bug 1645862: Part 1 - Split TelemetryController into parent and content modules. r=chutten
Most of TelemetryController is only used in the parent process, but is
currently loaded in all processes, where it needlessly consumes tens of KB of
memory. This patch splits the parent- and content-specific parts, and only
loads each in the processes where they're needed.

Differential Revision: https://phabricator.services.mozilla.com/D79870
2020-06-23 22:26:10 +00:00
Gijs Kruitbosch
fca766666b Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-23 14:04:49 +00:00
James Graham
0221d92326 Bug 1644395 - pdf.worker.js usage can now be detected by test, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80625
2020-06-23 10:07:41 +00:00
Kashav Madan
8bf5a0784d Bug 1647334 - Inherit the private browsing bit for new (Non-)Fission windows opened from the File menu, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D80480
2020-06-22 15:58:24 +00:00
Tim Huang
afadc99944 Bug 1643607 - Fix the timeout issue of the test browser_aboutCertError.js in Fission. r=johannh
The timeout happens when we get an old element of the 'errorCode'
element in the test code. In this patch, we fix this issue by getting
the element every time we check the condition of the 'errorCode'
condition.

Differential Revision: https://phabricator.services.mozilla.com/D80214
2020-06-22 07:08:22 +00:00
Dorel Luca
d4c820fa0f Backed out changeset 3671a57712e4 (bug 1646780) for Browser-chrome failures in webrtc/browser_devices_get_user_media_tear_off_tab.js 2020-06-19 04:22:23 +03:00
Gijs Kruitbosch
f457ccd655 Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-19 00:02:11 +00:00
Gijs Kruitbosch
0538417ba0 Bug 1621231 - make sandbox prefs not trip browser_preferences_usage.js so much, r=florian
A longer-term fix is being worked on in bug 1644917, but this will make life easier for sheriffs and on try.

Differential Revision: https://phabricator.services.mozilla.com/D79662
2020-06-18 15:46:41 +00:00
Butkovits Atila
44b8ac984c Backed out changeset e33817395845 (bug 1529610) as requested by dev. CLOSED TREE 2020-06-18 15:38:56 +03:00
pbz
c90e24b52a Bug 1645632 - Include webrtc window streams when handling webrtcLegacyIndicator click. r=johannh
Bug 1636207 updated webrtcUI.getActiveStreams to support getting window streams. This updates
the call sites in the legacy webrtc indicator, so we get all streams. In the affected call sites
the streams are used to find and focus the parent window and show the permissions doorhanger.

Differential Revision: https://phabricator.services.mozilla.com/D80030
2020-06-18 11:42:05 +00:00
Gerald Squelart
61581471a7 Bug 1529610 - LRU cache of Windows filenames in WinIOAutoObservation - r=canaltinova,florian
Caching filenames in 32-entry LRU array covers >95% of calls, and makes the average `Filename()` call 5 to 10 times cheaper.

browser_start_content_mainthreadio.js needed to be updated to handle operations that now have a filename thanks to the cache.

Differential Revision: https://phabricator.services.mozilla.com/D79767
2020-06-18 08:26:51 +00:00
Gijs Kruitbosch
d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Emma Malysz
ea1d95a265 Bug 1645460, switch from the expired FX_BROWSER_FULLSCREEN_USED to a scalar that we actually collect until Fx86 r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D79519
2020-06-17 18:07:40 +00:00
Kris Maglione
3bda67deab Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Mike Conley
7f6dee8800 Bug 1645466 - Prevent the WebRTC indicator from being resized manually on Linux GTK. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D80019
2020-06-17 17:04:51 +00:00
Nika Layzell
4206cf7b5e Bug 1645882 - Remove extra space in [F] tab tooltip, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80020
2020-06-17 16:00:37 +00:00
Neil Deakin
58ca41961b Bug 1645541, use outerWindowId from the windowGlobal instead of using the Browser:Init message, Also makes the BrowserTab actor specific to the main browser, r=mconley,remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D79609
2020-06-17 15:01:28 +00:00
Neil Deakin
b5c20e028a Bug 1645541, remove uncommonly used outerid to browser map and just iterate over the tabs instead, r=mconley
The map is only used by payments and about:devtools.

Differential Revision: https://phabricator.services.mozilla.com/D79608
2020-06-17 15:00:50 +00:00
Csoregi Natalia
b77e2a68c6 Bug 1644537 - Fixing lint. a=lint-fix CLOSED TREE 2020-06-17 09:53:30 +03:00
Csoregi Natalia
49efebf92b Bug 1644537 - Fixing whitelist entry. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D79954
2020-06-17 06:03:40 +00:00
Dave Townsend
e07f989e6c Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Kashav Madan
1a71fed80e Bug 1580766 - Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
This adds a `browserId` property to all browsing contexts. This ID is the same
for the entire tree of contexts inside a frame element. Each new top-level
context created for a given frame also inherits this ID. This allows identifying
the frame element for a given browsing context.

Originally authored by :mossop in D56245.

Differential Revision: https://phabricator.services.mozilla.com/D77911
2020-06-16 18:12:46 +00:00
Razvan Maries
73dfe9d277 Backed out changeset 585e0230b2d5 (bug 1580766) as requested. CLOSED TREE 2020-06-16 21:01:26 +03:00
Dave Townsend
7a5ade2788 Bug 1580766 - Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
This adds a `browserId` property to all browsing contexts. This ID is the same
for the entire tree of contexts inside a frame element. Each new top-level
context created for a given frame also inherits this ID. This allows identifying
the frame element for a given browsing context.

Originally authored by :mossop in D56245.

Differential Revision: https://phabricator.services.mozilla.com/D77911
2020-06-16 17:25:16 +00:00