Commit Graph

643622 Commits

Author SHA1 Message Date
Jeff Walden
dad7f9f2be Bug 1537978 - Move regular expression-related functionality out of jsapi.h into a new js/public/RegExp.h header, further slimming jsapi.h. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D24426

--HG--
rename : js/src/jsapi.h => js/public/RegExp.h
extra : moz-landing-system : lando
2019-03-22 23:56:08 +00:00
Emilio Cobos Álvarez
50ed75f8c1 Bug 1535612 - CSSKeyframeList::RemoveRule should clear parent references when removed. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D23729

--HG--
extra : moz-landing-system : lando
2019-03-20 09:50:51 +00:00
Mike Conley
796c55cef5 Bug 1536209 - Add documentation for PictureInPictureChild, simplify a few things, and clean-up some anonymous functions. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D24432

--HG--
extra : moz-landing-system : lando
2019-03-22 23:33:53 +00:00
Mike Conley
9333cd58f5 Bug 1536209 - Make PictureInPictureChild.closePictureInPicture asynchronous and wait for the player window to fully go away. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D24431

--HG--
extra : moz-landing-system : lando
2019-03-22 23:32:50 +00:00
Mike Conley
54520a00e3 Bug 1536209 - Add regression test to ensure we can re-request Picture-in-Picture on the same page. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D24429

--HG--
extra : moz-landing-system : lando
2019-03-22 23:32:32 +00:00
Dave Townsend
6515fcfe44 Bug 1538370: Re-enable toolkit content tests that are unrelated to media. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D24570

--HG--
extra : moz-landing-system : lando
2019-03-22 21:56:43 +00:00
srujana
6e50bb941c Bug 1451127 : Added files to UNIFIED_SOURCES and removed conflicts. r=handyman
Added files to UNIFIED_SOURCES and removed conflicts. Files that required flags still remain in SOURCES.  SOURCES use "StrictOrderingOnAppendListWithFlagsFactory" base class and UNIFIED_SOURCES use "StrictOrderingOnAppendList" base class. As of now I do not think there is an option to add flags for the later. So the files requiring flags are kept in SOURCES.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 21:32:50 +00:00
Gijs Kruitbosch
ec1e8dbd88 Bug 1538366 - don't show accounts button in popups and ensure it gets an arrow in the overflow panel, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24575

--HG--
extra : moz-landing-system : lando
2019-03-22 22:35:50 +00:00
Emilio Cobos Álvarez
2dd6a71b3e Bug 1531333 - Fix <svg:use> cycle detection. r=longsonr
With the current code we'll eventually detect the cycle, but will take much
more, creating many shadow trees unnecessarily. Take for example the following:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="133" height="232774">
    <style>
      symbol { display: block }
    </style>
    <symbol id="svg-sprite" viewBox="0 0 133 230866">
        <title>svg-sprite</title>
        <symbol id="svg-sprite" viewBox="0 0 133 230866">
            <title>svg-sprite</title>
            <use xlink:href="#svg-sprite" width="500" height="500" />
        </symbol>
        <use xlink:href="#svg-sprite" y="1601" width="133" height="228958" />
    </symbol>
    <use xlink:href="#svg-sprite" y="1601" width="133" height="230866" />
</svg>

Before this patch, we'd create an svg use element subtree for #svg-sprite. That
subtree will contain two other <use> elements, one under the <symbol>, one not
under it.

Both point to #svg-sprite, but we fail to detect we're an ancestor since the
element #svg-sprite we're looking at is the clone of the #svg-sprite element.

