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

624549 Коммитов

Автор SHA1 Сообщение Дата
Philip Chimento 31c3522845 Bug 1506324 - Use DefaultGlobalClassOps in existing code. r=jorendorff
Summary: Depends on D11570

Reviewers: tcampbell, jorendorff

Reviewed By: tcampbell, jorendorff

Subscribers: jandem

Bug #: 1506324

Differential Revision: https://phabricator.services.mozilla.com/D11571
2018-11-19 09:05:07 -05:00
Gabriel Luong 051426775c Bug 1500701 - Lazy load async-storage in manager.js. r=mtigley 2018-10-22 12:21:40 -04:00
Magnus Melin 5e1f20c4d2 Bug 1507907 - null check result of CFDateFormatterCreate. r=gandalf 2018-11-19 21:55:32 +02:00
Ciure Andrei 97ae4101ac Backed out 4 changesets (bug 1507769, bug 1505571) for browser_storageAccessWithHeuristics.js failures CLOSED TREE
Backed out changeset 401763b97e54 (bug 1507769)
Backed out changeset 838dfe679fdd (bug 1505571)
Backed out changeset 88af3329ee16 (bug 1505571)
Backed out changeset be17a8b7aefa (bug 1505571)
2018-11-19 22:06:24 +02:00
Marco Castelluccio 70b7e86a2b Bug 1507767 - Add task_regex for crashtest. r=ahal
--HG--
extra : rebase_source : 0813092c2c665f25600a839fff5091efbdb260dc
extra : source : c6507666343929310b54cbe3ccf5c27b9a453782
2018-11-16 14:26:27 +01:00
Marco Castelluccio deae482814 Bug 1480141 - Add task_regex for Marionette. r=ahal
--HG--
extra : rebase_source : 7a16868ef97624d36b6fed0e608acc97592f9603
extra : source : 936e7792e7557d02becaa2932be2c1f0dbb0df26
2018-11-16 17:27:28 +01:00
Robert Strong 728c807b83 Bug 1508283 - Don't attempt to check for updates from Firefox's nsBrowserGlue.js when running tests. r=jgraham
This adds the app.update.checkInstallTime pref with a value of false for geckodriver. The pref was added for the other tests in bug 1506917.
2018-11-19 11:30:07 -08:00
Ting-Yu Lin e96e20c21d Bug 1506163 - Do not span column-span:all element across all columns if it's under different block formatting context. r=bz
multicol-span-all-004-ref.html is the same as multicol-span-all-004.html except
for the "column-span" value in h3.

