<?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>204802</bug_id>
          
          <creation_ts>2019-12-03 11:20:05 -0800</creation_ts>
          <short_desc>Enable security assertions on all ASAN builds</short_desc>
          <delta_ts>2019-12-07 14:06:27 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sunny He">sunny_he</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1595086</commentid>
    <comment_count>0</comment_count>
    <who name="Sunny He">sunny_he</who>
    <bug_when>2019-12-03 11:20:05 -0800</bug_when>
    <thetext>&lt;rdar://57433774&gt;

To enable more effective testing, enable security assertions on all ASAN builds including release. This affects blocks guarded by ENABLE(SECURITY_ASSERTIONS) and ASSERT_WITH_SECURITY_IMPLICATION. Since ASAN builds are inherently for finding bugs at the cost of performance, the additional performance impact of enabling security assertions on ASAN builds should be acceptable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595109</commentid>
    <comment_count>1</comment_count>
      <attachid>384734</attachid>
    <who name="Sunny He">sunny_he</who>
    <bug_when>2019-12-03 12:04:32 -0800</bug_when>
    <thetext>Created attachment 384734
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595179</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-12-03 14:02:27 -0800</bug_when>
    <thetext>Windows bot failure is:

C:\cygwin\home\buildbot\worker\Windows-EWS\build\Tools\DumpRenderTree\win\DumpRenderTree.cpp(800,61): error C2039: &apos;setWebAnimationsCompositeOperationsEnabled&apos;: is not a member of &apos;IWebPreferencesPrivate7&apos; [C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]
  JSWrapper.cpp

Do you think it might be related to your patch??</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595180</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-12-03 14:03:36 -0800</bug_when>
    <thetext>iOS test failure is probably nothing to do with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595213</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-12-03 15:08:55 -0800</bug_when>
    <thetext>Oh looks, like Windows bot failure was an exciting issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595280</commentid>
    <comment_count>5</comment_count>
      <attachid>384734</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-12-03 17:27:08 -0800</bug_when>
    <thetext>Comment on attachment 384734
Patch

Clearing flags on attachment: 384734

Committed r253072: &lt;https://trac.webkit.org/changeset/253072&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595281</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-12-03 17:27:09 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1596625</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-12-07 14:06:27 -0800</bug_when>
    <thetext>&gt; Since ASAN builds are inherently for finding bugs at the cost of performance, the additional performance impact of enabling security assertions on ASAN builds should be acceptable.

This obviously depends on what the performance impact is. Looking at test runtime, it seems acceptable in this case (very roughly, 1-2%).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>384734</attachid>
            <date>2019-12-03 12:04:32 -0800</date>
            <delta_ts>2019-12-03 17:27:08 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-204802-20191203120431.patch</filename>
            <type>text/plain</type>
            <size>1292</size>
            <attacher name="Sunny He">sunny_he</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjUyOTg5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV1RGL0NoYW5n
ZUxvZyBiL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCmluZGV4IDZjOTMxZjFkMzIyNjVjNTI2ODU0OWVl
MTcyZDJlMWQyYjBlYzc1MGQuLjMyMjAyMDk5ZWFhN2M0MTBmYmZjODZmNDQxMjc1MjI2ZWU1MjAy
OGYgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XVEYvQ2hh
bmdlTG9nCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTktMTItMDMgIFN1bm55IEhlICA8c3VubnlfaGVA
YXBwbGUuY29tPgorCisgICAgICAgIEVuYWJsZSBzZWN1cml0eSBhc3NlcnRpb25zIG9uIGFsbCBB
U0FOIGJ1aWxkcworICAgICAgICBodHRwczovL2J1Z3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