Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Timothy Nikkel 7d6982559e Bug 1443232. Don't insert frames into our AnimationFrameBuffer that we consider in error and unusable. r=aosmond
After decoding the first frame we allocate the second frame, but before it finishes we encounter an error, Decoder::PostError is called it aborts the second frame and decrements the frame count. But AnimationSurfaceProvider::CheckForFrameAtTerminalState just asks for the current frame ref from the decoder (which it never cleared) and inserts that.

The condition that we use from the decoder to decide to report a new frame is mFinishedNewFrame (via TakeCompleteFrameCount), however this doesn't directly correspond to mFrameCount. So we create a new bool on the Decoder to track when there is a frame that we can take.

This didn't cause any problems before but now we have tighter coupling between the list of frames the AnimationSurfaceProvider has and what FrameAnimator expects.

Another possible fix would be to clear the current frame ref in PostError, but the only place we clear the current frame is when we allocate the new frame and we have the mImageData pointer still around that decoders could theorhetically use to do final processing on the last partial frame.
2018-03-08 17:33:04 -06:00
.cargo Bug 1426116 - Update for changes in WR PR 2251. r=jrmuizel 2018-01-08 09:19:27 -05:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Merge inbound to mozilla-central. a=merge 2018-03-07 12:03:48 +02:00
browser Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley 2018-03-07 18:10:24 -08:00
build Bug 1443827: Update clang-cl builders to r326909 and add the lld repo. r=froydnj 2018-03-08 17:26:56 -05:00
caps Bug 1442716 - [caps] Handle empty origin gracefully in FUZZING. r=baku 2018-03-02 19:48:49 +01:00
chrome Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer 2018-02-26 20:43:45 +01:00
config Bug 1441791 - Use MOZILLA_DIR when including from mozilla topsrcdir. r=ted 2018-02-28 13:16:17 +01:00
db Bug 1442370 - Change SQLITE_TEMP_FILE_PREFIX to a Mozilla unique value. r=asuth 2018-03-01 20:55:18 +01:00
devtools Bug 1443983: Part 3 - Remove platform support for interpositions. r=mccr8 2018-03-07 18:11:18 -08:00
docshell Bug 1440771 - Part 3: Use nsCOMPtr<nsIInputStream> directly in PContent, r=baku 2018-03-05 16:00:05 -05:00
dom Backed out changeset cf8613751378 (bug 1403348) for Build Bustage on ServiceWorkerRegistrar.cpp:29. CLOSED TREE 2018-03-09 00:59:11 +02:00
editor Merge autoland to mozilla-central. a=merge 2018-03-06 11:52:14 +02:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1066965, make contentEditable and spellchecking to work in ShadowDOM, r=mrbkap 2018-03-06 09:34:40 +09:00
gfx Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
gradle/wrapper Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu 2017-10-26 11:00:36 -07:00
hal Bug 1423552: Use BaseRect access methods instead of member variables in hal/ r=gsvelto 2018-01-10 11:17:58 -05:00
image Bug 1443232. Don't insert frames into our AnimationFrameBuffer that we consider in error and unusable. r=aosmond 2018-03-08 17:33:04 -06:00
intl Bug 1443697 - Fix nits in Fluent for Firefox Developers. r=flod 2018-03-06 17:48:17 -08:00
ipc Merge inbound to mozilla-central. a=merge 2018-03-07 12:03:48 +02:00
js Backed out changeset cf8613751378 (bug 1403348) for Build Bustage on ServiceWorkerRegistrar.cpp:29. CLOSED TREE 2018-03-09 00:59:11 +02:00
layout Bug 1444136 - Move images into support subdirectory so they work in the built CSS testsuite. r=gsnedders 2018-03-08 12:15:11 -08:00
media Bug 868797 - Update libnestegg to be more tolerant of blocks with negative timecodes. r=kinetik 2018-02-28 16:34:05 -05:00
memory Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-02 18:24:58 +02:00
mfbt Bug 1443342 - Remove XorShift128PlusRNG.h from integer-overflow sanitizer blacklisting. r=froydnj 2018-03-06 09:33:52 -08:00
mobile Bug 1443765: Update android formdata sessionstore test for delayed save r=snorp 2018-03-08 17:12:57 -05:00
modules Merge mozilla-inbound to mozilla-central. a=merge 2018-03-07 16:43:13 +02:00
mozglue Bug 1442255 - 7. Switch the order of fd arguments; r=jchen 2018-03-06 13:52:50 -05:00
netwerk Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
nsprpub Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
other-licenses Bug 1436475 Part 5 - Add a readme and a patch file with our changes to the 7-zip directory. r=agashlin 2018-02-13 09:17:07 -08:00
parser Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen 2018-03-06 17:27:17 -08:00
python Bug 1439727 - Purge untracked files in python/ and third_party/python/; r=nalexander 2018-03-07 15:06:21 -08:00
rdf Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
security Merge autoland to mozilla-central. a=merge 2018-03-08 02:18:59 +02:00
services Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-07 12:07:19 +02:00
servo servo: Merge #20238 - Construct URLValue eagerly and share it between specified value and style structs (from upsuper:url-value); r=emilio 2018-03-08 08:06:35 -05:00
startupcache Bug 1439047 - Part 2: Cleanup StartupCache::PutBuffer hashtable usage. r=froydnj 2018-02-16 15:58:30 -08:00
storage Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
taskcluster Bug 1443827: Move clang-cl static analysis builds to their own toolchain task. r=froydnj 2018-03-08 17:25:52 -05:00
testing Backed out 28 changesets (bug 1436506, bug 1436451, bug 1436996, bug 1436991, bug 1436558, bug 1436398, bug 1443501, bug 1437067, bug 1436436, bug 1436497, bug 1441364, bug 1436405, bug 1441367, bug 1436440, bug 1436416, bug 1436522, bug 1443192) for mass wpt failures after backout for bug 1443558. a=backout 2018-03-08 08:12:16 +02:00
third_party Bug 1443988 - P2: Update futures and futures-cpupool crates. r=mbrubeck 2018-03-08 12:23:10 +10:00
toolkit Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley 2018-03-07 18:10:24 -08:00
tools Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian. 2018-03-06 12:01:59 +00:00
uriloader Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
view Bug 1423551: Use BaseRect access methods instead of member variables in view/. r=jet 2018-01-10 11:16:22 -05:00
widget Merge inbound to mozilla-central. a=merge 2018-03-08 02:20:08 +02:00
xpcom Merge inbound to mozilla-central. a=merge 2018-03-08 05:59:30 +02:00
xpfe Bug 1442521 - Make width/height attr on <window> mean the inner size in nsXULWindow. r=bz 2018-03-02 22:42:57 +11:00
.arcconfig Bug 1424950: Add missing repository.callsign to .arcconfig. r=dkl 2017-12-13 15:38:18 +01:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Bug 1430792 - ExampleStylesheet.h should not be formatted r=andi 2018-01-16 16:37:01 +01:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Bug 1154874 - Add a debugger-specific DAMP test for Talos [New Frontend] r=ochameau 2018-02-28 11:11:21 +01:00
.eslintrc.js Bug 1434446 - Enable no-unused-vars for global scope on jsm files in browser/. r=mossop 2018-03-01 20:06:06 +00:00
.flake8 Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgtags No bug - Tagging mozilla-central e33efdb3e1517d521deb949de3fcd6d9946ea440 with FIREFOX_BETA_60_BASE a=release DONTBUILD CLOSED TREE 2018-03-01 16:09:36 +00:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1437562: only use ..:branch:default role, not :*; r=bstack 2018-02-12 18:58:05 +00:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
CLOBBER Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley 2018-03-07 18:10:24 -08:00
Cargo.lock Bug 1443988 - P2: Update futures and futures-cpupool crates. r=mbrubeck 2018-03-08 12:23:10 +10:00
Cargo.toml Bug 1443168 - Exclude gfx/wrench from the mozilla-central workspace. r=mbrubeck 2018-03-05 10:57:05 -05:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek 2017-12-10 23:05:05 -07:00
README.txt
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle Bug 1439410 - 1. Enable Kotlin for geckoview tests; r=nalexander 2018-02-22 18:39:11 -05:00
client.mk Bug 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
gradle.properties Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella 2017-11-07 20:26:43 -08:00
gradlew
mach
moz.build Bug 1381576 - Use a Cargo workspace for rust crates. r=ted 2018-03-01 14:33:35 -08:00
moz.configure Bug 1435424 - Remove doxygen support from the build system. r=gps 2018-02-02 14:24:18 -08:00
mozilla-config.h.in Bug 1431803 Turn __try into if(true) and __except into else in the chromium sandbox code r=bobowen,glandium 2018-01-22 12:18:51 -06:00
npm-shrinkwrap.json Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop 2018-02-21 16:00:24 +00:00
old-configure.in Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
package.json Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop 2018-02-21 16:00:24 +00:00
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/