Commit Graph

619902 Commits

Author SHA1 Message Date
Andrew Osmond
d0b9475af5 Bug 1465619 - Part 5. Move actual drawing in imgFrame::Draw outside the monitor. r=tnikkel
Since imgFrame::Draw will limit the drawing to only look at pixels that
we have written to and posted an invalidation for, there is no need to
hold the monitor while doing so. By taking the most expensive operation
outside the lock, we will minimize our chances of hitting contention
with the decoder thread.

A later part in this series will require that a surface be freed outside
the lock because it may end up reacquiring it. In addition to the
contention win, this change should facilitate that.

Differential Revision: https://phabricator.services.mozilla.com/D7510
2018-10-22 13:40:35 -04:00
Andrew Osmond
2c6fa568a4 Bug 1465619 - Part 4. Move the first frame refresh area calculation to frame commit. r=tnikkel
If we discard a frame during decoding, e.g. due to an error, then we
don't want to take that frame into account for the first frame refresh
area. We should also be handling partial frames here (the dirty rect
needs to encompass the rows that did not get written with actual pixel
data). The only place that can have the necessary information is at the
end rather than at the beginning.

Differential Revision: https://phabricator.services.mozilla.com/D7509
2018-10-22 13:40:35 -04:00
Andrew Osmond
392b20c95e Bug 1465619 - Part 3. Improve the clear rect calculations to take into account recycling in BlendAnimationFilter. r=tnikkel
The clear rect and the recycle rect can overlap, and depending on the
size of the clear rect, it could be a significant amount of data that
needs to be copied from the restore frame. This patch minimizes the
copying for a row which contains both the recycle rect and the clear
rect.

Differential Revision: https://phabricator.services.mozilla.com/D7508
2018-10-22 13:40:35 -04:00
Andrew Osmond
c838361d7c Bug 1465619 - Part 2. Add basic support for recycling a frame buffer to BlendAnimationFilter. r=tnikkel
Given an invalidation rect, called the recycle rect, which represents
the area which may have changed between the current frame and the frame
we are recycling, we can not only reuse the buffer itself to avoid an
allocation and free, we can also avoid copying pixel data from the
restore frame which is already set.

Differential Revision: https://phabricator.services.mozilla.com/D7507
2018-10-22 13:40:35 -04:00
Andrew Osmond
95d4e6266a Bug 1465619 - Part 1. Use imgFrame directly instead of RawAccessFrameRef in FrameAnimator. r=tnikkel
When blending full frames off the main thread, FrameAnimator no longer
requires access to the raw data of the frame to advance the animation.
Now we only request a RawAccessFrameRef for the current/next frames when
we have discovered that we need to do blending on the main thread.

In addition to avoiding the mutex overhead of RawAccessFrameRef, this
will also facilitate potentially optimizing the surfaces for the
DrawTarget for individual animated image frames.