Differential Revision: https://phabricator.services.mozilla.com/D12192
2018-11-19 11:27:45 -08:00
Ciure Andrei 7a12d4d6e9 Backed out 2 changesets (bug 1480141, bug 1507767) for linting failre at resolve.py CLOSED TREE
Backed out changeset c65076663439 (bug 1507767)
Backed out changeset 936e7792e755 (bug 1480141)
2018-11-19 21:23:35 +02:00
Luke Wagner 388dc403ad Bug 1504288 - Baldr: remove shared memory and wasm thread ops #ifdefs (keeping default-off pref) (r=lth) 2018-11-19 13:10:36 -06:00
Jonathan Kew 6b76c3b630 Bug 1506084 - Set TailForbidden on class of service for webfont loads. r=mayhemer 2018-11-19 19:03:23 +00:00
Marco Castelluccio c2f6bd655c Bug 1507767 - Add task_regex for crashtest. r=ahal
--HG--
extra : rebase_source : d8e4f1b54234b85abcfe6a9b739045155ad8e2e4
2018-11-16 14:26:27 +01:00
Marco Castelluccio fc2dda0c5f Bug 1480141 - Add task_regex for Marionette. r=ahal
--HG--
extra : rebase_source : 6121b6373b8594fe0d3b56d3bdf844f488f1bdde
2018-11-16 17:27:28 +01:00
Andrew Osmond 84b064dcf0 Bug 1508270 - Add libwebp to the list of thirdparty code. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D12296
2018-11-19 13:47:42 -05:00
chandranvishwaak@gmail.com 74266ab7ac Bug 1507574 - Override --lwt-toolbarbutton-icon-fill in the title bar with Dark and Light themes. r=dao 2018-11-19 19:46:15 +01:00
Jason Laster 9c0e929b3f Bug 1508351 - The editor should not select the line when shift-clicking. r=dwalsh
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D11875
2018-11-19 13:37:38 -05:00
Andrea Marchesini 7fd5fc4b5c Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan
We want to introduce a new pref to block trackers that try to workaround our
heuristic. The pref is called:
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts
2018-11-19 19:16:25 +01:00
Andrea Marchesini f8679dfb52 Bug 1505571 - Store access-storage permissions in the top-level window too, r=ehsan
This is needed for any storage access request, coming synchronously after the
setting of the permission.
2018-11-19 19:16:24 +01:00
Andrea Marchesini 82ea8de217 Bug 1505571 - Tests of localStorage access immediatelly after a user-interaction, r=ehsan 2018-11-19 19:16:24 +01:00
Andrea Marchesini 38449f1226 Bug 1505571 - Don't chcek user-interaction permission when the operation starts from user-interaction, r=ehsan
The permission has been just set, but the content process haven't received it
back from the parent process.
2018-11-19 19:16:24 +01:00
Daniel Varga e5b5f2321c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : a73a1ba37eb58ceaabcfd9c2a8aa9b25b981b190
2018-11-19 19:11:35 +02:00
Bobby Holley 8c07acd58f Bug 1507333 - Clear evicted cache entries when using the debug display. r=gw,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D11959
2018-11-19 09:16:09 -08:00
Bobby Holley f37d425f0e Bug 1507333 - Route WebRender pref changes through the RenderBackend. r=jrmuizel
The overlap between debug flags and debug commands is a bit of a mess,
and this patch does not entirely clean it up. But this at least means
that the RenderBackend can react to pref changes in Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D11958
2018-11-19 09:16:08 -08:00
Daniel Varga 7f346e170a Merge mozilla-inbound to mozilla-central. a=merge 2018-11-19 19:01:21 +02:00
Nathan Froyd 68d5dc9549 Bug 1503961 - part 2 - do a single allocation for the linearized buffer; r=nbp
This change should eliminate the repeated copying we see on some testcases.
2018-11-19 11:21:09 -05:00
Nathan Froyd 857fced351 Bug 1503961 - part 1 - factor out a slice iterator for XDRIncrementalEncoder; r=nbp
We're going to do two passes over the tree, so we might as well have
some common code to do the iteration.
2018-11-19 11:21:09 -05:00
Robert Strong ce780910f7 Bug 1506917 - Don't attempt to check for updates from Firefox's nsBrowserGlue.js when running tests. r=ted
This adds the app.update.checkInstallTime pref with a value of false in all tests that have the app.update.disabledForTesting pref except for geckodriver which is covered by bug 1508283.
2018-11-19 07:33:33 -08:00
Geoff Brown ca263cc2ba Bug 1507502 - Check for correct installed package when running mach wpt --package; r=kwierso 2018-11-19 08:28:15 -07:00
Ryan VanderMeulen 69d396b470 Bug 1508275 - Update pdf.js to version 2.1.70. r=bdahl
--HG--
extra : rebase_source : 5fb697e047c755722e7c922f9e101b5ec43de599
2018-11-19 10:08:36 -05:00
Andrea Marchesini e8cb35c9b3 Bug 1507171 - Cleanup data on shutdown just for http, https and file URLs, r=johannh 2018-11-19 16:02:23 +01:00
Nathan Froyd 1ae4750ecb Bug 1506730 - remove PLDHashTable::Iterator::mStart; r=njn
We only use its value in one place, and said value is easily computable
from readily available information.  This change makes iterators
slightly smaller.
2018-11-19 09:54:04 -05:00
Luke Schwalfenberg 2589f25a3d Bug 1497725 - Add a search field to the new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D11843

