Commit Graph

658154 Commits

Author SHA1 Message Date
Ed Lee
990c293970 Bug 1562320 - Add Release discovery, AMO telemetry and bug fixes to Activity Stream r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D36389

--HG--
extra : moz-landing-system : lando
2019-06-28 22:48:38 +00:00
Rob Wu
8656cd8516 Bug 1561909 - Add test for WebSocket requests in proxy.onRequest r=mixedpuppy
The main purpose of this test is to verify that the `proxy.onRequest`
event captures WebSocket requests.

We also get the following additional coverage for free:

- actual requests with wss: scheme (the only other extension test
  that uses WebSocket, via ws:, is test_ext_webRequest_webSocket.js).

- intercepting requests of other extensions via the proxy API.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 19:35:42 +00:00
Narcis Beleuzu
dcc603a037 Backed out changeset 2719ba46ac12 (bug 1551601) for causing xpcshell failures. CLOSED TREE 2019-06-29 02:41:31 +03:00
Narcis Beleuzu
cc10ed7ce5 Backed out 2 changesets (bug 1553705) for causing Bug1562142 . CLOSED TREE
Backed out changeset fbb26a04ec1f (bug 1553705)
Backed out changeset dd6e7c0970d5 (bug 1553705)
2019-06-29 02:39:01 +03:00
Daosheng Mu
d655bca549 Bug 1556091 - Making dom.vr.enabled to be Live. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D35452

--HG--
extra : moz-landing-system : lando
2019-06-28 22:02:14 +00:00
Sam Foster
790aa6af69 Bug 1548391 - Add a contextmenu item to fill a password field with a generated password. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D35592

--HG--
extra : moz-landing-system : lando
2019-06-28 22:03:57 +00:00
Jared Wein
fc4c05eaae Bug 1562254 - Add favicon for about:logins page. r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D36391

--HG--
extra : moz-landing-system : lando
2019-06-28 22:00:17 +00:00
Kearwood "Kip" Gilbert
816af12bb5 Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky
gfxVRPuppet will be replaced with a fully asynchronous puppet automation that runs in the VR process.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:19:54 +00:00
Ting-Yu Lin
c5048ca650 Bug 1562122 Part 4 - Return early in the overflow incomplete case, and add an assertion for the bound of final block size. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D36291

--HG--
extra : moz-landing-system : lando
2019-06-28 21:21:15 +00:00
Ting-Yu Lin
1524471e5a Bug 1562122 Part 3 - Delete the duplicate logic computing the final block size. r=dholbert
After the deleted logic

```
aFinalSize.BSize(wm) =
    std::max(aReflowInput.AvailableBSize(), aContentBSize);
```

aStatus changes to incomplete, so it computes the same thing again.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:21:06 +00:00
Ting-Yu Lin
a57bb370a3 Bug 1562122 Part 2 - Replace effectiveComputedBSize with computedBSizeLeftOver. r=dholbert
No need to call GetEffectiveComputedBSize() twice.

Also, calling aState.ConsumedBSize() instead of using
aState.mConsumedBSize directly because the accessor function caches
mConsumedBSize properly when it is called the first time.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:21:03 +00:00
Ting-Yu Lin
bf4acb9116 Bug 1562122 Part 1 - Move the logic after ComputeFinalBSize() into ComputeFinalBSize(). r=dholbert
This patch only moves the logic, and rename some variables. More
clean-up follows.

Note in the middle of ComputeFinalBSize(), ShouldAvoidBreakInside() can
do early return under the condition that aStatus is complete. The logic
moved in this patch is executed only when aStatus is *incomplete*, so no
behavior is changed after applying this change.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:20:54 +00:00
Jared Wein
9506c850a9 Bug 1559303 - Set the fill color of the Lockwise logo from CSS so it will be visible in light and dark mode. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D36190

