<?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>114396</bug_id>
          
          <creation_ts>2013-04-10 17:09:43 -0700</creation_ts>
          <short_desc>[Windows, WinCairo] FeatureDefines.h Overriding Settings in VS Property Sheets</short_desc>
          <delta_ts>2013-06-13 10:48:30 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</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="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>aroben</cc>
    
    <cc>benjamin</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>kevino</cc>
    
    <cc>paroga</cc>
    
    <cc>roger_fong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>873384</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-10 17:09:43 -0700</bug_when>
    <thetext>The FeatureDefines.h file forces certain features to be active, regardless of the FeatureDefines.prop contents.  This may be a historical issue, from a time when the property sheet did not exist and was not used to control feature activations.

I think it is confusing (and wrong) for this header file to force any of the features to be turned on, if those features are defined and handled in the property sheet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>873387</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-10 17:12:07 -0700</bug_when>
    <thetext>On the Apple Windows target, ENABLE_VIEW_MODE_CSS_MEDIA is included in compiler&apos;s command line output, e.g, /D &quot;ENABLE_VIEW_MODE_CSS_MEDIA&quot; because it is marked as &quot;active&quot; in the FeatureDefines.props file.

On the WInCairo build, we have ENABLE_VIEW_MODE_CSS_MEDIA turned off at the moment (in the FeatureDefinesCairo.props file).  Unfortunately, FeatureDefines.h silently flips it back on.

I think the various defines for OS(WINDOWS) in the FeatureDefines.h file that automatically activate certain features should be removed, unless the GTK-Windows, WinCE, wxWidgets, or some other port needs them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>873524</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-04-10 21:00:20 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think the various defines for OS(WINDOWS) in the FeatureDefines.h file that automatically activate certain features should be removed, unless the GTK-Windows, WinCE, wxWidgets, or some other port needs them.

No needs in the WinCE port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900196</commentid>
    <comment_count>3</comment_count>
      <attachid>204627</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-06-13 10:40:48 -0700</bug_when>
    <thetext>Created attachment 204627
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900197</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-06-13 10:41:32 -0700</bug_when>
    <thetext>I misunderstood how this file is being used.  I think the right solution here is to add a default case for WinCairo that sets the ENABLE_VIEW_MODE_CSS_MEDIA flag to 0 for the WinCairo port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900204</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-06-13 10:48:30 -0700</bug_when>
    <thetext>Committed r151561: &lt;http://trac.webkit.org/changeset/151561&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>204627</attachid>
            <date>2013-06-13 10:40:48 -0700</date>
            <delta_ts>2013-06-13 10:45:55 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-114396-20130613103950.patch</filename>
            <type>text/plain</type>
            <size>1138</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XVEYvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XVEYvQ2hh
bmdlTG9nCShyZXZpc2lvbiAxNTE1NTkpCisrKyBTb3VyY2UvV1RGL0NoYW5nZUxvZwkod29ya2lu
ZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDEzLTA2LTEzICBCcmVudCBGdWxnaGFtICA8YmZ1
bGdoYW1AYXBwbGUuY29tPgorCisgICAgICAgIFtXaW5DYWlyb10gQ29ycmVjdCBGZWF0dXJlRGVm
aW5lcy5oIERlZmF1bHQgZm9yIEVOQUJMRV9WSUVXX01PREVfQ1NTX01FRElBCisgICAgICAgIGh0
dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTQzOTYKKworICAgICAgICBS
ZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIHd0Zi9GZWF0dXJlRGVmaW5l
cy5oOiBUaGUgV2luQ2Fpcm8gcG9ydCBkb2VzIG5vdCAoY3VycmVudGx5KSBzdXBwb3J0IE1lZGlh
IGVsZW1lbnRzLAorICAgICAgICBzbyBtYWtlIHN1cmUgd2UgZG8gbm90IGVuYWJsZSB0aGlzIGZl
YXR1cmUgYnkgZGVmYXVsdCBmb3IgdGhhdCBwb3J0LgorCiAyMDEzLTA2LTEzICBCcmVudCBGdWxn
aGFtICA8YmZ1bGdoYW1AYXBwbGUuY29tPgogCiAgICAgICAgIFtXaW5kb3dzXSBVbnJldmlld2Vk
IGdhcmRlbmluZy4KSW5kZXg6IFNvdXJjZS9XVEYvd3RmL0ZlYXR1cmVEZWZpbmVzLmgKPT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PQotLS0gU291cmNlL1dURi93dGYvRmVhdHVyZURlZmluZXMuaAkocmV2aXNpb24gMTUxNTU4
KQorKysgU291cmNlL1dURi93dGYvRmVhdHVyZURlZmluZXMuaAkod29ya2luZyBjb3B5KQpAQCAt
MjI5LDYgKzIyOSwxMCBAQAogI2RlZmluZSBFTkFCTEVfV0VCX0FSQ0hJVkUgMQogI2VuZGlmCiAK
KyNpZiAhZGVmaW5lZChFTkFCTEVfVklFV19NT0RFX0NTU19NRURJQSkKKyNkZWZpbmUgRU5BQkxF
X1ZJRVdfTU9ERV9DU1NfTUVESUEgMAorI2VuZGlmCisKICNlbmRpZiAvKiBQTEFURk9STShXSU5f
Q0FJUk8pICovCiAKIC8qIC0tLS0tLS0tLSBFRkwgcG9ydCAoVW5peCkgLS0tLS0tLS0tICovCg==
</data>
<flag name="review"
          id="226012"
          type_id="1"
          status="+"
          setter="dino"
    />
          </attachment>
      

    </bug>

</bugzilla>