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

695055 Коммитов

Автор SHA1 Сообщение Дата
André Bargull b6fcf8c37d Bug 1619007 - Part 5: Simplify while loop exit condition. r=mgaudet
Depends on D65772

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:27:31 +00:00
André Bargull 40ead56e85 Bug 1619007 - Part 4: Return plain Value from InterpretObjLiteralValue. r=mgaudet
We can directly return `JS::Value` from InterpretObjLiteralValue instead of passing
it indirectly through a `MutableHandleValue`.

Depends on D65771

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:26:08 +00:00
André Bargull 63e51221b8 Bug 1619007 - Part 3: Call NewPlainObjectWithProperties instead of reimplementing it. r=mgaudet
Depends on D65769

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:24:40 +00:00
André Bargull ecab1ebe4b Bug 1619007 - Part 2: Remove unnecessary is<T> tests when directly followed by as<T>. r=mgaudet
The standard convention is to omit a `is<T>` test when it is directly followed
by `as<T>`, because `as<T>` is also testing for `is<T>`.

Depends on D65768

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:21:35 +00:00
André Bargull d5b122477c Bug 1619007 - Part 1: Remove unnecessary manual stack depth adjustment. r=cfallin
The preceding `JSOp::{Object,NewObject,NewObjectWithGroup,NewArrayCopyOnWrite}`
opcode already performs the correct stack depth adjustment.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:31:00 +00:00
Timothy Nikkel 9b9f2e2f0f Bug 1602323. Mark a few reftests as passing with fission now.
I forgot to mark them passing when I landed the patches that fixed them.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 07:13:05 +00:00
Boris Zbarsky 2f1001ccab Bug 1496159 test.
Differential Revision: https://phabricator.services.mozilla.com/D65845

--HG--
extra : moz-landing-system : lando
2020-03-07 04:16:15 +00:00
Boris Zbarsky ed4e79ec6a Bug 1332550 tests.
Differential Revision: https://phabricator.services.mozilla.com/D65844

--HG--
extra : moz-landing-system : lando
2020-03-07 04:01:12 +00:00
Scott c5d765a430 Bug 1620670 - Remove dismiss jank for collections. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D65793

--HG--
extra : moz-landing-system : lando
2020-03-07 00:19:35 +00:00
Jan-Ivar Bruaroey 544fc9b8c5 Bug 1620073 - Test more methods in RTCPeerConnection-operations.https.html wpt. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D65795

--HG--
extra : moz-landing-system : lando
2020-03-07 02:24:08 +00:00
Jan-Ivar Bruaroey 102768bbdd Bug 1620073 - Tighten RTCPeerConnection-operations.https.html wpt tests. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D65631

--HG--
extra : moz-landing-system : lando
2020-03-07 02:22:28 +00:00
Jan-Ivar Bruaroey eb96692383 Bug 1620073 - Tighten RTCPeerConnection-onnegotiationneeded.html wpt vis-a-vis signalingstatechange. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D65405

--HG--
extra : moz-landing-system : lando
2020-03-07 02:20:48 +00:00
Toshihito Kikuchi d992a091fa Bug 1615401 - Part 3: Use OSInfo::Kernel32Version() to select a thunk resolver. r=bobowen
Cherry-picking Chromium's commit 01c8afd0dc14a1acef383c5f231258d0cfac95e5
to fix the crash caused by Chromium's sandbox code.

The original bug on Chromium side: https://crbug.com/1053805

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

Depends on D65802
2020-03-06 18:52:25 +02:00
Toshihito Kikuchi 866761cd8a Bug 1615401 - Part 2: Keep Chromium's file_version_info_win.cpp updated r=bobowen
Cherry-picking the following commits from Chromium to keep file_version_info_win.cpp
up-to-date.

1. Use StringPiece rather than std::string for Version parsing.
15a9d1733f

2. [Cleanup] Un-const the result of base::Version::GetString()
fde745d058

3. Export Windows file version as base::Version
e93de3a37d

4. Tidy FileVersionInfoWin.
4bb23ded3a

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