Differential Revision: https://phabricator.services.mozilla.com/D7506
2018-10-22 13:40:35 -04:00
Sebastian Hengst
af56e23259 merge mozilla-central to mozilla-inbound
--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : rebase_source : 017f7ca834f9e4ceba4a5a0e392a80f54f1aa54c
2018-10-22 20:37:38 +03:00
Gabriel Luong
a5bf5fa85a Bug 1500689 - Only update the frame button checked state if it is visible. r=mtigley 2018-10-22 13:29:04 -04:00
Sebastian Hengst
602fbb8422 merge mozilla-inbound to mozilla-central. a=merge 2018-10-22 20:26:16 +03:00
Sebastian Hengst
c065bae5f9 merge autoland to mozilla-central. a=merge 2018-10-22 20:24:54 +03:00
Coroiu Cristina
79e134e1de Backed out 2 changesets (bug 1500717, bug 1500701) for browser-chrome failures at browser/test-oop-extensions/browser_ext_devtools_inspectedWindow.js on a CLOSED TREE
Backed out changeset 4fbd733460be (bug 1500701)
Backed out changeset 6cd064e0fbd9 (bug 1500717)
2018-10-22 20:19:52 +03:00
Sebastian Hengst
699b4c267b Bug 1496764 - Disable browser_UsageTelemetry_urlbar.js until telemetry probe has been extended to fix permafail on version increase. a=version-increase-fix 2018-10-22 19:59:24 +03:00
Jan de Mooij
b3e825e1a0 Bug 1500978 - Some follow-up changes/tests for bug 1493900. r=sunfish
--HG--
extra : amend_source : 2680a02e2f410f997eee65610655d589f8eb6d4e
2018-10-22 18:16:54 +02:00
ffxbld
2bf422025a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-10-22 08:50:03 -07:00
ffxbld
f261cdb8c9 No bug - Tagging mozilla-central c44fbdd5173548c9035256dda8fd3512f67118a8 with FIREFOX_NIGHTLY_64_END a=release DONTBUILD CLOSED TREE 2018-10-22 08:48:42 -07:00
Zibi Braniecki
403e3bbc2e Bug 1500735 - Update cached-iterable in Fluent to 0.3.0. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D9350

--HG--
extra : moz-landing-system : lando
2018-10-22 15:05:35 +00:00
Jason Orendorff
9bfc0d1143 Bug 1493560 - Change test to allow another possibility. r=arai
This also changes the test to print something informative on failure.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 15:03:20 +00:00
Andreas Tolfsen
6bfc81ba93 bug 1500938: geckodriver: mention canonical source code location in README; r=me
DONTBUILD
2018-10-22 15:47:43 +01:00
Mihai Tabara
0a775b20ab Bug 1489405 - temp add bouncer-locations-breakpoint in nightly graphs.r=jlorenzo
--HG--
extra : source : 0167f5811c2d5b807d6a456479966defe4fd4bfc
2018-10-22 15:08:22 +01:00
Sebastian Hengst
f38b28a87d Bug 1496764 - Disable browser_UsageTelemetry_searchbar.js until telemetry probe has been extended to fix permafail on version increase. a=version-increase-fix
--HG--
extra : histedit_source : 88682dd1c8ed7dc93af81bba552e3b6d91f4b0cb
2018-10-22 16:33:06 +03:00
Sebastian Hengst
03d626b346 Bug 1488946 - Disable browser_aboutSearchReset.js until telemetry probe has been extended to fix permafail on version increase. a=version-increase-fix
--HG--
extra : histedit_source : 8658fab3a14fd5e4116e7c0310f512484c586e6c
2018-10-22 16:28:29 +03:00
Gurzau Raul
fcfb479e6f Merge inbound to mozilla-central. a=merge 2018-10-22 12:48:35 +03:00
Nicolas Chevobbe
b3d5ff5c70 Bug 1498531 - Localize Webconsole WebReplay Jump icon; r=loganfsmyth,Honza.
This patch adds localization for the WebReplay Jump icon, and uses
the same terminology as the one used in the context menu that triggers
the same action.
The Jump button was used in-place of the existing level icons (Error, Warning, …),
and was only displayed when the message was hovered. We now ensure the
level icon is always visible and that we only show the Jump icon when the
message is hovered.
Finally, the button was styled targeting the title attribute in CSS, which
seemed a little brittle. We now use a dedicated class which should
be safer and more future proof.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 05:26:33 +00:00
Tooru Fujisawa
d70b9121cc Bug 1499998 - Part 2: Disable generator and async support for BinAST. r=Yoric 2018-10-22 10:31:29 +09:00
Tooru Fujisawa
d109e5ad21 Bug 1499998 - Part 1: Prepend initial yield to the correct node. r=Yoric 2018-10-22 10:31:29 +09:00
Kartikaya Gupta
bec97d607b Bug 1500815 - Drop unnecessary Ahem-font styling. r=jfkthame
This is bogus because there is no ahem.css in this folder.

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

