Commit Graph

652805 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
30b618ff6e Bug 965637: Move CSP from Principal into Client, part 3: frontend changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27656

--HG--
extra : moz-landing-system : lando
2019-05-21 23:15:08 +00:00
Christoph Kerschbaumer
b282f81f84 Bug 965637: Move CSP from Principal into Client, part 2: worker changes. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27655

--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:50 +00:00
Christoph Kerschbaumer
b633427366 Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D27654

--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Emilio Cobos Álvarez
ca59532ce8 Bug 1553227 - Remove old CSS scroll snap implementation. r=hiro
This will save us some time from figuring out what's the best thing to do in
bug 1552587, so that other patches I have in flight (mainly bug 1552708) can
land, since we cannot add a single byte to nsStyleDisplay right now otherwise.

The code removed here is well isolated and not that complicated, so it seems to
me that should be easy to bring back should we have an emergency (and I commit
to doing that while preserving the nsStyleDisplay size limit if we need to :)).

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

--HG--
extra : moz-landing-system : lando
2019-05-21 22:51:54 +00:00
Jonathan Kew
2ba7f6d756 Bug 1418472 - Add WPT reftests for the abs-pos at line-break issue here. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32022

--HG--
extra : moz-landing-system : lando
2019-05-21 17:02:21 +00:00
Oana Pop Rus
d71e3be10c Backed out changeset 3c2a368a4c8b (bug 1552464) for xpcshell failures on test_rotate_viewport.js on a CLOSED TREE
--HG--
extra : amend_source : 15c8845b921292468c076b10b0b68c523a835e98
2019-05-22 14:57:46 +03:00
Mathieu Leplatre
ecf5714fea Bug 1548542 - Remove notions of Kinto in blocklists unit tests r=keeler,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31221

--HG--
extra : moz-landing-system : lando
2019-05-22 11:25:04 +00:00
Kestrel
94d172dfbc Bug 1553385 - Add context fill to about:preferences permanent private browsing mode info icon for dark mode r=dao
Differential Revision: https://phabricator.services.mozilla.com/D32096

--HG--
extra : moz-landing-system : lando
2019-05-22 08:41:31 +00:00
Mathieu Leplatre
8eb7224e54 Bug 1526018 - Initialize PSM clients in their own service r=Gijs,jcj
Differential Revision: https://phabricator.services.mozilla.com/D31603

--HG--
extra : moz-landing-system : lando
2019-05-21 21:14:11 +00:00
Razvan Caliman
b12bac57a5 Bug 1552464 - Add telemetry probe to count the number of viewport changes in RDM. r=mtigley,nchevobbe.
This patch adds telemetry instrumentation to count the number of times the RDM viewport properties are changed (dimensions and rotation). This count will be correlated with the panel open count and time spent open to refine the baseline for RDM usage and filter out accidental usage.

A new Redux middleware, `telemetryMiddleware`, is introduced to the RDM Redux store. This observes actions dispatched to the store. For `RESIZE_VIEWPORT` and `ROTATE_VIEWPORT` actions, it increases a numeric value for the new scalar telemetry probe, `"devtools.responsive.viewport_change_count"`.

Other actions may be observed in this middleware for future telemetry instrumentation of RDM.

The `RESIZE_VIEWPORT` action is a dispatched with a high frequency when dragging to resize. Therefore, we debounce logging for this action. To ensure the test can reliably test counting this action without adding needless complexity to account for the asynchronicity, the `debounce()` utility is extended with an `immediate` parameter to cause the very first call to be executed immediately before going into the debounce behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 18:40:23 +00:00
Razvan Caliman
ff22a40fa6 Bug 1553194 - Remove unrelated code comment from shared/css-logic.js r=pbro
Depends on D32016
The code comment is perhaps a leftover from a file duplication to extract shared methods to `shared/inspector/css-logic.js` from `server/actors/inspector/css-logic.js`.

