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

591390 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt 4f2811fcda Bug 1438551 - Don't discard the back buffer when we reuse the front buffer. r=nical
It can happen often where we reuse the front buffer for a long paint, and then
the next frame we see that it is still locked, and need to allocate a new buffer
from the texture pool. If this happens we don't need to repaint the new buffer
because the old buffer is still around, but we do need to copy it over and
upload it to texture sources. It seems better to just hold onto the back buffer
and let it accumulate more invalid regions.

MozReview-Commit-ID: 2DQjwAX7ZmM

--HG--
extra : rebase_source : 3077952d3ef56deea6af68492f71bb114d96d84a
2018-04-10 09:27:09 -05:00
Ryan Hunt 75d0a20b5a Bug 1438551 - When creating a back buffer, only paint in the visible rect. r=nical
When we are creating a new back buffer we mark the whole region as being
invalid. This will cause us to paint extra in certain circumstances where
the visible region is a subset of the tile space.

MozReview-Commit-ID: BayRu0mV39O

--HG--
extra : rebase_source : b7eb40408faca5fc3fbc3e53263de7d262af35d5
2018-04-06 14:36:39 -05:00
Ryan Hunt 2108992f64 Bug 1438551 - When resizing single tile buffers be sure we don't mark the copied region as invalidated. r=nical
We discard and copy over data from the old tile when we resize a single tiled content client. For some reason
we were not removing that region we successfully copied from the invalid region we would then set on the tile.
This would cause us to do more work on following frames. For some other reason we were removing that region
from the region we'd clear for non-opaque tiles. This commit changes it so we remove it from both.

MozReview-Commit-ID: DIu1Y3jzV7Z

--HG--
extra : rebase_source : 9c06482798823cf9ecb9be4937c6af9dd1ece6f2
2018-03-26 18:15:30 -05:00
Jon Coppeard ef9aefe363 Bug 1454009 - Cut down BinAST log output during jsapi tests r=yoric 2018-04-16 17:52:02 +02:00
Andreas Pehrson 4725f85fd8 Bug 1450954 - Test that a screenshare track's getSettings return sane dimensions. r=jib
MozReview-Commit-ID: GDSQLfXBFBU

--HG--
extra : source : a836af9dc1468a9d4c8f925cb391dd39d8e6e416
extra : histedit_source : 8ff97a3d4a852fc1d4f0bd2eaef04dc0e35247f1
2018-04-10 15:04:25 +02:00
Jason Laster d6fe1634d0 Bug 1454254 - Update Debugger Frontend v39. r=jdescottes 2018-04-16 11:38:24 -04:00
Ben Hearsum f3da0aa384 bug 1355482: document taskcluster releng implementation and release promotion - add missing file. r=aki 2018-04-16 11:25:24 -04:00
Nathan Froyd fcd4d69f20 Bug 1454040 - part 2 - remove nsAutoPtr entirely from nsSMILTimedElement; r=dholbert
This patch handles the other use of nsAutoPtr in nsSMILTimedElement: the
storing of nsSMILTimeValueSpecs.
2018-04-16 11:15:56 -04:00
Nathan Froyd d032671b97 Bug 1454040 - part 1 - make time intervals in nsSMILTimedElement UniquePtrs; r=dholbert
UniquePtr is nicer than nsAutoPtr.
2018-04-16 11:15:56 -04:00
James Graham 19d603fac9 Bug 1447040 - Disable cache-abort serviceworker test on mac debug, a=testonly
MozReview-Commit-ID: AG1rleCpnmO
2018-04-16 16:08:20 +01:00
James Graham 317a800b43 Bug 1454362 - Add long timeout to cache-abort tests, a=testonly
These were previously timing out regularly on OSX debug builds.

MozReview-Commit-ID: KYpqnV7cJFY
2018-04-16 14:21:54 +01:00
Adam Rice 77561664a2 Bug 1447040 [wpt PR 10096] - Correctly reject in-progress body methods with AbortError, a=testonly
Automatic update from web-platform-testsCorrectly reject in-progress body methods with AbortError