--HG--
extra : moz-landing-system : lando
2019-06-28 20:08:06 +00:00
Masayuki Nakano
15b95c47c4 Bug 1444847 - part 6: Make HTMLEditRules::PinSelectionToNewBlock() use StaticRange instead of nsRange for temporary use r=smaug
This patch makes `HTMLEditRules::PinSelectionToNewBlock()` use `StaticRange`
instead of `nsRange` for comparing a point and a range (i.e., the DOM tree
won't be changed during it's alive).  Unfortunately, we still have allocation
cost, but we can save the cost of registering and unregistering mutation
observer and computing common ancestor of the range.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:50:34 +00:00
jaril
6e05066510 Bug 1548369 - Render an SVG in the gap between the token and the preview where it shouldn't unrender the preview right away (WIP)
Still WIP

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:17:51 +00:00
Boris Zbarsky
b9289cedad Bug 1560055 part 7. Remove now-unused percentage handling in ParseHTMLInteger. r=mccr8
All callers treat '%' being found the same as not having consumed all the input,
so we can just stop consuming it.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 17:39:52 +00:00
Boris Zbarsky
9abd9bd6cd Bug 1560055 part 6. Add a test for reflection of percentage values and fix our one failure there. r=mccr8
Our new behavior should align with the Blink/WebKit behavior and the current
spec, though I also filed https://github.com/whatwg/html/issues/4737 on the spec
for the fact that dimension attributes reflecting as integers is a bit weird

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:01:35 +00:00
Boris Zbarsky
4530e9a97e Bug 1560055 part 5. Fix various reflection cases that should be using GetUnsignedIntAttr but are using GetIntAttr. r=mccr8
It mostly works out, because we return an int32_t then just cast it to uint32_t,
but it would be better to return the right thing to start with.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:57:44 +00:00
Boris Zbarsky
7719c7c3c4 Bug 1560055 part 4. Remove remaining uses of ParseSpecialIntValue. r=mccr8
We don't need to parse 'width' on <tr> because we never use the parsed value for
anything and neither does the spec.

We don't need to parse 'charoff' on <col> because we never use that for anything
either, and neither does the spec.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:00:15 +00:00
Boris Zbarsky
3dd95a2c8f Bug 1560055 part 3. Switch various "width" and "height" attributes on HTML elements to mostly follow the spec for parsing the attribute. r=mccr8
The spec allows non-integer values, but we don't have a good way to store them
in nsAttrValue yet.  See https://bugzilla.mozilla.org/show_bug.cgi?id=1561440

HTMLTableCellElement::MapAttributesIntoRule can now call
MapImageSizeAttributesInto instead of manually mapping width and height, because
0 values (which it was excluding before) are now excluded at attribute parse
time.

For 'width' on HTMLTableElement I kept our old behavior for 0, which matches the spec
but not Safari or Chrome.

For 'height' on HTMLTableElement I kept our old behavior for 0, which matches
Safari and Chrome but not the spec.  https://github.com/whatwg/html/issues/4715
tracks a possible spec change.

Same thing for 'height' on HTMLTableRowElement.

Same thing for 'width' on HTMLTableColElement.

The ParseImageAttribute call in HTMLMediaElement is not needed, because
HTMLAudioElement does not map any of those to style and HTMLVideoElement only
maps width/height, which it already parses.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:56:55 +00:00
Boris Zbarsky
2e218ac638 Bug 1560055 part 2. Switch frame/iframe marginwidth/height parsing to follow the spec. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36126

--HG--
extra : moz-landing-system : lando
2019-06-28 20:54:30 +00:00
Boris Zbarsky
a19c0f7558 Bug 1560055 part 1. Introduce a function to do what the HTML spec calls "parsing dimension values". r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36125

--HG--
extra : moz-landing-system : lando
2019-06-28 20:49:48 +00:00
Valentin Gosu
8c3c48e159 Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35839

--HG--
extra : moz-landing-system : lando
2019-06-28 21:10:13 +00:00
Hiroyuki Ikezoe
cc47e0d6ef Bug 1562105 - Bail out if the style frame for the scrollable frame is null in ScrollFrameHelper::IsSmoothScroll. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D36303

