<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>177938</bug_id>
          
          <creation_ts>2017-10-05 05:57:04 -0700</creation_ts>
          <short_desc>[GTK] 2 text tests failing since r222838</short_desc>
          <delta_ts>2017-10-16 12:22:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Tomas Popela">tpopela</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>tpopela</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1357002</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2017-10-05 05:57:04 -0700</bug_when>
    <thetext>fast/text/woff2-totalsfntsize.html [ ImageOnlyFailure ]
fast/text/woff2.html [ ImageOnlyFailure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357542</commentid>
    <comment_count>1</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 03:01:26 -0700</bug_when>
    <thetext>OK, so the problem was that in OptionGTK.cmake we had:

set(USE_WOFF2 ON)

but in should use:

SET_AND_EXPOSE_TO_BUILD(USE_WOFF2 ON)

but the tests should be fixed now with bug 177804 (r222907):

01:36:41.601 16255 [22052/46035] fast/text/woff2-totalsfntsize.html passed unexpectedly
01:36:41.600 16368 worker/2 fast/text/woff2-totalsfntsize.html passed
01:36:41.949 16255 [22061/46035] fast/text/woff2.html passed unexpectedly
01:36:41.949 16368 worker/2 fast/text/woff2.html passed

It will mark them as passing..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357543</commentid>
    <comment_count>2</comment_count>
      <attachid>323005</attachid>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 03:08:51 -0700</bug_when>
    <thetext>Created attachment 323005
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357544</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-06 03:12:18 -0700</bug_when>
    <thetext>(In reply to Tomas Popela from comment #1)
&gt; OK, so the problem was that in OptionGTK.cmake we had:
&gt; 
&gt; set(USE_WOFF2 ON)
&gt; 
&gt; but in should use:
&gt; 
&gt; SET_AND_EXPOSE_TO_BUILD(USE_WOFF2 ON)

Is this fixed yet...?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357546</commentid>
    <comment_count>4</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 03:15:30 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #3)
&gt; (In reply to Tomas Popela from comment #1)
&gt; &gt; OK, so the problem was that in OptionGTK.cmake we had:
&gt; &gt; 
&gt; &gt; set(USE_WOFF2 ON)
&gt; &gt; 
&gt; &gt; but in should use:
&gt; &gt; 
&gt; &gt; SET_AND_EXPOSE_TO_BUILD(USE_WOFF2 ON)
&gt; 
&gt; Is this fixed yet...?

It is, but differently.. now it is defined with WEBKIT_OPTION_DEFINE()..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357547</commentid>
    <comment_count>5</comment_count>
      <attachid>323005</attachid>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 03:16:58 -0700</bug_when>
    <thetext>Comment on attachment 323005
Patch

Clearing flags on attachment: 323005

Committed r222973: &lt;http://trac.webkit.org/changeset/222973&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357548</commentid>
    <comment_count>6</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 03:17:03 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357558</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-06 03:50:53 -0700</bug_when>
    <thetext>What about the 2.18 branch?

And there&apos;s also USE_CAIRO and USE_XDGMIME that are set but not exposed to build. Hmmmmm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357560</commentid>
    <comment_count>8</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 03:58:34 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #7)
&gt; What about the 2.18 branch?

That one needs to be fixed..
 
&gt; And there&apos;s also USE_CAIRO and USE_XDGMIME that are set but not exposed to
&gt; build. Hmmmmm.

Exactly.. Man you should really be on IRC (and especially on FreeNode) ;)..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357561</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-06 04:41:02 -0700</bug_when>
    <thetext>We need to figure this out.

USE(WOFF2) needs fixed for 2.18.

And it&apos;s hard to believe that USE(CAIRO) is not working, but I&apos;m not sure how.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1357562</commentid>
    <comment_count>10</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2017-10-06 04:53:19 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #9)
&gt; We need to figure this out.
&gt; 
&gt; USE(WOFF2) needs fixed for 2.18.
&gt; 

For 2.18 it will be fixed by backporting r222838 there together with:

diff --git a/Source/cmake/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake
index 0caa7dce0b8..b84419fc581 100644
--- a/Source/cmake/OptionsGTK.cmake
+++ b/Source/cmake/OptionsGTK.cmake
@@ -56,7 +56,7 @@ WEBKIT_OPTION_BEGIN()

 include(GStreamerDefinitions)

-set(USE_CAIRO ON)
+SET_AND_EXPOSE_TO_BUILD(USE_CAIRO ON)
 set(USE_WOFF2 ON)
 set(USE_XDGMIME ON)
 SET_AND_EXPOSE_TO_BUILD(USE_GCRYPT TRUE)

&gt; And it&apos;s hard to believe that USE(CAIRO) is not working, but I&apos;m not sure
&gt; how.

it is not as it is the same situation as here.. It needs to use the SET_AND_EXPOSE_TO_BUILD() and we have to remove its override from Platform.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360891</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-16 12:22:04 -0700</bug_when>
    <thetext>Let&apos;s leave USE_CAIRO alone for now... it&apos;s awkward that it&apos;s set separately in Platform.h and Options[GTK,WPE].cmake, but there is not currently any correctness issue and this will be a difficult cleanup, for another day. Not really sure how we want to handle it. It doesn&apos;t make much sense to me to move it from Platform.h to CMake while leaving all the other stuff defined next to it in Platform.h, but it&apos;s true that it&apos;s clearly needed in CMake as well. Maybe we should be moving a lot more into CMake.

I don&apos;t think r222838 is needed for 2.18, since we don&apos;t support disabling WOFF2 there. In fact, backporting that would introduce the regression, so it must not be backported.

So I think we&apos;re good here... sort of.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>323005</attachid>
            <date>2017-10-06 03:08:51 -0700</date>
            <delta_ts>2017-10-06 03:16:58 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-177938-20171006120849.patch</filename>
            <type>text/plain</type>
            <size>1635</size>
            <attacher name="Tomas Popela">tpopela</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjIyOTcyCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNTMwYWRlOTdhYzM2ZTlhMjdmMGI5
Mzg1MzJjNThlZGM2MDE3Njk2ZS4uZjZmYTgxMjAwMmIwYWNiYzE1OTIwNjM4YTM5OTFiODhlM2M2
MTA5NCAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0IEBACisyMDE3LTEwLTA2ICBUb21hcyBQb3BlbGEgIDx0
cG9wZWxhQHJlZGhhdC5jb20+CisKKyAgICAgICAgW0dUS10gMiB0ZXh0IHRlc3RzIGZhaWxpbmcg
c2luY2UgcjIyMjgzOAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9MTc3OTM4CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAg
ICAgICAgVGhlc2UgdGVzdHMgYXJlIHBhc3NpbmcgYWZ0ZXIgcjIyMjkwNworCisgICAgICAgICog
cGxhdGZvcm0vZ3RrL1Rlc3RFeHBlY3RhdGlvbnM6CisKIDIwMTctMTAtMDUgIENhcmxvcyBHYXJj
aWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2FsaWEuY29tPgogCiAgICAgICAgIFtHVEtdW1dQRV0gQWxs
IHJlc291cmNlIGxvYWQgc3RhdGlzdGljcyB0ZXN0cyBhZGRlZCBpbiByMjEyMTgzIGNyYXNoIGlu
IEdUSyBib3RzLCB0aW1lb3V0IGluIEdUSyBhbmQgV1BFIGJvdH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