Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
db37a82e0b
Bug 1404181 - Part 9: Add code for detecting if display list building happened for a given frame, and use it to add some tests for retained display lists. r=mstange
...
MozReview-Commit-ID: AIb0AWU7iiS
--HG--
extra : rebase_source : f6277bbe2c8ffd571e32bb886903243df655918e
2017-09-27 17:17:11 +13:00
Emilio Cobos Álvarez
827d0b7cd8
Bug 1405547: Account for mid-unbind conditions in the BitsArePropagated assertion too. r=heycam
...
I'm not adding a crashtest because the one provided is kinda unreliable, and I
suck and I wasn't able to find a better one.
MozReview-Commit-ID: CmaF0NO4Dff
--HG--
extra : rebase_source : 5d324499b1a258f9d73266c06adbc46ae98db896
2017-10-21 12:37:52 +02:00
Sebastian Hengst
75dc1431ee
merge mozilla-central to autoland. r=merge a=merge
2017-10-22 11:36:08 +02:00
Sebastian Hengst
8a6a6bef7c
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: GGP7KWtpVW8
2017-10-22 11:34:25 +02:00
Sebastian Hengst
7e9a8a9bc9
merge mozilla-central to autoland. r=merge a=merge
2017-10-21 11:00:23 +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
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
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
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
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
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
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
Sebastian Hengst
6964317620
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-10-21 00:19:00 +02: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
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
Olli Pettay
68408cdca0
Bug 1397811, in order to not leak properties, ensure all the properties of adopted nodes are removed in case the adopt call fails, r=bz
2017-10-20 11:02:29 +01:00
JW Wang
2eb358fe5c
Bug 1409649 - shut down the decoder when MEDIA_ERR_ABORTED is received. r=gerald
...
http://searchfox.org/mozilla-central/rev/dca019c94bf3a840ed7ff50261483410cfece24f/dom/html/HTMLMediaElement.cpp#1395-1400
We need to shut down the decoder after setting network state to EMPTY.
Otherwise the decoder will keep loading and change ready state to HAVE_METADATA
or greater and then fail the assertion in AssertReadyStateIsNothing().
MozReview-Commit-ID: FpMDVAJHTS5
--HG--
extra : rebase_source : 5fc7a189a47b462f7c5f89da650aeac171639664
2017-10-18 16:08:33 +08:00
Emilio Cobos Álvarez
48762a8de7
Bug 1406448 - Skip test_conformance__glsl__misc__shader-uniform-packing-restrictions.html on Win7 debug for frequent failures. r=RyanVM
2017-10-19 20:02:35 -04:00
Sebastian Hengst
24583b9443
merge mozilla-central to autoland. r=merge a=merge
2017-10-20 01:08:09 +02:00
Sebastian Hengst
20d769ea9c
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Gc5JIILUrPi
2017-10-20 00:05:39 +02:00
Nathan Froyd
47b2d43b88
Bug 1410102 - use fewer cycle collection macros for GamepadServiceTest; r=qdot
...
No reason to use a mess o' macros when a single one will do the trick.
2017-10-19 14:41:10 -04:00
Nathan Froyd
3689f793d3
Bug 1410100 - use fewer cycle collection macros for nsHTMLContentSink; r=mccr8
...
No need to use the complex macros when the simple macros do the same thing.
2017-10-19 14:41:10 -04:00
James Cheng
bcfbcfbc4a
Bug 1410022 - Remove redundant PDM::Supports check caused by bug 1407919 part6. r=gerald
...
MozReview-Commit-ID: EoAARcmhjlV
--HG--
extra : rebase_source : 560d91e004f0787278e7e3181e58c953c27368e5
2017-10-19 18:03:09 +08:00
Sebastian Hengst
ac57f6f7df
merge mozilla-central to autoland. r=merge a=merge
2017-10-19 11:52:58 +02:00
Sebastian Hengst
bf793df477
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: HasKw28SN45
2017-10-19 11:26:22 +02:00
Jessica Jong
0d1588d9f7
Bug 1408341 - Implement assignedSlot on Element and Text. r=smaug
2017-10-19 14:31:36 +08:00
Matthew Gregan
1e76a370ab
Bug 1407487 - P3: Exclude Android when enabling cubeb-remoting. r=kamidphish
...
MozReview-Commit-ID: 1bi07WmNqgb
2017-10-19 18:02:54 +13:00
Dan Glastonbury
dbd544f296
Bug 1407487 - P1: Remove --enable-cubeb-remoting. r=kinetik,rillian
...
Replace with conditional compilation enabled for Linux targets.
MozReview-Commit-ID: GjD0Ix8aeJW
2017-10-19 18:02:50 +13:00
Nicholas Nethercote
78030c0e7b
Bug 1409598 - Change nsIXPCScriptable::className and nsIClassInfo::{contractID,classDescription} from string to AUTF8String. r=froydnj.
...
This lets us replace moz_xstrdup() of string literals with AssignLiteral(),
among other improvements.
--HG--
extra : rebase_source : 9994d8ccb4f196cf63564b0dac2ae6c4370defb4
2017-10-18 13:17:26 +11:00
Stephen A Pohl
359def9977
Bug 1373581: Make transition into and out of native fullscreen smoother on macOS. r=mstange
2017-10-18 21:50:47 -04:00
Ryan VanderMeulen
cb612851ed
Merge inbound to m-c. a=merge
2017-10-18 21:01:34 -04:00
Alex Gaynor
279b3dd5ce
Bug 1409747 - fixed compilation on macOS with the sandbox disabled; r=haik
...
MozReview-Commit-ID: F9lNO8OPKS4
--HG--
extra : rebase_source : dbf7e1858f712182bab5c85fbd70b5b4293c5db5
2017-10-18 10:27:34 -04:00
Bob Clary
012a6c1870
Bug 1409365 - disable dom/media/test/crashtests/1180881.html on Android 5.0, r=gbrown
2017-10-18 14:46:15 -07:00
Tom Ritter
6ed6471255
Bug 1409579 Only define PATH_MAX if it is not already defined. r=jdm
...
MozReview-Commit-ID: 7ntgDp7sj65
--HG--
extra : rebase_source : c107772902a35b8d9f8a4ac9a543ddf3dd832ca4
2017-10-17 18:46:22 -05:00
Andrea Marchesini
44453a7efd
Bug 1407936 - Cleaning up QuotaManagar data only when ServiceWorkers are correctly unregistered, r=bkelly
2017-10-19 18:17:40 +02:00
James Cheng
6512232414
Bug 1407919 - Part7 - Check bit depth in PDM::Supports. r=gerald,jya
...
MozReview-Commit-ID: ATW9sZeDCTu
--HG--
extra : rebase_source : d4df293dee735548aa8174e1158b7a87c51c3bec
2017-10-17 01:04:37 +08:00
James Cheng
638d7ea11b
Bug 1407919 - Part6 - Check bit depth in WebMDecoder to determine if we support HDR. r=gerald
...
MozReview-Commit-ID: Jq569mlINNh
--HG--
extra : rebase_source : 57a352d9e621fc9a204f8865784332ec9aab96a5
2017-10-17 15:45:09 +08:00
James Cheng
fe306cda12
Bug 1407919 - Part5 - Extract bit depth information from codec parameter string into VideoInfo::mBitDepth. r=jya
...
MozReview-Commit-ID: GUwSrpbhOxA
--HG--
extra : rebase_source : 2efbf5f6cb61b99059b2d7ae05676af72266d2c2
2017-10-17 11:20:44 +08:00
James Cheng
0052736720
Bug 1407919 - Part4 - Add mBitDepth field into VideoInfo. r=jya
...
MozReview-Commit-ID: GfQndec1cyB
--HG--
extra : rebase_source : 86f940b5e4a9497fa51dc16c3bbe813698b260bf
2017-10-17 11:17:23 +08:00
James Cheng
ed18e57446
Bug 1407919 - Part3 - Add a gtest for testing the extraction function. r=gerald
...
MozReview-Commit-ID: 7CocV0rLtk7
--HG--
extra : rebase_source : 5fd1ac5e5623b2e4637b0e78541582432a87ac44
2017-10-13 21:17:35 +08:00
James Cheng
b40f82f1ce
Bug 1407919 - Part2 - Use the helper function to tell if it is a vp8/9 codec string. r=gerald
...
MozReview-Commit-ID: G0AKSExgm3R
--HG--
extra : rebase_source : 252395963f0f0f9d8d853e83e5cfa4b1f7fc3948
2017-10-13 14:18:29 +08:00
James Cheng
86e88e8319
Bug 1407919 - Part1 - Add an extraction function to parse the RFC-6381 VP9 codec string. r=gerald,jya
...
MozReview-Commit-ID: Ii0L4IPtzJJ
--HG--
extra : rebase_source : 9d1780e76908095a234a4eed13e792d75a714596
2017-10-13 13:55:05 +08:00
Boris Chiou
22d25c4d73
Bug 1303235 - Part 3: Enable test_restyle.html and remove the early return in CanIgnoreIfNotVisible. r=hiro
...
MozReview-Commit-ID: LMKSVW2sh5N
--HG--
extra : rebase_source : 96d48acefeedaa5e9510ea51567b87439bb8f48e
2017-10-11 14:39:37 +08:00
Boris Chiou
80e5237e58
Bug 1303235 - Part 2: Templatize CalculateCumulativeChangeHint. r=hiro
...
MozReview-Commit-ID: JHSn7FoRPpW
--HG--
extra : rebase_source : f79dbf3b65bc20c13976e348cb9d192bd8b4bb4b
2017-10-12 16:12:54 +08:00