Commit Graph

664442 Commits

Author SHA1 Message Date
Tim Huang
95452d44e3 Bug 1567784 - Part 3: Add tests to check the tooltip of the lock icon is correct if the page is insecure. r=johannh
Depends on D41076

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

--HG--
extra : moz-landing-system : lando
2019-08-08 08:08:52 +00:00
Tim Huang
6d8685efc1 Bug 1567784 - Part 2: Add a tooltip for the lock icon if the page is insecure. r=johannh
Depends on D41075

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

--HG--
extra : moz-landing-system : lando
2019-08-08 09:28:41 +00:00
Tim Huang
3eedca0b53 Bug 1567784 - Part 1: Add a string for the tooltip of the 'not secure' lock icon. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D41075

--HG--
extra : moz-landing-system : lando
2019-08-08 07:58:34 +00:00
Jan de Mooij
494a804730 Bug 1572051 - Add TypeMonitorMagicValue and use it in DoTypeMonitorFallback and TypeMonitorResult. r=iain
We did a bailout from Ion with a MagicValue(JS_OPTIMIZED_OUT) on top of the stack, then passed that
value to TypeMonitorResult and asserted in addMonitorStubForValue because we expected a different
kind of magic value.

This patch moves MagicValue handling into TypeMonitorMagicValue and calls it from both places so we
have consistent behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 19:04:38 +00:00
Bogdan Tara
190b75aff0 Backed out changeset 43d9939e4ebd (bug 1554113) for TypedObject.cpp related failures CLOSED TREE 2019-08-08 12:23:20 +03:00
Bogdan Tara
37ebfd0330 Backed out changeset 7599cc4b6688 (bug 1571831) for browser_renderCertToUI.js failures CLOSED TREE 2019-08-08 12:22:05 +03:00
tanhengyeow
ad7184ec58 Bug 1571786 - Warning: Failed prop type: Invalid prop visibleColumns of type array supplied to FrameListItem, expected object. r=Honza
Fix expected prop type.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 08:14:36 +00:00
Andy Wingo
f12174619f Bug 1554113 - Support (Big)Int64 fields in typed objects r=till
Differential Revision: https://phabricator.services.mozilla.com/D40396

--HG--
extra : moz-landing-system : lando
2019-08-03 14:15:25 +00:00
Carolina
e8b6b422b5 Bug 1571831 - Adds some l10n missing strings.r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D40909

--HG--
extra : moz-landing-system : lando
2019-08-08 05:59:42 +00:00
Mirko Brodesser
1274c8140e Bug 1572060: declare a few methods around HTMLEditor static/const. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40982

--HG--
extra : moz-landing-system : lando
2019-08-07 15:58:41 +00:00
dimi
1e0f988331 Bug 1564041 - P2. Remove old application reputation telemetry r=chutten
APPLICATION_REPUTATION_BINARY is now replaced by APPLICATION_REPUTATION_BINARY_TYPE,
we can remove it from telemetry.

Depends on D37275

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

--HG--
extra : moz-landing-system : lando
2019-08-08 07:39:23 +00:00
dimi
7e316918d8 Bug 1564041 - P1. Add telemetry to measure download protection binary type r=gcp
This patch adds a telemetry, APPLICATION_REPUTATION_BINARY_TYPE, which
records different binary type based on the file extension.

1. BinaryFile, file is considered as a binary file, file is eligible for remote lookup
2. NonBinaryFile, file is not considered as a binary file.
3. MozNonBinaryFile, file is considered as a binary file in Chrome, but we don't
   send a download protection ping for this file
4. UnknownFile, file is not in any of the above lists.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 07:38:19 +00:00
Andreas Pehrson
0b81e7d768 Bug 1563697 - Move script tags from <head> to <body> to avoid window.open asserts. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D41022

--HG--
extra : moz-landing-system : lando
2019-08-07 23:49:30 +00:00
Nicholas Nethercote
fb0974ffb7 Bug 1572354 - Fix erroneous prefs-related entries in .prettierignore. r=vporof
This patch removes two entries:

- devtools/client/netmonitor/launchpad.js: this file no longer exists.
- devtools/client/webconsole/test/mocha-test-setup.js: this file is a proper JS
  file, not a prefs file.

The patch also reformats mocha-test-setup.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 06:40:49 +00:00
James Teh
ee21b9ffb2 Bug 1571389: For page actions which show an iframe, focus the iframe when the action is activated. r=jaws
This includes the Save to Pocket action.
Previously, keyboard users had to press f6 twice to focus the iframe.
Worse, screen reader users weren't aware anything popped up at all.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:03:42 +00:00
Ed Lee
9775cca0a1 Bug 1571115 - Add context message, react-transition-group package and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Depends on D40119

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

--HG--
extra : moz-landing-system : lando
2019-08-08 05:36:24 +00:00
Jeane Carlos
1af80f69c3 Bug 1570697 - Adding BSD 3-Clause to license file r=mhoye
Adding a new package "react-transition-group" which uses a BSD 3-Clause that isn't contained in this license file.

