Commit Graph

68945 Commits

Author SHA1 Message Date
emcminn
f593e8a09b Bug 1630907 - Adjust WNPanel style to match spec r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D71996
2020-05-05 16:23:17 +00:00
Mihai Alexandru Michis
7686b00958 Backed out 2 changesets (bug 1594752) for causing failures in browser_e10s_switchbrowser.js
CLOSED TREE

Backed out changeset b54107a687e4 (bug 1594752)
Backed out changeset 801d1e226947 (bug 1594752)
2020-05-11 18:11:24 +03:00
Neil Deakin
c4073b529c Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.

Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-11 09:03:03 +00:00
Mark Banner
d3f85b69aa Bug 1635805 - Fix failure in test_ext_settings_overrides_search_mozParam.js when search modern configuration is turned off. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D74230
2020-05-11 13:15:03 +00:00
Dão Gottwald
c25aee166f Bug 1636112 - Make post-prompt animation obey prefers-reduced-motion. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D74231
2020-05-11 12:06:50 +00:00
Dimi Lee
dde23f5029 Bug 1628732 - Don't notify block decision when uri is chrome r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D73867
2020-05-10 11:25:06 +00:00
Andrea Marchesini
3321630999 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 3 - remove nsICookieService::setCookieString from tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71976
2020-05-09 22:28:53 +00:00
Coroiu Cristina
b2935aef35 Backed out 5 changesets (bug 1632187) for xpcshell failures at netwerk/test/unit/test_proxyconnect.js
Backed out changeset c0e6dad41b74 (bug 1632187)
Backed out changeset 328ee0899987 (bug 1632187)
Backed out changeset cb775f75ff1f (bug 1632187)
Backed out changeset de6907618ac9 (bug 1632187)
Backed out changeset 1070e843071c (bug 1632187)
2020-05-09 23:22:06 +03:00
Andrea Marchesini
275ef67da0 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 3 - remove nsICookieService::setCookieString from tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71976
2020-05-09 19:03:12 +00:00
Sylvestre Ledru
1929dd1ab3 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D73347
2020-05-09 14:51:53 +00:00
Gijs Kruitbosch
5705baea2e Bug 1636559 - make confirmation hint panel lazy, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D74466
2020-05-08 21:51:31 +00:00
Michael Kaply
990a4a43ce Bug 1621423 - Allow adding webextension restricted domains via policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D74304
2020-05-08 21:01:58 +00:00
Ian Bicking
04a09d6f70 Bug 1636568 - suppress Sentry reporting of a common Screenshots failure r=_6a68
Starting with Firefox 76 we're seeing this (seemingly benign) error being reported much more commonly, causing unnecessary load on our Sentry instance. Adding .noReport=true keeps this from being reported to Sentry.

Differential Revision: https://phabricator.services.mozilla.com/D74471
2020-05-08 20:19:51 +00:00
Jared Wein
347199fb88 Bug 1636032 - Update the strings for the OS auth prompt to make it clearer that the requested password is the OS password. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74455
2020-05-08 19:43:02 +00:00
Drew Willcoxon
1046583b93 Bug 1398416 - Part 1: Rewrite Query.start() to be a little faster and in preparation for form history changes. r=mak
`Query.start` shouldn't `await provider.tryMethod("isActive")`. Instead it
should call all providers at once and then await all the promises. Also make
some other simplifications and changes to `Query.start` in preparation for later
patches.

Factor out `notifyResults` into `Query._notifyResultsFromProvider` because the
next patch will use it.