The comment is confusing because there is no usage of any of the CssLogic terminology within the file.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 07:35:02 +00:00
Razvan Caliman
915619d9c1 Bug 1553194 - Remove unnecessary isInherited from CssLogic constructor. r=pbro
`isInherited` is a callback function that checks if a given CSS property is inherited. It is misleadingly commented as a cache of inherited properties (which perhaps it is on the InspectorUtils implementation, but on the consumer side it is just a function).

The actual call is done by InspectorUtils.isPropertyInherited. There is no need to pass the handler to CssLogic or to CssPropertyInfo since InspectorUtils is available in the same context as the definition of the consumers.

There is no other use case where a custom handler is passed to check for inherited properties in so it is safe to remove this as an argument and just use InspectorUtils.isPropertyInherited where needed. This cleans up the code slightly.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 07:34:03 +00:00
Florian Quèze
a19ac2626e Bug 1553113 - Rename the profiles uploaded by startup main thread IO tests so that treeherder offers to open them in Firefox Profiler, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D31994

--HG--
extra : moz-landing-system : lando
2019-05-22 10:03:48 +00:00
Alphan Chen
2dbd18c6c8 Bug 1549973 - Force tabState flush from C++ listener before tab is closed r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D30475

--HG--
extra : moz-landing-system : lando
2019-05-22 09:06:14 +00:00
Brad Arant
aa3dd59877 Bug 1538270 - Show toast for default file picker when permissions denied.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32073

--HG--
extra : moz-landing-system : lando
2019-05-22 09:10:45 +00:00
Mike de Boer
68fc536019 Bug 1553413 - Update and harden form data filtering for privacy to account for no data being passed in. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D32116

--HG--
extra : moz-landing-system : lando
2019-05-22 09:46:58 +00:00
Emilio Cobos Álvarez
9839cdb574 Bug 1546255 - When an @import stylesheet is cloned, we should also make sure to restyle. r=heycam
We need to notify the whole parent chain (using NOTIFY) rather than just
mStyleSets, since mStyleSets is empty for @import-ed sheets.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 06:01:51 +00:00
Mike de Boer
4ea690eb96 Bug 1543684 - When a session is set to resume anyways, skip analyzing previous crashes and always restore immediately. r=dao
I also made a few gratuitous code formatting cleanups. I hope you don't mind.
We are unable to properly analyze shutdown crashes and deduce the right action
to take when that happened. This leads to surprising occurrences of the
'about:sessionrestore' page shown, especially when a full restore is expected
anyway.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 09:08:09 +00:00
Julian Descottes
0efd6acf34 Bug 1549786 - Add test for Page.navigate reloads the page with the same URL r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D32027

--HG--
extra : moz-landing-system : lando
2019-05-22 08:58:08 +00:00
Nicolas Chevobbe
aef9587dfb Bug 1541355 - Don't display DevTools internal frames in Netmonitor stacktrace. r=Honza.
Before sending back the stacktrace, we remove all the
devtools internal frames using removeFramesAboveDebuggerEval.
A test (that was failing without the fix) is added to ensure
this works as expected.
The test revealed some issues in webconsole-connection-proxy
(mostly trying to access webConsoleUI while closing the toolbox),
which we fix in the patch as well.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 08:57:36 +00:00
vishal singh
15c6a85210 Bug 1547944 [RTL] Mirror the Separate Window icon r=pbro
Before the icon was reverse for rtl . But now it is in correct form.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 07:41:26 +00:00
Matt Howell
1cd03cdf5e Bug 1548612 Part 6 - Remove a couple of no longer needed stub installer strings. r=agashlin
Depends on D31143

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:12:48 +00:00
Matt Howell
b40cecb248 Bug 1548612 Part 5 - Change the default installer UI font for en-US. r=agashlin
Segoe UI Light couldn't accomodate the new stub installer visual design, and
it already wasn't used for other languages (including other Englishes), so
swap it out for regular weight Segoe UI.

