Commit Graph

23472 Commits

Author SHA1 Message Date
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
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
julianwels
68d7c6ffa2 Bug 1640853 - Using PermissionManager for HTTPS Only Mode upgrade exceptions. r=ckerschb,nhnt11,nika,johannh,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77040
2020-06-15 11:19:39 +00:00
Narcis Beleuzu
260f3f8a19 Bug 1634804 - Disable browser_shownRestartRequired.js on Linux64 for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D79592
2020-06-13 09:34:34 +00:00
Neil Deakin
7e87e93b6b Bug 1644155, remove some message listeners that are no longer used, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D78692
2020-06-12 23:28:47 +00:00
Kris Maglione
e4f51c32b7 Bug 1645237: Lazily load JSONView components via static registration. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79385
2020-06-12 18:48:47 +00:00
Mike Conley
fa1e81542c Bug 1643503 - Make the WebRTC indicator's drag-ability more obvious, and update button styles. r=pbz
This also splits out the indicator theme-ing into an include file, with
platform-specific CSS files that import it. This allows us to do
platform-specific tweaks, such as changing the ordering of the window
controls and drag indicator, which we do on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D79344
2020-06-12 19:09:20 +00:00
Mike Conley
7b3f111c7f Bug 1643503 - Offset the initial vertical position of the WebRTC indicator by 80px. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D79343
2020-06-12 18:59:59 +00:00
Narcis Beleuzu
a8dde16e58 Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE
Backed out changeset 8844170ff408 (bug 1508306)
Backed out changeset b750f1d873cf (bug 1508306)
Backed out changeset c7170e76e676 (bug 1640019)
Backed out changeset 5905995e4815 (bug 1640019)
Backed out changeset 7bf86513348e (bug 1640019)
Backed out changeset f7d0605295f7 (bug 1640019)
Backed out changeset 521b4d5a9a89 (bug 1640019)
Backed out changeset 8542edc564bc (bug 1640019)
Backed out changeset 4f6a03152526 (bug 1640019)
Backed out changeset 30d2bf04719b (bug 1640019)
2020-06-12 22:47:50 +03:00
Narcis Beleuzu
fa98afc362 Backed out 4 changesets (bug 1643503) for bc failures on browser_parsable_css.js . CLOSED TREE
Backed out changeset a890be633ec3 (bug 1643503)
Backed out changeset 1f8dcaafb864 (bug 1643503)
Backed out changeset b28d0c018553 (bug 1643503)
Backed out changeset 1bcaedf06fb9 (bug 1643503)
2020-06-12 21:56:16 +03:00
Nika Layzell
47c0aeb539 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-12 16:52:13 +00:00
Nika Layzell
8119d83e05 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-12 16:52:09 +00:00
Nika Layzell
eb18c1a614 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-12 16:52:07 +00:00
Nika Layzell
6069ccac68 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-12 16:52:04 +00:00
Nika Layzell
38d3ef0a32 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-12 16:52:02 +00:00
Nika Layzell
aaf6c3a006 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-12 16:52:01 +00:00
Emma Malysz
affa2cc671 Bug 1627676: add telemetry probes for downloads panel r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D78709
2020-06-12 17:18:07 +00:00
Tim Huang
16c32eb29a Bug 1587743 - Part 4: Enable test browser_permission_delegate_geo.js in Fission. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D79135
2020-06-12 16:32:11 +00:00
Mike Conley
300d6ff764 Bug 1643503 - Make the WebRTC indicator's drag-ability more obvious, and update button styles. r=pbz
This also splits out the indicator theme-ing into an include file, with
platform-specific CSS files that import it. This allows us to do
platform-specific tweaks, such as changing the ordering of the window
controls and drag indicator, which we do on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D79344
2020-06-12 16:18:15 +00:00
Mike Conley
5c002a5922 Bug 1643503 - Offset the initial vertical position of the WebRTC indicator by 80px. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D79343
2020-06-12 15:39:01 +00:00
Ingrid Buh twigle_ingrid
ba2b2420ff Bug 1643595 - Add a learn more link on XFO/CSP error pages r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D79280
2020-06-12 12:41:02 +00:00
Vlad Filippov
04a0cccd49 Bug 1611058 - Do not fallback to old SendTab if new SendTab fails. r=rfkelly,markh
Differential Revision: https://phabricator.services.mozilla.com/D78807
2020-06-11 19:51:03 +00:00
Michael Kaply
6fa498c582 Bug 1644184 - allow hiding distro info for Mozilla distros. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D78823
2020-06-10 05:31:45 +00:00
Marco Bonardo
2e16489d68 Bug 1642943 - Introduce a pref to control post-search DNS resolution of single word hosts. r=Gijs,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D78403
2020-06-11 12:42:29 +00:00
Mike Conley
614f13e92a Bug 1643545 - Make sure WebRTC indicator appears in window list on macOS for keyboard accessibility. r=pbz
Hiding the indicator in the window menu on macOS appears to be a holdover from the
legacy version of this indicator.

