Comments (6)
How does shifting the tests to wpt help?
from test262.
I guess the context for this question was my comment in this WPT pull request? I don't think we need to shift tests to WPT as such, but since we are trying to find new strategies to test ECMA-402 without relying on golden output, I'd say that if people specifically want tests that rely on golden output, test262 is not the right place for that — because those tests do not accurately measure conformance with ECMA-262 or ECMA-402. Stability in ILD strings seems like it's mainly important to engines that run in browsers, so WPT seems like it could be the right place, but that's ultimately up to the people with merge privileges in WPT.
from test262.
How is it not relevant to other engines?
from test262.
One place where compatibility issues arise with ILD string changes is from serializing and rehydrating web pages. As an example of an engine where that isn't a concern: I'm involved with the embedded SpiderMonkey in the GNOME desktop, for example. We are not serializing web pages there, but just displaying the ILD strings directly to users, in which case fixes that make the ILD output more consistent with what users in that locale expect are usually welcome.
from test262.
Why could the same kind of thing not happen? Say you get a string and split it on U+0020 but then later on the string no longer contains that code point and your app is broken. Perhaps if you take extreme care to never operate on the returned strings you're good, but that seems unlikely to be generally true. And that concern definitely applies well beyond browsers.
from test262.
Yes, the same thing could happen, but when you re-parse an ILD string in an app I think you're probably more likely to be aware you're doing something iffy. Anyway, I said "mainly important to browsers" not "exclusively important" 😄
from test262.
Related Issues (20)
- Import cycles through star exports
- Test gap for custom calendars
- XS engine failing to install on CircleCI
- Test gap for invalid string calendar IDs
- Tests for Promise.withResolvers HOT 4
- Helpers should be documented in or from CONTRIBUTING.md HOT 2
- Dependency of async-gc helper on cleanupSome functionality HOT 1
- Missing tests for `next` caching in array-destructuring? HOT 1
- built-ins/RegExp/property-escapes/generated need to be updated for Unicode 15.1
- cjtenny would like to become a maintainer HOT 3
- ESVU Chakra installation fails in CI HOT 1
- Missing coverage for parenthesized LHS
- [spam]
- Missing coverage for Top Level Await
- Missing byteConversionValues.expected.Float16
- Tests of Iterator.prototype.constructor/toStringTag are broken HOT 2
- $262.IsHTMLDDA's [[Call]] behavior is underspecified
- The Decorators proposal does not have enough tests HOT 2
- Tests using `__proto__` without appropriate `features` entry HOT 1
- Guidance on writing testing plans and where to include them in the process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test262.