--HG--
extra : moz-landing-system : lando
2018-10-21 23:33:53 +00:00
Kartikaya Gupta
2974aacd34 Bug 1500587 - Skip generating bindings for constants because we don't need them. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D9296

--HG--
extra : moz-landing-system : lando
2018-10-21 22:59:25 +00:00
Mats Palmgren
822ff9c4d2 Bug 1500609 part 2 - Make the declaration of operator<< for nsReflowStatus unconditional since it's needed to build some COLUMN_SET_LOG expression in nsColumnSetFrame.cpp (idempotent patch). r=me 2018-10-22 00:54:57 +02:00
Mats Palmgren
4b5a264c80 Bug 1500609 part 1 - Add a nsFlexContainerFrame method to remove cached data that depend on flex items' intrinsic isize (idempotent patch). r=dholbert 2018-10-22 00:54:57 +02:00
Mats Palmgren
c33780d631 Bug 1499230 - Make empty <select>s have zero content-box inline-size, like in other UAs. r=emilio 2018-10-22 00:54:56 +02:00
Mats Palmgren
960944e003 Bug 1499578 - Make one line-height the intrinsic block-size for <select> comboboxes. r=emilio
Also, remove the !important on 'line-height' on <select> since other
UAs allows authors to change it.
2018-10-22 00:54:56 +02:00
Brindusan Cristian
310a492571 Merge inbound to mozilla-central. a=merge 2018-10-22 00:39:42 +03:00
Chris Manchester
f6e64740b1 Bug 1499196 - Use outputs as the key for rust commands in Tup once again. r=mshal
Now that we're outputing a stub file for each build script we can index these
commands by their output to de-duplicate them in the tup backend.

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

--HG--
extra : moz-landing-system : lando
2018-10-21 18:56:23 +00:00
Jonathan Watt
3922f1cb96 Bug 1500423. Make '-webkit-appearance: menulist-textfield' behave like Chrome. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D9339

--HG--
extra : rebase_source : afa3c037857838be2e18d4b47eaf64d318747de7
2018-10-19 18:12:15 +01:00
Brian Hackett
51a16c9e1d Bug 1496881 - Fix test for whether we are paused at a console message.
--HG--
extra : rebase_source : 0bcf0620c744b015c27bf1af44f3918ab2fe2621
2018-10-20 07:59:49 -06:00
Brian Hackett
145128d6ee Bug 1499828 Part 6 - Avoid hiding test graphics under overlay, r=test_only.
--HG--
extra : rebase_source : 04e978aba99c03688d86234a30ec4e15e86f8cdb
2018-10-19 14:50:32 -06:00
Matthew Gaudet
3f38277268 Bug 1494473 - Using IONFLAGS=bl-ic-stats dump baseline IC statistics on script cleanup r=jandem
The output for a particular IC chain looks like this:

        box2d.js:174:250 (sub)       1009 -> 772 -> (fb) 2

Which is read like this: This sub opcode has two ICs attached. The first IC was
entered 1009 times, the second 772 and the fallback stub was hit twice.

There are some conclusions we can draw from this (and some we cannot)

- We can say with confidence the fallback stub was only hit twice, meaning 99.998%
  of queries to the IC chain hit in the IC rather than the fallback.

- We cannot however say necessarily that the first IC failed to provide a value
  771 times.

  Since new ICs are added at the front, it is possible that there was a phase
  transition that happened, and the first 771 requests were served by the first
  IC, followed by a transition to a new type and addition of a new IC, and
  subsequently 1009 queries were served by the newly added IC.

- We can conclude with confidence that there have been at least two different ICs
  involved in computation across the lifetime of the IC chain, and they are almost
  equally probable.

Though we can't do temporal reasoning with entry counters, we can still do some
reasoning.

Depends on D8859

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

