Commit Graph

650002 Commits

Author SHA1 Message Date
Gérard Talbot
938ceee311 Bug 1541685 [wpt PR 16169] - Corrected 1 error in calc-numbers.html, a=testonly
Automatic update from web-platform-tests
Corrected 1 error in calc-numbers.html

--

wpt-commits: 3419750ac87c9f227bd1aafc8433ed4a9183728f
wpt-pr: 16169
2019-05-03 18:30:28 +01:00
L. David Baron
885b6e16a8 Bug 1541680 [wpt PR 16166] - Sync Mozilla CSS tests as of 2019-03-31, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/c06dfc552c647a6ce96f35cd84c32a589dc85608 . (#16166)

This contains changes from:
* [bug 1503173](https://bugzilla.mozilla.org/show_bug.cgi?id=1503173) by @dholbert, reviewed by @emilio
* [bug 1514843](https://bugzilla.mozilla.org/show_bug.cgi?id=1514843) by @dholbert, reviewed by @aethanyc
--

wpt-commits: f24d88b7d2cd2d851533e9c1180b1c5c5d118bc3
wpt-pr: 16166
2019-05-03 18:30:28 +01:00
autofoolip
7041f58b79 Bug 1541673 [wpt PR 16161] - Update interfaces/performance-timeline.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/performance-timeline.idl (#16161)

Source: https://github.com/tidoust/reffy-reports/blob/b9c153c/whatwg/idl/performance-timeline.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/513365425
--

wpt-commits: ecb5ceb84abcab34640cdbaf3d282b7bcb4029b5
wpt-pr: 16161
2019-05-03 18:30:27 +01:00
Mike West
5d97d5b52c Bug 1541670 [wpt PR 16148] - Send Sec-Fetch-User only for user-activated, navigational requests., a=testonly
Automatic update from web-platform-tests
Send `Sec-Fetch-User` only for user-activated, navigational requests.

As per the conversation in mikewest/sec-metadata#23 and
mikewest/sec-metadata#19, this patch drops the `Sec-Fetch-User` header
for non-navigational requests, and for navigational requests that are
not user-activated.

Bug: 947444
Change-Id: Ica4846bda6ccf4e8bce1323803954f4fef9c18a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1545871
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#646086}

--

wpt-commits: b93752a06f9498f774aed288663259cd738f1a7c
wpt-pr: 16148
2019-05-03 18:30:27 +01:00
Aleks Totic
143cacd04f Bug 1541665 [wpt PR 16158] - [LayoutNG] Fix nested legacy oof descendants, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix nested legacy oof descendants

Another fix for "Legacy OOF descendant did not get laid out"

The cause here was:
- if #container had a legacy descendant, and
- legacy descendant had an oof descendant whose containing block was
#container, that oof descendant would get added to #container's list
of legacy oof, but would never get laid out.

This bug was hidden, because it would not happen if layout happened
twice, which we often do.

Seen in the wild at https://www.humblebundle.com/ when scrolling down.

Bug: 946986
Change-Id: I183f3d5dfe79b49c5c6aadad0ee2cfcb8bb6849f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546713
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Auto-Submit: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#646077}

--

wpt-commits: 94cd32e64d89b561b803355c299c9db5908e0cb1
wpt-pr: 16158
2019-05-03 18:30:26 +01:00
Jan Varga
827b401e30 Bug 1513915 - Followup patch to increase requesttimeoutfactor for test_snapshotting.js; r=asuth 2019-05-03 18:10:11 +02:00
Daniel Varga
2b81f4d301 Backed out 2 changesets (bug 1544105) for build bustages. On a CLOSED TREE
Backed out changeset 215c2693d281 (bug 1544105)
Backed out changeset 16d5af6fd55c (bug 1544105)
2019-05-03 19:12:48 +03:00
Andrew Osmond
523648d4df Bug 1524280 - Add logging for crash reports to help diagnose why the buffer is missing. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D29829
2019-05-03 11:26:46 -04:00
Andrew Osmond
c27972ceb6 Bug 1544105 - Part 2. Add new gfx driver vendor field to telemetry and about:support. r=jrmuizel,chutten,flod data-r=bmiroglio
Expose the driver vendor information (applies to Linux only at this
moment) to crash report telemetry and about:support. This will be useful
when debugging issues to know specifically what driver is in use.

Also expose the monitor information for Linux. Part 1 provides an
implementation to get the monitor information on said platform.

Differential Revision: https://phabricator.services.mozilla.com/D29472
2019-05-03 11:16:59 -04:00
Andrew Osmond
c4dec73816 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 11:13:26 -04:00
Jan Varga
864dcf0703 Bug 1513915 - LSNG: LoadItem could return more items (up to the prefill limit); r=asuth,jld
Differential Revision: https://phabricator.services.mozilla.com/D26476
2019-04-08 10:56:19 +02:00
Dorel Luca
7fad0f300a Merge mozilla-central to mozilla-inbound 2019-05-03 16:12:49 +03:00
Dorel Luca
38b93d753b Merge mozilla-inbound to mozilla-central. a=merge 2019-05-03 16:01:03 +03:00
Andrew Osmond
924df4bbf5 Bug 1540200 - Part 3. Reuse snapping offsets calculated on the CPU in the WebRender shaders. r=kvark
Historically we calculated the snapping offsets in the GPU shaders.
Because this information is always needed on the CPU side, we now just
pass the values into the shader instead of recalculating again. This
ensures we will use the same set of values consistently and makes it
easier to adjust how we snap in the future.

This patch should have no functional change on the output of WebRender
itself.

Differential Revision: https://phabricator.services.mozilla.com/D28883
2019-05-03 07:57:18 -04:00
Andrew Osmond
10cbd1789c Bug 1540200 - Part 2. Calculate snapped primitive rect and offsets for WebRender on the CPU. r=kvark
We currently do most snapping on the GPU in the shader. However the
picture's local rect needs to take into account the snapping done there,
so we need to calculate this earlier in the pipeline. Instead of using
the clipped primitive local rects to create the picture's own local
rect, we now snap the child local rects first. If no snapping is
required, there should be no functional change. If snapping is required,
there should be fewer visual distortions caused by an inaccurate picture
local rect.

Differential Revision: https://phabricator.services.mozilla.com/D28882
2019-05-03 07:57:18 -04:00
Andrew Osmond
2602fd0f0b Bug 1540200 - Part 1. Move picture local rect calculation to update visibility. r=kvark
We currently calculate a picture's local rect when we are doing the
first picture traversal. It was composed of the union of the clipped
local rects of its children. However the true local rect of a picture is
the union of the snapped clipped local rects of its children. The
snapping is done in device space, but we won't know the exact transform
until we establish the raster roots, which is based on the picture's
local rect.

As such, we create an estimated local rect which is how we currently
calculate the local rect. Then once the raster roots have been selected,
we recalculate the local rect of the picture based on its children
during update visibility.

This patch should have not contain any functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D28881
2019-05-03 07:57:18 -04:00
Emilio Cobos Álvarez
3c2d0ec307 Bug 1547848 - Lay out a cross-origin iframe on a test before calling getComputedStyle on its content window.
So that it's guaranteed to work after bug 1440537. See the other test fixes in
that bug for similar things.
2019-05-03 13:05:44 +02:00
Gijs Kruitbosch
c1c14ab7ad Bug 1539759 - improve DTD entity handling, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D27904

--HG--
extra : moz-landing-system : lando
2019-05-03 09:13:58 +00:00
Daniel Varga
bf77e2d7ed Backed out 7 changesets (bug 1392408) for mochitest failures at test_xhr_withCredentials.html and xpcshell failures at test_startup_(no)session_async.js
Backed out changeset 05656abf3e6c (bug 1392408)
Backed out changeset ac9c08f90cd0 (bug 1392408)
Backed out changeset 855b8dd227f9 (bug 1392408)
Backed out changeset 9c3b9f800a0c (bug 1392408)
Backed out changeset 2a64ecfab240 (bug 1392408)
Backed out changeset b765eaf69bcb (bug 1392408)
Backed out changeset 337d93c03c2e (bug 1392408)
2019-05-03 11:56:25 +03:00
Jan Varga
2ffe8c9056 Bug 1548748 - OriginInfo needs to be destroyed too if origin clearing is invoked for a specific quota client and there's no other quota client left; r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D29801
2019-05-03 10:29:42 +02:00
Jonathan Kew
b0dd634187 Bug 1548661 - Enable word-cache expiration timer up through early beta, to monitor stability in the wild. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D29743

--HG--
extra : moz-landing-system : lando
2019-05-03 00:15:25 +00:00
Jan de Mooij
df3e7047f4 Bug 1544792 - Abort on try-catch blocks when doing definite properties analysis. r=nbp
Ion does not compile the catch block so the analysis fails to account for code
there.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:51:24 +00:00
Julian Descottes
aadde2aead Bug 1548569 - Fire event from ADB track-devices to unblock aboutdebugging initialization r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D29675

--HG--
extra : moz-landing-system : lando
2019-05-03 08:11:54 +00:00
Jan de Mooij
c4167e27e8 Bug 1541404 part 19 - Add BaselineInterpreter class and use it in various places. r=tcampbell
I considered adding BaselineInterpreter.{h,cpp} files but there are shared
helper functions so this might get awkward. Maybe once the rest of the code is
in we can experiment with changes in this area.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 07:42:31 +00:00
Ola Gasidlo
9dda0571c2 Bug 1547182 - Added borders for error / warning messages r=jdescottes
Added borders for error / warning messages. Reduced line height in message body. Added more space between device list / message and refresh device button

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

--HG--
extra : moz-landing-system : lando
2019-05-03 07:32:32 +00:00
Emilio Cobos Álvarez
b3863ed908 Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D29244

--HG--
extra : moz-landing-system : lando
2019-05-02 23:28:21 +00:00
Chris Peterson
3efc860351 Bug 1511434 - Part 3: resistFingerprinting: Spoof Android OS version 8.1 (Oreo). r=tjr
Google hasn't released new Android OS market share data since 2018-10-26 [1], but StatCounter reports [2] that Android 8.1 (Oreo) is currently the most common OS version (at about 19%). However, Android 9 (Pie) is quickly rising (currently at 11%) and appears likely to overtake 8.1 later this year.

[1] https://developer.android.com/about/dashboards/
[2] http://gs.statcounter.com/android-version-market-share/mobile/worldwide/#monthly-201803-201904

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

--HG--
extra : rebase_source : bd18cada4a2acc6fb795c521bb8a7c3325253612
2019-04-29 16:46:12 -07:00
Jan de Mooij
95888b91d6 Bug 1546228 - Check for dynamic protos in AddClearDefiniteGetterSetterForPrototypeChain. r=tcampbell
This likely was exposed to fuzzing when we added WindowProxy to the shell.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 19:36:17 +00:00
Jan de Mooij
05ef7dabfe Bug 1546594 - Move JitRuntime::generateDebugTrapHandler to shared code. r=nbp
This trampoline isn't performance sensitive so platform-specific optimizations
are not worth it.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 12:20:40 +00:00
Alexandre Poirot
fcb2aa8735 Bug 1543099 - Implement Runtime.evaluate. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D27525

--HG--
extra : moz-landing-system : lando
2019-05-02 11:55:55 +00:00
Alexandre Poirot
2731109ae0 Bug 1543099 - Split browser_runtime_executionContext into multiple functions r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D29385

--HG--
extra : moz-landing-system : lando
2019-05-02 10:11:40 +00:00
Ola Gasidlo
33220dfdc0 Bug 1547658 - fix second line cut off in sidebar item__runtime__details r=jdescottes
Fixed second line that has been cut off in the sidebar item detail of the remote runtime

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

--HG--
extra : moz-landing-system : lando
2019-05-03 07:13:09 +00:00
Coroiu Cristina
4b5438daa1 Bug 1540911 - Fix lint error r=me on a CLOSED TREE 2019-05-03 09:35:35 +03:00
Julien Cristau
cd18b00642 Bug 1548513 - fix bustage in ResizeObserver with diagnostic asserts disabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29677

--HG--
extra : moz-landing-system : lando
2019-05-03 05:38:00 +00:00
Julien Cristau
e89c321210 Bug 1540911: configure whatsnew page for DevEdition 68. r=nthomas,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D29794

--HG--
extra : moz-landing-system : lando
2019-05-03 05:18:07 +00:00
Masayuki Nakano
006066d2ee Bug 1546888 - Make editor public methods which may be canceled by clipboard event listener return NS_SUCCESS_DOM_NO_OPERATION when it's canceled r=m_kato
This patch makes editors return new error code internally when clipboard event
is dispatched and canceled by script.  This is for making each caller stop
handling the edit action.  However, it's not actual failure.  Therefore, making
public methods return `NS_SUCCESS_DOM_NO_OPERATION` instead via
`EditorBase::ToGenericNSResult()`.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 08:39:53 +00:00
Gurzau Raul
bf5404331b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 07:22:56 +03:00
Gurzau Raul
b4e790d05f Merge inbound to mozilla-central. a=merge 2019-05-03 07:16:59 +03:00
Masayuki Nakano
ad65eafe7c Bug 1547869 - Make IsCommandEnabled() of HTML editor command classes return false if given editor is TextEditor r=smaug
Currently, this bug does not occur actually because nobody has not accessed
these command classes directly and they are registered only in command table
for HTML editor.  However, once rewriting `nsHTMLDocument::ExecCommand()` with
these classes, its `IsCommandEnabled()` should return false if given editor
is `TextEditor`.  The reason why we need this fix is, when we make
`ExecCommand()` call `IsCommandEnabled()` and it returns `true`, `ExecCommand()`
needs to call `DoCommand()`.  Then, it throws exception if given editor is not
an `HTMLEditor` but the command class is only for `HTMLEditor`.

This patch adds new WPT for testing whether `document.execCommand()` works
with `<input>` and `<textarea>`.  The behavior has not been standardized, but
Chromium handles some commands even in it.  So, I write the expectations from
the point of view of web developers.  (Chrome fails in "cut", "copy" and
"removeformat" cases.)

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:15:18 +00:00
Csoregi Natalia
265d1c1b45 Backed out changeset 6159d01c9341 (bug 1540984) for assertion failures on Allocator.cpp:157. 2019-05-03 03:38:48 +03:00
Bogdan Tara
6d06f3decd Backed out 5 changesets (bug 1546138) for WasmTypes.h related spidermonkey builds bustages
Backed out changeset f9d1ae270d58 (bug 1546138)
Backed out changeset 094145132b7f (bug 1546138)
Backed out changeset 9f78bcde2e81 (bug 1546138)
Backed out changeset 54beb5e36110 (bug 1546138)
Backed out changeset 2b42fdbc6f6b (bug 1546138)
2019-05-03 02:28:05 +03:00
Myk Melez
bfe7c7e0b4 Bug 1547877 - enable configuration of new cert storage implementation r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29306

--HG--
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez
926c25f9a4 Bug 1547877 - enable configuration of new Notification Store implementation r=mossop,lina
Differential Revision: https://phabricator.services.mozilla.com/D29305

--HG--
rename : dom/notification/NotificationDB.jsm => dom/notification/new/NotificationDB.jsm
rename : dom/notification/NotificationDB.jsm => dom/notification/old/NotificationDB.jsm
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez
1b3f6d1faf Bug 1547877 - enable configuration of new XULStore implementation r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D29304

--HG--
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/new/XULStore.jsm
extra : moz-landing-system : lando
2019-05-02 23:01:57 +00:00
Johann Hofmann
910be2ccef Bug 1547013 - Enable automatically fixing MitM errors by default. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29764

--HG--
extra : moz-landing-system : lando
2019-05-02 22:08:44 +00:00
Gurzau Raul
0068b9927d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 01:17:27 +03:00
Gurzau Raul
39cabb27e2 Merge inbound to mozilla-central. a=merge 2019-05-03 01:02:21 +03:00
Ehsan Akhgari
e4a619d01e Bug 1548432 - Part 3: Enable http-state web-platform tests; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29620

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:56 +00:00
Ehsan Akhgari
782c6b7440 Bug 1548432 - Part 2: Ignore cookie name-value-pair strings without a "=" character; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29619

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:55 +00:00
Ehsan Akhgari
74d91664ed Bug 1548432 - Part 1: Remove the passing tests from the set of expected: FAIL annotations in http-state tests; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29618

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:55 +00:00