RESOLVED FIXED254000
In results.html, match-ref test links to expected images have an extra dot between the filename and the extension
https://bugs.webkit.org/show_bug.cgi?id=254000
Summary In results.html, match-ref test links to expected images have an extra dot be...
Gerald Squelart
Reported 2023-03-15 19:14:23 PDT
The problem is visible in rdar://100336472 , where the results page shows "ref mismatch" but the URL contains an extra dot: `[...]attachment-wrapping-action-expected-mismatch..html`, making it impossible to view the image. The code in results.html's imageResultLinks looks like: > let testExtension = Utils.splitExtension(testResult.name)[1]; ... > result += TestResultsController.resultLink(this._resultsController.layoutTestsBasePath() + testPrefix, '-expected-mismatch.' + testExtension, 'ref mismatch'); ... > result += TestResultsController.resultLink(this._resultsController.layoutTestsBasePath() + testPrefix, '-expected.' + testExtension, 'reference'); The `testExtension` variable contains ".html", so we don't need to add one before. <rdar://106785429>
Attachments
Gerald Squelart
Comment 1 2023-03-15 19:17:34 PDT
EWS
Comment 2 2023-03-17 06:02:08 PDT
Committed 261791@main (9872023d5aed): <https://commits.webkit.org/261791@main> Reviewed commits have been landed. Closing PR #11589 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.