Closed Bug 1838289 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40524 - Add regex for link spec

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40524 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40524
Details from upstream follow.

Kyle Ju <kyleju@chromium.org> wrote:

Add regex for link spec

A part of #1489, taken from https://github.com/web-platform-tests/wpt/pull/40392. Add a regex parsing to extract <link rel="help" href=*> spec information. It is able to parse cases such as:

  • <link rel="help" title="Intel" href="foo">
  • <link rel=help title="Intel" href="foo">
  • <link rel=help href="foo" >

The parser terminates early when encounters <script>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/379c114b3c2d [wpt PR 40524] - Add tests for link spec parsing, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.