Closed Bug 1906613 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 47032 - Make the wpt/sanitizer-api/sanitizer-names.https.html test deterministic.

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Steinar H. Gunderson <sesse@chromium.org> wrote:

Make the wpt/sanitizer-api/sanitizer-names.https.html test deterministic.

It would depend on the internal order of string hashes.

Change-Id: Id8493e5867869f633f2622079717d2ac62d036da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5680146
Reviewed-by: Daniel Vogelheim \<vogelheim@chromium.org>
Commit-Queue: Daniel Vogelheim \<vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1324124}

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 30 subtests

Status Summary

Firefox

OK : 1
FAIL: 30

Chrome

OK : 1
FAIL: 30

Safari

OK : 1
FAIL: 30

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /sanitizer-api/sanitizer-names.https.html [wpt.fyi]
    • Element names in config item: elements: FAIL (Chrome: FAIL, Safari: FAIL)
    • Element names in config item: removeElements: FAIL (Chrome: FAIL, Safari: FAIL)
    • Element names in config item: replaceWithChildrenElements: FAIL (Chrome: FAIL, Safari: FAIL)
    • Attribute names in config item: attributes: FAIL (Chrome: FAIL, Safari: FAIL)
    • Attribute names in config item: removeAttributes: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced elements #0: elements: ["p"]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced elements #1: elements: ["svg"]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced elements #2: elements: [{"name":"svg","namespace":"http://www.w3.org/2000/svg"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced elements #3: elements: ["math"]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced elements #4: elements: [{"name":"math","namespace":"http://www.w3.org/2000/svg"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced elements #5: elements: [{"name":"math","namespace":"http://www.w3.org/1998/Math/MathML"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attributes #0: attributes: [{"name":"style"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attributes #1: attributes: [{"name":"href"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attributes #2: attributes: [{"name":"xlink:href"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attributes #3: attributes: [{"name":"href","namespace":"http://www.w3.org/1999/xlink"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attributes #4: attributes: [{"name":"href","namespace":"http://www.w3.org/1999/xlink"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attributes #5: attributes: [{"name":"href"}]: FAIL (Chrome: FAIL, Safari: FAIL)
    • Namespaced attribute xlink:href inside SVG tree: FAIL (Chrome: FAIL, Safari: FAIL)
    • Mixed-case element names #0: "svg:feBlend": FAIL (Chrome: FAIL, Safari: FAIL)
    • Lower-case element names #0: "svg:feblend": FAIL (Chrome: FAIL, Safari: FAIL)
    • Upper-case element names #0: "svg:FEBLEND": FAIL (Chrome: FAIL, Safari: FAIL)
    • Mixed case element names #0: "feBlend" is preserved in config.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Mixed-case element names #1: "svg:feColorMatrix": FAIL (Chrome: FAIL, Safari: FAIL)
    • Lower-case element names #1: "svg:fecolormatrix": FAIL (Chrome: FAIL, Safari: FAIL)
    • Upper-case element names #1: "svg:FECOLORMATRIX": FAIL (Chrome: FAIL, Safari: FAIL)
    • Mixed case element names #1: "feColorMatrix" is preserved in config.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Mixed-case element names #2: "svg:textPath": FAIL (Chrome: FAIL, Safari: FAIL)
    • Lower-case element names #2: "svg:textpath": FAIL (Chrome: FAIL, Safari: FAIL)
    • Upper-case element names #2: "svg:TEXTPATH": FAIL (Chrome: FAIL, Safari: FAIL)
    • Mixed case element names #2: "textPath" is preserved in config.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f53bfff843a [wpt PR 47032] - Make the wpt/sanitizer-api/sanitizer-names.https.html test deterministic., a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.