https://github.com/mozilla/activity-stream/pull/5196

It looks like BSD 3 is used in other files too https://searchfox.org/mozilla-central/search?q=bsd+3-clause&path=, but I wasn't sure the paths to add for the other files.

BSD is referenced in our Source Code License Policy and License Runbook


  - https://www.mozilla.org/en-US/MPL/license-policy/ (General BSD)
  - https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=87365351 (New BSD, BSD 2-Clause, BSD 3-Clause)

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:18:58 +00:00
Narcis Beleuzu
c92483436e Backed out changeset 781d092114da (bug 1564168) for failures on test_onGarbageCollection.html 2019-08-08 05:12:21 +03:00
Narcis Beleuzu
b0c02638f6 Backed out changeset 0d73f35c5025 (bug 1172572) for failures on browser_dbg_rr_breakpoints-03.js 2019-08-08 05:11:13 +03:00
Kannan Vijayan
e53a880b1c Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D41064

--HG--
extra : moz-landing-system : lando
2019-08-07 19:24:00 +00:00
Shane Caraveo
35febd8b6d Bug 1570193 add install permission for proxy domain r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D40699

--HG--
extra : moz-landing-system : lando
2019-08-07 11:53:10 +00:00
Carolina
4e44eeedbe Bug 1570973 - Adds missing certificate chain information in about:certificate.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40635

--HG--
extra : moz-landing-system : lando
2019-08-08 00:58:40 +00:00
Tim Nguyen
5d39d36499 Bug 1572265 - Fix background-color and text color on download dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41118

--HG--
extra : moz-landing-system : lando
2019-08-07 23:23:12 +00:00
Ted Campbell
c7dcd82efa Bug 1572259 - Remove unused JSScript::initFunctionPrototype. r=khyperia
The last use of this method was in Bug 1462741.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 00:07:01 +00:00
Randall E. Barker
5911905e7c Bug 1571088 - Add LOAD_FLAGS_REPLACE_HISTORY to GeckoSession LoadFlags r=geckoview-reviewers,snorp,droeh
Bug 1571088 - Add LOAD_FLAGS_REPLACE_HISTORY to GeckoSession LoadFlags

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:48 +00:00
L. David Baron
85cac89c70 Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41068

--HG--
extra : moz-landing-system : lando
2019-08-07 20:46:04 +00:00
L. David Baron
7f14d882ae Bug 1561792 - Handle dynamic changes of gfx.font_ahem_antialias_none (and make FlushFontAndWordCaches stronger for other callers) and fix a few test failures/intermittents using it. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41067

--HG--
extra : moz-landing-system : lando
2019-08-07 20:44:35 +00:00
Nicholas Nethercote
30218bffe1 Bug 1571961 - Shrink InitAll(). r=KrisWright
Avoiding lots of `if (isParent)` conditions reduces code size by 2016 bytes for
a local build on my Linux64 box.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:39:08 +00:00
Brian Grinstead
9dac9754e5 Bug 1561326 - Support CSS min/max width/height for top level windows with root HTML element. r=emilio
Helps support migrating from XUL DOM to an HTML DOM structure. I attempted
to remove the early return when the root element is not a XUL element, but
it appears setting the transparency on a non XUL root is still broken
(test widget/tests/test_mouse_scroll.xul started failing on windows).

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

--HG--
extra : moz-landing-system : lando
2019-08-07 18:20:35 +00:00
Gerald Squelart
41c580344f Bug 1572027 - Make BlocksRingBuffer::EntryReader move-only - r=gregtatum
After some bad experiences, I think EntryReader should be move-only:
- It needs to be moveable so it can be created from a function, and move-
  constructed into a Maybe<> if needed.
- It can be passed around as a reference.

Previously, it could be passed by value, but it was too easy to create bugs,
e.g.: A function delegates to a sub-function to read something at the beginning,
then the first function wants to read more past that, but if the reader was
passed by value the first function would not see past what the sub-function did
read.

As a bonus, `mRing` can now be a reference instead of a pointer, and other
members can be const.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:33:09 +00:00
Nihanth Subramanya
e07b5e1cfc Bug 1555233 - Update browser_trackingUI_categories.js test for blocking/not-blocking UI split. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41082

--HG--
extra : moz-landing-system : lando
2019-08-07 22:21:03 +00:00
Nihanth Subramanya
6c8864d779 Bug 1555233 - [Protections Panel] Split Content Blocking category items into "Blocking" and "Not Blocking" sections. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40861

--HG--
extra : moz-landing-system : lando
2019-08-07 22:18:45 +00:00
Nicholas Nethercote
fb2718ab08 Bug 1571934 - Remove redundant security.tls.enable_0rtt_data definition. r=mbirghan
It's defined first as false, and again later in the file as true. This patch
removes the first definition, which is currently overridden by the second.

Depends on D40919

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:35:33 +00:00
Nicholas Nethercote
b256ece713 Bug 1571934 - Inline security-prefs.js into all.js. r=keeler
security-prefs.js is #included into greprefs.js, but there's no good reason for
it to be separate from all.js. Having it separate makes it easier to overlook,
and all.js has a bunch of `security.*` prefs in it anyway.

