Commit Graph

635079 Commits

Author SHA1 Message Date
Johann Hofmann
731692a30b Bug 1522565 - Tests for cryptominers and fingerprinters sub-panels. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D18827

--HG--
extra : rebase_source : f1e874a43c204f807259cc5249d4e872e25fba26
2019-02-06 14:12:20 +01:00
Johann Hofmann
5343085d4c Bug 1522565 - Add sub-panels for cryptominers and fingerprinters in the identity popup. r=nhnt11
This is mostly a lot of boilerplate based off the trackers category/subpanels.

I would like to do some code-de-duplication, especially in browser-contentblocking,
but I figured it would be a good idea to leave that to a different bug to not obstruct
the feature from landing :)

Differential Revision: https://phabricator.services.mozilla.com/D18826

--HG--
extra : rebase_source : d0fb21c5a42cf16dfe6b185806575f09e9a9f1a5
2019-02-06 14:11:39 +01:00
Oana Pop Rus
4663ddb53a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-07 11:57:33 +02:00
Oana Pop Rus
490ab7f9b8 Merge inbound to mozilla-central. a=merge 2019-02-07 11:47:46 +02:00
Oana Pop Rus
f9cf535efc Backed out changeset 04eecadabb48 (bug 1525291) for build bustages at build/src/obj-firefox/ipc/ipdl/PSessionStorageObserverChild.cpp on a CLOSED TREE 2019-02-07 11:33:00 +02:00
Tooru Fujisawa
b93157cc4d Bug 1523440 - Handle WTF-8 in AtomHasher::Lookup. r=jwalden 2019-02-07 18:12:10 +09:00
Marco Zehe
824709b366 Bug 1525546 - Make sure a XULMenuItemAccessibleWrap is not going away when creating its keyboard shortcut info, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D18922

--HG--
extra : moz-landing-system : lando
2019-02-07 07:05:29 +00:00
sotaro
164c8f7d81 Bug 1524591 - Call SetParent in UI process r=mattwoodrow
During security.sandbox.gpu.level=1, compositor window's parent cannot be set in GPU process, it needs to be set in UI process.

Differential Revision: https://phabricator.services.mozilla.com/D18811
2019-02-07 16:01:41 +09:00
Delphine Lebédel
19173cb6db Bug 1521687 - Update Danawa search URL on Firefox for Android r=flod
MozReview-Commit-ID: 1EhapeyUskz

Differential Revision: https://phabricator.services.mozilla.com/D18906

--HG--
extra : moz-landing-system : lando
2019-02-07 06:40:38 +00:00
Marco Zehe
91fe1bab37 Bug 1524919 - When getting the cell-index object attribute, make sure to only return positive values, r=Jamie
When getting the cell-index object attribute, now take into account that the row index might be invalid, and bail if that's the case. This should prevent negative index values which were one of the causes of Occasional crashes on Linux with weirdly formed tables like in Gmail.

Differential Revision: https://phabricator.services.mozilla.com/D18546

--HG--
extra : moz-landing-system : lando
2019-02-07 01:12:22 +00:00
Daisuke Akatsuka
fc99d157f8 Bug 1523237: Introduce common function which opens/closes about:devtools-toolbox. r=jdescottes
Depends on D18778

Differential Revision: https://phabricator.services.mozilla.com/D18825

--HG--
extra : moz-landing-system : lando
2019-02-07 06:13:39 +00:00
Daisuke Akatsuka
7b25602ae0 Bug 1523237: Add test for a tooltip on about:devtools-toolbox. r=jdescottes
Depends on D18777

Differential Revision: https://phabricator.services.mozilla.com/D18778

--HG--
extra : moz-landing-system : lando
2019-02-07 06:12:25 +00:00
Daisuke Akatsuka
5b5c8cf47c Bug 1523237: Use windowRoot to get top window. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D18777

--HG--
extra : moz-landing-system : lando
2019-02-06 16:17:24 +00:00
Brendan Dahl
ed6a76c718 Bug 1524640 - Fix font loading during mozPrintCallback. r=smaug
Copy fonts loaded during a mozPrintCallback into the cloned document,
so they are available during printing.

Differential Revision: https://phabricator.services.mozilla.com/D18613

--HG--
extra : moz-landing-system : lando
2019-02-06 23:46:58 +00:00
Gurzau Raul
43f7c8bef6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-07 07:07:17 +02:00
Gurzau Raul
959cccf0c9 Merge inbound to mozilla-central. a=merge 2019-02-07 07:03:37 +02:00
Matthew Noorenberghe
562dc43455 Bug 1522799 - Fix test_prompt_async.html to better handle two HTTP auth dialogs at once. r=jaws
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e7c6898e996602b8db292c97ff48073cc46d8bb8