Differential Revision: https://phabricator.services.mozilla.com/D78914
2020-06-10 15:24:02 +00:00
Mike Conley
2fc96d0220 Bug 1643546 - The WebRTC display sharing preview element does not need to be tab-focusable. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D78718
2020-06-09 12:28:29 +00:00
neil
6b1f254a89 Bug 1641324 Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D78400
2020-06-10 13:16:34 +00:00
Mike Conley
0e4c101ea6 Bug 1642803 - Cancel notification silencing once the display share is over. r=pbz
Depends on D78120

Differential Revision: https://phabricator.services.mozilla.com/D78346
2020-06-09 23:37:37 +00:00
Mike Conley
4d269fae1d Bug 1642804 - Make sure to show notification silencing option in private browsing WebRTC screen sharing panel. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D78120
2020-06-09 23:37:24 +00:00
Matt Woodrow
71638cf5c0 Bug 1613589 - Persist TabProgressListener::mRequestCount across process switches. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78838
2020-06-09 09:46:45 +00:00
Johann Hofmann
20b1b77919 Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs
Depends on D27588

Differential Revision: https://phabricator.services.mozilla.com/D31604
2020-06-09 14:51:06 +00:00
Johann Hofmann
2f56a8a52d Bug 1515073 - Part 3 - Add support for skipping session entries without user interaction on desktop. r=JanH,Gijs
Depends on D27586

Differential Revision: https://phabricator.services.mozilla.com/D27587
2020-06-09 14:50:18 +00:00
Razvan Maries
9f0ce65335 Backed out 2 changesets (bug 1642804, bug 1642803) for perma failures on browser_devices_get_user_media_in_xorigin_frame.js. CLOSED TREE
Backed out changeset 48f9a72a27a0 (bug 1642803)
Backed out changeset 53ec379c8e0e (bug 1642804)
2020-06-09 18:57:29 +03:00
Mike Conley
af9ad9dfd0 Bug 1642803 - Cancel notification silencing once the display share is over. r=pbz
Depends on D78120

Differential Revision: https://phabricator.services.mozilla.com/D78346
2020-06-05 11:03:29 +00:00
Mike Conley
ce7a7c818e Bug 1642804 - Make sure to show notification silencing option in private browsing WebRTC screen sharing panel. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D78120
2020-06-09 10:33:30 +00:00
luma
2a182eb39d Bug 1572377 - Updating the protection panel only when the panel is opened or already opened. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68534
2020-06-09 12:04:10 +00:00
Dorel Luca
3e35e21538 Backed out 2 changesets (bug 1580766) for XPCshell failures in unit/test_browsing_context_structured_clone.js. CLOSED TREE
Backed out changeset 6b9926a5ab88 (bug 1580766)
Backed out changeset 3722901b6309 (bug 1580766)
2020-06-09 03:39:22 +03:00
Dave Townsend
9c61384069 Bug 1580766: Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
Adds a `browserId` property to all browsing contexts which the same for the
entire tree of contexts inside a frame element. If a new top-level context is
created for the frame then it is assigned the same value.

This allows identifying the frame element for a given browsing context.

Currently this is only done for XUL frame elements (browser/iframe). Not sure
if we want this for others.

Differential Revision: https://phabricator.services.mozilla.com/D56245
2020-06-08 21:58:33 +00:00
Mike Conley
38b14b57d0 Bug 1641546 - Make the new WebRTC global sharing indicator a dialog instead of a popup. r=pbz
Depends on D77696

Differential Revision: https://phabricator.services.mozilla.com/D77504
2020-06-08 18:36:24 +00:00
Alphan Chen
4210fb7d00 Bug 1620341 - Add didDestroy() in DOMFullscreenParent.jsm to avoid the window stays in fullscreen problem r=Gijs,smaug
Differential Revision: https://phabricator.services.mozilla.com/D75915
2020-06-08 15:24:54 +00:00
Andreea Pavel
eb72b7bc89 Bug 1642084 - disable browser_undo_close_tabs.js on multiple platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D78593
2020-06-07 09:27:14 +00:00
Neil Deakin
fcb7a6eb5e Bug 1614773, convert pdf viewer to use JSWindowActors so that it will work in out of process frames, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D76950
2020-06-06 21:49:33 +00:00
Cameron McCormack
5e27c1bd6b Bug 1642261 - Part 2: Add telemetry for -moz-appearance usage. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77637
2020-06-05 00:39:50 +00:00
Masatoshi Kimura
5aaea543cd Bug 1643423 - Whitelist jsdebugger.jsm when remote agent is disabled. r=loganfsmyth
We can't unship jsdebugger.jsm because Devtools are using it.

