Граф коммитов

677654 Коммитов

Автор SHA1 Сообщение Дата
Francois Beaufort bd8ecf00c2 Bug 1590070 [wpt PR 19804] - [WebNFC] Add data attribute to NDEFRecord, a=testonly
Automatic update from web-platform-tests
[WebNFC] Add data attribute to NDEFRecord

This CL adds the data attribute to NDEFRecord as specified in
https://github.com/w3c/web-nfc/pull/379

Bug: 520391
Change-Id: Icab2c69d6cec95540e6f8525354e86a6937aa4e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1871369
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#708167}

--

wpt-commits: ad93565efd7161ee146a44e92c02d7339dbaf8e1
wpt-pr: 19804
2019-10-31 12:16:20 +00:00
Philip Jägenstedt e7e53409d0 Bug 1590363 [wpt PR 19824] - Convert tabs to spaces in directories with few lint errors, a=testonly
Automatic update from web-platform-tests
Convert tabs to spaces in directories with few lint errors (#19824)

To find the candidates for this change, the "INDENT TABS" exceptions
in lint.whitelist were removed and ./wpt lint` run.

The output was piped through `grep '^ERROR:lint:' | cut -d: -f3 | sort
| uniq | cut -d/ -f1 | uniq -c | sort -n`, giving the following list:

```
      1 pointerlock
      1 shadow-dom
      1 webaudio
      2 docs
      2 webvtt
      7 content-security-policy
      9 encoding
    203 conformance-checkers
   5011 css
```

Based on that, conformance-checkers, css and encoding were left alone.
--

wpt-commits: 3abb74d89e92b91567d16653e0b63d27f15a7022
wpt-pr: 19824
2019-10-31 12:16:20 +00:00
Philip Jägenstedt 0a408fcbdb Bug 1590330 [wpt PR 19822] - Replace "TaskCluster" with "Taskcluster" where possible, a=testonly
Automatic update from web-platform-tests
Replace "TaskCluster" with "Taskcluster" where possible (#19822)

This matches the Taskcluster website and our label:
https://tools.taskcluster.net/
https://github.com/web-platform-tests/wpt/labels/Taskcluster

Command use:
> git grep -l TaskCluster | xargs sed -i 's/TaskCluster/Taskcluster/g'

Occurences in tools/taskcluster/testdata/ were left alone, as they
match real historical commits/PRs with "TaskCluster" in them.
--

wpt-commits: 237825fc22f06ca12a3bff5011a668ce0f101a7c
wpt-pr: 19822
2019-10-31 12:16:19 +00:00
Rune Lillesveen fee19f58e4 Bug 1590234 [wpt PR 19815] - Don't generate pseudo element inside display:none., a=testonly
Automatic update from web-platform-tests
Don't generate pseudo element inside display:none.

We checked for non-null GetComputedStyle(), but it may also be non-null
inside display:none when ensured from getComputedStyle(). Skip
generating pseudo elements for that case. This caused a DCHECK failure
due to an incorrect marking for layout tree re-attachment inside
display:none.

Bug: 1013570
Change-Id: I75318b9d3bed1ed68dab232d90bbdc9b68655152
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872096
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708147}

--

wpt-commits: 03f4ea383cd4d9c5e8f46f9f405833e96a3a4809
wpt-pr: 19815
2019-10-31 12:16:19 +00:00
Philip Jägenstedt d3bad77ca8 Bug 1590304 [wpt PR 19820] - [Azure Pipelines] upgrade to Ubuntu 18.04 (from 16.04), a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] upgrade to Ubuntu 18.04 (from 16.04)

These jobs only run `./wpt test-jobs` and `curl`, but it's just as
well to upgrade them well before Ubuntu 16.04 is no longer supported.

--

wpt-commits: 0740bf536a0dbdb60ef76dd0cb15980ebcc86c7d
wpt-pr: 19820
2019-10-31 12:16:18 +00:00
Paul Adenot f321d6becd Bug 1592915 - Fix three warnings in `VideoFrameConverter.h` and `TestVideoTrackEncoder.h`. r=pehrsons
This warns because an expression with a side effect is inside a `static_assert` or
`sizeof`.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 12:12:19 +00:00
Jon Coppeard 902b013ad7 Bug 1592598 - Ensure CC selected zones are scheduled for GC r=sfink,mccr8
The problem is that a GC can be triggered in a number of ways, so scheduling zones in nsJSContext::GarbageCollectNow is not effective. This patch schedules these zones in the GC callback, which is always called at the start of GC. This means we have to change the internal logic slightly to allow the GC callback to schedule addional zones; previously this state was saved and restored before/after running the callback.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 21:39:07 +00:00
Cosmin Sabou 038065f636 Backed out 6 changesets (bug 1591579) for causing crashes @mozilla::dom::ArrayBufferBuilder::GetArrayBuffer. CLOSED TREE
Backed out changeset 188e5fcabf09 (bug 1591579)
Backed out changeset 0b036738dcc8 (bug 1591579)
Backed out changeset f887657889ad (bug 1591579)
Backed out changeset 1f0a3434af2b (bug 1591579)
Backed out changeset 150606f7639b (bug 1591579)
Backed out changeset ca31ccb7a42a (bug 1591579)
2019-10-31 13:45:21 +02:00
Cosmin Sabou c90e892b65 Backed out 3 changesets (bug 1590694) for SM bustages on testGCHeapPostBarriers.cpp
Backed out changeset 0a2109b4d043 (bug 1590694)
Backed out changeset f65f3003e407 (bug 1590694)
Backed out changeset e42641548cb7 (bug 1590694)

--HG--
extra : amend_source : c727b559bececac3e0d755008f0ba44a3ef9a981
2019-10-31 13:40:01 +02:00
Cosmin Sabou e40bc670f8 Backed out changeset 75ed11ced625 (bug 1592915) for gtest failures on VP8VideoTrackEncoder. 2019-10-31 13:38:56 +02:00
Emilio Cobos Álvarez 672ef887fb Bug 1592474 - Report a console warning when we disable scroll anchoring on a scroller. r=dholbert,flod
Depends on D51024

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

--HG--
extra : moz-landing-system : lando
2019-10-31 09:19:21 +00:00
Emilio Cobos Álvarez f70cc8c005 Bug 1592474 - Add some heuristics to disable scroll anchoring in pathological cases. r=dholbert
The idea of these are not to penalize legit uses of scroll anchoring, and
catching pathological cases fast.

The current algorithm I thought of is just whether the average of all the
consecutive scroll anchoring adjustments is less than a given threshold.

If the average adjustment is close to zero and the user is not scrolling, it
means that we're not making much progress.

It is important that zero adjustments don't get counted, since those are common
during window resizes and don't have side-effects anyway.

Exact number may need tuning, let me know if you want it
nightly-and-early-beta-only for now or something.

Depends on D51038

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

--HG--
extra : moz-landing-system : lando
2019-10-31 09:25:08 +00:00
Emilio Cobos Álvarez 4510f3e34a Bug 1592474 - Share code between ScrollAnchorContainer::{Destroy,InvalidateAnchor}. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D51038

--HG--
extra : moz-landing-system : lando
2019-10-31 09:23:35 +00:00
Jon Coppeard 668e3dfef6 Bug 1590694 - Use const HeapPtrs where possible r=jimb
This makes HeapPtr members const where it was easy to do so. Flagging jimb for review since most of these were in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 11:01:10 +00:00
Jon Coppeard 9c7e921e32 Bug 1590694 - Use const GCPtrs where possible r=jandem
This replaces GCPtr members with const GCPtr where trival to do so.

Depends on D50618

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

--HG--
extra : moz-landing-system : lando
2019-10-31 11:01:10 +00:00
Jon Coppeard 7cd3e66374 Bug 1590694 - Make it possible to use const GC wrappers r=jandem
The main change is to make BarrieredBase::unsafeUnbarrieredForTracing() const and use const_cast to get return the non-const pointer. This makes sense because the GC is allowed to update the pointer used while preseving the logical value of the cell, e.g. when compacting.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 11:00:25 +00:00
Paul Adenot 2f1622bec4 Bug 1592915 - Fix three warnings in `VideoFrameConverter.h` and `TestVideoTrackEncoder.h`. r=pehrsons
This warns because an expression with a side effect is inside a `static_assert` or
`sizeof`.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 10:50:51 +00:00
Andrea Marchesini dcd4fd8998 Bug 1591579 - XHR ArrayBufferBuilder needs to have a refcounted buffer handling, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51088

--HG--
extra : moz-landing-system : lando
2019-10-31 10:28:10 +00:00
Andrea Marchesini af78dacf26 Bug 1591579 - Test for XHR on sharedWorkers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50951

--HG--
extra : moz-landing-system : lando
2019-10-31 10:27:51 +00:00
Andrea Marchesini 8add24034e Bug 1591579 - XMLWorker takes data from XMLMainThread without calling GetResponse(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50921

--HG--
extra : moz-landing-system : lando
2019-10-31 10:27:33 +00:00
Andrea Marchesini cff9f77d8c Bug 1591579 - XHR-MainThread exposes a set of methods to retrieve response values for workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50920

--HG--
extra : moz-landing-system : lando
2019-10-31 10:27:11 +00:00
Andrea Marchesini d7261d6930 Bug 1591579 - XHR uses a ref-counted ArrayBufferBuilder, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50919

--HG--
extra : moz-landing-system : lando
2019-10-31 10:26:54 +00:00
Andrea Marchesini 1045168094 Bug 1591579 - XHR creates the Blob response only at the first GetResponse() call, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50918

--HG--
extra : moz-landing-system : lando
2019-10-31 10:26:41 +00:00
Neil Deakin 01f6409a03 Bug 1590752, remove now unneeded content.js framescript, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50585

--HG--
extra : moz-landing-system : lando
2019-10-31 10:11:52 +00:00
Neil Deakin 0d839af744 Bug 1590752, convert ContentMetaHandler.jsm into JSWindowActors, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50584

--HG--
rename : browser/modules/ContentMetaHandler.jsm => browser/actors/ContentMetaChild.jsm
extra : moz-landing-system : lando
2019-10-31 10:11:40 +00:00
Alex Chronopoulos c0b57094e7 Bug 1592555 - Not allow adding a null receiver in the AudioMixer callback list. r=padenot
A null MixerCallbackReceiver in the AudioMixer callback list can create a crash when the AudioMixer::FinishMixing() is being called. Verify that the receiver is not null before adding it in the list.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 10:01:53 +00:00
Glenn Watson 5ee706e95f Bug 1592810 - Add support for dynamically disabling picture caching, for pinch zoom cases. r=nical
This patch allows WR to dynamically choose whether picture caching
is enabled per-frame, rather than only during initialization.

This will allow mobile devices to disable picture caching during
pinch zoom events, where tiles will be constantly invalidated.

This can also be controlled via a debug flag, which allows dynamic
toggling of picture caching in both Gecko and Wrench. This is
useful for profiling, to compare direct rasterization to picture
caching performance.

The native compositor interface relies on picture caching. So, if
a native compositor is enabled, picture caching is force enabled.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 08:38:01 +00:00
Andrea Marchesini cab2ee5f4e Bug 1592687 - Expose ftp protocol enabled/disabled via browserSettings, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D51146

--HG--
extra : moz-landing-system : lando
2019-10-30 19:29:19 +00:00
Andi-Bogdan Postelnicu 0c27f932f0 Bug 1583742 - Upgrade docker image for clang based analysis. r=bastien,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D47048

--HG--
extra : moz-landing-system : lando
2019-10-15 17:10:52 +00:00
Kershaw Chang 8afce6a668 Bug 1588217 - Use SystemConfiguration framework to get DNS search domains r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49476

--HG--
extra : moz-landing-system : lando
2019-10-29 23:05:17 +00:00
André Bargull 4100d6686f Bug 1129202 - Part 10: Handle TypedArray non-int32 indices in GetPropIRGenerator. r=jandem
That way CacheIR can still attach an IC and Baseline/Ion don't need to take the
slow path when a TypedArray access happens through a Double not representable as
an Int32.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 08:22:37 +00:00
André Bargull 6c3d30f9b3 Bug 1129202 - Part 9: Handle TypedArray non-int32 indices in HasPropIRGenerator. r=jandem
That way CacheIR can still attach an IC and Baseline/Ion don't need to take the
slow path when a TypedArray access happens through a Double not representable as
a (positive) Int32.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:34:59 +00:00
André Bargull 2f6701b64b Bug 1129202 - Part 8: Handle TypedArray non-int32 indices in SetPropIRGenerator. r=jandem
Negative int32 and doubles can both be optimised for TypedArray accesses due to
the fact that any number is a canonical numeric index.

With this change any TypedArray access with a double index can be optimised
without regressing bug 1535031 or bug 1526315.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:34:57 +00:00
André Bargull 09ce393b93 Bug 1129202 - Part 7: Add MTypedArrayIndexToInt32 for accessing TypedArrays with any Double index. r=jandem
The definition of canonical numeric index strings means that any access into a TypedArray
with a Double index never reads from the prototype chain. Instead if the Double is not
representable as an Int32, the access is equivalent to an out-of-bounds access. That
means we can substitute any non-Int32 Double index with an arbitrary index which is OOB.
This helps to avoid deoptimising TypedArray accesses with non-Int32 Double values by
handling them as normal out-of-bounds accesses, which are already optimisable.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:38:46 +00:00
André Bargull c23ea6eeb6 Bug 1129202 - Part 6: Add constant for maximum TypedArray length. r=jandem
The next parts use this constant in static_asserts.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 10:18:38 +00:00
André Bargull c822bd0d5e Bug 1129202 - Part 5: Enable now passing test262 tests. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D39039

--HG--
extra : moz-landing-system : lando
2019-10-29 09:32:49 +00:00
André Bargull 43e0ab4947 Bug 1129202 - Part 4: Allow numbers with fractional parts or exponents for canonical numeric indices. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D39038

--HG--
extra : moz-landing-system : lando
2019-10-29 09:32:27 +00:00
André Bargull ef0b976b74 Bug 1129202 - Part 3: Change StringIsTypedArrayIndex's return type to allow passing an error. r=jandem
The next patch adds code which may fail on OOM, so StringIsTypedArrayIndex's
interface needs to be updated to allow passing on errors.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:35:49 +00:00
André Bargull 97be76d4f0 Bug 1129202 - Part 2: Move IsInteger to jsnum.h to allow reusing it. r=jandem
Part 5 will call this function.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:31:45 +00:00
André Bargull 5fa922839a Bug 1129202 - Part 1: Allow "Infinity" and "NaN" for canonical numeric index strings. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D39035

--HG--
extra : moz-landing-system : lando
2019-10-29 09:31:22 +00:00
Jan de Mooij aa29d948b4 Bug 1592893 - Fix some Clang warnings about unused things in non-unified JS engine builds. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D51236

--HG--
extra : moz-landing-system : lando
2019-10-31 07:00:50 +00:00
Jonathan Kew 0ba1edfcec Bug 1581822 - Try Chinese font prefs before Japanese when no locale hint is found, to reduce chance of ransom-note font mixtures. r=m_kato,masayuki,emk
Differential Revision: https://phabricator.services.mozilla.com/D50947

--HG--
extra : moz-landing-system : lando
2019-10-31 08:50:12 +00:00
Eden Chuang bbec89c3ed Bug 1590320 - enable dom/workers/test/test_multi_sharedWorker.html for fission. r=perry
Could not reproduce the test fail locally and on tryserver.
Enable the mochitest dom/workers/test/test_multi_sharedWorker.html for fission

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

--HG--
extra : moz-landing-system : lando
2019-10-30 16:32:46 +00:00
Jan de Mooij d0bd68544f Bug 1592524 - Use a bool class field instead of MToString::conversionMightHaveSideEffects(). r=anba
The input operand could change in some cases, resulting in inconsistent return
values from isEffectful and getAliasSet.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 18:12:50 +00:00
Simon Giesecke 8e4f7b783e Bug 1586189 - Fix behaviour of ThirdPartyUtil::IsThirdPartyWindow with Fission. r=ttung,Ehsan,kmag
Differential Revision: https://phabricator.services.mozilla.com/D49157

--HG--
extra : moz-landing-system : lando
2019-10-31 08:31:39 +00:00
Christoph Kerschbaumer e8e2dc31b7 Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-31 08:28:35 +00:00
Paolo Amadini cac70e35cc Bug 1584627 - Remove ensureXBLBindingAttached from tabprompts.jsm. r=bgrins
This is unnecessary now that XBL bindings are not used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 18:32:40 +00:00
Christoph Kerschbaumer 298a7195c8 Bug 1591131: Resurrect telemetry for http response codes (redirects).r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D50489

--HG--
extra : moz-landing-system : lando
2019-10-28 11:51:35 +00:00
Edwin Takahashi c0f93ea425 Bug 1591641 - annotate select-load.html with fuzzy-if condition for Android r=gbrown
Changes:
- annotate select-load.html test with `fuzzy-if(Android)`

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

--HG--
extra : moz-landing-system : lando
2019-10-30 21:25:22 +00:00
Daisuke Akatsuka 7673889b29 Bug 1592871: Add test whether the ruleview will not be broken. r=gl
Depends on D51219

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

--HG--
extra : moz-landing-system : lando
2019-10-31 05:17:53 +00:00