--HG--
extra : rebase_source : eaeed808b1b1ecfbd01b4c06f91ece8ade0275c7
extra : amend_source : 94c7fc57bd9cde0f57af1e6037947acb9b9c90e3
2018-11-19 13:52:08 +00:00
Sylvestre Ledru 804b8b8883 Bug 1204606 - Reformat of dom/media r=jya
# skip-blame

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

--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
James Graham 266219812c Bug 1508253 - Fix wpt metadata update, r=gsnedders 2018-11-19 13:18:21 +00:00
moz-wptsync-bot 920a2c5949 Bug 1507401 - [wpt-sync] Update web-platform-tests to f082fd63300fec7b6201cf5e0eaf0944ee7ccb6e, a=testonly
wpt-head: f082fd63300fec7b6201cf5e0eaf0944ee7ccb6e
wpt-type: landing
2018-11-19 11:46:29 +00:00
Anders Hartvoll Ruud 2ef355c4a9 Bug 1506956 [wpt PR 14039] - [css-properties-values-api] Support fallbacks., a=testonly
Automatic update from web-platform-tests[css-properties-values-api] Support fallbacks.

According to css-variables-1, any custom property that participates in a
cycle is invalid. This also applies to registered custom properties.
In the current implementation, however, registered custom properties
with an initial value can not become invalid; they compute to their initial
value instead, as provided by registerProperty. A consequence of this, is
that fallbacks (specified by var()-references) are never triggered if the
referenced property is a registered property with an initial value defined.

The value for any unregistered custom property, if no other value is
specified, is the invalid initial value described by css-variables-1.
This means we can just avoid storing the variable on ComputedStyle, to
signify the invalid initial value.

However, the value for any registered custom property, if no other value is
specified, can be the initial value specified by registerProperty. When
there is no value explicitly stored on ComputedStyle, we check
StyleInitialData and fetch the initial value from there. Hence, we can not
use the absence of a value to signify an invalid registered variable, as
we already use this state to mean "initial value from registerProperty".
This means that we must explicitly store a value for registered properties
that participate in a cycle. This CL adds CSSInvalidVariableValue to do
this.

 * When resolving a registered custom property, if a cycle is detected, set
   the registered value to CSSInvalidVariableValue.
 * When looking up a registered custom property, if we already have the
   value CSSInvalidVariableValue, return nullptr instead of initial data.
   This triggers fallbacks.
 * The code that set the cycle_detected flag was weird; a cycle could be
   marked as detected, even though ResolveTokenRange succeeded. This meant
   that any custom property which referenced a property in a cycle would
   also be treated as part of the cycle, which is wrong. Fixed by only
   setting the cycle_detected flag when we have cycle start points.
 * CSSInterpolationType did not initialize its cycle_detected variable,
   which led to undefined behavior.

R=futhark@chromium.org

Bug: 641877
Change-Id: I2c518b176de26f7b2f05b36b568041a228fcb0ea
Reviewed-on: https://chromium-review.googlesource.com/c/1333758
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608014}

--

wpt-commits: f082fd63300fec7b6201cf5e0eaf0944ee7ccb6e
wpt-pr: 14039
2018-11-19 11:46:28 +00:00
Youenn Fablet 28d789381d Bug 1503287 [wpt PR 13784] - Move getDisplayMedia to MediaDevices, a=testonly
Automatic update from web-platform-testsMove getDisplayMedia to MediaDevices

--
Merge pull request #13784 from youennf/move-getDisplayMedia-to-MediaDevices

Move getDisplayMedia to MediaDevices
--

wpt-commits: 08eff2d0b1ba1deec04f6eb154036bb7f86acfe5, 0e1c7257baef0329be409632de2e13bf001bc95c
wpt-pr: 13784
2018-11-19 11:46:28 +00:00
Stephen Chenney 99d04130b6 Bug 1507028 [wpt PR 14042] - Fix background image painting of very small images, a=testonly
Automatic update from web-platform-testsFix background image painting of very small images

The background image fast path painting rounds the image src rect
to integer sizes assuming sprite maps and/or reasonably large images.
When a very small image is used scaled up to a large size (such as
constant color images scaled up to form progress bars by animating
background size) the src rect may be 1 x [small number] which gets
rounded to zero size.

