<?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>188660</bug_id>
          
          <creation_ts>2018-08-16 09:16:43 -0700</creation_ts>
          <short_desc>[WPE] Three local-resource-load tests under fast/loader are failing</short_desc>
          <delta_ts>2018-08-16 09:16:43 -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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1450706</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2018-08-16 09:16:43 -0700</bug_when>
    <thetext>The following three layout tests are failing on the WPE port:

- fast/loader/local-CSS-from-local.html [ Failure ]
- fast/loader/local-JavaScript-from-local.html [ Failure ]
- fast/loader/local-image-from-local.html [ Failure ]

All are trying to load local resources. Suspicion is there&apos;s a problem in WKTR&apos;s pathToLocalResource() function (or at least the WPE-specific implementation of that function).

Example failure:

--- /home/zan/Work/webkit/git/WebKitBuild/Release/layout-test-results/fast/loader/local-image-from-local-expected.txt
+++ /home/zan/Work/webkit/git/WebKitBuild/Release/layout-test-results/fast/loader/local-image-from-local-actual.txt
@@ -1,6 +1,6 @@
 This test is to see if a remote file can include a local image. 
 Currently this test cannot be run manually on Windows because we do not have a function like pathToLocalResource() outside of DRT. 
 
-Test Passed. Local image loaded.
+Test Failed: Image Load Error.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>