Depends on D65744
2020-03-06 22:24:01 +02:00
Toshihito Kikuchi 0d29a60c01 Bug 1615401 - Part 1: Partially implement FileVersionInfoWin to use from OSInfo::Kernel32BaseVersion(). r=bobowen
This patch partially implements `FileVersionInfoWin` and `base::FilePath` class of
Chromium sandbox so that a coming patch can use `base::win::OSInfo::Kernel32BaseVersion()`.

Differential Revision: https://phabricator.services.mozilla.com/D65744
2020-03-06 18:51:54 +02:00
Tom Prince 5a52cec97c No bug: Fix missing space in `mach try syntax` help text.
Differential Revision: https://phabricator.services.mozilla.com/D65840

--HG--
extra : moz-landing-system : lando
2020-03-07 01:27:13 +00:00
Arthur Iakab 7944f5d0c9 Backed out changeset 9930f4d0e821 (bug 1620549) for causing build bustages on platform-linux-android.cpp
CLOSED TREE
2020-03-07 03:47:44 +02:00
Michael Forney 4fa7b340c0 Bug 1620549 - Set stack size of profiler sampler thread to N_STACK_BYTES + 20 KiB r=gerald,mstange
N_STACK_BYTES are needed to store backtrace information, so use
that plus some extra as the minimum stack size for the sampler
thread to ensure that it doesn't overflow.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 01:16:28 +00:00
Agi Sferro 97c5dd8d40 Bug 1599139 - Add API to control whether extensions can run in private browsing. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D65551

--HG--
extra : moz-landing-system : lando
2020-03-07 00:59:46 +00:00
Agi Sferro f6f2f88fa3 Bug 1560048 - Expose WebExtension baseURL to embedders. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D65399

--HG--
extra : moz-landing-system : lando
2020-03-07 00:59:46 +00:00
Punam Dahiya 18fa7b220b Bug 1620029 - Simplified about:welcome seen pref update r=k88hudson,mconley
Differential Revision: https://phabricator.services.mozilla.com/D65608

--HG--
extra : moz-landing-system : lando
2020-03-06 23:33:04 +00:00
Boris Zbarsky a48980ac8c Bug 1619112 part 6. Remove duplicated string array appender bits. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65544

--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:17 +00:00
Boris Zbarsky 00cd5d4380 Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug
Callers should pass in UTF-8, since that's what the JS engine ends up with in the end anyway.

The various URL changes are because NS_NewURI converts incoming nsAString to
UTF-8 anyway.  So we might as well do that up-front and then use the UTF-8
string for both the NS_NewURI call and the error-reporting if it fails.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:02 +00:00
Boris Zbarsky b3ccd8dfb9 Bug 1619112 part 4. Remove some unnecessary string conversions in EME code. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D65540

--HG--
extra : moz-landing-system : lando
2020-03-06 21:06:01 +00:00
Boris Zbarsky f31fe5e910 Bug 1619112 part 3. Pass UTF8 strings to MaybeRejectWithType/RangeError promise methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65539

--HG--
extra : moz-landing-system : lando
2020-03-06 21:05:48 +00:00
Boris Zbarsky c878a8bb26 Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65538

--HG--
extra : moz-landing-system : lando
2020-03-06 21:04:58 +00:00
Boris Zbarsky 8015d8dbc8 Bug 1619112 part 1. Change the internal storage for ErrorResult errors-with-messages to UTF8 strings. r=smaug
CStringArrayAppender is just a copy of StringArrayAppender with the incoming
types expanded to accept both wide and narrow strings.  Later patches will
remove the wide-string variants incrementally.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:54:56 +00:00
Mark Striemer 15d66b4df2 Bug 1619651: Fix focusing of create login button r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D65798

