Closed Bug 1778746 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34753 - [Sanitizer API] Split name handling tests in tentative parts.

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Daniel Vogelheim <vogelheim@chromium.org> wrote:

[Sanitizer API] Split name handling tests in tentative parts.

The WPT tests are split into .tentative and not-.tentative parts,
to separate behaviours that are agreed in the spec or still in
discussion. Since name handling is being re-negotiated, I'm
splitting the name handling tests into the (simpler) agreed
upon parts, and move namespace-related parts into a .tentative
file. The hope is to merge them back together one day.

Bug: 1326827
Change-Id: I6abf1709014aede0ce6f315ad3beafaef82e9f6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3751379
Commit-Queue: Daniel Vogelheim \<vogelheim@chromium.org>
Reviewed-by: Yifan Luo \<lyf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022117}

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

CI Results

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

Total 2 tests and 31 subtests

Status Summary

Firefox

OK : 2
FAIL: 36

Chrome

OK : 2
PASS: 18
FAIL: 18

Links

Gecko CI (Treeherder)
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: allowElements: FAIL (Chrome: PASS)
    • Element names in config item: dropElements: FAIL (Chrome: PASS)
    • Element names in config item: blockElements: FAIL (Chrome: PASS)
    • Attribute names in config item: allowAttributes: FAIL (Chrome: PASS)
    • Attribute names in config item: dropAttributes: FAIL (Chrome: PASS)
  • /sanitizer-api/sanitizer-names.https.tentative.html [wpt.fyi]
    • Element names in config item: allowElements: FAIL (Chrome: PASS)
    • Element names in config item: dropElements: FAIL (Chrome: PASS)
    • Element names in config item: blockElements: FAIL (Chrome: PASS)
    • Attribute names in config item: allowAttributes: FAIL (Chrome: FAIL)
    • Attribute names in config item: dropAttributes: FAIL (Chrome: FAIL)
    • Namespaced elements #0: allowElements: ["p"]: FAIL (Chrome: PASS)
    • Namespaced elements #1: allowElements: ["svg"]: FAIL (Chrome: FAIL)
    • Namespaced elements #2: allowElements: ["svg:svg"]: FAIL (Chrome: FAIL)
    • Namespaced elements #3: allowElements: ["math"]: FAIL (Chrome: FAIL)
    • Namespaced elements #4: allowElements: ["svg:math"]: FAIL (Chrome: FAIL)
    • Namespaced elements #5: allowElements: ["math:math"]: FAIL (Chrome: FAIL)
    • Namespaced elements #6: allowElements: ["potato:math"]: FAIL (Chrome: FAIL)
    • Namespaced elements #7: allowElements: ["potato:math"]: FAIL (Chrome: PASS)
    • Namespaced attributes #0: allowAttributes: {"style": ["*"]}: FAIL (Chrome: PASS)
    • Namespaced attributes #1: allowAttributes: {"href": ["*"]}: FAIL (Chrome: PASS)
    • Namespaced attributes #2: allowAttributes: {"xlink:href": ["*"]}: FAIL (Chrome: FAIL)
    • Namespaced attributes #3: allowAttributes: {"potato:href": ["*"]}: FAIL (Chrome: PASS)
    • Namespaced attributes #4: allowAttributes: {"xlink:href": ["*"]}: FAIL (Chrome: PASS)
    • Namespaced attributes #5: allowAttributes: {"href": ["*"]}: FAIL (Chrome: PASS)
    • Mixed-case element names #0: "svg:feBlend": FAIL (Chrome: FAIL)
    • Mixed-case element names #0: "svg:feblend": FAIL (Chrome: FAIL)
    • Mixed-case element names #0: "SVG:FEBLEND": FAIL (Chrome: FAIL)
    • Mixed case element names #0: "svg:feBlend" is preserved in config.: FAIL (Chrome: PASS)
    • Mixed-case element names #1: "svg:feColorMatrix": FAIL (Chrome: FAIL)
    • Mixed-case element names #1: "svg:fecolormatrix": FAIL (Chrome: FAIL)
    • Mixed-case element names #1: "SVG:FECOLORMATRIX": FAIL (Chrome: FAIL)
    • Mixed case element names #1: "svg:feColorMatrix" is preserved in config.: FAIL (Chrome: PASS)
    • Mixed-case element names #2: "svg:textPath": FAIL (Chrome: FAIL)
    • Mixed-case element names #2: "svg:textpath": FAIL (Chrome: FAIL)
    • Mixed-case element names #2: "SVG:TEXTPATH": FAIL (Chrome: FAIL)
    • Mixed case element names #2: "svg:textPath" is preserved in config.: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/99047772b867
[wpt PR 34753] - [Sanitizer API] Split name handling tests in tentative parts., a=testonly
https://hg.mozilla.org/integration/autoland/rev/8a72296bd190
[wpt PR 34753] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.