Open Bug 1621642 Opened 5 years ago Updated 3 years ago

[meta] Fix failing 'spec' spec-tests

Categories

(Core :: JavaScript: WebAssembly, defect, P3)

defect

Tracking

()

People

(Reporter: rhunt, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

The following tests from the 'spec' repo are excluded from spec-test imports as they're failing.

align.wast
memory_trap.wast
imports.wast
exports.wast
linking.wast
data.wast
names.wast
utf8-custom-section-id.wast

We should investigate and discover why that is.

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Assignee: rhunt → nobody
Severity: normal → S3

At a minimum we need to separate junk from important stuff, and file bugs for the important stuff. Here's a link with more comments: https://searchfox.org/mozilla-central/source/js/src/jit-test/etc/wasm/generate-spectests/config.toml

Priority: P3 → P2

names.wast is failing because we don't handle \0 as valid character in the export name, and not just during parsing. Minimal test to fail

const i = wasmTextToBinary(`(module
  (func)
  (export "" (func 0))
  (export "\\00abc" (func 0))
)`);
new WebAssembly.Module(i);

Do we want to document in config.toml as such and/or open a separate bug to put reference there?

I think filing a bug and blocking this one is best. We don't need a comment in that file if we have a bug open for it.

Depends on: 1715912
Depends on: 1716066
Keywords: meta
Priority: P2 → P3
Summary: Fix failing 'spec' spec-tests → [meta] Fix failing 'spec' spec-tests
You need to log in before you can comment on or make changes to this bug.