--HG--
extra : moz-landing-system : lando
2020-03-06 23:16:41 +00:00
Boris Zbarsky ddfdf6585a Bug 1618011 part 11. Don't expose method names like __namedsetter to the web. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D65204

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:17 +00:00
Boris Zbarsky 8e25df76a8 Bug 1618011 part 10. Use a BindingCallContext for initializing AudioParamDescriptors. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D64891

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:17 +00:00
Boris Zbarsky 793a22384c Bug 1618011 part 9. Make error reporting for unions nicer. r=peterv
Instead of something like
"ByteStringSequenceSequenceOrByteStringByteStringRecord" we should have
"(sequence<sequence<ByteString>> or record<ByteString, Bytestring>)" in error
messages.

Please take a careful look at the resulting error messages (see attachment
in the bug) to see whether this makes sense.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 23:07:17 +00:00
Boris Zbarsky da6fb20d19 Bug 1618011 part 8. Switch ByteString conversions to having a method name prefix. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64889

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:16 +00:00
Boris Zbarsky 0082f55dee Bug 1618011 part 7. Switch most error messages used in bindings to having a method name prefix. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64888

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:16 +00:00
Boris Zbarsky 61e0515f43 Bug 1618011 part 6. Pass a BindingCallContext (if neded) and source description to primitive conversions. r=peterv
The BindingCallContext tracks what method the conversion is for, and the source
description is how the primitive is involved in that method (e.g. "argument 5").

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

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:16 +00:00
Boris Zbarsky 8a18c1c3ae Bug 1618011 part 5. Use a BindingCallContext for Web IDL callback guts. r=peterv
We basically need this because some of the type conversions those guts need to
do may need a BindingCallContext.

We could probably do more optimization here to only generate the
BindingCallContext bits if we will really need them, more or less based on our
return type.  But for now that doesn't seem worthwhile.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:16 +00:00
Boris Zbarsky e322a9eb2f Bug 1618011 part 4. Pass a BindingCallContext to dictionary Init() methods. r=peterv
Dictionaries always need a BindingCallContext, because they can throw
MSG_NOT_DICTIONARY from Init().

We allow non-binding callsites to pass JSContext*, in which case they will not
get quite-as-nice error reporting.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:15 +00:00
Boris Zbarsky 1d77f0de96 Bug 1618011 part 3. Pass a BindingCallContext to union setters. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64884

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:15 +00:00
Boris Zbarsky f612519949 Bug 1618011 part 2. Add a BindingCallContext class. r=peterv
We instantiate this class in various binding methods.  Future patches will make
use of it to throw errors.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:15 +00:00
Boris Zbarsky 14b7f5071e Bug 1618011 part 1. Implement support for error context in ThrowErrorMessage. r=peterv
This does not change behavior at the moment, because the only callers of
ThrowErrorMessage that pass an error number that has a context pass an empty
string for the first (context) arg.  Both of those callers are changed to pass
nullptr for the context in this patch.

We want to support nullptr to mean "empty context", because that way at
callsites we can avoid having extra empty strings.

We could avoid putting this machinery in place if we hardcoded the trailing
": " at all the callsites, but that would reduce future flexibility in where the
context is placed in the message string (e.g. if we wanted to move it to the
end instead of the beginning) and increase the amount of string data we have to
cart around in the binary quite noticeably: we have a _lot_ of places in
bindings where we call ThrowErrorMessage.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:15 +00:00
Emma Malysz 4d71db7b6d Bug 1604299, Remove remaining references to XULDocument r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D58143

--HG--
extra : moz-landing-system : lando
2020-03-06 21:51:36 +00:00
Jeff Walden 9962a9df84 Bug 1618662 - Use a single |Intl.Collator| object to do diacritics-ignoring comparisons in URL bar autocomplete highlighting. r=AlexHenrie,mak
Differential Revision: https://phabricator.services.mozilla.com/D65235