This patch changes the code to detect this situation and not round
in such cases.

It's worth recording that an alternate approach is to detect when
the rounding results in a significant change in src rect and always
switch to unrounded in that case. But it would be more expensive for
a relatively uncommon case.

R=fmalita
BUG=904042

Change-Id: I24657a5d087c0dda0fd8a5e3c3d08e1e4eb02473
Reviewed-on: https://chromium-review.googlesource.com/c/1334291
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607901}

--

wpt-commits: e1a59fb1af26d892ffee739205d1ab536d0d2819
wpt-pr: 14042
2018-11-19 11:46:27 +00:00
moz-wptsync-bot bc853f1afa Bug 1506155 [wpt PR 14005] - Update wpt metadata, a=testonly
wpt-pr: 14005
wpt-type: metadata
2018-11-19 11:46:27 +00:00
François Beaufort 1b1c91cac7 Bug 1506155 [wpt PR 14005] - [Picture-in-Picture] Move mediastream test to wpt., a=testonly
Automatic update from web-platform-tests[Picture-in-Picture] Move mediastream test to wpt.

Change-Id: I6edc955ecd0d7f821d642bab0f66a6f25882c098
Reviewed-on: https://chromium-review.googlesource.com/c/1329141
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#607837}

--

wpt-commits: 53ef64dc2983dce0efe37016cdaee3b3ad279305
wpt-pr: 14005
2018-11-19 11:46:26 +00:00
moz-wptsync-bot ec00c9e4e4 Bug 1504855 [wpt PR 13931] - Update wpt metadata, a=testonly
wpt-pr: 13931
wpt-type: metadata
2018-11-19 11:46:26 +00:00
Steve Anton 846fb30d46 Bug 1504855 [wpt PR 13931] - Implement RTCQuicStream.write(), a=testonly
Automatic update from web-platform-testsImplement RTCQuicStream.write()

Bug: 874296
Change-Id: I1786acb3b64fa0450e76fe27300c178081d1e191
Reviewed-on: https://chromium-review.googlesource.com/c/1285528
Commit-Queue: Steve Anton <steveanton@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607708}

--

wpt-commits: 7201104211385809c4c53914834f7fe5c7a8b425
wpt-pr: 13931
2018-11-19 11:46:26 +00:00
François Beaufort 2229c47cdd Bug 1506897 [wpt PR 14035] - [Picture-in-Picture] Fix shadow dom crash when exiting PiP., a=testonly
Automatic update from web-platform-tests[Picture-in-Picture] Fix shadow dom crash when exiting PiP.

This CL fixes a tab crash that occurs when calling document.exitPictureInPicture()
if a video in a shadow DOM is already in Picture-in-Picture.

Bug: 904828

Change-Id: I6aed0fa43dd0af1406d4349509101d423f622d96
Reviewed-on: https://chromium-review.googlesource.com/c/1333769
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#607658}

--

wpt-commits: ef5a7d3d1423bcd7a009c7b1b804b928d284289d
wpt-pr: 14035
2018-11-19 11:46:25 +00:00
moz-wptsync-bot bae95ba027 Bug 1506940 [wpt PR 14038] - Update wpt metadata, a=testonly
wpt-pr: 14038
wpt-type: metadata
2018-11-19 11:46:25 +00:00
Fredrik Söderquist 713cdbb467 Bug 1506940 [wpt PR 14038] - Fixes and tweaks to wpt/css/filter-effects/, a=testonly
Automatic update from web-platform-testsFixes and tweaks to wpt/css/filter-effects/

filter-contrast-003.html

  Adjust the color from #400000 to #3f0000, since (0x40 / 255) is just
  over 0.25 and can after filtering and rounding end up above 0.
  (0x3f / 255) on the other hand is just below 0.25 and the result will
  be clamped to zero.