Differential Revision: https://phabricator.services.mozilla.com/D18908

--HG--
extra : moz-landing-system : lando
2019-02-07 03:53:28 +00:00
Bogdan Tara
037f344d0e Backed out changeset 1b0547c09b35 (bug 1525421) for geko decision task bustage CLOSED TREE 2019-02-07 04:07:33 +02:00
Jim Blandy
56dd9f3efc Bug 1520965: Fix incorrect use of MOZ_ALWAYS_TRUE; it should be MOZ_RELEASE_ASSERT. r=jorendorff
MOZ_ALWAYS_TRUE is only useful for expressions with necessary side effects. The
intent here was to check for this condition even in release builds.

Differential Revision: https://phabricator.services.mozilla.com/D16920

--HG--
extra : moz-landing-system : lando
2019-02-07 02:00:12 +00:00
Dustin J. Mitchell
17f5bde17e Bug 1525421 - parse out just the try syntax from the commit message r=tomprince
This mirrors what mozilla-taskcluster does in
cb3de4c31e/src/jobs/taskcluster_graph.js (L46-L58)

Differential Revision: https://phabricator.services.mozilla.com/D18748

--HG--
extra : moz-landing-system : lando
2019-02-07 01:59:11 +00:00
Kartikaya Gupta
293c352702 Bug 1525748 - Enable some now-passing WPT reftests and remove redundant not-webrender clauses. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D18901

--HG--
extra : moz-landing-system : lando
2019-02-07 01:58:38 +00:00
Zibi Braniecki
614ca1e082 Bug 1523194 - Remove XPIDL for DOMLocalization and use do_ImportModule instead. r=jfkthame,kmag
Differential Revision: https://phabricator.services.mozilla.com/D17780

--HG--
extra : moz-landing-system : lando
2019-02-07 01:52:45 +00:00
Masayuki Nakano
3ebe8914da Bug 1466208 - part 11: Create PresShell::EventHandler::MaybeDiscardOrDelayKeyboardEvent() r=smaug
PresShell::EventHandler::HandleEvent() discards or puts off to dispatch
the handling event if it's a keyboard event and event dispatching is
suppressed by the document.

This patch moves the block into the new method for making HandleEvent() simpler.

Differential Revision: https://phabricator.services.mozilla.com/D18520

--HG--
extra : moz-landing-system : lando
2019-02-07 01:49:31 +00:00
Bogdan Tara
374b57edaf Backed out changeset 41a84186eb77 (bug 1445739) for test_startup.js failures CLOSED TREE 2019-02-07 03:22:07 +02:00
Bogdan Tara
405ce74b75 Backed out changeset 55736daf0dc5 (bug 857458) for test_ext_contentscript_triggeringPrincipal.js failures CLOSED TREE 2019-02-07 02:51:52 +02:00
Drew Willcoxon
75d649ee30 Bug 1524702 - Make URL results use their domain names as their titles when they don't otherwise have titles. r=mak
There are a few potential places to do this:

(1) UrlbarProviderUnifiedComplete, when it creates results

(2) UrlbarResult.payloadAndSimpleHighlights(), which UrlbarProviderUnifiedComplete calls when it creates results (and presumably other providers would call it, too)

(3) UrlbarResult._titleAndHighlights(), when it figures out what to return as the title

It's hard to do it in (3) because in that location, we don't know the user's search string, so we don't know what to highlight. (1) is possible, but it would probably be nice for other providers and all result types to benefit from this? So I chose (2), and also because UrlbarResult.payloadAndSimpleHighlights() is just an easy place to do it since UrlbarProviderUnifiedComplete calls it for each result it creates.

The actual code to get the domain is copied from autocomplete.xml more or less.

Differential Revision: https://phabricator.services.mozilla.com/D18642

--HG--
extra : moz-landing-system : lando
2019-02-07 00:50:34 +00:00
Florian Quèze
616e1235c9 Bug 1521209 - Give more space for the 'Energy Impact' column header, and ensure it never wraps, r=Felipe.
Differential Revision: https://phabricator.services.mozilla.com/D18868

--HG--
extra : moz-landing-system : lando
2019-02-06 22:19:17 +00:00
Drew Willcoxon
ee7630f333 Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak
We should replace the context.autofillValue property with a result.autofill property. When the view selects results, it already notifies the input about it by calling input.setValueFromResult(). So we can modify setValueFromResult to check for the presence of result.autofill and thereby get autofill "for free".

result.autofill is an object: { value, selectionStart, selectionEnd }

This is going to help me implement bug 1521702.