This patch inlines it into all.js. It inlines it at the start of the file to
minimize the risk of the change, so that the prefs end up in greprefs.js in the
same order as before.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:41:22 +00:00
Mike Hommey
0637bfef3e Bug 1572046 - Build shared libraries in a separate target. r=nalexander
When a directory, like toolkit/library, builds both a static and a
shared library, and another, like toolkit/library/gtest, depends on the
static part, it currently needs to wait for the shared library to be
finished building, preventing both libraries being built in parallel.

By separating shared libraries to a different target, we allow more
parallelism to the build.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:50:14 +00:00
Nicholas Nethercote
2c0b69fee1 Bug 1563555 - Use static_prefs::pref! in Stylo. r=emilio
It's much nicer.

One nice thing about this is that the new code is subject to the existing
threadedness checking, which identified that several of these should be atomic
because they're accessed off the main thread.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:55 +00:00
Jed Davis
660156542f Bug 1559368 - When determining sandbox capabilities, check for the specific X11 socket that would be used. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D40915

--HG--
extra : moz-landing-system : lando
2019-08-07 22:34:50 +00:00
Jason Laster
d7cf1b3574 Bug 1172572 - teach debugger to step into calls at the beginning of statements (part 2). r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D40733

--HG--
extra : moz-landing-system : lando
2019-08-07 22:22:42 +00:00
Narcis Beleuzu
3830ded867 Backed out changeset 87890c29a8ea (bug 1570230) for crashes on mozilla::gfx::VRShMem::CreateShMem(bool) . CLOSED TREE 2019-08-08 01:19:51 +03:00
Jason Laster
968304f52f Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed.
Differential Revision: https://phabricator.services.mozilla.com/D39414

--HG--
extra : moz-landing-system : lando
2019-08-07 20:45:46 +00:00
Kearwood "Kip" Gilbert
936585e4fc Bug 1570151 - WebXR: Implement VRManagerEventObserver r=imanol
In order to support multiple API's (WebVR + WebXR) being enabled simultaneously, a new class, gfx::VRManagerEventObserver, implements a pure virtual interface to be shared by both the WebVR and WebXR observers of XR device related events.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 08:29:32 +00:00
Jason Laster
c6612d3e41 Bug 1572227 - Warp should wait for pause events. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D41085

--HG--
extra : moz-landing-system : lando
2019-08-07 21:21:53 +00:00
Andrew Swan
036b82a357 Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 21:33:49 +00:00
Tim Nguyen
724b9427aa Bug 1571463 - Fix 'Create new login' item visibility in about:logins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D41087

--HG--
extra : moz-landing-system : lando
2019-08-07 21:19:11 +00:00
Henrik Skupin
9cd23a9635 Bug 1571659 - [marionette] Explain why certain flags for drawWindow() cannot be used right now. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D40819

--HG--
extra : moz-landing-system : lando
2019-08-07 21:00:58 +00:00
Henrik Skupin
57747db95b Bug 1571659 - [marionette] Simplify logic for fullscreen screenshots. r=webdriver-reviewers,ato
The patch makes the code for handling screenshots in the driver and
listener module easier to understand. Also it sets the default values
for optional arguments once, which doesn't require duplicated code
for the listener anymore.

Further there was a bug which treated the "full" parameter with a
higher priority as an element, if both are defined.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:00:46 +00:00
Gregory Mierzwinski
83697159ec Bug 1567954 - Part 4: Implement MozPower class in the Mozpower module. r=perftest-reviewers,rwood
This patch implements the MozPower class in the Mozpower module which is the interface for the user to use the power measurement tooling. It primarily detects the user's OS and CPU combination and provides the appropriate methods for them.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 20:55:27 +00:00
Gregory Mierzwinski
e382e45e4c Bug 1567954 - Part 3: Implement MacIntelPower class in the Mozpower module. r=perftest-reviewers,rwood,alexandru.irimovici
This patch implements the MacIntelPower class in the Mozpower module. It is used for power measurement testing on Mac Intel-based machines using Intel Power Gadget.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 20:38:23 +00:00
Gregory Mierzwinski
accc36a617 Bug 1567954 - Part 2: Implement IntelPowerGadget and IPGResultsHandler classes in the Mozpower module. r=perftest-reviewers,rwood
This patch implements IntelPowerGadget and IPGResultsHandler for the Mozpower module. These classes handle data generation with Intel Power Gadget as well as cleaning the data and formatting it into the PERFHERDER_DATA format.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:50:26 +00:00
Gregory Mierzwinski
92d5021daf Bug 1567954 - Part 1: Initialize Mozpower module and implement PowerBase class. r=perftest-reviewers,ahal,rwood
This patch initializes the Mozpower module and implements the PowerBase class. This class is used as a base for subclasses that implement power measurement tooling for various OS and CPU combinations.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 20:36:00 +00:00