Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Issue 1240963002: Revert of Add unit tests for FontPlatformData::hasSpaceInLigaturesOrKerning (Closed)

Created:
5 years, 5 months ago by Julien - ping for review
Modified:
5 years, 5 months ago
CC:
blink-reviews, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Revert of Add unit tests for FontPlatformData::hasSpaceInLigaturesOrKerning (patchset #6 id:120001 of https://codereview.chromium.org/1238753005/) Reason for revert: The new tests are hitting some ASSERT in debug on Android: ******************************************************************************** C 87.837s Main [CRASH] FontPlatformDataTest.AhemHasNoSpaceInLigaturesOrKerning: C 87.837s Main ASSERTION FAILED: m_ptr C 87.837s Main ../../third_party/WebKit/Source/wtf/OwnPtr.h(66) : WTF::OwnPtr<T>::ValueType* WTF::OwnPtr<T>::operator->() const [with T = blink::FontCustomPlatformData; WTF::OwnPtr<T>::PtrType = blink::FontCustomPlatformData*; WTF::OwnPtr<T>::ValueType = blink::FontCustomPlatformData] C 87.837s Main C 87.837s Main [CRASH] FontPlatformDataTest.AhemSpaceLigatureHasNoSpaceWithoutFontFeatures: C 87.837s Main ASSERTION FAILED: m_ptr C 87.837s Main ../../third_party/WebKit/Source/wtf/OwnPtr.h(66) : WTF::OwnPtr<T>::ValueType* WTF::OwnPtr<T>::operator->() const [with T = blink::FontCustomPlatformData; WTF::OwnPtr<T>::PtrType = blink::FontCustomPlatformData*; WTF::OwnPtr<T>::ValueType = blink::FontCustomPlatformData] C 87.837s Main C 87.837s Main [CRASH] FontPlatformDataTest.AhemSpaceLigatureHasSpaceInLigaturesOrKerning: C 87.837s Main ASSERTION FAILED: m_ptr C 87.838s Main ../../third_party/WebKit/Source/wtf/OwnPtr.h(66) : WTF::OwnPtr<T>::ValueType* WTF::OwnPtr<T>::operator->() const [with T = blink::FontCustomPlatformData; WTF::OwnPtr<T>::PtrType = blink::FontCustomPlatformData*; WTF::OwnPtr<T>::ValueType = blink::FontCustomPlatformData] C 87.838s Main ******************************************************************************** See the full output in https://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/27094/steps/webkit_unit_tests/logs/stdio Original issue's description: > Add unit tests for FontPlatformData::hasSpaceInLigaturesOrKerning > > Add a set of unit tests for the hasSpaceInLigaturesOrKerning method that > verifies that the correct value is returned for a font that has space in > either the GPOS or GSUB tables vs for one that does not. Also tests that > the check is bypassed and false is returned if kerning and ligatures are > both disabled. Finally, it fixes the failure mode in that the method now > returns false in cases where the font tables cannot be accessed. > > R=drott@chromium.org > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199059 TBR=leviw@chromium.org,drott@chromium.org,eae@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199072

Patch Set 1 #

Patch Set 2 : Manual revert. #

Patch Set 3 : Rebased again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -190 lines) Patch
M LayoutTests/TestExpectations View 1 2 chunks +13 lines, -2 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 1 chunk +1 line, -5 lines 0 comments Download
M Source/platform/fonts/FontPlatformData.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
D Source/platform/fonts/FontPlatformDataTest.cpp View 1 1 chunk +0 lines, -78 lines 0 comments Download
D Source/platform/fonts/TestFontSelector.h View 1 1 chunk +0 lines, -102 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Julien - ping for review
Created Revert of Add unit tests for FontPlatformData::hasSpaceInLigaturesOrKerning
5 years, 5 months ago (2015-07-17 01:36:28 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240963002/1
5 years, 5 months ago (2015-07-17 01:36:46 UTC) #2
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 5 months ago (2015-07-17 01:37:37 UTC) #4
leviw_travelin_and_unemployed
Oh Android :(
5 years, 5 months ago (2015-07-17 02:07:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240963002/150001
5 years, 5 months ago (2015-07-17 02:18:01 UTC) #8
commit-bot: I haz the power
5 years, 5 months ago (2015-07-17 02:19:17 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:150001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199072

Powered by Google App Engine
This is Rietveld 408576698