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

23361 Коммитов

Автор SHA1 Сообщение Дата
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
Vlad Filippov 03ed2bef86 Bug 1645267 - should use a lazy getter for the logger in browser-sync. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D79776
2020-06-16 14:02:10 +00:00
Mike Conley 74d6aaf5f3 Bug 1645481 - Open the WebRTC indicator on the same display as the most recent browser window. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D79544
2020-06-16 13:19:16 +00:00
Mike Conley c8fca8ef8c Bug 1644905 - Make the display sharing container a group, and set aria-labelledby when updating the displayed label. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D79357
2020-06-16 11:20:57 +00:00
Nika Layzell cde53b3bec Bug 1508306 - Part 1: Migate the Large-Allocation handler to DocumentLoadListener, r=mattwoodrow,necko-reviewers,geckoview-reviewers,agi,valentin
This removes the diagnostic warnings which used to be logged when the
Large-Allocation header was present, but failed to switch into a
Large-Allocation process. Due to the low adoption of the header, this shouldn't
be too large of a problem, but we can look into re-adding the diagnostics if
needed in the future.

The new codepath no longer performs multiple network requests for
Large-Allocation resources, and now relies on the battle-tested
DocumentLoadListener codepath for process switching.

Differential Revision: https://phabricator.services.mozilla.com/D78998
2020-06-15 23:24:07 +00:00
Nika Layzell c867d0930c Bug 1640019 - Part 7: Remove the unused 'navigateAndRestoreByIndex' method, r=Gijs
This method was used by GroupedSHistory for prerendering, and was missed when we
ripped out the incomplete code.

Differential Revision: https://phabricator.services.mozilla.com/D78975
2020-06-15 23:24:02 +00:00
Nika Layzell 24afe9ee3d Bug 1640019 - Part 6: Get rid of the rebuild_frameloaders pref, r=Gijs
This pref was enabled on all platforms, and the codepath which has it disabled
has been untested for some time. Remove the pref to simplify the code handling
the old case.

Differential Revision: https://phabricator.services.mozilla.com/D78974
2020-06-15 23:24:00 +00:00
Nika Layzell ae9eaf84c4 Bug 1640019 - Part 5: Remove a number of now-unused 'updateBrowserRemoteness' parameters, r=Gijs
These were only used by process switches triggered via DocumentChannel, which
now take the PROCESS_BEHAVIOR_STANDARD codepath.

Differential Revision: https://phabricator.services.mozilla.com/D78973
2020-06-15 23:23:58 +00:00
Nika Layzell 4a9372aa21 Bug 1640019 - Part 4: Get rid of PROCESS_BEHAVIOR_CUSTOM, r=mattwoodrow,Gijs,necko-reviewers,valentin
As tabbrowser now uses `PROCESS_BEHAVIOR_STANDARD`, `PROCESS_BEHAVIOR_CUSTOM` is
now unused. This patch removes that now-unused code.

Differential Revision: https://phabricator.services.mozilla.com/D78972
2020-06-15 23:23:56 +00:00
Nika Layzell 0e74912c80 Bug 1640019 - Part 2: Use new process switch logic in tabbrowser, r=mattwoodrow,Gijs
Add a series of extra hooks and methods to allow tabbrowser to use the new
process switching codepath. This duplicates some of the logic from
`updateBrowserRemoteness` into event handlers.

Differential Revision: https://phabricator.services.mozilla.com/D78970
2020-06-15 23:23:46 +00:00
Emilio Cobos Álvarez 60605d3019 Bug 1645789 - Also fix the case when we're resetting the styles and the document has no default style. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D79701
2020-06-15 16:10:41 +00:00
Emilio Cobos Álvarez 1530edb980 Bug 1645789 - Fix "Default Page Style" submenu to do the right thing. r=Gijs
We compare the value passed through with the title, and StyleSheet.title
returns null for empty titles, so we never consider an empty title to be
in the document, which is bad.

Differential Revision: https://phabricator.services.mozilla.com/D79700
2020-06-15 16:10:33 +00:00
Gijs Kruitbosch f5a71f797d Bug 1644212 - reintroduce an attribute to limit which windows allow full screen, r=xidorn,haik
Differential Revision: https://phabricator.services.mozilla.com/D79109
2020-06-15 15:51:48 +00:00
Tim Huang 844d817b8f Bug 1645759 - Make the test browser_bug1045809.js Fission-compatible. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D79661
2020-06-15 14:05:09 +00:00