--HG--
extra : moz-landing-system : lando
2019-06-28 16:45:54 +00:00
Mike Hommey
b53fa7eb49 Bug 1561632 - Back out bug 1554987. r=ahal
Bug 1554987 made `mach try` use a transient remote, but that causes
problems with existing setups that happen to use the same remote name,
because of a combination of not-quite-as-documented-as-it-should
behavior of git.

- `git -c foo.bar=qux` doesn't override the value of `foo.bar` from the
  git configuration when `foo.bar` is an item that can take several
  values.
- `remote.$remote.url` and `remote.$remote.pushurl` take several values,
  allowing to give several URLs.

The combination of both means that if the git configuration already has
`remote.try.url` set, that value takes precedence (because git push
tries them one after the other, and takes the one from the command line
last)

One way we could increase the chances of things working out fine would
be to use `remote.try.pushurl`, which if already set, is more likely to
be right than an existing `remote.try.url`.

OTOH, it turns out, after more investigation, that bug 1554987 requires
a footgunny setup to happen in the first place. Namely, it requires
having run `git lfs install` from a git-cinnabar clone.

so we just go back to the previous status quo.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 15:58:36 +00:00
Daniel Holbert
2bfc73da09 Bug 1476127: Implement 'contain:size' for select elements. r=TYLin
Note that this is an imperfect implementation, in that it doesn't exactly
match the sizing behavior of a truly empty `<select>` element.  I've filed
followup bug 1562057 on that.  However, the behavior that's implemented
here *does* successfully make us ignore a `<select>`'s contents for sizing
purposes, and it's much better than what we do currently (which is pretty
broken via inheriting a partial `contain:size` implementation from our
parent class, nsBlockFrame).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:32:13 +00:00
Boris Chiou
b5a2513e31 Bug 1534884 - Add new animation warning for animations overridden by important rules. r=birtles
We move the check of important rule and animation level into
KeyframeEffect::ShouldBlockAsyncTransformAnimations(), and add a new warning
for it.

Note:
1. ShouldBlockAsyncTransformAnimations() only cares about transforms. And
   for other compositor animation properties, we count on
   HasEffectiveAnimationOfPropertySet() (in IsMatchForCompositor()).
2. If we check the important rules in both
   EffectCompositor::HasAnimationsForCompositor() and
   ActiveLayerTracker::IsTransformMaybeAnimated(), we may get the incorrect
   animation warnings (i.e. TransformFrameInactive). In most cases, we
   check these two functions together, so perhaps move the check of important
   rules outside HasEffectiveAnimationOfPropertySet() is fine.
   Besides, ActiveLayerTracker just tracks if there is a style change on this
   property (or display item) on the active layers, so should be OK to not
   check important rules in it.

So IsMatchForCompositor() should check all transform-like properties,
instead of each one, to get the correct result. (That's why we have to
refactor KeyframeEffect::GetPropertiesForCompositor() as well.)

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

--HG--
extra : moz-landing-system : lando
2019-06-28 18:18:08 +00:00
Botond Ballo
969a60d6a2 Bug 1561726 - Add a test to exercise dragging the viewport scrollbar. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D34259

--HG--
extra : moz-landing-system : lando
2019-06-28 20:23:36 +00:00
Botond Ballo
5a017eafd4 Bug 1561726 - Modify dragVerticalScrollbar() to support dragging the viewport scrollbar as well. r=kats
Dragging the viewport scrollbar is accomplished by passing in a window
rather than an element.

Note that we can't just pass in the window's document.documentElement,
because coordinatesRelativeToScreen() would not give the correct result
for it. This is turn is because for a scrollable <div>, getBoundingClientRect()
returns the scroll frame's outer rect, but for the <html> element,
getBoundingClientRect() returns the root scroll frame's inner rect.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:23:08 +00:00
Botond Ballo
495e109d82 Bug 1561726 - Add an nsIDOMWindowUtils API for querying the size of layout scrollbars. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D34257