Differential Revision: https://phabricator.services.mozilla.com/D74191
2020-05-08 06:00:50 +00:00
Anny Gakhokidze
5fc9601f29 Bug 1633471 - Do not reuse inner window when printing, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D74261
2020-05-08 20:13:16 +00:00
Punam Dahiya
a4b1bd30dc Bug 1635544 - Fix AWMessageId name in AWParent.jsm r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D73945
2020-05-08 14:17:31 +00:00
Chris Fronk
af8a02cc9d Bug 1512991 - Add JsonWriteFunc::Write to take string length. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D72560
2020-05-08 16:24:31 +00:00
Molly Howell
2caf2e9712 Bug 1636445 - Skip applying profile refresh button styles in high-contrast. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D74417
2020-05-08 19:07:53 +00:00
Narcis Beleuzu
469605f230 Backed out changeset 2586af74cbf9 (bug 1633368) for bc failures on browser_sma_show_migration_wizard.js . CLOSED TREE 2020-05-08 23:04:07 +03:00
Luca Greco
e7a2904b65 Bug 1614653 - Remove the extensions.abuseReports.openDialog pref and the related implementation and XUL elements from about:addons. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71615
2020-05-08 16:03:45 +00:00
Kate Hudson
836f133a2d Bug 1633368 - Document and separate SpecialMessageActions r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D72633
2020-05-08 15:29:18 +00:00
Emma Malysz
f1842454d9 Bug 1634031, lazy load appmenu and extension notification panel by using a template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73389
2020-05-08 16:53:45 +00:00
Ryan VanderMeulen
fd1ec3e717 Bug 1636528 - Update pdf.js to version 2.5.153. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D74430
2020-05-08 17:02:43 +00:00
Itiel
ceaa636d49 Bug 1634247 - Fix separators in the Web Developer menu r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73906
2020-05-08 15:33:18 +00:00
Csoregi Natalia
4bb1a50963 Backed out changeset 8a48a3a488ab (bug 1621433) for hazard failures on CanvasRenderingContext2D.cpp CLOSED TREE 2020-05-08 09:39:25 +03:00
sanketh
44762b8054 Bug 1621433 - In RFP mode, turn canvas image extraction into a random 'poison pill' for fingerprinters r=tjr,jrmuizel
In RFP mode, canvas image extraction leads to an all-white image, replace that
with a random (sample 32 bytes of randomness and fill the buffer with that)
'poison pill'. This helps defeat naive fingerprinters by producing a random
image on every try. This feature is toggled using a new, default on, pref
`privacy.resistFingerprinting.randomDataOnCanvasExtract`.

Updated `browser_canvas_fingerprinting_resistance.js` to test this new feature
as well.

Updates and replaces D66308.

Differential Revision: https://phabricator.services.mozilla.com/D72716
2020-05-07 22:45:27 +00:00
sanketh
8b9dee2da4 Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku
In RFP mode, we do not support `PerformanceNavigationTiming`, so don't expose
it. In particular, `window.PerformanceNavigationTiming` should return
`undefined`.

Added a new method `PerformanceNavigationTiming::Enabled` which when used with
the WebIDL `Func` attribute allows us to toggle whether
`window.PerformanceNavigationTiming` is exposed.

Created
`dom/tests/mochitest/general/test_toggling_performance_navigation_timing.html`
to test whether the toggling works. Updated
`browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js`
to create a new window each time `privacy.resistFingerprinting` is flipped so
this behavior does not leak into other tests.

Differential Revision: https://phabricator.services.mozilla.com/D73528
2020-05-07 16:33:38 +00:00
Emilio Cobos Álvarez
12644d52bc Bug 1634569 - Remove hackaround for bug that can no longer happen. r=masayuki
This seems to come from bug 618907, which seems to be a hack-around code
that went away in bug 1595435.

If we open a window on mousedown such as it gains focus before this code
runs, we just steal the focus from it, which is undesired.

