Commit 24fb0368 authored by kouhei@chromium.org's avatar kouhei@chromium.org

LeakExpectations: mark svg fonts leaks as false-positives

HarfBuzzRunCache is a global cache with entries holding |Font| which indirectly hold strong ref to |SVGFontFace|.
In future, the leak detector should clear the cache before counting number of |Document|s.

These "leaks" disappear if following line is commented out:
WebKit/Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp
861         runCache.insert(key, new CachedShapingResults(harfBuzzBuffer.get(), m_font, props.direction, localeString));

BUG=366455
TBR=haraken
NOTRY=true

Review URL: https://codereview.chromium.org/342153002

git-svn-id: svn://svn.chromium.org/blink/trunk@176490 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 097df7b5
...@@ -168,6 +168,11 @@ crbug.com/366042 fast/history/history-traversal-is-asynchronous.html [ Leak ] ...@@ -168,6 +168,11 @@ crbug.com/366042 fast/history/history-traversal-is-asynchronous.html [ Leak ]
crbug.com/364391 http/tests/misc/acid3.html [ Leak Pass ] crbug.com/364391 http/tests/misc/acid3.html [ Leak Pass ]
crbug.com/366455 fast/dom/remove-svg-font-face-element-crash.xhtml [ Leak Pass ] crbug.com/366455 fast/dom/remove-svg-font-face-element-crash.xhtml [ Leak Pass ]
crbug.com/366455 svg/W3C-SVG-1.1-SE/text-intro-05-t.svg [ Leak ]
crbug.com/366455 svg/W3C-SVG-1.1/text-intro-01-t.svg [ Leak ]
crbug.com/366455 svg/W3C-SVG-1.1/text-intro-04-t.svg [ Leak ]
crbug.com/366455 svg/css/font-face-crash.html [ Leak ]
crbug.com/366455 svg/custom/svg-fonts-fallback.xhtml [ Leak ]
crbug.com/376188 http/tests/inspector/compiler-source-mapping-debug.html [ Leak ] crbug.com/376188 http/tests/inspector/compiler-source-mapping-debug.html [ Leak ]
crbug.com/376188 http/tests/inspector/network/load-resource-when-paused.html [ Leak ] crbug.com/376188 http/tests/inspector/network/load-resource-when-paused.html [ Leak ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment