Commit Graph

565027 Commits

Author SHA1 Message Date
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
Sebastian Hengst
091894faea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpMeK9OdQsz
2017-10-21 10:59:18 +02:00
Sebastian Hengst
e112ff9de3 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3SbyRgAr0Oz
2017-10-21 10:57:46 +02:00
ffxbld
7f7b3b43f6 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2017-10-20 22:50:42 -07:00
ffxbld
a84b3aab6c No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2017-10-20 22:50:38 -07: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
Sebastian Hengst
6125e83b28 Backed out changeset c5f2f0e827d0 (bug 1403027) for build bustage at dom/workers/WorkerPrivate.cpp(984): expression did not evaluate to a constant, at least on Windows. r=backout on a CLOSED TREE
--HG--
extra : amend_source : e6eb5cbe9b6b41a929c8f811859efe6093eab3a2
2017-10-21 00:31:07 +02:00
Sebastian Hengst
aa75559a2f merge mozilla-central to autoland. r=merge a=merge 2017-10-21 00:16:08 +02:00
Sebastian Hengst
8d0319bfa2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gu7wIBFJOqe
2017-10-21 00:05:19 +02:00
Emilio Cobos Álvarez
8181ee70ac Bug 1410396: Skip test_conformance__glsl__misc__shader-uniform-packing-restrictions.html on Linux debug too. rpending=jgilbert
Since it's timing out very frequently on central, and apparently the culprit is
bug 1409088, which just added a relatively expensive assertion in layout.

Since that assertion has caught at least two bugs already since it landed, I
really don't want to remove it...

MozReview-Commit-ID: JVeAVKZe1PE
2017-10-20 21:44:35 +02:00
Sebastian Hengst
e045239d71 Backed out changeset 196206f129ef (bug 1403213) for referencing non-existing xpcom/rust/gtest/moz.build in xpcom/moz.build. r=backout on a CLOSED TREE
--HG--
rename : servo/support/gecko/nsstring/src/lib.rs => servo/components/style/gecko_bindings/nsstring_vendor/src/lib.rs
extra : amend_source : 38517df328727184682c048c4c741b384fcddd58
2017-10-20 21:31:59 +02:00
Sebastian Hengst
5d671ee296 Backed out changeset 74c58b336d30 (bug 1403213) for referencing non-existing xpcom/rust/gtest/moz.build in xpcom/moz.build. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 7c25d872785312b81c4a94ef32de025b38642f54
2017-10-20 21:30:36 +02:00
Sebastian Hengst
ad8006bcb6 Backed out changeset fd03410adaba (bug 1408781) for build bustage at gfx/layers/mlgpu/PaintedLayerMLGPU.h:62: 'SetRenderRegion' overrides a member function but is not marked 'override'. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6c4a95d8314f969e2b449381ae14378e9e6bd7a8
2017-10-20 20:52:56 +02:00
Sebastian Hengst
41d5742833 Backed out changeset 4d2c317e3936 (bug 1408781) 2017-10-20 20:52:50 +02:00
Brendan Dahl
25dd61aaf2 Bug 1410477 - Re-add file_fullscreen-plugins.html test. r=jrmuizel
Accidentally removed in bug 1408220.

MozReview-Commit-ID: GgzovCsFdcr

--HG--
extra : rebase_source : db3b2b003eed4655cd9ea1ea1f42377f4ee85cc6
2017-10-20 10:32:30 -07:00
Nika Layzell
a4927e2417 Bug 1403213 - Move nsstring into servo/support/gecko/nsstring, r=froydnj
MozReview-Commit-ID: FmKtJxSCdYc
2017-10-20 12:04:30 -07:00
Andrew Halberstadt
6e3d5384d5 Bug 1410454 - Fix ImportError regression in mozboot, r=nalexander
This fixes a regression from bug 1408365. Ideally these imports would
be defined at the top of the file, then the py2 linter would have caught
them. Even more ideally, mozboot would have some tests that hit these
code paths.

MozReview-Commit-ID: BWvIwAdUBF4

--HG--
extra : rebase_source : 6472f730a5cd12aa98af7a21f958d1ad2400f995
2017-10-20 14:31:47 -04:00
Nika Layzell
d7c878d8ac servo: Merge #18941 - Move nsstring from gecko into servo/support/gecko/nsstring (from mystor:nsstring); r=mystor
This is the servo side of bug 1403213.

This cannot merge until https://bugzilla.mozilla.org/show_bug.cgi?id=1377351 merges. It is currently on inbound. This will break autoland when it merges until the gecko-side part has also landed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e0f5afa83d9f0eba07988735e56f47a2c18b451

--HG--
rename : servo/components/style/gecko_bindings/nsstring_vendor/src/lib.rs => servo/support/gecko/nsstring/src/lib.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ee57178ea85a844d5fb5c15e9aab3d430c0ac9a1
2017-10-20 12:32:05 -05:00
Michael Comella
b3504f0aa9 Bug 1410497: Remove local.properties from tree. r=nalexander
MozReview-Commit-ID: 34Pw2ULyzht

--HG--
extra : rebase_source : 8843a008b48f0561164d91457bfa57d331561ac7
2017-10-20 11:36:54 -07: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
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
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