Commit Graph

685374 Commits

Author SHA1 Message Date
Nicolas Chevobbe
b3e862d056 Bug 1600680 - Fix race issue in autocompletion + Enter. r=Honza.
This ensures the selected item of the autocomplete
popup is updated, so if the user accepts the completion
it will retrieve the right text.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:19:55 +00:00
Andreas Farre
794b0068c3 Bug 1561715 - Part 3: Remove SchedulerGroup::IsBackground. r=smaug
Depends on D56745

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

--HG--
extra : moz-landing-system : lando
2019-12-12 15:20:52 +00:00
Harry Twyford
bdf7912139 Bug 1601334 - Increase Urlbar min-width. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D55835

--HG--
extra : moz-landing-system : lando
2019-12-19 09:51:49 +00:00
Henri Sivonen
b6912bc97a Bug 1604307 - Avoid passing nullptr to memcmp and memcpy even with 0 length. r=alchen
Differential Revision: https://phabricator.services.mozilla.com/D57787

--HG--
extra : moz-landing-system : lando
2019-12-19 13:38:05 +00:00
Andreas Pehrson
acc3011748 Bug 1605041 - Fix static-analysis warning from bug 1586370. r=padenot
Depends on D57696

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:48:09 +00:00
Andreas Pehrson
b5a333aa74 Bug 1604941 - Don't leave AudioContextOperation::Resume hanging. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D57696

--HG--
extra : moz-landing-system : lando
2019-12-19 13:17:32 +00:00
Andreas Pehrson
fe6925d358 Bug 1604941 - Add crashtest. r=padenot
Depends on D56086

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:17:44 +00:00
Mirko Brodesser
9c280bf166 Bug 1600267: part 7) Call ComparePoints instead of ComparePoints_Deprecated in RangeUtils. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55301

--HG--
extra : moz-landing-system : lando
2019-12-19 13:28:50 +00:00
Mirko Brodesser
436419e7ff Bug 1600267: part 6) Call ComparePoints instead of ComparePoints_Deprecated in ContentIterator. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55300

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:50 +00:00
Mirko Brodesser
e31ae0461a Bug 1600267: part 5) Call ComparePoints instead of ComparePoints_Deprecated in HyperTextAccessible. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55299

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:42 +00:00
Mirko Brodesser
e51df4cb8e Bug 1600267: part 4) Call ComparePoints instead of ComparePoints_Deprecated in FilteredContentIterator. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55298

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:35 +00:00
Mirko Brodesser
575a1d78d3 Bug 1600267: part 3) Call ComparePoints instead of ComparePoints_Deprecated in Abstractrange::SetStartAndEndInternal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55297

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:28 +00:00
Mirko Brodesser
a5942da74e Bug 1600267: part 2) Add Maybe<int32_t> nsContentUtils::ComparePoints. r=smaug
Enforces callers to handle the case when the points are incomparable.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:23 +00:00
Mirko Brodesser
b8bb35cc69 Bug 1600267: part 1) Rename nsContentUtils::ComparePoints to ComparePoints_Deprecated. r=smaug
In a follow-up commit a new `ComparePoints` method with cleaner
arguments and return value will be added.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:08 +00:00
Florin Strugariu
a2b3c15851 Bug 1605070 - no_conditioned_profile not surfaced in raptor_class r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D57774

--HG--
extra : moz-landing-system : lando
2019-12-19 12:09:18 +00:00
Dão Gottwald
11105937f8 Bug 1605071 - Hide tab strip buttons using display:none instead of visibility:hidden. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57773

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:00 +00:00
André Bargull
2db27f7b92 Bug 1604774 - Part 3: Don't switch between nested return false and return true in useSingletonForNewObject. r=jandem
Don't switch between early `return false` and `return true` to ensure the success
case is listed at the end of the function.

Depends on D57624

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

--HG--
extra : moz-landing-system : lando
2019-12-19 12:45:06 +00:00
André Bargull
e132e30da3 Bug 1604774 - Part 2: Remove indirections in js::SuperFunOperation. r=jandem
Depends on D57623

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

--HG--
extra : moz-landing-system : lando
2019-12-18 14:31:17 +00:00
André Bargull
183ccf1a94 Bug 1604774 - Part 1: Remove indirect calls to ThrowUninitializedThis and ThrowInitializedThis. r=jandem
Also remove the unused argument from ThrowUninitializedThis.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 14:16:29 +00:00
André Bargull
7f13edef8b Bug 1604162 - Part 5: Remove unnecessary rooting for BigInts in WebIDLCast. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D57310

