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
Go to file
cku 5a90745685 Bug 1424922 - Prevent calling PDFiumParent::Close twice. r=dvander
We call PDFiumParent::Close twice under certain conditions. Once in
PDFiumProcessParent::Delete, and once in PDFiumProcessParent's dtor. So we may
hit MOZ_ABORT which tell us that we are trying to close a closed channel.

This patch prevents hitting this abort by:
1. Only close the channel in PDFiumProcessParent::Delete, remove another call
   in PDFiumProcessParent's dtor. (Please see the change in
   PDFiumProcessParent.cpp).
2. Remove PDFiumParent::AbortConversion and relative code. We can just use
   PDFiumParent::EndConversion instead. When calling PDFiumParent::Close, we
   actually close the IPC channel *synchronously*, which means there is no need
   to register a callback by PDFiumParent::AbortConversion to receive
   actor-destroy callback.

MozReview-Commit-ID: 9i5j6t54J3h

--HG--
extra : rebase_source : 5f74ebc1ecc29e9983c30ca2dd63e0b49bd24a50
2017-12-13 12:42:59 +08:00
.cargo Bug 1424280 - Replace serde and serde_derive with Gankro's modified branch. r=jrmuizel 2017-12-10 13:48:54 -05:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Bug 1425244 - Enable ESLint rule no-redeclare for accessible/tests/mochitest/. r=surkov 2017-12-11 15:32:36 +00:00
browser Backed out changeset 950963c8a8e1 (bug 1425294) for failing ss in browser/tools/mozscreenshots/browser_screenshots_cropping.js r=backout on a CLOSED TREE 2017-12-15 09:35:16 +02:00
build Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
caps Bug 1422177 - add tests for moz-icon being non-linkable from the web, r=bz,jkt 2017-12-04 15:26:34 +00:00
chrome Bug 1424862 - Enable mozilla/use-services from chrome/. r=mossop 2017-12-11 20:29:28 +00:00
config Bug 1422859 - move MOZILLA_*VERSION setting into moz.configure; r=chmanchester 2017-12-04 11:19:25 -05:00
db Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
devtools Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-14 11:54:15 +02:00
docshell Bug 1293277 P6 Use the ClientInfo.Id() value for FetchEvent.clientId. r=baku 2017-12-12 15:44:48 -05:00
dom Bug 1424906 - Fix PeriodicWave disableNormalization false behaviour; r=padenot 2017-12-14 09:43:21 -06:00
editor Bug 1424898 - patch 2 - De-virtualize nsIWordBreaker and rename to mozilla::intl::WordBreaker. r=m_kato 2017-12-13 22:17:38 -06:00
embedding
extensions Bug 1424677 - Don't use wstring for nsIEditorSpellCheck. r=masayuki 2017-12-13 04:14:27 -06:00
gfx Bug 1424922 - Prevent calling PDFiumParent::Close twice. r=dvander 2017-12-13 12:42:59 +08:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel 2017-12-11 15:37:59 +00:00
intl Bug 1424898 - patch 2 - De-virtualize nsIWordBreaker and rename to mozilla::intl::WordBreaker. r=m_kato 2017-12-13 22:17:38 -06:00
ipc Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
js Backed out 7 changesets (bug 1377007) for web platform reftests failures on CSS2/borders. r=backout 2017-12-15 02:16:50 +02:00
layout Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow 2017-12-13 14:38:24 -06:00
media Backed out changeset b44e089bcfe7 (bug 1397793). r=backout a=backout 2017-12-11 12:34:38 +02:00
memory Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
mfbt Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium 2017-12-08 13:46:13 +01:00
mobile Bug 1416918 - 4b. Move GeckoEditable{Client,Listener} to TextInputController; r=esawin 2017-12-13 22:57:21 -05:00
modules Backed out bug 1423923 for crashes, requested by drno. r=backout a=backout 2017-12-11 12:34:23 +02:00
mozglue Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
netwerk Bug 1424915 - Close a httpTransaction from a http2session with the right error code if the error code is NS_BINDING_RETARGETED. Otherwise the transaction will be restarted twice. r=mcmanus 2017-12-14 10:35:54 +01:00
nsprpub Bug 1420407, NSPR_4_18_BETA3, r=me 2017-12-07 12:22:42 +01:00
other-licenses Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE 2017-12-12 17:48:45 +02:00
parser Bug 1424468 - Stop using Encoding::ForName in HTML parser. r=hsivonen 2017-12-07 23:21:42 +09:00
python Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
rdf Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
security Merge autoland to mozilla-central. r=merge a=merge on a CLOSED TREE 2017-12-15 03:43:08 +02:00
services Bug 1415560 - ignore insertMany result and add an onError handler to log errors. r=tcsc 2017-12-04 12:49:06 +11:00
servo servo: Merge #19570 - style: move list-style-image out of mako (from fenak:list-style-image-mako); r=emilio 2017-12-14 23:36:34 -06:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1423820 - Copy temp entities after reattaching databases to a cloned storage connection. r=mak 2017-12-06 22:34:18 -08:00
taskcluster Merge autoland to mozilla-central. r=merge a=merge on a CLOSED TREE 2017-12-15 03:43:08 +02:00
testing Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-15 03:46:15 +02:00
third_party Bug 1424664 - Remove heapsize support from js/rust/ r=njn 2017-12-11 02:06:28 +01:00
toolkit Bug 1394121 Let legacy extensions be installed temporarily r=kmag 2017-12-07 14:52:10 -08:00
tools Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
uriloader Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Bug 1424922 - Prevent calling PDFiumParent::Close twice. r=dvander 2017-12-13 12:42:59 +08:00
xpcom Bug 1424183 - nsMultiplexInputStream must call OnInputStreamReady only when there is data available, r=smaug 2017-12-13 05:11:12 -06:00
xpfe Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01: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 Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +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 Backed out 7 changesets (bug 1377007) for web platform reftests failures on CSS2/borders. r=backout 2017-12-15 02:16:50 +02:00
.eslintrc.js Bug 1424862 - Enable mozilla/use-services from chrome/. r=mossop 2017-12-11 20:29:28 +00:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python
.gitignore Bug 1419836 - ID .gitignore entry ignores "id" locale (for mac). r=standard8 2017-11-22 10:30:55 -08:00
.hgignore Bug 1415168 - Fix 404 error when running talos speedometer locally; r=igoldan 2017-11-28 15:35:44 -05:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1420469 - action task routes use literal "$ownTaskId" r=bstack 2017-11-24 12:56:24 -05:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02: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
CLOBBER Bug 1416465 - Expand pattern when track file is created rather than read. r=mshal 2017-12-02 16:51:19 +09: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
GNUmakefile
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Backed out 4 changesets (bug 1424651) as requested by tomprice r=backout on a CLOSED TREE 2017-12-12 06:33:18 +02:00
moz.build Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00
moz.configure Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester 2017-11-15 14:53:16 -04:00
mozilla-config.h.in
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Bug 1422859 - move MOZILLA_*VERSION setting into moz.configure; r=chmanchester 2017-12-04 11:19:25 -05:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
README.txt
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

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/