Depends on D31142

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:12:47 +00:00
Matt Howell
988d04d56e Bug 1548612 Part 4 - Add a macro for converting dialog units to screen pixels. r=agashlin
We typically want to define sizes of elements in the stub installer in terms of
dialog units because those are independent of DPI. But sometimes we need to do
some calculations or invoke some API that needs pixels. So this function takes
a number of dialog units and an axis (because dialog units are not square) and
converts them to screen pixels using MapDialogRect.

Depends on D31141

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:12:45 +00:00
Matt Howell
aa4f33994d Bug 1548612 Part 3 - Add support for BrandProductName to SetBrandNameVars. r=agashlin
BrandProductName is a recently-introduced branding string which is intended to
not change with the channel of the product; e.g., for a Nightly Firefox build,
BrandShortName is not "Firefox", it's "Nightly", but BrandProductName is still
"Firefox". Some of the new stub installer copy needs a name string like this.

Depends on D31140

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:12:44 +00:00
Matt Howell
7adf1fa4c3 Bug 1548612 Part 2 - Fix GetTextWidthHeight for strings with no line breaks. r=agashlin
The current implementation of GetTextWidthHeight attempts to guess how much
height a string needs to fit into a given width based on how long the string
is when rendered onto one line of unlimited width. This doesn't work because
breaking up the string into lines introduces additional space at the end of
the lines that the single-line method doesn't account for.
This patch replaces all of that logic with asking DrawText to render the
string into the width of interest and then just seeing how much height it
ended up needing in order to do that.

We also take the opportunity to clarify what GetDlgItemBottomDU was doing,
because it isn't exactly what it claimed to be doing.

Depends on D31139

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:12:42 +00:00
Matt Howell
c71e8f6c5f Bug 1548612 Part 1 - New background images for the release stub installer. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D31139

--HG--
extra : moz-landing-system : lando
2019-05-21 16:12:41 +00:00
Brendan Dahl
64c9c9f8fe Bug 1551320 - Don't allow CreateElement in XUL documents. r=bzbarsky
Soon XUL documents will be loaded as XHTML and createElement will create HTML
elements instead of XUL element by default. This restriction can be removed
once we migrate everything.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 03:02:53 +00:00
Patrick Brosset
5449744a67 Bug 1551812 - New InactiveCSS rule for vertical-align; r=flod
Differential Revision: https://phabricator.services.mozilla.com/D31235

--HG--
extra : moz-landing-system : lando
2019-05-22 14:56:48 +00:00
Mark Banner
50a299be93 Bug 1553283 - When search initialisation fails, throw errors via Components.Exception for better exception information. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D32054

--HG--
extra : moz-landing-system : lando
2019-05-22 14:37:57 +00:00
Andi-Bogdan Postelnicu
ca4a195007 Bug 1551842 - Add new clang-tidy checkers from clang 8.0.0. r=sylvestre,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D31229

--HG--
extra : moz-landing-system : lando
2019-05-22 14:55:45 +00:00
J.C. Jones
dfd51d4000 Bug 1552339 - On Android, direct attestations are anonymized r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D32057

--HG--
extra : moz-landing-system : lando
2019-05-21 21:44:05 +00:00
Gijs Kruitbosch
b49196046b Bug 1549548 - update browser tests for plugin blocking, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D31346

--HG--
rename : browser/base/content/test/plugins/browser.ini => browser/base/content/test/plugins/browser-rs-blocklist.ini
extra : moz-landing-system : lando
2019-05-22 14:48:04 +00:00
Edgar Chen
278b63fd0a Bug 1525554 - Fix "MojoInterfaceInterceptor is not defined" error; r=annevk
which causes the promise being rejected and testharness reports error given
that there are unhandled rejected promises

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

--HG--
extra : moz-landing-system : lando
2019-05-22 14:14:18 +00:00
Michael Kaply
2c41b2e900 Bug 1552302 - Link policy message to about:policies. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D32061

