Commit Graph

565177 Commits

Author SHA1 Message Date
Sebastian Hengst
c1ff9561f8 Backed out changeset 4b4b4cad9bf5 (bug 1383300) 2017-10-21 09:47:39 +02:00
Sebastian Hengst
c94d2ee5b6 Backed out changeset 59db547d0dab (bug 1383300) 2017-10-21 09:47:33 +02:00
Manuel Hässig
a0ee157daf servo: Merge #18957 - Made fire_mouse_event take an enum for event_name (from mhaessig:fire-mouse-event-enum); r=jdm
Added an enum with the mouse event options for `fire_mouse_event` and refactored the `event_name` parameter to take the enum as argument.
I also added two options (Leave and Enter) which are noted as todo in the comments.

- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These Changes fix #18943.
- [X] These changes do not require tests because the issue said a clean build suffices.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b08bfc5c0f49dabf205c9f3c32d35c21ea0042c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fddb81c95d0bdae59595e873b5577378c6903b15
2017-10-20 22:14:43 -05:00
Josh Matthews
c58260d8a0 servo: Merge #18952 - Do not trace Rust values when thread is shutting down (from jdm:no-leak-on-shutdown); r=nox
This addresses a paint point when using debug-mozjs builds. jonco says that it is considered a leak when objects stored in side tables in a SpiderMonkey embedding are traced right before shutting down. This PR adds a per-thread flag that controls whether to run the Rust-side trace hooks, which is automatically toggled before the final GC occurs when destroying a JS runtime.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #18948 and fix #18947.
- [x] These changes do not require tests because we don't use debug-mozjs on CI

Source-Repo: https://github.com/servo/servo
Source-Revision: a71470abe5b8b4b5c14183c6e8bf7e4eefd5c5a7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dc746c0d0ac83d7c5a7dc7dc43001c9af0257b00
2017-10-20 20:28:03 -05:00
Manish Goregaokar
9a4066a31d servo: Merge #18977 - Include map length in diagnostics (from Manishearth:map-len); r=Gankro
If this doesn't match with the size it's more likely for anything caught
t be hardware corruption. If it does the situation is more interesting.

Source-Repo: https://github.com/servo/servo
Source-Revision: ba9af5c124935734437b9258c3bdb5fee1e487a0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 23fdab8eaae62883df3d3a42a5b120c1e46dbb64
2017-10-20 18:52:54 -05:00
hrdktg
b55f2120fb Bug 1383562 - Correctly get Month and date in DownloadUtils.jsm. r=gandalf
--HG--
extra : rebase_source : deb64bb081069d19c712aa8738fc59344655cea5
2017-10-20 06:51:59 +05:30
Philippe Normand
bf7e42184a Bug 1410023 - Non-unified build fixes for xpcom/threads. r=froydnj
The recent Timer implementation changes from Bug 1404198 broke non-unified builds.