--HG--
extra : moz-landing-system : lando
2019-06-28 20:22:49 +00:00
Botond Ballo
666b9a0760 Bug 1561726 - Add an nsIContent overload of nsLayoutUtils::FindScrollableFrameFor. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D34256

--HG--
extra : moz-landing-system : lando
2019-06-28 20:22:37 +00:00
Masayuki Nakano
8d6b106ff6 Bug 1444847 - part 5: Make HTMLEditRules::ExpandSelectionForDeletion() use StaticRange instead of nsRange for temporary use r=smaug
This patch makes `HTMLEditRules::ExpandSelectionForDeletion()` use `StaticRange`
instead of `nsRange` for comparing a point and a range (i.e., the DOM tree
won't be changed during it's alive).  Unfortunately, we still have allocation
cost, but we can save the cost of registering and unregistering mutation
observer and computing common ancestor of the range.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:50:32 +00:00
Tom Ritter
26d40d0bf2 Bug 1562239 - Disable mingwclang builds temporarily until we can update the APIs r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D36345

--HG--
extra : moz-landing-system : lando
2019-06-28 17:12:37 +00:00
Adam Gashlin
2b3a91bf60 Bug 1508430 - Add option to list tasks in try again history r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36145

--HG--
extra : moz-landing-system : lando
2019-06-28 19:17:11 +00:00
Nikki Sharpley
cd5919d8dd Bug 1561421 - [mozlog] Update mozlog docs and version to 4.2.0 r=ahal
The mozlog documents have been updated to reflect the addition of a `known_intermittent`
parameter in `test_status` and `test_end` included in the `StructuredLogger`, and across
multiple mozlog handlers and formatters.

As this was a major change, the version has been bumped to 4.2 for the next pypi release.

Web-platform-tests will eventually require this update in order for future patches related
to `known_intermittent` statuses to merge upstream.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 19:35:55 +00:00
Narcis Beleuzu
a89b67e772 Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for toolchain bustages on UniquePtrExtensions.h . CLOSED TREE
Backed out changeset a8518ea4b594 (bug 1479960)
Backed out changeset 7172762c4b87 (bug 1536697)
Backed out changeset 2ea5ccb8f3a1 (bug 1426526)
Backed out changeset d892a888fe9c (bug 1426526)
Backed out changeset 2c4d12bdfec3 (bug 1479960)
Backed out changeset 8a322064cf6d (bug 1479960)
Backed out changeset 47d387b6cd4a (bug 1479960)
Backed out changeset 8332565a6943 (bug 1479960)
Backed out changeset 9d7f1835f96f (bug 1479960)
Backed out changeset 0aa8af4965c5 (bug 1479960)
Backed out changeset 036809330a51 (bug 1479960)
Backed out changeset 39e18373e3d3 (bug 1479960)
Backed out changeset 6c2b995a9d30 (bug 1479960)
Backed out changeset 3c2b31744645 (bug 1534780)
Backed out changeset 26bb00a94d5d (bug 1534780)
2019-06-28 22:42:00 +03:00
championshuttler
60ba27adf8 Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (3). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35314

--HG--
extra : moz-landing-system : lando
2019-06-26 20:00:31 +00:00
championshuttler
e2b2c11969 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc' (2). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35309

--HG--
extra : moz-landing-system : lando
2019-06-25 12:02:51 +00:00
championshuttler
3303d92a29 Bug 1536103 - Fix Sphinx Warning - Unexpected indentation (1). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35304

--HG--
extra : moz-landing-system : lando
2019-06-28 18:33:19 +00:00
Emilio Cobos Álvarez
141cad6847 Bug 1519958 - Drive by, remove unused CSS keywords. r=boris
While we're at it we may as well do this.