--HG--
extra : moz-landing-system : lando
2020-03-06 15:37:10 +00:00
Boris Chiou 0a08960bb5 Bug 1612891 - Use IgnoredErrorResult as the parsing easing error result. r=bzbarsky
IgnoredErrorResult works well as the auto suppressor class and it's
cleaner.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:04:07 +00:00
Noemi Erli 4ce2700cf2 Backed out 3 changesets (bug 1604365, bug 1604367, bug 1618408) for causing xpcshell failures in test_addon_unenroll.js CLOSED TREE
Backed out changeset da98cf612f95 (bug 1618408)
Backed out changeset d0267467fe87 (bug 1604365)
Backed out changeset 34215be38526 (bug 1604367)
2020-03-07 00:42:40 +02:00
moz-wptsync-bot 48c3248aaf Bug 1620436 - [wpt-sync] Update web-platform-tests to 78f14c537b62447d64aeb65a30ede77c5d26db41, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 78f14c537b62447d64aeb65a30ede77c5d26db41
wpt-type: landing
2020-03-06 22:30:14 +00:00
moz-wptsync-bot b9667100dd Bug 1619792 [wpt PR 22075] - Update wpt metadata, a=testonly
wpt-pr: 22075
wpt-type: metadata
2020-03-06 22:30:14 +00:00
Joey Arhar 0b08971690 Bug 1619792 [wpt PR 22075] - Add tests for input and change events on checkboxes and radios, a=testonly
Automatic update from web-platform-tests
Add tests for input and change events on checkboxes and radios

This follows @domenic's suggestion in https://github.com/whatwg/html/issues/5291

--

wpt-commits: 78f14c537b62447d64aeb65a30ede77c5d26db41
wpt-pr: 22075
2020-03-06 22:30:13 +00:00
George Steel 05e552d46c Bug 1619392 [wpt PR 22048] - Sync on style when creating a pseudo-element animation from script, a=testonly
Automatic update from web-platform-tests
Sync on style when creating a pseudo-element animation from script

Sync on style before evaluating a pseudo-element selector other than null.
Remove manual style syncs from pseudo-element animation wpt tests.

Bug: 1057101
Change-Id: I8a1184221f40c7546ac5179615f0d6541e8729e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083715
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Commit-Queue: George Steel <gtsteel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747333}

--

wpt-commits: b15e954c41e6d98122ea8e4b4515bb6c6e43cf62
wpt-pr: 22048
2020-03-06 22:30:13 +00:00
Stefano Sanfilippo fccaebfe50 Bug 1620238 [wpt PR 22102] - [Trusted Types] Gate eval on require-tt-for., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Gate eval on require-tt-for.

Also, tidy up enforcement headers in WPTs, update one.

Bug: 1058437
Change-Id: Ic24b0297af04230562b104fd6664387cba5b169b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089772
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747320}

--

wpt-commits: 261dd95ad3bf4b36b971fe4832dc2f313c491448
wpt-pr: 22102
2020-03-06 22:30:12 +00:00
Liviu Tinta 68a11d8c6c Bug 1617996 [wpt PR 21970] - Pointer Event Capture is not lost when using chorded buttons., a=testonly
Automatic update from web-platform-tests
Pointer Event Capture is not lost when using chorded buttons.

Add web test for the bug.
Add check in HandleMouseReleaseEvent to release mouse capture only when all the mouse buttons are released.

Bug: 1053385
Change-Id: Id327f67c915b79673e80b1c97d3e6975a3488d50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071292
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747291}

--

wpt-commits: 0b243d36ce54f38a58edbea54a51eb0d6940a12a
wpt-pr: 21970
2020-03-06 22:30:12 +00:00
Krzysztof Kotowicz 26bca2c491 Bug 1620225 [wpt PR 22101] - [Trusted Types] Removed trustedTypes.getPolicyNames()., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Removed trustedTypes.getPolicyNames().

Context: https://github.com/w3c/webappsec-trusted-types/issues/235

Bug: 739170
Change-Id: I8499534f4351ea2c9f689071f3d6510238382d72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089651
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Auto-Submit: Krzysztof Kotowicz <koto@google.com>
Cr-Commit-Position: refs/heads/master@{#747250}

--

wpt-commits: d8dea9c9ca97bab3138d89db56e707046533680f
wpt-pr: 22101
2020-03-06 22:30:11 +00:00