Also remove the test for bug 799299. It doesn't work anyways if the
browser is remote (this test only runs on non-e10s mode), and this
unifies the behavior with e10s and with content (see attached test-case,
which doesn't change behavior with and without my patch).

Differential Revision: https://phabricator.services.mozilla.com/D73901
2020-05-08 03:57:23 +00:00
Dan Glastonbury
d35dd7a81d Bug 1624550 - P5: Fix racy check for SessionHistory update. r=kmag
This code was relying on SessionHistory update having completed when
GlobalHistory is update. Moving GlobalHistory update to the parent process with
DocumentChannel means that it's possible for the GlobalHistory event to fire
before the SessionHistory is updated in nsDocShell.

Switch to using tab loading complete to signal when it's OK to check
SessionHistory.

Differential Revision: https://phabricator.services.mozilla.com/D72280
2020-05-08 03:28:46 +00:00
Emilio Cobos Álvarez
a9d7165b1b Bug 1636224 - Explicitly flush layout in an acceskey test. r=Gijs
Accesskey for XUL works from frame construction, so we need to do this
for the test to keep passing with LazyFC.

I don't think this has a user-visible impact in practice.

Differential Revision: https://phabricator.services.mozilla.com/D74280
2020-05-07 20:51:14 +00:00
Razvan Maries
f38ed46452 Backed out changeset 2cedf945f040 (bug 1347710) as per Chris's request. CLOSED TREE 2020-05-07 21:56:51 +03:00
Emilio Cobos Álvarez
3f1dec8de1 Bug 1634109 - Support scrollbar customization on the <select> dropdown. r=Gijs
This needs another platform fix (bug 1571376), but I'll make sure that's
fixed before landing this.

Differential Revision: https://phabricator.services.mozilla.com/D73184
2020-04-30 13:12:50 +00:00
emcminn
f4f25ff97b Bug 1599138 - UI update and pref toggle for Whats New Panel r=andreio,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71341
2020-05-07 16:42:15 +00:00
Dorel Luca
bdddaad896 Backed out changeset 57d78ba110be (bug 1634650) for marionette failures in migration/tests/marionette/test_refresh_firefox.py. CLOSED TREE 2020-05-07 19:36:39 +03:00
Dorel Luca
6a69e365c8 Backed out changeset 5107c36695a7 (bug 1635937) for XPCshell failures in browser/extensions/formautofill/test/unit/test_sync.js. CLOSED TREE 2020-05-07 18:58:04 +03:00
Vlad Filippov
ce5c94b04c Bug 1635937 - Enable 'identity.sync.useOAuthForSyncToken' pref for Nightly users r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D74145
2020-05-07 14:36:46 +00:00
Mark Banner
8c1bb4181c Bug 1636023 - Disable undesired outline on the searchbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74198
2020-05-07 11:01:33 +00:00
prathiksha
b2b25fb8b4 Bug 1627337 - Remove breached logins lockwise section from the Monitor card. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D72899
2020-05-07 09:23:41 +00:00
prathiksha
a4ed2b48f2 Bug 1627337 - Update lockwise card display and copy. r=ewright,fluent-reviewers,flod
Depends on D72693

Differential Revision: https://phabricator.services.mozilla.com/D72694
2020-05-07 09:23:41 +00:00
prathiksha
9ed228ef9c Bug 1627337 - Remove the connected devices label from the lockwise card. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D72693
2020-05-07 09:15:17 +00:00
Marco Bonardo
410cff4774 Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-07 08:42:10 +00:00
Sebastian Hengst
746a9a08b8 Bug 1614078 - Disable browser/components/aboutconfig/test/browser/browser_observe.js on Linux ccov because it times out. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D74037
2020-05-07 08:22:50 +00:00
Mike Hommey
696cb0cc9c Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor
Now that upstream winchecksec builds and works natively on Linux, use
that. That should solve the random crashes under Wine. If random crashes
still happen, it will be easier to debug anyways.
We bump to the last version that doesn't use vcpkg because vcpkg makes
things more difficult.

Differential Revision: https://phabricator.services.mozilla.com/D73405
2020-05-07 00:34:36 +00:00
Dana Keeler
e8ebc73d50 Bug 1630038 - remove HPKP entirely r=kjacobs,bbeurdouche
This removes processing of HTTP Public Key Pinning headers, remotely modifying
pinning information, and using cached pinning information, all of which was
already disabled in bug 1412438. Static pins that ship with the browser are
still enforced.

Differential Revision: https://phabricator.services.mozilla.com/D73352
2020-05-06 22:57:50 +00:00
Liang-Heng Chen
481fd1a83d Bug 1631676 - collect usage of pref privacy.firstparty.isolate; r=chutten,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D73874
2020-05-06 20:19:58 +00:00
Gijs Kruitbosch
88153109ac Bug 1633790 - pass channels to stream conversion getContentType and always allow PDF.js use for user-opened local PDF files, r=mattwoodrow,jaws
Differential Revision: https://phabricator.services.mozilla.com/D73511
2020-05-06 20:34:51 +00:00
Gijs Kruitbosch
6c3c9b5bf3 Bug 1633790 - allow PDF.js use when we've misled the user into misconfiguring PDF handlers, r=jaws,mattwoodrow
Prior to this patch, PDF.js tracks both its own 'disabled' pref (which is used
by enterprise policy) and whether it is the default handler per the handler
service - but it tracks both in one bool, which determines whether its
streamconverter registers.

Really, what we want is to never use PDF.js if it's preffed off.

However, if there is some other default, it should be acceptable to use PDF.js
in some circumstances, like for <embed> or <object>s where otherwise we
would show no content at all.

Even for toplevel PDFs, if the user has configured Firefox to open PDFs in
an external helper app which is Firefox (which is currently an easy mistake
to make in the unknownContentType dialog), or has it set to the OS default,
but has changed their OS default to Firefox, we really still want to open
those PDFs with PDF.js.

This patch fixes all of this by splitting out the pref tracking from the
handler state tracking. Only the pref will completely disable PDF.js.

Then, in the streamconverter code, we check whether PDF.js should be used for
PDFs, and if there's a misconfiguration that we can correct. This code is
invoked from the parent process when we load PDFs in frames or toplevel
documents, and will prevent us from invoking PDF.js in the child if the user
would prefer that not to happen.

As a driveby, this cleans up how we track the pref inside PDF.js, and how we
get notified of changes to the handler - we were missing changes made in the
unknown content type dialog, so it seemed worth making it generic.

Differential Revision: https://phabricator.services.mozilla.com/D73510
2020-05-06 20:28:36 +00:00
Kirk Steuber
a525597853 Bug 1619145 - Add locale to app.update.url.manual and app.update.url.details in firefox-branding.js r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D74074
2020-05-06 16:30:15 +00:00
Yura Zenevich
5b6b095fcf Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-05-06 15:54:58 +00:00