Prior to this change, response body methods such as
response.body.arrayBuffer() would reject with a TypeError if the fetch
was aborted. This change makes them correctly reject with an AbortError
instead.

This implements stage #3 of the "Body Cancellation" section of the
design doc:

https://docs.google.com/document/d/1OuoCG2uiijbAwbCw9jaS7tHEO0LBO_4gMNio1ox0qlY/edit#heading=h.fvc7d7q07oio

Bug: 817687
Change-Id: Ifde322d9c22485a8ba9d14fd4ffca65c4fb4745a
Reviewed-on: https://chromium-review.googlesource.com/954765
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544335}

wpt-commits: f2ae7641fad03150b4238a8b34dc9bdfdf58c0dd
wpt-pr: 10096
wpt-commits: f2ae7641fad03150b4238a8b34dc9bdfdf58c0dd
wpt-pr: 10096
MozReview-Commit-ID: KWIBtaWMUPx
2018-04-16 14:21:46 +01:00
Ben Kelly 4bdb579005 Bug 1451913 P10 Make the inner window explicitly disconnect the IDBFactory. r=baku 2018-04-16 06:08:53 -07:00
Ben Kelly fefeb4c744 Bug 1451913 P9 Try to avoid event listener leak test intermittents by doing more GC. r=baku 2018-04-16 06:08:53 -07:00
Ben Kelly dab3fba304 Bug 1451913 P8 Add an AudioContext event target leak test. r=smaug 2018-04-16 06:08:53 -07:00
Ben Kelly d53119ba20 Bug 1451913 P7 Add an IDB event target leak test. r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly 7a31079a0e Bug 1451913 P6 Test that WebSocket does not leak through its event listeners. r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly 1d58ed46c7 Bug 1451913 P5 Migrate the IDBFactory to the new window on document.open(). r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly e7d4b26777 Bug 1451913 P4 Don't manually create a new Performance object on document.open() since we are rebinding the old Performance to the new global. r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly dcda4a3e1c Bug 1451913 P3 Make AudioContext add itself to the new window when its rebound for a document.open(). r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly 39a5ac2cec Bug 1451913 P2 Update websocket state on the inner window when rebinding. r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly 4763ab4066 Bug 1451913 P1 Allow subclasses to override DOMEventTargetHelper::BindToOwner(nsIGlobalObject*). r=smaug 2018-04-16 06:08:51 -07:00
Ben Kelly 968dd21f15 Bug 1451913 P0 Delay rebinding and freeing the old inner window until after set the new inner window. r=smaug 2018-04-16 06:08:51 -07:00
Jan-Erik Rediger 9c0b797add Bug 1443615 - Remove legacy Telemetry component `TelemetryLog`. r=chutten
--HG--
extra : source : ba89b2464447228f4f8c4679a78f23d84ebe1e2b
2018-04-09 01:46:00 -04:00
Dragan Mladjenovic 9e445c5546 Bug 1453628 - [MIPS64] Cleanup JIT <-> C++ 32-bit argument passing for simulator build. r=bbouvier 2018-04-16 09:03:40 -04:00
Florian Quèze 22cb324da8 Bug 854464 - round the percentComplete value of the download indicator before setting it to set it at most 100 times, r=paolo. 2018-04-16 14:27:13 +02:00
Jan de Mooij 8d311e9b33 Bug 1447989 - Add some asserts to TI code. r=tcampbell 2018-04-16 13:26:32 +02:00
Boris Zbarsky ecac16fefa Bug 1453339. Make it harder to mess up Promise::All. r=peterv
MozReview-Commit-ID: UO4wssYHj7
2018-04-13 19:31:42 -04:00
Emilio Cobos Álvarez e5e108a524 Bug 1453702: [css-display] Move unboxing to style, and handle display: contents before other suppressions. r=mats,xidorn
This also adopts the resolution of [1] while at it, and switches XUL to not
support display: contents until a use case appears.

This makes our behavior consistent both with the spec and also in terms of
handling dynamic changes to stuff that would otherwise get suppressed.

Also makes us consistent with both Blink and WebKit in terms of computed style.
We were the only ones respecting "behaves as display: none" without actually
computing to display: none. Will file a spec issue to get that changed.