filter-external-001-test.html
filter-external-002-test.html

  Change the hue-rotate parameter in the external file from 120 to 150.
  Move the file to support/ and remove lint entry.
  Make both filters operate in sRGB to make computing the reference
  easier. Use rgb(...) notation with percentage values in reference.

fecolormatrix-type.html

  Add color-interpolation-filters=sRGB to the filter to make it easier
  to reason about what the result should be. Use rgba(...) notation in
  the ref using percentage notation.

filters-test-brightness-003.html

  Add 'filter: brightness(0)' before 'filter: brightness()' to properly
  test if the "no argument" notation is considered valid by the parser.

filter-grayscale-001.html
filter-grayscale-002.html
filter-grayscale-003.html
filter-grayscale-004.html
filter-grayscale-005.html

  Remove the " (and not blue)" text from the reference and update the
  001,004 and 005 tests accordingly.

css-filters-animation-saturate.html

  Interpolate the argument from 4900% rather than 5000% to end at the
  ref's 2500% (25).

css-filters-animation-hue-rotate.html

  Sample the animation at .5 to match the expectation.

css-filters-animation-drop-shadow.html

  Use explicit rgba(...) in the ref rather than the keyword 'gray'.
  We're interpolating the color of the drop-shadow from 'black'
  (rgba(0, 0, 0, 1)) to 'transparent' (rgba(0, 0, 0, 0)) here, so it's
  better and more accurate to describe the color as "semi-transparent
  black" (rgba(0, 0, 0, 0.5)).

css-filters-animation-combined-001.html

  Initial value for animation for 'opacity(...)' is '1' - not zero.
  Change test to interpolate from 0 -> 1 (rather than 1 -> 1)

Bug: 903383
Change-Id: I4d0113989414616494b98c22fbac817f007cd762
Reviewed-on: https://chromium-review.googlesource.com/c/1333816
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#607628}

--

wpt-commits: 4cf6f845d427b856b1d7557aeaf02c199e6e1d81
wpt-pr: 14038
2018-11-19 11:46:24 +00:00
Anne van Kesteren e75d5c6f8a Bug 1504103 [wpt PR 13849] - Fetch: Access-Control-Expose-Headers parsing, a=testonly
Automatic update from web-platform-testsFetch: Access-Control-Expose-Headers parsing

See https://github.com/whatwg/fetch/issues/814 for context.
--

wpt-commits: 645c0e8a5c028a613e7ad1732834100dbe946fc7
wpt-pr: 13849
2018-11-19 11:46:24 +00:00
Ms2ger 3b024bc291 Bug 1500491 [wpt PR 13623] - Python 3: Fix test_set_cookie., a=testonly
Automatic update from web-platform-testsPython 3: Fix test_set_cookie. (#13623)

--

wpt-commits: 43b98d280dc40e98d6414b266ec3fcc87156d5fe
wpt-pr: 13623
2018-11-19 11:46:24 +00:00
moz-wptsync-bot 07d559deac Bug 1504373 [wpt PR 13864] - Update wpt metadata, a=testonly
wpt-pr: 13864
wpt-type: metadata
2018-11-19 11:46:23 +00:00
Hiroshige Hayashizaki 047c0c9141 Bug 1504373 [wpt PR 13864] - Add redirected cases to CSP/import tests in wpt/worklets, a=testonly
Automatic update from web-platform-testsAdd redirected cases to CSP/import tests in wpt/worklets

Also this CL replaces some of empty-worklet-script.js usage
in CSP tests with empty-worklet-script-with-cors-header.js
to make sure worklets are rejected due to CSP, not CORS.

Change-Id: Ie463d206254c4c6728a79dae0ad79e4f7e333b92
Reviewed-on: https://chromium-review.googlesource.com/c/1312146
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606846}

--

wpt-commits: d49968742cb5af8ed3e93fb1073f2a8249245e58
wpt-pr: 13864
2018-11-19 11:46:23 +00:00
moz-wptsync-bot b7a566ba8f Bug 1506820 [wpt PR 14032] - Update wpt metadata, a=testonly
wpt-pr: 14032
wpt-type: metadata
2018-11-19 11:46:22 +00:00