One potentially cool thing about doing autofill this way is that any result can now trigger autofill, not only the heuristic result, and do it easily. Of course the user isn't typing when they select a non-heuristic result, so it's probably not fair to call that "autofill", but the result can trigger the selection aspect of autofill. As one example, that might be interesting for search suggestions: Type "foo", key down to the "foobar" suggestion, and the "bar" substring is automatically selected.

Differential Revision: https://phabricator.services.mozilla.com/D18618

--HG--
extra : moz-landing-system : lando
2019-02-07 00:30:04 +00:00
Gijs Kruitbosch
e095de11d8 Bug 1445739 - stop invalidating the startup cache when extensions change, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18356

--HG--
extra : moz-landing-system : lando
2019-02-07 00:08:25 +00:00
Abdoulaye O. Ly
df79fc1fc4 Bug 1524852 - Fix invisible title for multiselected tabs on MacOS. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D18893

--HG--
extra : moz-landing-system : lando
2019-02-06 23:28:25 +00:00
Oriol Brufau
9a121796e0 Bug 1522820 - Disable browser action's "Remove Extension" if the addon can't be uninstalled. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D18493

--HG--
extra : moz-landing-system : lando
2019-02-06 17:18:32 +00:00
Botond Ballo
e8a4c6f7a9 Bug 1522714 - Update APZCTreeManager::ComputeTransformForNode() with changes corresponding to the AsyncCompositionManager changes for containerless scrolling. r=kats
Specifically, we make adjustments to the transform used for:
  - layers with the RCD-RSF APZC
  - the async zoom container layer
  - layers fixed w.r.t the RCD-RSF

Differential Revision: https://phabricator.services.mozilla.com/D18114