It also makes us match Blink and WebKit in terms of respecting display: contents
before other suppressions, see the reftest which I didn't write as a WPT
(because there's no spec supporting neither that or the opposite of what we do),
where a <g> element respects display: contents even though if it had any other
kind of display value we'd suppress the frame for it and all the descendants
since it's an SVG element in a non-SVG subtree.

Also, this removes the page-break bit from the display: contents loop, which I
think is harmless.

As long as the tests under style are based in namespace id / node name /
traversal parent, this should not make style sharing go wrong in any way, since
that's the first style sharing check we do at [2].

The general idea under this change is making all nodes with computed style of
display: contents actually honor it. Otherwise there's no way of making the
setup sound except re-introducing something similar to all the state tracking
removed in bug 1303605.

[1]: https://github.com/w3c/csswg-drafts/issues/2167
[2]: https://searchfox.org/mozilla-central/rev/fca4426325624fecbd493c31389721513fc49fef/servo/components/style/sharing/mod.rs#700

MozReview-Commit-ID: JoCKnGYEleD
2018-04-16 12:56:30 +02:00
ffxbld dfc349cf61 No bug, Automated HSTS preload list update from task bXFc8JIdQA-9jXbS0HWQ5Q
Summary: No bug, Automated HPKP preload list update from task bXFc8JIdQA-9jXbS0HWQ5Q

Reviewers: sfraser

Reviewed By: sfraser

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

--HG--
extra : rebase_source : d7e310d16a0e74b84b3317c379b16ab1d14224bc
2018-04-16 11:54:18 +01:00
Andreea Pavel cf9f54d811 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-16 12:58:28 +03:00
Andreea Pavel a30a60eadc Merge mozilla-inbound to mozilla-central. a=merge 2018-04-16 12:52:34 +03:00
Jonathan Kew 94238d9823 Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt 2018-04-16 10:00:57 +01:00
Christoph Kerschbaumer 4faa99b475 Bug 1454242: Test samesite cookie on top-level page from cross-origin context. r=mgoodwin 2018-04-16 08:51:33 +02:00
Christoph Kerschbaumer 5f9d175cdf Bug 1454242: Setting samesite cookie should not rely on NS_IsSameSiteForeign. r=valentin 2018-04-16 07:18:21 +02:00
Tim Taubert 4dba84fc9a Bug 1445731 - land NSS c1a4035420c3 UPGRADE_NSS_RELEASE, r=me 2018-04-16 10:09:12 +02:00
Nicholas Nethercote 2224229b3d Bug 1451278 - Remove NS_ConstExprIsAscii() functions. r=froydnj
MozReview-Commit-ID: DG2HUOa7x6y

--HG--
extra : rebase_source : a0e2f24f96cb688d11984827acb1361abc4988e6
2018-04-16 08:37:25 +10:00
Nicholas Nethercote e1318b1d03 Bug 1451278 - Remove ConstExpr hash functions. r=froydnj
MozReview-Commit-ID: L6yRyt4DZRR

--HG--
extra : rebase_source : 2d56a50b1a99e66c397165b9b851e23ca66d97a0
2018-04-16 08:37:15 +10:00
Makoto Kato 2b953ae3f5 Bug 1361052 - DeleteSelectionAndPrepareToCreateNode should be more safety. r=masayuki
Bug 768765 isn't enough for fix.  Since Selection::GetAnchorFocusRange can
return nullptr, we should consider this condition.

And I cannot reproduce this using crash test, so I add mochitest for this.

MozReview-Commit-ID: 8Ei5YBIBuWv

--HG--
extra : rebase_source : cd11517f73179d949479716a83baec0e1f492eca
2018-04-13 16:58:06 +09:00
Xidorn Quan 441a45aca4 Bug 1453521 - Support prefs for aliases in Servo side. r=heycam
MozReview-Commit-ID: 8DAFmLDVYlR

--HG--
extra : rebase_source : 6477a01ad81b66f99856e07792d480dcf63ff315
2018-04-12 10:27:43 +10:00
Masayuki Nakano 38691686f7 Bug 1453872 - Make HTMLEditRules::JoinNodesSmart() return { aRightNode - aLeftNode.Length() } by default r=m_kato
This is regression of bug 1423835.

When I fixed the bug, I accidentally changed the result of
HTMLEditRules::JoinNodesSmart() to use new API.  However, it was simple
misunderstand.  The original code sets the initial value of result to
{ aRightNode - aLeftNode.Length() } but I understood it as
{ aRightNode - aRightNode.Length() }.  Therefore, this patch backs out the
patch only for this line.

MozReview-Commit-ID: 5rD7YFij8v

--HG--
extra : rebase_source : c11770892ab7416b9bf5d3329fc8b7b413387747
2018-04-13 13:18:13 +09:00
James Teh c68c566fd8 Bug 1453876: Fix accessibility blocking of the Ask.com Toolbar. r=eeejay
Bug 1421018 intended to block the Ask.Com Toolbar (tbnotifier.exe).
This is basically malware and is responsible for a huge number of unnecessary accessibility instantiations.
However, there seems to have been some confusion and we ended up blocking tbnnotifier.exe instead.
This changes that block to tbnotifier.exe.

MozReview-Commit-ID: 2gZF8sYeGtb

--HG--
extra : rebase_source : 3d14a24c12748edfc31ddf7dac51bca491abd744
2018-04-13 15:12:13 +10:00
Jim Chen 9e1cc5b538 Bug 1452200 - 3. Don't limit AndroidLog tag length; r=jchen
In practice, Android never enforced restrictions on the tag length, and
in newer versions, the restriction is removed, so we shouldn't limit the
tag length at all.

MozReview-Commit-ID: JQF9FBdB5Fj

--HG--
extra : rebase_source : 71aa09210d694b68a72043f7588fbd799f385c23
2018-04-15 14:53:29 -04:00
Jim Chen e87a6fc89b Bug 1452200 - 2. Convert existing code to use new logging functions; r=snorp
Use the new "debug" and "warn" functions with template literals in
existing code.

MozReview-Commit-ID: 4ob6mom6pQF

--HG--
extra : rebase_source : 564f23c8de1256f73c085845fe030d8bbf45b19c
2018-04-15 14:53:29 -04:00
Jim Chen 9fd43f9378 Bug 1452200 - 1c. Inject logging functions into GeckoView JS modules; r=snorp
Inject new logging functions, "debug" and "warn", into each GeckoView JS
module that geckoview.js loads. Also do the same thing for frame script
classes that extend from GeckoViewContentModule.

The new logging functions are used with template literals (debug `hello
${foo} world`;), which are lazily evaluated, so disabled logs don't use
as many CPU cycles. They can also be easily enabled/disabled.

MozReview-Commit-ID: 7ZfYAMrcCyU

--HG--
extra : rebase_source : 8a830f29ea1cabcdc5055fc86c9880a5216aa456
2018-04-15 14:53:29 -04:00
Jim Chen 48885775a4 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : ccf4e9fae9fa9ea7581de82296035fcc736ca58e
2018-04-15 14:53:28 -04:00
Jim Chen 2eb44a3425 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc

--HG--
extra : rebase_source : eb1e8622b059ee45b574830426194ea35643b37c
2018-04-15 14:53:28 -04:00
Emilio Cobos Álvarez 7bce4fa96c Bug 37468: followup: Cleanup line terminators. r=me
DONTBUILD, since it's whitespace-only.

MozReview-Commit-ID: D61WzJbTgXZ
2018-04-15 14:24:25 +02:00
Gurzau Raul 3cfe9af000 Backed out 2 changesets (bug 1452618) for frequently failing mochitest on Android on a CLOSED TREE
Backed out changeset 5bf3bfedd867 (bug 1452618)
Backed out changeset fdcb9f2ec9d9 (bug 1452618)
2018-04-15 13:12:56 +03:00
Gijs Kruitbosch 95b991b77b Bug 1452618 - make getAddonBlocklistEntry asynchronous, r=kmag
MozReview-Commit-ID: 4Kpx7M57404

--HG--
extra : rebase_source : 6c5a242b40288703fb424e81ea701eeba3c71a27
2018-04-09 16:00:38 +01:00