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

62927 Коммитов

Автор SHA1 Сообщение Дата
Andrei Cristian Petcu 5d95cff3bb Bug 249801 - Add a module to export logins to a CSV file. r=MattN,fluent-reviewers
The menu item is hidden until it requests re-authentication via Master Password.

Differential Revision: https://phabricator.services.mozilla.com/D75716
2020-05-29 07:14:03 +00:00
Kris Maglione 162c01f69b Bug 1638164: Stop using sameTypeParent in E10SUtils. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75434
2020-05-28 19:04:09 +00:00
Johann Hofmann 8390f9e2e9 Bug 1630053 - Add telemetry for cookie purging. r=englehardt,ewright
Differential Revision: https://phabricator.services.mozilla.com/D76028
2020-05-29 06:21:44 +00:00
Narcis Beleuzu 291f6a547d Bug 1638027 - Disable browser_readerMode_pocket.js on linux18.04 debug r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D76615
2020-05-26 09:54:11 +00:00
Jared Wein fd5b93e11e Bug 1640589 - Update the mimeInfo when a download is handled internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D77144
2020-05-28 16:48:48 +00:00
Narcis Beleuzu 4e6564f9f0 Backed out 7 changesets (bug 1602757, bug 1640801, bug 1612063, bug 1569928) for wpt failures on operator-dictionary-spacing-002/003/006.html CLOSED TREE
Backed out changeset 11277f03c48c (bug 1640801)
Backed out changeset 6d2a92d25b8f (bug 1569928)
Backed out changeset 383fd9b931ae (bug 1602757)
Backed out changeset 58ec60831af6 (bug 1602757)
Backed out changeset 4b9c579de3b2 (bug 1602757)
Backed out changeset a34288a6f60c (bug 1612063)
Backed out changeset 5134aaa3278e (bug 1602757)
2020-05-29 05:38:02 +03:00
Randell Jesup 202278680d Bug 1602757: Add prealloc as a type for processes in about:support r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D76189
2020-05-28 21:37:11 +00:00
Randell Jesup ddb3cce563 Bug 1602757: Telemetry checks overrideUpdateChannel only at process startup r=chutten
Since this is checked only at startup, to ensure it propagates to all
content processes we have to ensure we shut down and restart all
preallocated or cached processes (though the process running the current
page won't restart)

Differential Revision: https://phabricator.services.mozilla.com/D76188
2020-05-28 21:37:26 +00:00
Narcis Beleuzu 0d860681b7 Backed out 6 changesets (bug 1602757, bug 1612063, bug 1569928) for wpt failure on operator-dictionary-spacing-001.html . CLOSED TREE
Backed out changeset 0f9c7960f36e (bug 1569928)
Backed out changeset 9456c9f960c9 (bug 1602757)
Backed out changeset 8dc7e11dbb9c (bug 1602757)
Backed out changeset 8bacf5ad656e (bug 1602757)
Backed out changeset b15fc1090ac7 (bug 1612063)
Backed out changeset bd19c329c6b7 (bug 1602757)
2020-05-28 21:29:25 +03:00
Randell Jesup 260552b1a9 Bug 1602757: Add prealloc as a type for processes in about:support r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D76189
2020-05-28 14:33:31 +00:00
Randell Jesup 523fa04d1a Bug 1602757: Telemetry checks overrideUpdateChannel only at process startup r=chutten
Since this is checked only at startup, to ensure it propagates to all
content processes we have to ensure we shut down and restart all
preallocated or cached processes (though the process running the current
page won't restart)

Differential Revision: https://phabricator.services.mozilla.com/D76188
2020-05-28 14:33:46 +00:00
Gijs Kruitbosch f163447d48 Bug 1366645 - overwrite image file extensions when initializing file info, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75640
2020-05-27 16:30:43 +00:00
Magnus Melin d297aa2c94 Bug 1641400 - skip Thunderbird for blocklist telemetry. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D77238
2020-05-28 12:57:06 +00:00
Tim Huang b5a277093f Bug 1641153 - Part 2: Add checking nested iframe in the ContentBlocking::ShouldAllowAccessFor(channel). r=dimi
We should check the nested iframe in the
ContentBlocking::ShouldAllowAccessFor(channel) as well. This patch
implements this.

Differential Revision: https://phabricator.services.mozilla.com/D77075
2020-05-28 11:39:26 +00:00
Tim Huang 6001a77e90 Bug 1641153 - Part 1: Add a test to ensure we won't hit the assertion for nested iframes. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D77074
2020-05-28 11:39:19 +00:00
Jean-Yves Avenard 66a61d942d Bug 1637869 - P2. Allow ParentProcessDocumentChannel to perform process switching. r=nika,mattwoodrow
The moves all decisions to perform a process switch into the DocumentLoadListerner. This removes the unnecessary need to go via a content process to start the load.

Differential Revision: https://phabricator.services.mozilla.com/D76315
2020-05-28 00:07:39 +00:00
Dale Harvey c50fef3dc6 Bug 1641417 - Wait for region lookup to complete r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D77220
2020-05-28 09:52:22 +00:00
Paul Adenot 6294bd3454 Bug 1638801 - Update cubeb-coreaudio-rs to 23cce. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D75775
2020-05-28 09:54:04 +00:00
Paul Adenot 10306294af Bug 1628779 - Add an entry in about:support for the roundtrip audio latency of default devices r=chunmin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D75334
2020-05-28 09:52:25 +00:00
Dimi Lee 25413bb019 Bug 1639718 - P3. Add testcase r=baku
Differential Revision: https://phabricator.services.mozilla.com/D76838
2020-05-28 09:51:32 +00:00
Liang-Heng Chen 87e713f0c9 Bug 1637516 - part 3: update tests; r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D75550
2020-05-28 08:55:04 +00:00
Valentin Gosu 383d242cb2 Bug 1636891 - Move logging specifics from toolkit/library/rust/shared/lib.rs to the gecko_logger crate r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D76669
2020-05-28 07:46:40 +00:00
Mark Hammond 35a92088a5 Bug 1640791 - Expose allowSkippedRecord to a bridged engine and enable it for extension-storage. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76785
2020-05-27 02:12:53 +00:00
Noemi Erli 3aba303ff4 Backed out changeset 8c662017aa7c (bug 1639347) for causing failures in browser_masterpassword.js 2020-05-28 09:38:25 +03:00
Sam Foster c7d245ef9a Bug 1639347 - Refactor the OSKeyStore reauthentication into a LoginHelper method, add canReauth method on OSKeyStore. r=MattN
* Move MP and OSKeyStore.ensureLoggedIn checks from AboutLoginParent to new requestReauth method on LoginHelper

Differential Revision: https://phabricator.services.mozilla.com/D67681
2020-05-28 05:10:46 +00:00
Razvan Maries 4dc27dd084 Backed out 2 changesets (bug 1638156) for perma failures on browser_pdfjs_preview.js. CLOSED TREE
Backed out changeset c5c3da72080f (bug 1638156)
Backed out changeset da0e27f7f17a (bug 1638156)
2020-05-28 05:01:13 +03:00
Sam Foster 5d4187bff2 Bug 1638156 - Allow key modifiers to determine how/'where' PDFs are opened when possible. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75870
2020-05-28 01:13:19 +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
Molly Howell ff022d25ab Bug 1626887 Followup - Don't leave a task folder around when we fail to create a scheduled task. r=bytesized
This is needed to prevent a failed attempt to create the task from blocking
out the ability to try again later if the two attempts are run under different
user contexts, where the second is more limited than the first, because the
less privileged attempt is unlikely to have permission to write to the folder
created by the more privileged one. In particular the MSI installer runs into
this scenario, because it makes one attempt to register the task as SYSTEM,
followed by a second attempt as the unelevated interactive user.

This is also nice because it keeps us from leaving an empty folder behind
under any circumstances, not just this specific situation.

Differential Revision: https://phabricator.services.mozilla.com/D77184
2020-05-27 23:37:05 +00:00
Gijs Kruitbosch 54ba1c9d7b Bug 1639925 - implement 'wrap' support in toolbarbuttons on a single element instead of 2, r=bgrins
This unifies toolbarbutton-text and toolbarbutton-multiline-text. We now
always use toolbarbutton-text for the button's text, but can either use
textContent or the value attribute, depending on the value of the wrap
attribute. This reduces DOM size and consumer complexity, at the cost of
adding some logic to toolbarbutton.js itself.

Differential Revision: https://phabricator.services.mozilla.com/D76383
2020-05-27 23:01:15 +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
Erica Wright 2533f8da77 Bug 1636962 - Add telemetry for all page load errors r=johannh,xeonchen,nika
Differential Revision: https://phabricator.services.mozilla.com/D75873
2020-05-27 22:33:02 +00:00
Agi Sferro 4d2ed19feb 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 22:26:17 +00:00
Greg Tatum 3802fc82a4 Bug 1640274 - Remove the unused TrackOptimizations profiler; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D76854
2020-05-27 22:08:49 +00:00
Greg Tatum ca8ec92461 Bug 1571086 - Remove privacy feature from the profiler; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D76853
2020-05-27 22:07:57 +00:00
Michael Cooper 785ca4a0fc Bug 1637688 - Make isEnrollmentPaused required for all action types that use it r=k88hudson,rdalal
Differential Revision: https://phabricator.services.mozilla.com/D75163
2020-05-27 22:44:38 +00:00
Mark Smith 7b93c9ae97 Bug 1588549 - --disable-maintenance-service should exclude all maintenance service-related code r=bytesized,mhowell
Exclude Windows Maintenance Service-related C++ code and avoid linking
with unnecessary libraries when building with --disable-maintenance-service.

Differential Revision: https://phabricator.services.mozilla.com/D76349
2020-05-27 21:22:15 +00:00
Toshihito Kikuchi a2f2d585ea Bug 1509748 - Do not touch ntdll's PE header directly if EAF+ is enabled. r=mhowell,mstange
If EAF+ is enabled for firefox.exe, the process does not launch because we parse
the PE headers of ntdll.dll at startup, which is prohibited by EAF+.

With this patch, we skip two operations when EAF+ is enabled.

The first one is to cache ntdll's IAT at startup.  Because EAF+ is expected to
prevent an injected module from parsing PE headers and modifying IAT, we can skip
this caching safely.

The second one is to load ntdll's debug information for the profiler.  With this
patch, the profiler's callstack will not show a raw address instead of a symbol
name.  It's a bad side effect, but much better than startup crash.

Differential Revision: https://phabricator.services.mozilla.com/D76959
2020-05-27 21:48:35 +00:00
Dale Harvey d62a4998a3 Bug 1627541 - Move pref handling into Region.jsm r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75719
2020-05-27 20:16:19 +00:00
Razvan Maries f2ef387aa5 Backed out changeset 396da163d87a (bug 1627541) for perma failures on test_geodefaults.js. CLOSED TREE 2020-05-27 21:59:51 +03:00
Emilio Cobos Álvarez 54fd961a29 Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
There's no use case for stateful comparators, so they can be just plain
function pointers.

This is used in some hot places like CSS selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Anny Gakhokidze 28243d5736 Bug 1630323 - Do not override user preferences when clicking on a service worker notification to open a new document, r=Gijs,nika,geckoview-reviewers,snorp
In Bug 1622749 a user preference for where to open new documents (from a
service worker notification) was temporarily overriden in order to quickly fix
a crash that was happening in mozilla::dom::ClientOpenWindow. The crash was
ocurring when the pref "browser.link.open_newwindow" was set to 2, meaning new
documents are opened in a new window, instead of a new tab. The reason the
browser crashed is because the path for opening a new document is different
depending on the current user setting, and in NEWWINDOW case we did not get a
browsing context returned when calling mozilla::dom::OpenWindow which resulted
in a failed assertion.

The solution is to pass in a callback to mozilla::dom::OpenWindow as part of
nsOpenWindowInfo object, and invoke that callback with a corresponding
BrowsingContext in nsFrameLoader when that browsing context is ready.

After we call mozilla::dom::OpenWindow, we wait on a promise, that will be
resolved when the callback is invoked, before executing the rest of the code
that depends on the browsing context for a newly opened document being
available.

Differential Revision: https://phabricator.services.mozilla.com/D72745
2020-05-27 18:15:36 +00:00
Razvan Maries 06a194ef3b Backed out changeset 5b97f74fb6fd (bug 1629113) for perma failures on test_keycodes.xhtml. CLOSED TREE 2020-05-27 21:16:13 +03:00
Marco Bonardo e8fd1b7c50 Bug 1398567 - Invert URIFixup default behavior to search unless the string looks like a URI. r=Gijs
With recent fixes that can properly identify whitelisted domains, whitelisted
domain suffixed, valid known public suffixes, and forcing to visit URI-like
strings that end with a slash, it's time to re-evaluate the URIFixup behavior.
Until now URIFixup considered everything a URI unless it had specific search
characteristics, this patch inverts that behavior.
The scope of this change is to improve the urlbar behavior as the main Search
Access Point, since that's the direction we're moving towards.

This lands with a temporary hidden feature pref browser.fixup.defaultToSearch,
that will be removed once the feature has been released.

Differential Revision: https://phabricator.services.mozilla.com/D76852
2020-05-27 16:55:14 +00:00
Harry Twyford bec092afba Bug 1627989 - Remove the browser.urlbar.openViewOnFocus pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76247
2020-05-27 16:46:43 +00:00
Harry Twyford e671b8b516 Bug 1623666 - Always show Top Sites in the Urlbar on empty searches. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76245
2020-05-27 15:08:07 +00:00
Dale Harvey ac889ccf75 Bug 1627541 - Move pref handling into Region.jsm r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75719
2020-05-27 16:26:28 +00:00
Dorel Luca 99ddf6cdc5 Backed out 2 changesets (bug 1366645) for Browser-chrome failures in uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js. CLOSED TREE
Backed out changeset cdfedc4707bd (bug 1366645)
Backed out changeset 666659de5856 (bug 1366645)
2020-05-27 19:25:57 +03:00
Benjamin Beurdouche 98c6aea04e Bug 1639475 - Fix incomplete documentation of TLS key exchange algorithms in telemetry. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D76105
2020-05-27 15:27:33 +00:00
Benjamin Beurdouche 8d7877aca9 Bug 1639468 - Incorrect documentation of TLS authentication algorithms in telemetry. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D76104
2020-05-27 16:02:25 +00:00
Gijs Kruitbosch fe8ffbe98e Bug 1641042 - don't remove dropdown-open class when scrolling while narrating, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D77050
2020-05-27 16:03:58 +00:00
prathiksha add557cecc Bug 1640698 - Add telemetry for monitor card buttons in the protections dashboard. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D76744
2020-05-27 15:23:40 +00:00
julianwels 86341bce85 Bug 1640906 - Fixed intermittent timeout of toolkit/components/httpsonlyerror/tests/browser/browser_exception.js. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D77041
2020-05-27 13:15:07 +00:00
Agi Sferro 1e7ad33a14 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 01:33:50 +00:00
Gijs Kruitbosch d4bceb69bb Bug 1366645 - overwrite image file extensions when initializing file info, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75640
2020-05-27 14:14:26 +00:00
Butkovits Atila 06ffa196d5 Backed out changeset d51495af14ff (bug 1627541) for causing failures at test_legacy_reload_engines.js. CLOSED TREE 2020-05-27 17:24:16 +03:00
David Teller cfdcfc413e Bug 1636927 - Sanity checks for about:processes;r=florian
Differential Revision: https://phabricator.services.mozilla.com/D75390
2020-05-27 12:31:35 +00:00
Dale Harvey 21d01e6f7c Bug 1627541 - Move pref handling into Region.jsm r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75719
2020-05-27 12:54:38 +00:00
Mark Hammond 94870b72d7 Bug 1637166 - Expose getBytesInUse to browser.storage.sync consumers. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D75741
2020-05-27 09:11:26 +00:00
Luca Greco 03d2f9e610 Bug 1626482 - Set privacy.partition.network_state to false in test_ext_identity to avoid intermittent failures. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D76924
2020-05-27 02:00:44 +00:00
Travis Long 4df1eb273e Bug 1632157 - Implement the memory distribution metric type for Project FOG. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D76368
2020-05-27 07:52:14 +00:00
Daisuke Akatsuka ed0553d5b2 Bug 1639454: Introduce OPENED_COUNT and TIME_ACTIVE_SECONDS telemetry for the compatibility panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76261
2020-05-27 07:09:22 +00:00
Ryan Kelly bc3600def8 Bug 1640765 - only build the rust fxa-client crate on Nightly. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76771
2020-05-27 05:51:39 +00:00
Bogdan Tara 15858ad28e Backed out changeset 0d3f76ede294 (bug 1640765) for rust related bustage CLOSED TREE 2020-05-27 07:06:35 +03:00
Ryan Kelly 58ccfb0fe7 Bug 1640765 - only build the rust fxa-client crate on Nightly. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76771
2020-05-27 03:22:15 +00:00
Lina Cambridge fa63092e48 Bug 1638438 - Don't link `webext_storage_bridge` on Android. r=eoger
We ship the `mozIExtensionStorageArea` interface on Android, so that
GeckoView can eventually provide its own implementation, but not the
C++ glue for the XPCOM class...so we shouldn't be linking the bridge
into gkrust, either.

This commit also removes Rusqlite linking, since it's now linked in
via webext_storage_bridge => webext_storage => rusqlite.

Differential Revision: https://phabricator.services.mozilla.com/D75619
2020-05-27 02:33:14 +00:00
Matt Woodrow e060a86c42 Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing context instead of docshell. r=nika,ckerschb,Gijs,webcompat-reviewers,twisniewski
This removes all docshell nsISecureBrowserUI and mixed content properties, and moves them into CanonicalBrowsingContext/WindowGlobalParent. It makes the mixed content blocker just compute the state for the current load, and then send the results to the parent process, where we update the security state accordingly.

I think we could in the future remove onSecurityChange entirely, and instead just fire an event to the <browser> element notifying it of changes to the queryable securityUI.

Unfortunately we have a lot of existing code that depends on specific ordering between onSecurityChange and onLocationChange, so I had to hook into the RemoteWebProgress implementation in BrowserParent to mimic the same timings.

Differential Revision: https://phabricator.services.mozilla.com/D75447
2020-05-27 00:28:59 +00:00
Adam Gashlin e38a47a505 Bug 1633505 - Show refresh button within the uninstaller. r=mhowell
Detect a profile for the installation, if found offer refresh on welcome page:
- Replace text
- Add help link and button

Add a different prompt to close the browser for refresh.

When leaving the welcome page:
- via help link, launch a URL
- via Refresh button, launch Firefox with the necessary args

Add utility functions to launch the link and Firefox.

Remove the UN_CONFIRM_CLICK label and hide the subheading, this was an
addition to the design. Move down UN_CONFIRM_PAGE_TITLE to fill in the space.

Move the check for the install-specific profile to common.nsh from stub.nsi,
wrapped in stack ops to save regs and with _MOZFUNC_UN for uninstaller compat.

Move InitHashAppModelId to just after un.UninstallUnOnInitCommon (which sets
$INSTDIR correctly), so AUMID would be available in un.PreWelcome. I don't
think there's anything else that would change $INSTDIR in the uninstaller
so this should be ok.

Unrelated but adjacent cleanup: Remove inappropriate use of _MOZFUNC_UN
in CopyPostSigningData.

Differential Revision: https://phabricator.services.mozilla.com/D76435
2020-05-26 21:47:58 +00:00
Adam Gashlin f66d880b9e Bug 1634115 - Send telemetry when refresh is requested from uninstaller. r=MattN,mhowell,chutten
Differential Revision: https://phabricator.services.mozilla.com/D76234
2020-05-26 21:47:58 +00:00
Bogdan Tara 289f25408c Backed out changeset 2cb92b52fb42 (bug 1639454) for telemetry related bustages CLOSED TREE 2020-05-27 02:18:35 +03:00
Daisuke Akatsuka 36563c2de3 Bug 1639454: Introduce OPENED_COUNT and TIME_ACTIVE_SECONDS telemetry for the compatibility panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76261
2020-05-21 13:28:01 +00:00
Nan Jiang 082a6cd662 Bug 1634481 - Add trigger to the reach ping r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D76610
2020-05-26 15:54:39 +00:00
Bogdan Tara a54ec3073f Backed out 4 changesets (bug 1631405) for multiple mochitest failures CLOSED TREE
Backed out changeset 9963cc0b23cb (bug 1631405)
Backed out changeset 469ac933ed7c (bug 1631405)
Backed out changeset 0c5f55864268 (bug 1631405)
Backed out changeset 20dcbcc2f3b8 (bug 1631405)
2020-05-27 01:30:20 +03:00
Itiel 0ad0979b7d Bug 1640438 - Overhaul the RTL logic in reader mode r=Gijs
Also mirror the line height buttons on the type controls popup if the article is RTL.

Differential Revision: https://phabricator.services.mozilla.com/D76613
2020-05-26 21:29:08 +00:00
Matt Woodrow 240d417eb6 Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing context instead of docshell. r=nika,ckerschb,Gijs,webcompat-reviewers,twisniewski
This removes all docshell nsISecureBrowserUI and mixed content properties, and moves them into CanonicalBrowsingContext/WindowGlobalParent. It makes the mixed content blocker just compute the state for the current load, and then send the results to the parent process, where we update the security state accordingly.

I think we could in the future remove onSecurityChange entirely, and instead just fire an event to the <browser> element notifying it of changes to the queryable securityUI.

Unfortunately we have a lot of existing code that depends on specific ordering between onSecurityChange and onLocationChange, so I had to hook into the RemoteWebProgress implementation in BrowserParent to mimic the same timings.

Differential Revision: https://phabricator.services.mozilla.com/D75447
2020-05-26 21:17:01 +00:00
Kagami Sascha Rosylight 236de553f6 Bug 1466532 - Part 1: Drop nsIFile::followLinks r=froydnj,necko-reviewers,dragana
This drops `followLinks` as 1) it has been no-op on UNIX for a long time and 2) its Windows implementation never had a proper symlink support.