Differential Revision: https://phabricator.services.mozilla.com/D36350
2019-06-28 21:15:01 +02:00
Emilio Cobos Álvarez
bb56a14ed1 Bug 1562269 - Serialize grid-auto-rows / grid-auto-columns with Servo. r=boris
Two less properties, now that we're not using nsStyleCoord for them we can do
this.

Unfortunately the grid resolved value code needs to serialize it still, so this
doesn't remove as much code.

Also fix the script since the generated file was renamed.

Differential Revision: https://phabricator.services.mozilla.com/D36349
2019-06-28 21:14:56 +02:00
Sam Foster
12d1d3094d Bug 1548878 - Add telemetry for when a generated password is first filled. r=MattN
* recordEvent for telemetry from the parent process when a generated password is filled via the context menu
* Extend existing mochitest-plain test to verify the expected telemetry events are recorded
* Add a filled flag to the generated password we store in the per-origin cache
  - And use it to distinguish a first-fill from a subsequent re-use of each generated password

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

--HG--
extra : moz-landing-system : lando
2019-06-28 18:12:24 +00:00
Geoff Brown
945ee0068f Bug 1556058 - Update test expectations for Android 7.0 reftests; r=kats
These changes are needed for consistently green runs with the new emulator with
"-gpu on".
Most changes are simple removal of fuzzy-if(geckoview) but I also needed to add
at least one new fuzzy-if.
In this configuration we can run reftests in just 2 chunks (20 minutes each on
opt/30 minutes on debug).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 17:30:48 +00:00
Geoff Brown
00ee665a1f Bug 1556058 - Update test expectations for Android 7.0 mochitests and run opt as tier 1; r=snorp
Updating to the new emulator avoids the network oddities observed in bug 1534732, but
there are a couple of tests that need to be skipped for a consistently green run.
Performance is improved, so we can run in fewer chunks. /opt is reliable, so moving
to tier 1; /debug is reliable except for existing perma-fail bug 1560736.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 17:30:48 +00:00
Geoff Brown
7a298cda7f Bug 1556058 - Upgrade the emulator used for most Android 7.0 tests; r=aerickson
Upgrade to version 29.0.11 of the emulator and use '-gpu on' rather than
swiftshader_indirect, for most Android 7.0 tests. The upgrade appears to
finally resolve bug 1534732, improves reftest performance dramatically, and
allows us to reduce reftest "fuzz" for many tests.
marionette tests are excluded because they intermittently fail with network
errors (address in use); these tests are near end-of-life, so I don't think
this issue is worth investigating, but I'll file a follow-up bug to record
the issue.
web-platform tests are excluded because they are not very stable on the
existing emulator, making it difficult to compare results. I will file a
follow-up and work with :maja_zf to see if they can be upgraded soon.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 17:30:15 +00:00
Gijs Kruitbosch
72cdd37986 Bug 1557762 - ensure we define NS_FREE_PERMANENT_DATA for single-stage pgo builds, r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D35469

--HG--
extra : moz-landing-system : lando
2019-06-28 16:38:14 +00:00
Christian Holler
fa2fa5573f Bug 1435532 - Prevent/crash on large allocations in fuzzing JS shell. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D28973

--HG--
extra : moz-landing-system : lando
2019-06-28 18:59:55 +00:00
Honza Bambas
b5a80ffb5e Bug 1562233 - Add logging of CONNECT requests with headers, add possibility to disable authorization headers sanitization by a preference (default is sanitization enabled), r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D36336

--HG--
extra : moz-landing-system : lando
2019-06-28 17:50:43 +00:00
Gijs Kruitbosch
86f47aee6f Bug 1558898 - show a 'block' option for plugins in private browsing, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34899

--HG--
extra : moz-landing-system : lando
2019-06-28 17:25:17 +00:00
Armen Zambrano G.
53bd62e369 Bug 1559975 - Python3 linting changes for raptor r=Callek,rwood
Differential Revision: https://phabricator.services.mozilla.com/D35252

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:14 +00:00