Differential Revision: https://phabricator.services.mozilla.com/D78484
2020-06-05 16:05:37 +00:00
Emilio Cobos Álvarez
6d76100cf1 Bug 1643522 - follow-up: Allow some floating point inaccuracies.
MANUAL PUSH: Orange on a CLOSED TREE
2020-06-05 15:43:51 +02:00
Emilio Cobos Álvarez
5aedd4e782 Bug 1643522 - Use a sensible way to get the zoom for a browser in SelectParent.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78471
2020-06-05 10:48:59 +00:00
Sebastian Hengst
27e724bce4 Bug 1643465 - skip browser_aboutCertError.js on Linux debug with fission. r=johannh-on-matrix
Differential Revision: https://phabricator.services.mozilla.com/D78375
2020-06-04 22:08:54 +02:00
Neil Deakin
a3a54af2af Bug 1641335, remove framescripts and message manager usage from browser_tabfocus.js test, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D77142
2020-06-04 11:44:12 +00:00
Zibi Braniecki
534f9bc2a1 Bug 1631593 - Wait for async localization in aboutNetError tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D77968
2020-06-04 17:02:01 +00:00
Dão Gottwald
56cbbca35b Bug 1642323 - Make alert.js obey prefers-reduced-motion. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78032
2020-06-04 11:18:07 +00:00
Liang-Heng Chen
bc5fda4e76 Bug 1640135 - P5: update tests; r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D77918
2020-06-04 10:51:28 +00:00
Paul Bone
29b2323c3f Bug 1634252 - Add test case r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D76994
2020-06-04 08:25:12 +00:00
Jared Wein
0326292324 Bug 1643089 - Rename _secureInteralUIWhitelist to _secureInternalPages. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78119
2020-06-04 01:44:14 +00:00
Kashav Madan
bf73b6d042 Bug 1592777 - Make browser_popupNotification_3.js fission-compatible, r=MattN
We don't send WebProgress location change events for remote subframe
navigations, so listen for a new WindowGlobalParent instead.

Differential Revision: https://phabricator.services.mozilla.com/D78107
2020-06-03 20:23:59 +00:00
Jared Wein
7bc3b4c0c7 Bug 1642084 - Check that tabs are connected when determining the amount of closed tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78076
2020-06-03 16:02:37 +00:00
Emma Malysz
ed9faa91db Bug 1634046: lazy load invalid form, date/time picker, and autoscroll panels and popups by placing in templates. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75971
2020-06-03 15:44:03 +00:00
Krystle Salazar
3f7916e8a6 Bug 1570678 - Replace (i) icon for a file icon on potentially trustworthy pages. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D70932
2020-06-03 08:36:35 +00:00
James Teh
fb03640340 Bug 1642260: Move role="alert" to the body element for the new WebRTC sharing indicator. r=mconley
This does nothing if you put it on the html element.

Differential Revision: https://phabricator.services.mozilla.com/D77627
2020-06-01 14:50:12 +00:00
Paul Bone
7cadba1d8b Bug 1634272 - Don't use DocumentChannel for about:newtab r=mattwoodrow
To avoid this regression we can avoid DocumentChannel because it'll probably
be fixed by Bug 1626507.

Differential Revision: https://phabricator.services.mozilla.com/D77638
2020-06-03 05:14:37 +00:00
Dana Keeler
0618ab7fe8 Bug 1641082 - remove old certificate viewer implementation r=kjacobs,bbeurdouche,fluent-reviewers,johannh
Differential Revision: https://phabricator.services.mozilla.com/D77145
2020-06-02 15:48:33 +00:00
Narcis Beleuzu
ebd0ffd82a Backed out changeset d954ca3baaf5 (bug 1570678) for bc failures on browser_deprecatedTLSVersions.js . CLOSED TREE 2020-06-02 21:37:25 +03:00
Krystle Salazar
ce820b84f7 Bug 1570678 - Replace (i) icon for a file icon on potentially trustworthy pages. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D70932
2020-06-02 15:32:42 +00:00
Andrea Marchesini
5ccae203ff Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 13:49:27 +00:00
jawad
ccfe574dda Bug 1496844 - treatment of https view-source URIs is inconsistent. r=johannh
***