--HG--
extra : moz-landing-system : lando
2019-02-06 22:10:04 +00:00
Botond Ballo
52514220ae Bug 1522714 - Support an AsyncTransformComponents parameter in GetCurrentAsyncTransformWithOverscroll(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18113

--HG--
extra : moz-landing-system : lando
2019-02-06 22:06:57 +00:00
Botond Ballo
154abc7383 Bug 1522714 - Track in APZCTreeManager whether we are using an async zoom container. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18112

--HG--
extra : moz-landing-system : lando
2019-02-06 22:05:49 +00:00
Botond Ballo
03553a5195 Bug 1522714 - Propagate the 'is async zoom container' flag to HitTestingTreeNode. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18111

--HG--
extra : moz-landing-system : lando
2019-02-06 22:05:24 +00:00
Boris Zbarsky
f619616521 Bug 1471496 part 2. Change the way we do cross-compartment wrappers for Window and Location so they don't ever need to be recomputed. r=bholley
The end result we want is that on the web cross-compartment wrappers for
WindowProxy and Location are always CrossOriginObjectWrapper.  That needs to be true
for both cases that are different-origin (as now) and cases that are
same-origin, since they might become different-origin due to document.domain
changes but we don't want that to affect the wrappers involved.

On the web, all security checks are symmetric, so in WrapperFactory::Rewrap we
would have originSubsumesTarget == targetSubsumesOrigin in all web cases.

I claim that

  originSubsumesTarget == targetSubsumesOrigin &&
  (!targetSubsumesOrigin ||
   (!originCompartmentPrivate->wantXrays &&
    !targetCompartmentPrivate->wantXrays)) &&
  "object is a WindowProxy or Location"

is a necessary and sufficient condition for using CrossOriginObjectWrapper.

Comparing to our current code, if originSubsumesTarget and targetSubsumesOrigin
are both false, then for the WindowProxy and Location cases we currently end up
with the following arguments to SelectWrapper:

  securityWrapper: true
  xrayType: XrayForDOMObject
  waiveXrays: false

So SelectWrapper ends up returning CrossOriginObjectWrapper, which the new
condition keeps doing.

If originSubsumesTarget and targetSubsumesOrigin are both true, then there are
two cases.  If both compartments have wantXrays false (which is always the case
on the web), then we end up with the following arguments to SelectWrapper:

  securityWrapper: false
  xrayType: NotXray
  waiveXrays: false

and SelectWrapper returns CrossCompartmentWrapper.  We want to do
CrossOriginObjectWrapper instead, as explained above.

Finally, if originSubsumesTarget and targetSubsumesOrigin are both true but one
of the compartments has wantXrays set, then we get:

  securityWrapper: false
  xrayType: XrayForDOMObject
  waiveXrays: might be true or false

and then SelectWrapper might return a WaiveXrayWrapper or a PermissiveXrayDOM.
In this case we do _not_ want to start returning CrossOriginObjectWrapper, and
this is a non-web case anyway, since web compartments can't set wantXrays.

Differential Revision: https://phabricator.services.mozilla.com/D18030

--HG--
extra : moz-landing-system : lando
2019-02-06 14:53:48 +00:00
Boris Zbarsky
0b91ef777d Bug 1471496 part 1. Fix IsPlatformObjectSameOrigin to do the right thing when we're doing first-party isolation but turning off its effects on scripted property access. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D18029

--HG--
extra : moz-landing-system : lando
2019-02-06 14:53:13 +00:00
Dustin J. Mitchell
7dc065decc Bug 1525421 - parse out just the try syntax from the commit message r=tomprince
This mirrors what mozilla-taskcluster does in
cb3de4c31e/src/jobs/taskcluster_graph.js (L46-L58)

Differential Revision: https://phabricator.services.mozilla.com/D18748

--HG--
extra : moz-landing-system : lando
2019-02-07 02:10:42 +00:00
Jan Varga
93f5a88427 Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
prathiksha
763eb39bf4 Bug 1189524 - Provide visual feedback to the user when login fields are autofilled and autocompleted. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D18153

--HG--
extra : transplant_source : %B6%06%3A%9B%99%FBhi%06_%93%EC%1C%89%EE%D8%C8%C6%D0%96
2019-02-06 23:50:04 -08:00
Tom Ritter
dba455e2b4 Bug 1525644 - Remove MSVC-enabled CFG flags r=dmajor
We no longer ship or support MSVC builds. This is just taking up space.
2019-02-06 11:44:56 -06:00
Andrew Swan
a5f617e609 Bug 857458 Remove addon manager update.rdf support r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18793

--HG--
extra : rebase_source : 85e8081ff83115ef81315f9cb4537c69d74613d6
2019-02-05 10:22:20 -08:00
Gurzau Raul
b0ab74d15e Backed out 19 changesets (bug 1525492) for damp timeout on a CLOSED TREE
Backed out changeset e97ff8f77380 (bug 1525492)
Backed out changeset bf0b2293d4ef (bug 1525492)
Backed out changeset eb8480682540 (bug 1525492)
Backed out changeset 65be7de7fd08 (bug 1525492)
Backed out changeset fb2e441161a5 (bug 1525492)
Backed out changeset 4b9c095b41d4 (bug 1525492)
Backed out changeset a9eaa6523b3f (bug 1525492)
Backed out changeset 29cfed198c44 (bug 1525492)
Backed out changeset aa3bf2398579 (bug 1525492)
Backed out changeset 68a6f270afcf (bug 1525492)
Backed out changeset 56233844989b (bug 1525492)
Backed out changeset 4167367cbc8c (bug 1525492)
Backed out changeset 27131c9432a1 (bug 1525492)
Backed out changeset a53660e89561 (bug 1525492)
Backed out changeset 5f647aeba4fd (bug 1525492)
Backed out changeset 43c9893817ab (bug 1525492)
Backed out changeset f0f2e3a6620b (bug 1525492)
Backed out changeset c77d13b8834c (bug 1525492)
Backed out changeset 01ad6b2ba95e (bug 1525492)
2019-02-07 00:54:39 +02:00
Gurzau Raul
800cbc5955 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-06 23:59:24 +02:00
Jeff Gilbert
63503d995b Bug 1525480 - Don't mark RGB16F renderable in EXT_color_buffer_half_float. r=lsalzman
There's a crazy driver bug here on Mac+Intel, but if we're forbidding it
there, why not everywhere.
It's optional in EXT_color_buffer_half_float for webgl1, and no allowed by
EXT_color_buffer_float for webgl2 anyway.

MozReview-Commit-ID: kI9DUj8TU8

Differential Revision: https://phabricator.services.mozilla.com/D18769
2019-02-06 12:56:57 -08:00
Jason Laster
b9ee7312bb Bug 1525492 - Update Debugger Frontend (release 123). r=dwalsh 2019-02-06 11:24:59 -08:00
Jason Laster
a7194dcd22 Bug 1525492 - [release 123] Stop waiting for sourceMaps.clearSourceMaps (#7883). r=dwalsh 2019-02-06 11:24:58 -08:00
Jakub Rożek
2fe853315b Bug 1525492 - [release 123] Fix mapBindings exception when declaration with no initial value is provided (#7830) (#7865). r=dwalsh 2019-02-06 11:24:57 -08:00
Dhyey Thakore
63d7534957 Bug 1525492 - [release 123] Fix 7844: Implement .devtools-monospace CSS class (#7877). r=dwalsh 2019-02-06 11:24:56 -08:00
akshithashetty
f0c2ae4d09 Bug 1525492 - [release 123] Improving the contrast of the hover background for the buttons in the dark mode - BUG ID - 1513414. (#7857). r=dwalsh 2019-02-06 11:24:56 -08:00