Bug 207175

Summary: WPT test importer imports rel="mismatch" as the reference
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: Tools / TestsAssignee: Sam Sneddon [:gsnedders] <gsnedders>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, glenn, gsnedders, jbedard, mmaxfield, rego, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=203784
https://bugs.webkit.org/show_bug.cgi?id=206881
Bug Depends on:    
Bug Blocks: 207734, 232663    
Attachments:
Description Flags
Patch
none
Patch none

Description Carlos Alberto Lopez Perez 2020-02-03 18:26:44 PST
Some WPT tests use <link rel="mismatch" href=...> to specify a reference that shouldn't match.
On WPT this can be used along with other <link rel="match" ...> references or it can be used alone.

See for example the test: https://github.com/web-platform-tests/wpt/blob/master/css/css-fonts/standard-font-family-20.html

This test was imported on r255351 but the WebKit W3C test importer imported the mismatch as the reference causing the test to fail (see bug 206881)

Other tests are likely affected by this, the one above its just an example.
Comment 1 Radar WebKit Bug Importer 2020-09-21 15:38:23 PDT
<rdar://problem/69332102>
Comment 2 Manuel Rego Casasnovas 2021-11-08 06:15:31 PST
Created attachment 443540 [details]
Patch
Comment 3 Manuel Rego Casasnovas 2021-11-08 06:53:11 PST
Created attachment 443542 [details]
Patch
Comment 4 EWS 2021-11-08 10:45:56 PST
Committed r285414 (243971@main): <https://commits.webkit.org/243971@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 443542 [details].
Comment 5 Myles C. Maxfield 2021-11-08 13:29:39 PST
OMG YES!!!

Thank you soooo much!!!