<?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>203481</bug_id>
          
          <creation_ts>2019-10-28 01:40:05 -0700</creation_ts>
          <short_desc>Module scripts should always decode using UTF-8</short_desc>
          <delta_ts>2023-01-23 21:14:19 -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>DOM</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>philip</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1584390</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2019-10-28 01:40:05 -0700</bug_when>
    <thetext>This fails html/semantics/scripting-1/the-script-element/module/charset-02.html in web-platform-tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889267</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-05 16:09:08 -0700</bug_when>
    <thetext>NOTE - Safari is still failing two sub-tests;

https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/module/charset-02.html?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=charset-02

UTF-16 module script with UTF-16BE BOM	&amp; UTF-16 module script with UTF-16LE BOM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889304</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-05 18:41:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/98222621&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927516</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-01-23 11:03:08 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8981</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927633</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-23 16:21:48 -0800</bug_when>
    <thetext>Committed 259251@main (c40873d23eea): &lt;https://commits.webkit.org/259251@main&gt;

Reviewed commits have been landed. Closing PR #8981 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927706</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-01-23 21:07:03 -0800</bug_when>
    <thetext>This patch broke builds:
ld: warning: directory not found for option &apos;-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/lib&apos;
Undefined symbols for architecture x86_64:
  &quot;WebCore::CachedScript::scriptHash(WebCore::CachedScript::ShouldDecodeAsUTF8Only)&quot;, referenced from:
      WebCore::CachedScriptSourceProvider::hash() const in Internals-cd36146d9e9bd865a5d44b2d2e51c772ab2b26571f02b9a2c612ac2085f1c5da.o
  &quot;WebCore::CachedScript::script(WebCore::CachedScript::ShouldDecodeAsUTF8Only)&quot;, referenced from:
      WebCore::CachedScriptSourceProvider::source() const in Internals-cd36146d9e9bd865a5d44b2d2e51c772ab2b26571f02b9a2c612ac2085f1c5da.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927707</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-01-23 21:10:15 -0800</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/9015</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927712</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-23 21:14:16 -0800</bug_when>
    <thetext>Committed 259261@main (64dcc8c9d1ae): &lt;https://commits.webkit.org/259261@main&gt;

Reviewed commits have been landed. Closing PR #9015 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>