--HG--
extra : moz-landing-system : lando
2019-05-22 14:34:44 +00:00
Henrik Skupin
514c21335b Bug 1552484 - [raptor] Enable raptor-youtube-playback test suite for geckoview in CI. r=perftest-reviewers,stephendonner
Depends on D32040

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

--HG--
extra : moz-landing-system : lando
2019-05-21 23:42:04 +00:00
Henrik Skupin
a85b69685d Bug 1552484 - [raptor] Add geckoview support to raptor-youtube-playback test suite. r=perftest-reviewers,rwood
Adding those tests with the premise to run all the videos as muted,
at least as long as bug 1547717 hasn't been fixed.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 14:27:14 +00:00
Florian Quèze
b911add66e Bug 1552524 - Add a mochitest to avoid more sync IPC being introduced during startup, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D31644

--HG--
rename : browser/base/content/test/performance/browser_startup_mainthreadio.js => browser/base/content/test/performance/browser_startup_syncIPC.js
extra : moz-landing-system : lando
2019-05-22 14:15:29 +00:00
Mike Hommey
9d6c1cc1e1 Bug 1553009 - Replace double quotes with single quotes in toolkit/locales/l10n.mk. r=nalexander
Like bug 943728.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:00:43 +00:00
alexandru.ionescu
1a8f3c3864 Bug 1543369 Raptor cold page-load tests on Firefox android fennec r=Bebe
Differential Revision: https://phabricator.services.mozilla.com/D31251

--HG--
extra : moz-landing-system : lando
2019-05-21 12:03:03 +00:00
Andrea Marchesini
7b8a38ee05 Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
This patch reverts the second part of bug 1548432.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 06:31:22 +00:00
sotaro
0d04fcdf71 Bug 1552734 - Allocate DXGIYCbCrTextureData for yuv video data in ImageClient::CreateTextureClientForImage() if possible r=nical
Differential Revision: https://phabricator.services.mozilla.com/D31748

--HG--
extra : moz-landing-system : lando
2019-05-21 09:30:17 +00:00
Boris Zbarsky
3022e3c3fb Bug 1553286. Mark legacycall hooks (and a few other binding hooks) as MOZ_CAN_RUN_SCRIPT. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D32053

--HG--
extra : moz-landing-system : lando
2019-05-22 02:50:55 +00:00
Jared Wein
eee6bc8a84 Bug 1553320 - Include about:logins as a secure internal UI page. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D32065

--HG--
extra : moz-landing-system : lando
2019-05-22 02:44:48 +00:00
Jean-Yves Avenard
95f16e4170 Bug 1552194 - Consider ftyp 3gp4 as being mp4. r=padenot
3gp4 is based on mp4. Should the codecs not be supported we will simply error later.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 11:30:37 +00:00
Shane Caraveo
154a64299e Bug 1552998 make the telemetry permission privileged r=kmag
add telemetry to the privileged permissions list

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

--HG--
extra : moz-landing-system : lando
2019-05-22 01:28:27 +00:00
Michael Kaply
75cc987da6 Bug 1456140 - Remove unnecessary size args for getChildList. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D31631

--HG--
extra : moz-landing-system : lando
2019-05-21 06:20:40 +00:00
Michael Kaply
4b1ce8d8bb Bug 1553041 - Add waitForStateStop to try to fix intermittent. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D32005

--HG--
extra : moz-landing-system : lando
2019-05-22 14:02:58 +00:00
Valentin Gosu
1110a0511e Bug 1529911 - Fix web-platform-test expectations r=mayhemer
Because the IPDL channel between HttpChannelChild/Parent is sensitive to chaos
mode delays, sometimes the channel will be cancelled before completing, other
times after.
Because of this, the test will sometimes fail in verify mode.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 13:49:09 +00:00
Valentin Gosu
b4b25d6861 Bug 1529911 - Ensure that mOnStartRequestCalled/mOnStopRequestCalled is set just before calling the listener to avoid reentrancy issues r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20499

--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:59 +00:00