Thus we need to take a look at mOriginal instead (which is the <use> element
under #svg-sprite) rather than at the clone.

Yeah, I had to draw the trees, it's messy :)

Blink and WebKit do something slightly different (they check the element id
directly[1]). That's not 100% correct, since you can have multiple elements with
the same ID.

[1]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/svg/svg_use_element.cc?l=560&rcl=861855dcb8c39ba8d42497247d433277858df79b

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

--HG--
extra : moz-landing-system : lando
2019-03-22 22:26:53 +00:00
Erica Wright
bf9bdbe7e6 Bug 1528080 - Telemetry for shield histogram reports per page load. r=johannh
The shield historgram was reporting once per content blocking event, now it reports per page load.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 20:58:04 +00:00
Dennis Schubert
957d469f60 Bug 1536767 - Import WebCompat GoFaster 4.1.0 sources. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D24150

--HG--
extra : moz-landing-system : lando
2019-03-22 18:21:23 +00:00
Andreea Pavel
c3140fa087 Bug 1381449 - disabled mediasource-endofstream.html on linux r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24533

--HG--
extra : moz-landing-system : lando
2019-03-22 17:59:42 +00:00
Logan Smyth
505e03b918 Bug 1535246 - Part 2: Handle new actors appearing in HTML files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24444

--HG--
extra : moz-landing-system : lando
2019-03-22 21:04:47 +00:00
Logan Smyth
55e99d992a Bug 1535246 - Part 1: Ensure that changes to emptyLines are handled for both additions and removals. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24443

--HG--
extra : moz-landing-system : lando
2019-03-22 18:49:09 +00:00
Vijay Budhram
a94082a5db Bug 1537648 - remove change avatar button from FxA menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24527

--HG--
extra : moz-landing-system : lando
2019-03-22 20:52:47 +00:00
arthur.iakab
ca7277b3cc Backed out changeset 75634ae8f7c5 (bug 1537657) for causing debugger failures CLOSED TREE 2019-03-23 01:28:27 +02:00
Myk Melez
041a03ca0d Bug 1538372 - migrate revocations in single transaction r=keeler
cert_storage migrates revocations.txt via one transaction per entry, which can be expensive.  This change uses a single transaction to migrate all entries.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 23:16:43 +00:00
Cosmin Sabou
a54e57d61a Backed out 2 changesets (bug 1500314) for android mochitest failures on gfx/layers/apz/test/mochitest/test_bug982141.html. CLOSED TREE
Backed out changeset 38349ca764d7 (bug 1500314)
Backed out changeset 77cafd05c85c (bug 1500314)
2019-03-23 01:18:49 +02:00
Nika Layzell
e71ae1642c Bug 1535486 - Handle the element type correctly with rust XPCOM types, r=mccr8
Before the Array<T> type, the calltype argument could be in, out, or inout,
however with Array<T> the element type was added.

When I added Array<T>, I changed the checks in files which check calltype !=
'in' to instead check 'out' in calltype, such that element would act more like
in in most cases (not adding the outparam *).

However, I never made that change for rust code, as it didn't support Array<T>
at the time. When I turned on Array<T> support for rust code, I forgot to go
through and change the conditions, which lead to this bug.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 21:32:59 +00:00
David Walsh
dd65f15097 Bug 1537596 - Make shift-click toggle all breakpoint states per line r=loganfsmyth
Implements a function to enable or disable all breakpoints on a line based on shift-clicking. Uses the first breakpoint's state to decide whether to enable or disable all.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:43:41 +00:00
Brian Hackett
81e54c6f8e Bug 1537657 - Detach from workers when navigating, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D24434

--HG--
extra : moz-landing-system : lando
2019-03-21 22:06:14 +00:00
monikamaheshwari
d0003fb1d7 Bug 1533485 - nsNSSCertificateDB::handleCACertDownload shouldn't assert that it got a non-zero number of certificates r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D23921

--HG--
extra : moz-landing-system : lando
2019-03-22 17:29:48 +00:00
Eugen Sawin
2276021d2f Bug 1530789 - [2.0] Initialize the SafeBrowsing module only in the parent process. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D21422

--HG--
extra : moz-landing-system : lando
2019-03-22 20:46:04 +00:00
Eugen Sawin
d94b0ddbac Bug 1530789 - [1.0] Extend Content Blocking API: cryptomining protection. r=geckoview-reviewers,dimi,snorp,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21410

--HG--
extra : moz-landing-system : lando
2019-03-22 20:44:55 +00:00
Brian Grinstead
041f01f61f Bug 1536752 - Remove sync pane from about:preferences when identity.fxaccounts.enabled is false r=Gijs
This fixes a bug in where we render out the text content of the template when searching.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 20:49:53 +00:00
Cosmin Sabou
9dcd478ae7 Backed out changeset 10c036ba7c48 (bug 1533584) for devtools failures on browser_storage_values.js. CLOSED TREE 2019-03-22 23:58:44 +02:00
Drew Willcoxon
ad4b3ecfcb Bug 1538117 - Fix autofill when typing the last character of an autofilled value. r=mak
_autofillValueOnInput correctly uses the placeholder string as the autofilled value, but it incorrectly uses _lastSearchString as the current input value.  _lastSearchString at that point is -- yes -- the previous search string, not what the user has just typed.  So when _autofillValueOnInput sets selectionStart to _lastSesarchString.length, the length is one char less than what it should be.

But why does that mess up only the last char typed and not every char?  Because when the first result comes in, we correctly autofill it.  It's only when the first result is not an autofill result that the incorrect placeholder autofill sticks around -- e.g., just after you type the last char in an @ alias.

This patch just gets rid of _autofillValueOnInput and inlines the body in _maybeAutofillOnInput.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 20:34:44 +00:00
Trushita
8b48c1eb38 Bug 1154295 - use normal formatting for plaintext documents in reader mode r=Gijs
Before this change the plain text document in reader mode was not formatted/styled properly.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 20:08:56 +00:00
Luca Greco
627967aa61 Bug 1533638 - Prevent XPIProvider.getNewSideloads from rejecting if one of the sideloaded extensions is invalid. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D22735

--HG--
extra : moz-landing-system : lando
2019-03-22 19:50:16 +00:00
Geoff Brown
bb9052c9e2 Bug 1529238 - Avoid TypeError in 'mach test <reftest> --verify'; r=bc
Remove the troublesome log options once they have been used.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:52:07 +00:00
Chris H-C
1e8280c2f0 Bug 1536805 - Tell codespell 'whats' is a valid word r=ahal
Depends on D24263

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:32:59 +00:00
Chris H-C
8f54671be2 Bug 1536805 - Document Origin Telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24263

--HG--
extra : moz-landing-system : lando
2019-03-22 19:32:00 +00:00
Ehsan Akhgari
bc006fa88e Bug 1533584 - Enable capping the maximum life-time of client-side cookies to seven days on Nightly; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D24098

--HG--
extra : moz-landing-system : lando
2019-03-22 06:01:27 +00:00
Ehsan Akhgari
0380c66b4a Bug 1533763 - Enable setting the default referrer policy for third-party tracking resources to strict-origin-when-cross-origin when Enhanced Tracking Protection is turned on in Nightly; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D24099

--HG--
extra : moz-landing-system : lando
2019-03-22 06:01:59 +00:00
srujana
9847052e21 Bug 1212103 : Added assert to check if the id is exceeding bounds of signed 32 bit integer r=jld
Added assert to check if the id is exceeding bounds of signed 32 bit integer.

```
x < (1<<29)
x+1 <= (1<<29)
((x+1)<<2) <= (1<<31)
((x+1)<<2)  | (two bit tag t)<= (1<<31)
```

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:06:02 +00:00
championshuttler
677714a968 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536

--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +00:00
Alex Gaynor
6039e80432 Bug 1513911 - Part 3 - replace PIndexedDBPermissionRequest with async returns in IPC; r=asuth
This removes the only case of an IPDL protocol which has two implementors.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:14:01 +00:00
Julian Descottes
fda43987c4 Bug 1537877 - Update getDocumentWalker to fallback to non-anonymous walker;r=pbro
Except for rawParentNode, all consumers of getDocumentWalker should be ok with this fallback.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:43:08 +00:00
arthur.iakab
8869433083 Backed out 3 changesets (bug 1529232) for xpcshell failures on test_TelemetryController.js CLOSED TREE
Backed out changeset f2935b75f9dc (bug 1529232)
Backed out changeset 8ca8be52ca57 (bug 1529232)
Backed out changeset ed20a4120896 (bug 1529232)
2019-03-22 22:26:23 +02:00
Luca Greco
ab09637b22 Bug 1533172 - Show post install notification when enabling sideload extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D22700

--HG--
extra : moz-landing-system : lando
2019-03-22 19:19:35 +00:00
arthur.iakab
5603c2a4e1 Backed out changeset c3d4eb5b3b22 (bug 1536805) for causing Eslint failure on /telemetry/docs/collection/origin.rst:115 CLOSED TREE 2019-03-22 21:11:36 +02:00
Doug Thayer
a794a12c8c Bug 1441308 - Always send parent commands when sending mDestroyedActors r=kats,sotaro
If we try to send them separately as we were before, we can run into
cases where we try to destroy the actors and then send the OpRemoveTexture,
which crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:29:04 +00:00
Doug Thayer
3f608fab0a Bug 1441308 - Support moving Maybe's in IPC serialization r=mccr8
I'd like to move an ipc::ByteBuf member of a struct into a Maybe,
and in order for that to work IPDLParamTraits<Maybe> needs to support
the rvalue Write.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:29:00 +00:00
Doug Thayer
c734d845d0 Bug 1441308 - Map document layers to z ranges r=gw
As discussed in IRC. AFAICT the ORTHO_NEAR|FAR_PLANE should match
up with the ranges of valid ZBufferIds, but please double-check
me.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:51 +00:00
Doug Thayer
09c427ac55 Bug 1441308 - Correct Renderer issues with multiple documents r=gw
This corrects A) An issue encountered with our strategy for skipping
the end_pass call for all but an offscreen render target. See the
comment above the end_pass call for details, and B) An issue with
depth clearing where we do not clear the whole rect if there are
multiple non-intersecting documents.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:46 +00:00
Doug Thayer
45b7708846 Bug 1441308 - Rename ForEach trait to AsyncForEach r=lsalzman
Just a little rename for clarity - I ended up scratching my head at
something for a little more time than I should have because I assumed
this was synchronous without looking at the implementation.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:38 +00:00
Doug Thayer
b172543596 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:42 +00:00
Doug Thayer
b78a7a9c81 Bug 1441308 - Add the render root splitting pref r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D12844

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:31 +00:00
Lee Salzman
fad3958ac4 Bug 1495400 - don't draw non-scalable FT faces as paths. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D24416

--HG--
extra : moz-landing-system : lando
2019-03-22 17:52:48 +00:00
Florian Quèze
dbd7ac1015 Bug 1523609 - avoid triggering nsChromeRegistryChrome::CheckForNewChrome (which does main thread I/O) during shutdown of system add-ons, r=kmag.
Differential Revision: https://phabricator.services.mozilla.com/D22380

--HG--
extra : moz-landing-system : lando
2019-03-22 14:19:59 +00:00