--HG--
extra : moz-landing-system : lando
2019-12-19 12:55:27 +00:00
André Bargull
a785b32416 Bug 1604162 - Part 4: Update step references for Symbol. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D57309

--HG--
extra : moz-landing-system : lando
2019-12-19 12:54:04 +00:00
André Bargull
1f721365ed Bug 1604162 - Part 3. Directly use JSAtom in Symbol::description call sites. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D57308

--HG--
extra : moz-landing-system : lando
2019-12-19 12:53:55 +00:00
André Bargull
8ef9464bbd Bug 1604162 - Part 2: Update step references for Boolean. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D57307

--HG--
extra : moz-landing-system : lando
2019-12-19 12:53:45 +00:00
André Bargull
07485d15ab Bug 1604162 - Part 1: Return PropertyName from BooleanToString. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D57306

--HG--
extra : moz-landing-system : lando
2019-12-19 12:53:41 +00:00
Coroiu Cristina
4b1f3db61d Backed out changeset 254b3c9cfd03 (bug 1603804) for lint failure at builds/worker/checkouts/gecko/python/lldbutils/lldbutils on a CLOSED TREE
--HG--
rename : python/lldbutils/README.txt => third_party/python/lldbutils/README.txt
rename : python/lldbutils/lldbutils/__init__.py => third_party/python/lldbutils/lldbutils/__init__.py
rename : python/lldbutils/lldbutils/content.py => third_party/python/lldbutils/lldbutils/content.py
rename : python/lldbutils/lldbutils/general.py => third_party/python/lldbutils/lldbutils/general.py
rename : python/lldbutils/lldbutils/gfx.py => third_party/python/lldbutils/lldbutils/gfx.py
rename : python/lldbutils/lldbutils/layout.py => third_party/python/lldbutils/lldbutils/layout.py
rename : python/lldbutils/lldbutils/utils.py => third_party/python/lldbutils/lldbutils/utils.py
2019-12-19 14:44:28 +02:00
Jonathan Watt
93534e98f9 Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D57141

--HG--
rename : third_party/python/lldbutils/README.txt => python/lldbutils/README.txt
rename : third_party/python/lldbutils/lldbutils/__init__.py => python/lldbutils/lldbutils/__init__.py
rename : third_party/python/lldbutils/lldbutils/content.py => python/lldbutils/lldbutils/content.py
rename : third_party/python/lldbutils/lldbutils/general.py => python/lldbutils/lldbutils/general.py
rename : third_party/python/lldbutils/lldbutils/gfx.py => python/lldbutils/lldbutils/gfx.py
rename : third_party/python/lldbutils/lldbutils/layout.py => python/lldbutils/lldbutils/layout.py
rename : third_party/python/lldbutils/lldbutils/utils.py => python/lldbutils/lldbutils/utils.py
extra : moz-landing-system : lando
2019-12-16 19:39:06 +00:00
Jan de Mooij
abdf417965 Bug 1602392 - Change for-of bytecode to not have an extra value on the stack across the loop edge. r=arai
This fixes a bug with HasLiveStackValueAtDepth because now all stack values that
are part of the loop (2 values instead of 3 values) are loop-invariant.

The patch also simplifies the loop condition code a bit.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 09:06:01 +00:00
David Teller
a5df8d6fa3 Bug 1602712 - First implementation of GetNewOrUsedBrowserAsync;r=rhunt
Depends on D56961

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

--HG--
extra : moz-landing-system : lando
2019-12-19 10:57:13 +00:00
David Teller
43a338a859 Bug 1602712 - Split the parts of GetNewOrUsedBrowser that can be shared betwen sync and async;r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D56961

--HG--
extra : moz-landing-system : lando
2019-12-19 10:57:13 +00:00
Dorel Luca
8539867cff Bug 1603002 - Disable browser_aboutCertError_mitm.js on all platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D57765

--HG--
extra : moz-landing-system : lando
2019-12-19 11:15:47 +00:00
Mohd Umar Alam
8f61136be3 Bug 1480542: Add browser.tabs.tabmanager.enabled preference r=sfoster,dao
Added a preference to control the visibility of Tab Manager Menu to facilitate the incremental development.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:07:00 +00:00
Dão Gottwald
e400e680a5 Bug 1605050 - Stop inconsistently accepting javascript: and data: URL drops on new-tab-button. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57762

