<?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>240158</bug_id>
          
          <creation_ts>2022-05-05 23:48:57 -0700</creation_ts>
          <short_desc>[WinCairo] Some integrity and WebIDLParser tests are failing if the EOL is CR LF (checked out by Windows Git)</short_desc>
          <delta_ts>2023-10-16 17:18:17 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=34645</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>
          <dependson>263173</dependson>
    
    <dependson>263174</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1867114</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-05 23:48:57 -0700</bug_when>
    <thetext>[WinCairo] Some integrity and WebIDLParser tests are failing if the EOL is CR LF (checked out by Windows Git)

https://build.webkit.org/#/builders/60/builds/6567

  imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/global-immutable-prototype.any.worker.html [ Failure ]
  imported/w3c/web-platform-tests/WebIDL/idlharness.any.worker.html [ Failure ]
  imported/w3c/web-platform-tests/reporting/idlharness.any.worker.html [ Failure ]
  js/dom/modules/module-integrity-bad-value-success-with-cache.html [ Failure ]
  js/dom/modules/module-integrity-non-top-level.html [ Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867115</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-05 23:50:43 -0700</bug_when>
    <thetext>Disabling core.autocrlf will fix it.

git config --system core.autocrlf false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867116</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-05 23:52:32 -0700</bug_when>
    <thetext>web-platform-tests is using .gitattributes to disable the EOL conversion.

https://github.com/web-platform-tests/wpt/commit/2aef503a5b83fd08f57b7277533293773176b445</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869094</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-15 13:09:37 -0700</bug_when>
    <thetext>WinCairo bots fixed the issue by changing git configuration.
https://github.com/WebKitForWindows/docker-webkit-dev/commit/8d9c7fd63d7ffe6b072df38e0bbc084176bcb0a1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950173</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-20 15:20:13 -0700</bug_when>
    <thetext>The list of failing tests due to core.autocrlf=true:

  fast/dom/adopt-attribute-crash.svg [ Failure ]
  http/tests/inspector/network/resource-sizes-memory-cache.html [ Failure ]
  http/tests/inspector/network/resource-sizes-network.html [ Failure ]
  http/tests/xmlhttprequest/cache-override.html [ Failure ]
  http/tests/xmlhttprequest/response-empty-arraybuffer.html [ Failure ]
  http/wpt/push-api/pushSubscription.https.any.serviceworker.html [ Failure ]
  http/wpt/push-api/pushSubscriptionChangeEvent.any.serviceworker.html [ Failure ]
  http/wpt/service-workers/claim-worker-fetch-without-nesting.https.html [ Failure ]
  http/wpt/service-workers/cors-preflight-star.any-serviceworker.html [ Failure ]
  imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/global-immutable-prototype.any.worker.html [ Failure ]
  imported/w3c/web-platform-tests/WebIDL/idlharness.any.worker.html [ Failure ]
  js/dom/modules/module-integrity-bad-value-success-with-cache.html [ Failure ]
  js/dom/modules/module-integrity-non-top-level.html [ Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950206</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-20 18:23:47 -0700</bug_when>
    <thetext>There are a lot of files checked in accidentally with CR-LF.
&gt; git grep --cached -lI $&apos;\r&apos;

We should prevent Windows developers to check in CR-LF.
&gt; git config --global core.autocrlf input</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950208</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-20 18:36:09 -0700</bug_when>
    <thetext>LayoutTests/.gitattributes has `-crlf`.
https://github.com/WebKit/WebKit/blob/204cc1e1e3a384a40bed51c2bd73cbe4df86b1fe/LayoutTests/.gitattributes

`-crlf` is old style of `-text`.
https://git-scm.com/docs/gitattributes

It was added by 45745@main (bug#34645).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950217</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-20 18:58:52 -0700</bug_when>
    <thetext>Because core.autocrlf=true is the defalut of Windows Git, I think we should add something to LayoutTests/.gitattributes.

&gt; fast/dom/adopt-attribute-crash.svg eol=lf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985438</commentid>
    <comment_count>8</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-10-16 15:14:53 -0700</bug_when>
    <thetext>remaining failures:

  http/wpt/push-api/pushSubscription.https.any.serviceworker.html [ Failure ]
  http/wpt/push-api/pushSubscriptionChangeEvent.any.serviceworker.html [ Failure ]
  http/wpt/service-workers/cors-preflight-star.any-serviceworker.html [ Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985462</commentid>
    <comment_count>9</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-10-16 17:18:17 -0700</bug_when>
    <thetext>One more:

  fast/dom/Range/detach-range-during-deletecontents.html [ Timeout ]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>