<?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>146561</bug_id>
          
          <creation_ts>2015-07-02 15:44:08 -0700</creation_ts>
          <short_desc>REGRESSION (r139294): Images loaded via -webkit-mask-image now undergo same-origin checks</short_desc>
          <delta_ts>2015-10-13 20:49:15 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=139294</see_also>
          <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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>krit</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1106504</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-07-02 15:44:08 -0700</bug_when>
    <thetext>After r139294, we&apos;re applying the same-origin policy to images loaded in -webkit-masks. Since this doesn&apos;t happen for CSS images or &lt;img&gt;, I don&apos;t think this is a progression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1106657</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-07-03 01:58:19 -0700</bug_when>
    <thetext>&gt; After r139294 

I think that you meant bug 139294.

It&apos;s not obvious to me whether this is right or wrong. Does -webkit-mask ever affect content that would cause tainting if loaded cross-origin?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1107371</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2015-07-06 22:46:31 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; &gt; After r139294 
&gt; 
&gt; I think that you meant bug 139294.
&gt; 
&gt; It&apos;s not obvious to me whether this is right or wrong. Does -webkit-mask
&gt; ever affect content that would cause tainting if loaded cross-origin?

If webkit-mask does not load an image but references a mask element, we need a cross-origin check. However, at the time we had checked if the normal image loading works properly. If even images are cross-origin checked, then this might be a regression introduced at a later point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1133025</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-10-13 20:49:15 -0700</bug_when>
    <thetext>No longer an issue since the code was rolled out.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>