<?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>151815</bug_id>
          
          <creation_ts>2015-12-03 12:02:05 -0800</creation_ts>
          <short_desc>Asynchronously call onerror when a content blocker blocks a link element&apos;s load</short_desc>
          <delta_ts>2020-02-19 21:31:00 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Meshkov">am</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>krzysztof.modras</cc>
    
    <cc>mjs</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1145999</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Meshkov">am</who>
    <bug_when>2015-12-03 12:02:05 -0800</bug_when>
    <thetext>The same as for https://bugs.webkit.org/show_bug.cgi?id=151649 but about &quot;link&quot; element.

The difference is that in case of &quot;link&quot; element &quot;onerror&quot; is not called at all.

Example:
http://jsfiddle.net/82ez45js/11/

To see what&apos;s going on block webkit.org with a content blocker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612365</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Meshkov">am</who>
    <bug_when>2020-01-29 02:07:39 -0800</bug_when>
    <thetext>This issue is still present in the latest Safari version. This is strange that Safari behavior is inconsistent, &quot;link&quot; is processed differently from &quot;script&quot; which was fixed: https://bugs.webkit.org/show_bug.cgi?id=151649</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620595</commentid>
    <comment_count>2</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2020-02-19 02:38:36 -0800</bug_when>
    <thetext>Does this cause website compatibility issues when content blockers block &quot;link&quot; loads?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620596</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-19 02:38:43 -0800</bug_when>
    <thetext>&lt;rdar://problem/59584713&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620620</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Meshkov">am</who>
    <bug_when>2020-02-19 03:37:35 -0800</bug_when>
    <thetext>&gt; Does this cause website compatibility issues when content blockers block &quot;link&quot; loads?

It may cause compatibility issues as triggering &quot;onerror&quot; is a common way to let web pages know that a resource is not available. The previous issue (151649, about &quot;script&quot; tag) was causing a few. This one is not as important, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621073</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2020-02-19 21:31:00 -0800</bug_when>
    <thetext>It would raise the priority if this caused real compatibility issues when using content blockers, rather than just being a question of technical correctness.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>