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
Перейти к файлу
Xidorn Quan 9558f57119 Bug 1345696 part 6 - Fix cycle collection for font-face rule. r=heycam,mccr8
Having Servo's FontFaceRule owning Gecko's nsCSSFontFaceRule object opens an
untracked edge, because we generally don't track the reference through Servo
objects, so there is a chance that nsCSSFontFaceRule can form a undroppable
reference cycle.

This patch adds a workaround that we track @font-face rule twice in CSS rule
list. This is not perfect, but the idea is that, if someone wants to put some
reference on the @font-face rule, the rule itself and its parent list should
have been constructed in the CSSOM tree. If they are not there, we are
probably safe from cycle reference.

For @font-face rule, that assumption isn't strictly true. Script can still
get a font-face rule via layout inspector's nsIDOMFontFace::rule. If some
script puts an object which references the stylesheet of the rule or any of
its parent rule / rule list into font-face rule's expando, we would leak
again... But as far as that is an internal interface, we are probably safe?

MozReview-Commit-ID: DDMJh3mxDCH

--HG--
extra : rebase_source : 646fcf076195151e6890ebffb7597e58c8a7d522
2017-03-28 16:11:44 +11:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
accessible Bug 1330484 - crash in NotificationController::WillRefresh, r=yzen 2017-03-23 13:59:16 -04:00
addon-sdk Bug 1350617: Remove unnecessary overhead from ui/button/view code. r=mossop 2017-03-25 14:51:22 -07:00
b2g Bug 1351031 - Update builders to rust 1.16.0. r=mshal 2017-03-27 13:39:15 -07:00
browser [mq]: Bug 1348576 - e10s is never enabled for non-official release builds. r=mconley 2017-03-29 17:59:15 -03:00
build Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
caps Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 15:28:46 +02:00
chrome Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam 2017-03-28 20:05:12 +11:00
config Bug 1347796 - Bump stack size 3x larger than default for win64 ASan. r=dbaron,gps 2017-03-20 10:52:00 +08:00
db Bug 1345627 - add BUG_COMPONENT to db/* files. r=mak 2017-03-10 12:31:59 -05:00
devtools Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
docshell Bug 1351477 - Remove IsSWFPlayerEnabled function; r=bsmedberg 2017-03-28 14:56:20 -07:00
dom Bug 1345696 part 2 - Move nsCSSFontFaceRule to a separate header. r=heycam 2017-03-29 10:20:40 +11:00
editor Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
embedding Bug 1332392 - embedding/* should have BUG_COMPONENTS specified in moz.build files. r=ted 2017-02-06 09:45:58 -05:00
extensions Bug 1350090 - Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor 2017-03-25 23:41:03 -04:00
gfx Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1194751 - Part 3. Remove unused nsIScreen::rotation attribute. r=jimm 2017-03-09 19:16:33 +08:00
image Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
intl Backed out changeset c7174ac72d14 (bug 1347272) for build bustage 2017-03-28 18:16:33 +08:00
ipc Backed out changeset 059bcee1ccda (bug 1347817) 2017-03-29 11:17:13 +02:00
js Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
layout Bug 1345696 part 6 - Fix cycle collection for font-face rule. r=heycam,mccr8 2017-03-28 16:11:44 +11:00
media Bug 1330243 - update gtest for mp4 rust parser. r=kinetik 2017-03-25 17:55:06 +08:00
memory Bug 1349002 - Build DMD with unified sources. r=njn 2017-03-21 12:24:43 -07:00
mfbt Bug 1349379 - Clarify when to use already_AddRefed. - r=dbaron,waldo 2017-03-29 13:40:42 -07:00
mobile Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00
modules Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
mozglue Bug 1339908 - Blocklist goobzo associated dlls. r=bsmedberg 2017-03-28 09:02:04 -05:00
netwerk Bug 1349903 - Remove the code section of getting originAttributes from loadInfo in HttpChannelParent::DoAsyncOpen() and add a null check for loadInfo. r=mayhemer 2017-03-29 17:45:26 +08:00
nsprpub Bug 1350291, uplift NSPR_4_15_BETA, r=franziskus 2017-03-24 14:58:00 +01:00
other-licenses Bug 1324617 - Allow any of multiple installations to be set as the Windows default browser; r=jimm,rstrong 2017-01-09 08:14:00 -08:00
parser Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam 2017-03-28 20:05:12 +11:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 964133 - Add mach command for webrtc.org unit tests; r=chmanchester 2017-01-26 13:23:44 -05:00
rdf Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot 2017-03-22 11:38:40 +01:00
security Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
services Bug 1350665 - Disable sync repair tests on beta and release. r=kitcambridge 2017-03-29 15:27:25 -04:00
servo servo: Merge #16187 - Implement access to CSSFontFaceRule for stylo (from upsuper:bug1345696); r=Manishearth,heycam 2017-03-29 20:50:47 -05:00
startupcache Bug 1348991 - Use unified sources in startup cache. r=froydnj 2017-03-21 12:24:41 -07:00
storage Bug 1350752: Cleanup async mozStorage callback management r=layzell 2017-03-28 06:54:02 -04:00
taskcluster Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00
testing Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
third_party/rust Bug 1349692 - Update webrender to dafe3579e8dc886e6584116dc52a9362b543c169. r=jrmuizel 2017-03-28 17:49:11 -04:00
toolkit Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam 2017-03-28 20:05:12 +11:00
tools merge mozilla-inbound to mozilla-central a=merge 2017-03-27 12:57:16 +02:00
uriloader Bug 1349987 - Init nsExtProtocolChannel.mLoadFlags to 0, r=jduell 2017-03-23 10:17:00 +01:00
view Merge m-c to graphics 2017-03-24 10:10:11 -04:00
widget Merge m-c to graphics 2017-03-27 09:18:34 -04:00
xpcom Bug 1350690 - Add main thread assertion to nsSystemInfo::Init(). r=froydnj 2017-03-27 08:03:01 -07:00
xpfe Bug 1330882 - Part 4: Making the window.open() can only open rounded windows and the inner window will be automatically rounded after setting size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. r=smaug 2017-03-29 15:43:56 +08:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1343185 - Add the JNI generate files in the list of ignored elements r=mystor 2017-02-28 08:27:33 +01:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1351306 - Move the UTC starttime of nightlies earlier. r=rail 2017-03-28 09:56:30 -04:00
.eslintignore Merge inbound to central, a=merge 2017-03-23 16:15:37 -07:00
.eslintrc.js Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
.flake8 Bug 1321956 - Disable flake8 check for 'visually indented line with same indent as next logical line', r=ahal 2016-12-08 09:53:21 -10:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05:00
.gdbinit_python
.gitignore Bug 1301790 - Bundle codemirror into a single script;r=gl 2016-09-11 09:38:51 -07:00
.hgignore Bug 1332691: Add script to regenerate tests, update the WPT manifest and expectations; r=luke 2017-02-17 20:13:54 +01:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.lldbinit
.taskcluster.yml bug 1350045 - add warning to decision docker image line. r=philor 2017-03-25 12:10:32 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
AUTHORS Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner 2016-10-20 18:25:34 +05:30
Android.mk
CLOBBER Bug 1337331 Part 8: Follow-up clobber for Linux build issues. r=me 2017-03-29 19:04:35 +01:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1314713 - Stop generating *symbols.txt files as part of dumping/packaging build symbols. r=ted 2017-03-24 10:41:04 -07:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
aclocal.m4 Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium 2016-08-08 16:58:54 -07:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties
gradlew
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build Merge inbound to central, a=merge 2017-03-08 17:07:55 -08:00
moz.configure Bug 1347191 - Add support for NSIS 3.01 to moz.configure. r=mhowell 2017-03-28 10:53:17 -04:00
mozilla-config.h.in
old-configure.in Bug 1349884 - Turn off ENABLE_INTL_API on Android/x86's all channel. r=snorp 2017-03-27 16:39:44 +09:00
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07: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/