--HG--
extra : rebase_source : c87acca6565dd282f79dec481f0abf5aea9066a1
2017-10-20 17:36:29 +01:00
David Anderson
adbf5d8b01 Cache invalidation properties after compositing, not before. (bug 1408781 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : c9763856b7686253e15d9072d93ed787a79b50b0
2017-10-20 10:31:46 -07:00
David Anderson
e5f304d59f Store the AL render region separately from the shadow visible region. (bug 1408781 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 14c97296ca7dbe638179476abbe3c8eada5e159a
2017-10-20 10:31:46 -07:00
Nicolas Chevobbe
56aee668af Bug 1410071 - Remove space between user styled messages parts; r=bgrins.
The %c marker is only valid for the first argument, so if we find ourselves
between two parameters with user-styled messages, it means we should respect
the original formatting.

MozReview-Commit-ID: 4GORZyvvxRN

--HG--
extra : rebase_source : 11adda5e3a18a7e52a02bdbcf1a18a5bfee6ee2c
2017-10-19 16:03:03 +02:00
Matthew Noorenberghe
d67655f66e Bug 1383300 - Test total and domain in the payment request dialog r=marcosc
MozReview-Commit-ID: GgADdcR98xd

--HG--
extra : rebase_source : 15f3fb51b88a53f37b11ab0f5571424b34e2de9e
2017-10-18 15:08:04 -07:00
Matthew Noorenberghe
b7a8b4f93e Bug 1383300 - Move common payment tasks, methods and details to PaymentTestUtils. r=marcosc
MozReview-Commit-ID: 2jy2NXALKyd

--HG--
rename : toolkit/components/payments/test/browser/head.js => toolkit/components/payments/test/PaymentTestUtils.jsm
extra : rebase_source : 30ae5fefa4938a382bd918452ca1dcc413663836
2017-10-18 15:56:21 -07:00
Lars T Hansen
304d01b456 Bug 1409196 - Specialize loadSafeWhenRacy and storeSafeWhenRacy on arm64 for uint8_clamped to pacify Clang. f=jbeich, r=me
--HG--
extra : rebase_source : fe715ddc38cf335444fe7e67905d0c30cf7ded26
extra : amend_source : 2bffcf146e840a042f688630c2a7fb9874e31e3a
2017-10-18 22:26:04 +01:00
Tim Taubert
ce066246b7 Bug 1410428 - Handle stales messages in {WebAuthn,U2F}Manager r=jcj
Summary:
With both managers storing transaction infos in `Maybe<Info> mTransaction` now,
it occurred to me that we can't actually assert that
`mTransaction.isSome() == true` when we receive a message.

At least with the U2F API the request could be cancelled (and mTransaction
cleared) while there's a pending completion message. For WebAuthn it probably
doesn't hurt to handle this properly either.

(As a bonus, I snuck in the removal of an unused enum.)

Reviewers: jcj

Reviewed By: jcj

Bug #: 1410428

Differential Revision: https://phabricator.services.mozilla.com/D145
2017-10-21 11:34:44 +02:00
Tim Taubert
9ac166b3da Bug 1410345 - Rework U2FManager state machine r=jcj
Summary:
This patch aims to clean up the U2FManager's state machine, especially to make
cancellation of transactions clearer. To fix bug 1403818, we'll have to later
introduce a unique id that is forwarded to the U2FTokenManager.

There are multiple stages of cancellation/cleanup after a transaction was
started. All of the places where we previously called Cancel() or
MaybeClearTransaction() are listed below:

[stage 1] ClearTransaction

This is the most basic stage, we only clean up what information we have about
the current transaction. This means that the request was completed successfully.
It is used at the end of FinishRegister() and FinishSign().

[stage 2] RejectTransaction

The second stage will reject the transaction promise we returned to the caller.
Then it will call ClearTransaction, i.e. stage 1. It is used when one of the
two Finish*() functions aborts before completion, or when the parent process
sends a RequestAborted message.

[stage 2b] MaybeRejectTransaction

This is the same as stage 2, but will only run if there's an active transaction.
It is used by ~U2FManager() to reject and clean up when we the manager goes
away.

[stage 3] CancelTransaction

The third stage sends a "Cancel" message to the parent process before rejecting
the transaction promise (stage 2) and cleaning up (stage 1). It's used by
HandleEvent(), i.e. the document becomes inactive.

[stage 3b] MaybeCancelTransaction

This is the same as stage 3, but will only run if there's an active transaction.
It is used at the top of Register() and Sign() so that any active transaction
is cancelled before we handle a new request. It's also used by U2F::Cancel()
as long as bug 1410346 isn't fixed.

Reviewers: jcj

Reviewed By: jcj

Bug #: 1410345

Differential Revision: https://phabricator.services.mozilla.com/D144
2017-10-21 11:34:38 +02:00
Sebastian Hengst
ab5494d20a merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-21 11:02:13 +02:00
James Willcox
1bc1c0af6f Bug 1410534 - Correctly lock screen orientation in standalone mode r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D147

MozReview-Commit-ID: 4XFkgT9mqIB
2017-10-20 21:10:37 -05:00
Aaron Klotz
7570c7a401 Bug 1409541 - Replace IID_IUnknown with expected interfaces for outparams in a11y content ArrayData. r=Jamie
MozReview-Commit-ID: 4t0h8zH2hsB
2017-10-17 15:03:40 -06:00
Steve Fink
8c663a745c Bug 1408584 - Disallow empty clonebuffer, r=kanru
--HG--
extra : rebase_source : 0b51db6f6f9870eb06fb96d21a35983aaa21a06d
extra : amend_source : ac2b16a60ed63c0eb579bad5508cc877f9f3662d
2017-10-16 11:23:30 -07:00
Joel Maher
faa9528b7d Bug 1408403 - disable g2 for linux64-ccov builds. r=rwood 2017-10-20 12:07:12 -04:00
Joel Maher
2475c1cfbb Bug 1383577 - Enable font-face/reflow-sanity-delay-1-metrics.html on windows debug. r=jfkthame 2017-10-20 12:07:08 -04:00
Joel Maher
75e51421c8 Bug 1408389 - run devtools on asan and xlarge. r=gbrown 2017-10-20 12:06:56 -04:00
Justin Wood
86e307e4ca No Bug - Move periodic file update start time earlier, to reflect when buildbot used to run. r=me
MozReview-Commit-ID: APAL0xH5Bak

--HG--
extra : rebase_source : 832b6d4c9652d7e7bf5edfc70e07864d8894e05d
2017-10-20 11:17:50 -04:00
Nils Ohlmeier [:drno]
75da806f11 Bug 1408218: ignore EUI 64 and Teredo addresses if not needed. r=bwc
MozReview-Commit-ID: 5QHi9iC2e7y

--HG--
extra : rebase_source : 0f4f4afa3edd4153418661d8ef6f3efa12bf6223
2017-10-13 08:32:16 -07:00
Thomas Wisniewski
ac538c1bc0 Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
MozReview-Commit-ID: Lx2cjWDX8sh

--HG--
extra : rebase_source : 7f70818de5e4c31eb1781d524e0129b0b20759e3
2017-10-20 15:58:20 -04:00
Tom Ritter
ddc7e1dff8 Bug 1410438 Resolve unused result warning in js/src/jscntxt.cpp r=njn
MozReview-Commit-ID: Jsj5zofv4lK

--HG--
extra : rebase_source : 8eabd1b7860a57978d2277b2b8b948e440c47fac
2017-10-19 01:46:40 -05:00
Sebastian Hengst
19c5a8852b Backed out changeset 2dd370ac9599 (bug 1405696) for failing web-platform-test /workers/semantics/encodings/003.html. r=backout
--HG--
extra : amend_source : 40342d008230ad926612e852650e3608fc7e44a0
2017-10-20 23:47:38 +02:00
Thom Chiovoloni
57c9bd99fb Bug 1409860 - Move os to correct place in android sync ping r=Grisha
MozReview-Commit-ID: DBn8MMVgKPM

--HG--
extra : rebase_source : b51fbfd06f784f2b2c967e33079ed29a05de0710
2017-10-19 13:35:16 -04:00
Thom Chiovoloni
3f1b2cd57a Bug 1410145 - Fix wrong version field in android sync ping. r=Grisha
MozReview-Commit-ID: 1Q4Dz7g5QPA

--HG--
extra : rebase_source : 98ea2d40ad582dd84687d42cef4fb0eff4e808df
2017-10-19 12:56:56 -04:00
Sylvestre Ledru
0d4a611a04 Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor
MozReview-Commit-ID: AXrQEjWzxvg

--HG--
extra : rebase_source : bf972fbb22648af2edbb756eb899ebddf8444dbc
2017-10-20 19:11:50 +02:00
Kartikaya Gupta
b4862ba64a Bug 1402450 - Ensure the test properly delays until the content process receives the touch events. r=botond
It appears that in this case just waiting for the APZ flush to complete was
insufficient, probably because the APZ flush and touch inputs go via different
IPC channels and therefore do not provide ordering guarantees. So instead of
waiting for the APZ flush, let's just wait until the touchstart is received
in the content process and use that to resume the test.

MozReview-Commit-ID: AcPRhox1Xkg

--HG--
extra : rebase_source : be6653c7835d9a61bdc215266367adcc8adf8f0b
2017-10-20 13:23:20 -04:00
Jonathan Guillotte-Blouin
a3b13c7f7d Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP

--HG--
extra : rebase_source : 9f842ee901f94a6f0337686484ed548c3a8e2874
2017-10-12 21:31:03 -04:00
Xidorn Quan
72eecf2abd Bug 1408235 part 3 - Update test expectation for this bug. r=heycam
MozReview-Commit-ID: 2p0BAlW9Asc

--HG--
extra : source : 7a9582ad6d089b8a1db112461efb43fed4a60dfa
2017-10-21 11:02:34 +11:00
Xidorn Quan
6311b46214 Bug 1408235 part 2 - Parse XUL style attribute into stylo declaration block when the document should use stylo. r=heycam
MozReview-Commit-ID: H7l6M5hq04a

--HG--
extra : source : 67afcbb4d6f80a831c8629231427f9c6133c5433
2017-10-21 11:02:34 +11:00
Xidorn Quan
9808fc6a4b Bug 1408235 part 1 - Move stylo checking logic into a separate function. r=heycam
MozReview-Commit-ID: 9fOyC4QUSDA

--HG--
extra : source : 024a940349c480c20d967e4e1e4ddd03fd4f05b3
2017-10-21 11:02:34 +11:00
Glenn Watson
0e9020d337 servo: Merge #18956 - Update WR (box shadows + per-corner radii, elliptical clips) (from glennw:update-wr-ellipse-bs); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d6042707a660ec0377ff2db038e089cf509ac886

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fc7037055f96846ffd66a7ca1e2bde459736e464
2017-10-20 16:47:30 -05:00
J. Ryan Stinnett
8766fcbe53 Bug 1409277 - Ignore non-URLs for background pres attr. r=manishearth
Check background attribute values for the same types (URL, image) in Stylo mode
as we do in Gecko mode.

In particular, this ignores the edge case of the empty attribute, which comes
through as a string value type, and leads Stylo to trigger a load of the page
itself as the background image (since the empty URL is interpreted as relative
to the page).

MozReview-Commit-ID: CUhq5nS8kVw

--HG--
extra : rebase_source : 8a04a3175cb1a873ee7e597ad881ae64720c01ef
2017-10-20 15:24:51 -05:00
Marco Castelluccio
9264f7616b Bug 1407337 - Block OpenSC < 0.16.0.0. r=jimm
--HG--
extra : rebase_source : 6f2f1d3f7e3219e4d78b36fef92613fb23b77218
extra : histedit_source : fbe1d04b2577caeb7380c505ed53047435194159
2017-10-11 11:45:44 +01:00
Sebastian Hengst
6964317620 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-21 00:19:00 +02:00
David Anderson
8cd7b1c9be Cache invalidation properties after compositing, not before. (bug 1408781 part 2, r=mattwoodrow) 2017-10-20 15:09:13 -07:00
David Anderson
d2ae9a5558 Store the AL render region separately from the shadow visible region. (bug 1408781 part 1, r=mattwoodrow) 2017-10-20 15:09:12 -07:00
sotaro
47ccccdcad Bug 1410304 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert 2017-10-21 07:06:41 +09:00
Philippe Normand
321ce5365c Bug 1410460 - Non-unified build fix for nsClassInfoImpl.cpp. r=cpearce
The nsACString type was used without prior declaration.
2017-10-20 16:46:40 +01:00
Geoff Brown
cec74e4961 Bug 1390606 - (follow-up) Remove extra diagnostics; r=me,test-only 2017-10-20 15:30:59 -06:00
Boris Zbarsky
6a07397359 Bug 1354730. Disable named property object (aka global scope polluter) behavior for all Xrays. r=kmag
MozReview-Commit-ID: KmbXFfSzH0N
2017-10-16 10:58:09 -04:00
Jon Coppeard
371db9d8bf Bug 1410370 - Fix zone scheduling in incremental GC to continue collection of previously collected zones r=sfink 2017-10-20 21:26:02 +01:00
Andreas Pehrson
b46de63fa2 Bug 1403186 - Add guards and sanity checks for Activated vs Stopped state. r=jib
MozReview-Commit-ID: 8Rdm3I0Z4SP

--HG--
extra : rebase_source : eccb161b3378961c0a4e01f809a1ac957ae32338
2017-10-02 15:13:15 +02:00
Andreas Pehrson
47611af5a5 Bug 1403186 - Don't call NotifyFinished if not activated. r=jib
MozReview-Commit-ID: JTUIXhK6mfi

--HG--
extra : rebase_source : 8158cf363516013a7dce35a6271dac75ac444ed3
2017-10-03 11:52:18 +02:00
André Bargull
6311af36e3 Bug 1406463 - Check for dead proxy objects in Promise.all ResolveElementFunction. r=till
--HG--
extra : rebase_source : 07a7de4adb5790ba54a68c974c5debbd1f3bc5b7
2017-10-12 11:59:04 -07:00
sotaro
62965ef405 Bug 1407069 - Do not hold external image in SetCurrentTextureHost if ImageHost is async. r=nical 2017-10-20 16:42:58 +02:00