Bug 188660

Summary: [WPE] Three local-resource-load tests under fast/loader are failing
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal Keywords: LayoutTestFailure
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Zan Dobersek 2018-08-16 09:16:43 PDT
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's a problem in WKTR'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.