--HG--
extra : moz-landing-system : lando
2019-12-19 11:24:13 +00:00
moz-wptsync-bot
e91c500169 Bug 1604239 - [wpt-sync] Update web-platform-tests to e55857984717219492bace41560c4483ecbf5164, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: e55857984717219492bace41560c4483ecbf5164
wpt-type: landing
2019-12-19 11:14:54 +00:00
moz-wptsync-bot
6d1bba9c85 Bug 1603758 [wpt PR 20768] - Update wpt metadata, a=testonly
wpt-pr: 20768
wpt-type: metadata
2019-12-19 11:14:54 +00:00
Rune Lillesveen
f6076b5176 Bug 1603758 [wpt PR 20768] - Added tests for meta color-scheme attribute changes., a=testonly
Automatic update from web-platform-tests
Added tests for meta color-scheme attribute changes.

Also made HTMLMetaElement::GetName() use FastGetAttribute without
checking HasName() because HasName() is not up-to-date when
ParseAttribute() is called, which made one of the tests fail.

All tests pass with CSSColorScheme and MetaColorScheme flags enabled.

Bug: 925935
Change-Id: Ia35a656ce293874461745745ca9abb59f083a22d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1967185
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#725123}

--

wpt-commits: e55857984717219492bace41560c4483ecbf5164
wpt-pr: 20768
2019-12-19 11:14:53 +00:00
Oriol Brufau
28934e3f7a Bug 1604146 [wpt PR 20785] - [css-pseudo] Adjust computed 'display' value for outside markers, a=testonly
Automatic update from web-platform-tests
[css-pseudo] Adjust computed 'display' value for outside markers

Outside markers generate a block container, so their computed 'display'
value should change from 'inline' to 'inline-block'. This was already
happening in layout_ng_list_item.cc for markers with 'content: normal',
this patch does it for non-normal markers.

As a side-effect, this fixes the issue that non-normal markers weren't
updated when the 'list-style-position' property changed dynamically.

BUG=457718

TEST=external/wpt/css/css-pseudo/marker-content-013.html

Change-Id: I674abd77c5e736acd8147db3d3fedb2dbc5a174a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960149
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#725091}

--

wpt-commits: 54ea7f98578c181dd4448cd76963c3b04e437828
wpt-pr: 20785
2019-12-19 11:14:53 +00:00
moz-wptsync-bot
aecf19e5d6 Bug 1604168 [wpt PR 20786] - Update wpt metadata, a=testonly
wpt-pr: 20786
wpt-type: metadata
2019-12-19 11:14:52 +00:00
Rune Lillesveen
956e57b9e2 Bug 1604168 [wpt PR 20786] - Better test descriptions for meta color-scheme tests., a=testonly
Automatic update from web-platform-tests
Better test descriptions for meta color-scheme tests.

Bug: 925935
Change-Id: I5e9d30743a8d4ef7dd257d297ad7a4039407110a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1968990
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#725090}

--

wpt-commits: 6ecc8d42251b84cffae3fd915d819374b961e845
wpt-pr: 20786
2019-12-19 11:14:52 +00:00
moz-wptsync-bot
f872f7a667 Bug 1603740 [wpt PR 20766] - Update wpt metadata, a=testonly
wpt-pr: 20766
wpt-type: metadata
2019-12-19 11:14:51 +00:00
Rune Lillesveen
fb2ee5d189 Bug 1603740 [wpt PR 20766] - Tests for meta color-scheme from css-color-adjust., a=testonly
Automatic update from web-platform-tests
Tests for meta color-scheme from css-color-adjust.

All tests pass with CSSColorScheme and MetaColorScheme enabled.

Bug: 925935
Change-Id: I5d05d86d2b2f5c71868ba5607b915c2dfe9a1b59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1967182
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#725086}

--

wpt-commits: d6578a0897e9bb5d50c479cea9950e1aa3d5c293
wpt-pr: 20766
2019-12-19 11:14:51 +00:00
moz-wptsync-bot
c8354871ad Bug 1603348 [wpt PR 20738] - Update wpt metadata, a=testonly
wpt-pr: 20738
wpt-type: metadata
2019-12-19 11:14:51 +00:00
Wanming Lin
ec35d9eb30 Bug 1603348 [wpt PR 20738] - [webnfc] An empty record type's data should be null, a=testonly
Automatic update from web-platform-tests
[webnfc] An empty record type's data should be null

This CL makes an empty record type's data null.

Per spec change at: https://github.com/w3c/web-nfc/pull/463

Bug=520391