Differential Revision: https://phabricator.services.mozilla.com/D23214
2020-06-02 15:33:20 +00:00
Ingrid Buh twigle_ingrid
904cf26dfd Bug 1640877 - Fix intermittent failures for browser/base/content/test/about/browser_aboutNetError_csp_iframe.js. r=johannh,prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D77059
2020-06-02 12:15:14 +00:00
Csoregi Natalia
e960b9f449 Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini
b4173bc59e Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 09:13:51 +00:00
Csoregi Natalia
559b25eb41 Backed out changeset f7663b8964e9 (bug 1634252) for browser-chrome failures on browser_multiselect_tabs_move_to_another_window_drag.js. CLOSED TREE 2020-06-02 08:48:43 +03:00
Paul Bone
afb2aaaebd Bug 1634252 - Add test case r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D76994
2020-06-02 02:23:34 +00:00
Paul Bone
de85812a1d Bug 1632441 - Add a test case for this bug r=kmag
Bug 1634779 has added a fix for this bug.  This patch adds a test to ensure
we don't regress this behaviour again.

Differential Revision: https://phabricator.services.mozilla.com/D76096
2020-06-01 07:01:40 +00:00
Razvan Maries
79fe28f0d6 Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Razvan Maries
a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Razvan Maries
c5a8f831d4 Backed out changeset 30c061da89d8 (bug 1580766) for perma failures on BrowsingContext.cpp. CLOSED TREE 2020-06-01 21:50:12 +03:00
Andrea Marchesini
848f1f0043 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 17:59:13 +00:00
Kris Maglione
b3fcd970ec 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-01 17:59:01 +00:00
Dave Townsend
38ef8fecd1 Bug 1580766: Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
Adds a `browserId` property to all browsing contexts which the same for the
entire tree of contexts inside a frame element. If a new top-level context is
created for the frame then it is assigned the same value.

This allows identifying the frame element for a given browsing context.

Currently this is only done for XUL frame elements (browser/iframe). Not sure
if we want this for others.

Differential Revision: https://phabricator.services.mozilla.com/D56245
2020-06-01 16:52:31 +00:00
Noemi Erli
e40be0aa72 Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini
165022b2c4 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 11:43:19 +00:00
Dorel Luca
9574e25c80 Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini
d1c11476f6 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 10:28:51 +00:00
Bogdan Tara
4920199b94 Backed out changeset 7124267b7288 (bug 1632441) for browser_file_to_http_script_closable.js failures CLOSED TREE 2020-06-01 07:54:35 +03:00
Paul Bone
e83a7b081c Bug 1632441 - Add a test case for this bug r=kmag
Bug 1634779 has added a fix for this bug.  This patch adds a test to ensure
we don't regress this behaviour again.

Differential Revision: https://phabricator.services.mozilla.com/D76096
2020-05-29 20:48:52 +00:00
Jared Wein
d9d492eda7 Bug 887515 - Restore multiple tab closings using Undo Close Tab(s) after a multiple-tab operation. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D76087
2020-05-30 06:48:18 +00:00
Mihai Alexandru Michis
415dcacc56 Backed out changeset 3d607fcf4dee (bug 887515) for causing failures in toolbar-context-menu-undo-close-tab
CLOSED TREE
2020-05-30 09:25:30 +03:00
Jared Wein
803b52c5dd Bug 887515 - Restore multiple tab closings using Undo Close Tab(s) after a multiple-tab operation. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D76087
2020-05-30 05:38:56 +00:00
Robert Helmer
e690d9dae9 Bug 1640306 - add about:pioneer MVP r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D76935
2020-05-29 21:38:45 +00:00
Mike Conley
483aec57a3 Bug 1641243 - Make sure we can show tab switch warning when using in-order keyboard navigation. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D77141
2020-05-28 17:02:38 +00:00
Mike Conley
a7067d3028 Bug 1638397 - Add tests for some WebRTC window and screen sharing UI. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D77129
2020-05-28 16:52:40 +00:00
Tim Nguyen
d464b20e6d Bug 1640913 - reduce duplication in the sanitizeDialog.css files and fix the warning background in macOS dark mode in the preferences r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D77325
2020-05-28 20:00:31 +00:00
Agi Sferro
7e790d6b73 Bug 1629113 - Move caret browsing handler to tabbrowser.js. r=NeilDeakin
We don't use it on GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D72724
2020-05-27 23:49:55 +00:00
Razvan Maries
c61dea7188 Backed out changeset 9abcbf533b08 (bug 1629113) as per Agi's request. CLOSED TREE 2020-05-28 02:06:05 +03:00