Differential Revision: https://phabricator.services.mozilla.com/D75569
2020-05-26 20:51:16 +00:00
Gijs Kruitbosch 209a5b2b6a Bug 1640410 - fix stacking of narrate popup and narrated text in reader mode's narrate feature, r=emalysz
The z-index: initial for the keep-open class was redundant (see https://bugzilla.mozilla.org/show_bug.cgi?id=1640410#c4 ).
However, one more change was necessary to fix this bug: the .narrating class
gets z-index: 1 in narrate.css, in order to position the word highlights
below it. But the toolbar-container also gets z-index: 1, and because it
comes before the reader mode content in the DOM, its content will never
appear above the reader mode content unless it gets a higher z-index. So
we give it a z-index of 2.

Differential Revision: https://phabricator.services.mozilla.com/D76851
2020-05-26 18:17:36 +00:00
Mike Conley fe8907cc13 Bug 1640744 - Make sure we can send all notifications while testing on Windows, regardless of OS state. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D76868
2020-05-26 20:04:56 +00:00
Mark Banner d9d95664e4 Bug 1640527 - When re-enabling an add-on, recalculate if the engine is allowed to override the app-provided or not. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D76634
2020-05-26 19:51:25 +00:00
Mark Banner 0a42527b37 Bug 1635239 - When an search engine is overriding the application provided, use a different telemetry id. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D76480
2020-05-26 19:40:49 +00:00
Mark Banner ceba0e848d Bug 1635235 - Implement reading the allow override default search engine allowlist from remote settings. r=daleharvey
This implements reading the list from remote settings. We only read it at startup if necessary, or on add-on installation.

We do not check for updates - if something is removed, we'll wait until next startup before processing it.

Also adds lots of tests for canOverride as this seems a critical part to get right.

Differential Revision: https://phabricator.services.mozilla.com/D76473
2020-05-26 19:40:42 +00:00
Tim Huang e58eecbd3e Bug 1640259 - Enable Fission test for Fission. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76659
2020-05-26 19:23:19 +00:00
Agi Sferro 4b055fe237 Bug 1629113 - Move GeckoViewPrompt.js to static component. r=droeh,pbz,MattN
Differential Revision: https://phabricator.services.mozilla.com/D75875
2020-05-26 07:44:44 +00:00
Tarik Eshaq a9a08b9879 Bug 1638440 - Don't compile viaduct on Andriod. r=eoger
Conditionally link viaduct if the os is not android

Differential Revision: https://phabricator.services.mozilla.com/D76741
2020-05-26 13:43:44 +00:00
Nan Jiang 717cc8b65a Bug 1639422 - Add an API to expose the experiment recipe r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D76561
2020-05-26 15:53:43 +00:00
Molly Howell d2fa14f4ef Bug 1638509 - Enable the limited PostUpdate to update the WDBA task. r=agashlin,bytesized
This also requires removing the registry value cleanup from the unregister-task
command and adding a new uninstall command which removes both the task and the
registry values, because this patch now runs unregister-task during updates to
remove the task before re-adding it, and that needs to leave the registry alone.

Differential Revision: https://phabricator.services.mozilla.com/D76354
2020-05-26 15:38:21 +00:00
Rob Wu 5f41144b5c Bug 1640953 - Prevent RS dumps from being loaded in some blocklist tests r=gijs CLOSED TREE
RemoteSettings helpfully falls back to loading from the JSON dumps when
the list of records is empty. This breaks tests that load an empty
blocklist, because unexpected records may appear.

Fix this by inserting a dummy value in the blocklist. Invalid records
should be ignored anyway, so this is a good way to prevent the dump from
being loaded.

Differential Revision: https://phabricator.services.mozilla.com/D76875
2020-05-26 17:05:06 +00:00
Razvan Maries c2a5f081ba Backed out changeset e1569e33808f (bug 1632157) for build bustages. CLOSED TREE DONTBUILD 2020-05-26 19:02:08 +03:00
Tim Huang 292c69a964 Bug 1637226 - Part 2: Make the ContentBlocking::ShouldAllowAccessFor(channel) to check sandbox flag. r=dimi
Depends on D76731

Differential Revision: https://phabricator.services.mozilla.com/D76732
2020-05-26 07:27:23 +00:00
Tim Huang 430eb8bc92 Bug 1637226 - Part 1: Add a test to ensure we won't hit the assertion for a sandbox iframe. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76731
2020-05-26 07:27:58 +00:00
Travis Long d7a76717bf Bug 1632157 - Implement the memory distribution metric type for Project FOG. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D76368
2020-05-26 15:25:38 +00:00
Emma Malysz 6d7d3f8388 Bug 1640481, fix unused function error for ReadAheadPackagedDll r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D76845
2020-05-26 15:00:33 +00:00
Kershaw Chang a04f803052 Bug 1602832 - P4: Call IOInterposer::Init in socket process r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68895
2020-05-26 14:30:39 +00:00
Kershaw Chang 104bf647be Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448
2020-05-26 14:30:26 +00:00
Sebastian Streich 47570a169b Bug 1633710 - Move js uri.AsciiHost to principal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73239
2020-05-26 11:58:06 +00:00
julianwels 2cb5d08b1f Bug 1625156 - Added tests for HTTPS Only Mode error page. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D75793
2020-05-26 11:45:34 +00:00
JulianWels 2cc2e49495 Bug 1625156 - Error page for HTTPS Only Mode. r=fluent-reviewers,ckerschb,nhnt11,flod,nika,johannh,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72129
2020-05-26 11:45:21 +00:00
Butkovits Atila f167b5c275 Backed out 6 changesets (bug 1602832) for causing perma failure at test_trr_case_sensitivity.js. CLOSED TREE
Backed out changeset 0e9c378df995 (bug 1602832)
Backed out changeset 534fedb3836e (bug 1602832)
Backed out changeset db012c05d64e (bug 1602832)
Backed out changeset ca0c207dca21 (bug 1602832)
Backed out changeset bea1f3aeea49 (bug 1602832)
Backed out changeset 2d54acd78124 (bug 1602832)
2020-05-26 13:09:07 +03:00
Butkovits Atila e7111415ca Backed out changeset 671c6fcdb861 (bug 1637475) for perma failures on browser_report_site_issue.js. CLOSED TREE 2020-05-26 12:39:22 +03:00
Kershaw Chang 4b58c9ca0d Bug 1602832 - P4: Call IOInterposer::Init in socket process r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68895
2020-05-26 08:35:36 +00:00