Change-Id: Iab7d1888209985d07bca83e8d847fe0c38347c1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1963319
Reviewed-by: Leon Han <leon.han@intel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Commit-Queue: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#725046}

--

wpt-commits: f20bdef6fdbbeb59fdbcde7f0ee55c1427734e28
wpt-pr: 20738
2019-12-19 11:14:50 +00:00
yu han
82c41cc0e1 Bug 1602955 [wpt PR 20711] - Fixes stepUp() and stepDown() issue with out of range values., a=testonly
Automatic update from web-platform-tests
Fixes stepUp() and stepDown() issue with out of range values.

Previous to this CL, for input type number, calling stepUp() when
its value is greater than max or call stepDown() when its value is
less than min resets its value to max-min boundary. However, if
up/down arrow is used, the value doesn't change.

https://html.spec.whatwg.org/multipage/input.html#dom-input-stepup.
The spec, in section 10 with an example, states that the value should
NOT change.  Firefox's behavior matches this spec. Safari also follows
this behavior, but it does so by throwing "InvalidStateError".

The fix is to implement section 10 of the #dom-input-stepup spec.
I updated tests to cover the new logic for all widget. The exception
is range type. Range type always has default min/max, and it clamps
it value to be within the min/max range:
 range_input_type.cc::SanitizeValue();

Bug: 1019184
Change-Id: Ie6a6aef18b1d0c507b0208a7b5a89ab411bd4028
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1959631
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Yu Han <yuzhehan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#725042}

--

wpt-commits: 66535e4e04a35cc784862bf58d3267825dcb41cb
wpt-pr: 20711
2019-12-19 11:14:50 +00:00
moz-wptsync-bot
388b7f34ea Bug 1604067 [wpt PR 20782] - Update wpt metadata, a=testonly
wpt-pr: 20782
wpt-type: metadata
2019-12-19 11:14:49 +00:00
Dominic Farolino
77b825ce13 Bug 1604067 [wpt PR 20782] - [Lazyload]: Simplify and fix disconnected image test, a=testonly
Automatic update from web-platform-tests
[Lazyload]: Simplify and fix disconnected image test (#20782)

--

wpt-commits: 47ce6ccdc49acfae697f1e04f90ce7678c78e2db
wpt-pr: 20782
2019-12-19 11:14:49 +00:00
moz-wptsync-bot
96789ae1f1 Bug 1604044 [wpt PR 20780] - Update wpt metadata, a=testonly
wpt-pr: 20780
wpt-type: metadata
2019-12-19 11:14:48 +00:00
Dominic Farolino
35c2eddb55 Bug 1604044 [wpt PR 20780] - Make assertion failures useful on UAs not supporting lazy load, a=testonly
Automatic update from web-platform-tests
Make assertion failures useful on UAs not supporting lazy load (#20780)

--

wpt-commits: 361a62ec8c977a4876d424906120feaa9493bfff
wpt-pr: 20780
2019-12-19 11:14:48 +00:00
Dominic Farolino
2c2967eda6 Bug 1603997 [wpt PR 20779] - De-flake loading/lazyload/invisible-lazy-image.tentative.html, a=testonly
Automatic update from web-platform-tests
De-flake invisible-lazy-image.tentative.html (#20779)

--

wpt-commits: 2d47eb00b0b4b37b7323b4aa8dd31c784f52eeb2
wpt-pr: 20779
2019-12-19 11:14:47 +00:00
moz-wptsync-bot
c74e988662 Bug 1602537 [wpt PR 20683] - Update wpt metadata, a=testonly
wpt-pr: 20683
wpt-type: metadata
2019-12-19 11:14:47 +00:00
Rob Buis
c327495b83 Bug 1602537 [wpt PR 20683] - LazyLoad: add new test for changing base URL, a=testonly
Automatic update from web-platform-tests
LazyLoad: add new test for changing base URL

Add new tests for changing base URL, the test
original-base-url-applied-tentative.html changed the document URL, which
only implicitly changed the document's base URL. These tests explicitly
change the document's base URL via the <base> element.

Bug: 984983
Change-Id: I5ab855aaecc8bd12502eb32a3b1d26ae5ced31a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1954508
Reviewed-by: Dominic Farolino <dom@chromium.org>
Commit-Queue: Rob Buis <rbuis@igalia.com>
Cr-Commit-Position: refs/heads/master@{#724964}

--

wpt-commits: fce0667b89ca2ec30080336b79960f1102b64a7b
wpt-pr: 20683
2019-12-19 11:14:46 +00:00