--HG--
extra : moz-landing-system : lando
2018-10-19 15:33:27 +00:00
Jan Beich
fba5ec1aed Bug 1500484 - Unbreak Wayland build on FreeBSD after bug 1417890. r=stransky
--HG--
extra : rebase_source : 4e8df32a70652677a8f4b7e78375a6cf97212dbb
2018-10-19 09:45:00 -04:00
Nathan Froyd
6ac1ba1c91 Bug 1499723 - make IdleRunnableWrapper final; r=farre 2018-10-22 09:44:50 -04:00
Nathan Froyd
d81ba0426a Bug 1499725 - make IdleTaskRunner timers more efficient; r=farre
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created.  This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.  If we're
reusing the timer, we also don't need to repeatedly set the timer's
target: we can set the target once at timer creation, and then be done.

We can do this safely here because mTaskCategory doesn't change
throughout the life of the IdleTaskRunner; we make mTaskCategory `const`
to make this more explicit to the reader.
2018-10-22 09:44:50 -04:00
Eliza Balazs
95e79e79cd Bug 1458046 - Disable browser_editcontrols_update.js on mac for frequent failures. r=jmaher 2018-10-22 04:02:00 +03:00
Jon Coppeard
d92d954cec Bug 1499335 - Support module specifiers containing inline data in the shell r=evilpie 2018-10-22 13:33:02 +01:00
Margareta Eliza Balazs
022503fa90 Backed out changeset fa6b7a70f2db (bug 1497215) fro xpcshell failures in browser/components/payments/test/unit/test_response_creation.js CLOSED TREE 2018-10-22 14:52:23 +03:00
Emilio Cobos Álvarez
c8e4909559 Bug 1500849 - Revendor Rust dependencies.
--HG--
rename : third_party/rust/nom/.cargo-checksum.json => third_party/rust/nom-3.2.1/.cargo-checksum.json
rename : third_party/rust/nom/CHANGELOG.md => third_party/rust/nom-3.2.1/CHANGELOG.md
rename : third_party/rust/nom/Cargo.toml => third_party/rust/nom-3.2.1/Cargo.toml
rename : third_party/rust/nom/src/bits.rs => third_party/rust/nom-3.2.1/src/bits.rs
rename : third_party/rust/nom/src/branch.rs => third_party/rust/nom-3.2.1/src/branch.rs
rename : third_party/rust/nom/src/bytes.rs => third_party/rust/nom-3.2.1/src/bytes.rs
rename : third_party/rust/nom/src/character.rs => third_party/rust/nom-3.2.1/src/character.rs
rename : third_party/rust/nom/src/internal.rs => third_party/rust/nom-3.2.1/src/internal.rs
rename : third_party/rust/nom/src/lib.rs => third_party/rust/nom-3.2.1/src/lib.rs
rename : third_party/rust/nom/src/macros.rs => third_party/rust/nom-3.2.1/src/macros.rs
rename : third_party/rust/nom/src/methods.rs => third_party/rust/nom-3.2.1/src/methods.rs
rename : third_party/rust/nom/src/multi.rs => third_party/rust/nom-3.2.1/src/multi.rs
rename : third_party/rust/nom/src/nom.rs => third_party/rust/nom-3.2.1/src/nom.rs
rename : third_party/rust/nom/src/regexp.rs => third_party/rust/nom-3.2.1/src/regexp.rs
rename : third_party/rust/nom/src/sequence.rs => third_party/rust/nom-3.2.1/src/sequence.rs
rename : third_party/rust/nom/src/simple_errors.rs => third_party/rust/nom-3.2.1/src/simple_errors.rs
rename : third_party/rust/nom/src/str.rs => third_party/rust/nom-3.2.1/src/str.rs
rename : third_party/rust/nom/src/stream.rs => third_party/rust/nom-3.2.1/src/stream.rs
rename : third_party/rust/nom/src/traits.rs => third_party/rust/nom-3.2.1/src/traits.rs
rename : third_party/rust/nom/src/util.rs => third_party/rust/nom-3.2.1/src/util.rs
rename : third_party/rust/nom/src/verbose_errors.rs => third_party/rust/nom-3.2.1/src/verbose_errors.rs
rename : third_party/rust/nom/src/whitespace.rs => third_party/rust/nom-3.2.1/src/whitespace.rs
rename : third_party/rust/nom/tests/arithmetic.rs => third_party/rust/nom-3.2.1/tests/arithmetic.rs
rename : third_party/rust/nom/tests/arithmetic_ast.rs => third_party/rust/nom-3.2.1/tests/arithmetic_ast.rs
rename : third_party/rust/nom/tests/blockbuf-arithmetic.rs => third_party/rust/nom-3.2.1/tests/blockbuf-arithmetic.rs
rename : third_party/rust/nom/tests/cross_function_backtracking.rs => third_party/rust/nom-3.2.1/tests/cross_function_backtracking.rs
rename : third_party/rust/nom/tests/float.rs => third_party/rust/nom-3.2.1/tests/float.rs
rename : third_party/rust/nom/tests/ini.rs => third_party/rust/nom-3.2.1/tests/ini.rs
rename : third_party/rust/nom/tests/ini_str.rs => third_party/rust/nom-3.2.1/tests/ini_str.rs
rename : third_party/rust/nom/tests/issues.rs => third_party/rust/nom-3.2.1/tests/issues.rs
rename : third_party/rust/nom/tests/json.rs => third_party/rust/nom-3.2.1/tests/json.rs
rename : third_party/rust/nom/tests/mp4.rs => third_party/rust/nom-3.2.1/tests/mp4.rs
rename : third_party/rust/nom/tests/multiline.rs => third_party/rust/nom-3.2.1/tests/multiline.rs
rename : third_party/rust/nom/tests/named_args.rs => third_party/rust/nom-3.2.1/tests/named_args.rs
rename : third_party/rust/nom/tests/omnom.rs => third_party/rust/nom-3.2.1/tests/omnom.rs
rename : third_party/rust/nom/tests/overflow.rs => third_party/rust/nom-3.2.1/tests/overflow.rs
rename : third_party/rust/nom/tests/reborrow_fold.rs => third_party/rust/nom-3.2.1/tests/reborrow_fold.rs
rename : third_party/rust/nom/tests/test1.rs => third_party/rust/nom-3.2.1/tests/test1.rs
2018-10-22 13:20:21 +02:00
Emilio Cobos Álvarez
3f8b370d35 Bug 1500849 - Update bindgen. r=heycam,bbouvier
This pulls a new nom version, which is slightly unfortunate, but I do want some
of the fixes upstream, and it's build-only, so I think it's not a huge deal.

Differential Revision: https://phabricator.services.mozilla.com/D9362
2018-10-22 13:20:01 +02:00
Eliza Balazs
80ee4c5193 Bug 1498336 - Disable browser_toolbox_rule_view_reload.js on linux and mac for frequent failures. r=jmaher
--HG--
extra : amend_source : 331c65a391f6c1305e7ce48058393518fcd32fb8
2018-10-22 01:22:00 +03:00
Jon Coppeard
0df5d53830 Bug 1499140 - Add OOM tests for shell dynamic module import and fix bugs r=jandem 2018-10-22 11:28:17 +01:00
Jon Coppeard
7901f411b6 Backed out changeset 41ded240a012 (bug 1342012) for wrong bug number in commit message 2018-10-22 11:38:13 +01:00
Jon Coppeard
fe31bd1a07 Bug 1342012 - Add OOM tests for shell dynamic module import and fix bugs r=jandem 2018-10-22 11:28:17 +01:00
Jon Coppeard
6343707567 Bug 1499140 - Support dynamic module import in the shell r=jandem 2018-10-22 11:28:17 +01:00
Jon Coppeard
5226b2d045 Bug 1499140 - Compile dynamic module import bytecode r=jandem 2018-10-22 11:28:17 +01:00