Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test bugs oct2018 #1869

Merged
merged 2 commits into from
Oct 17, 2018
Merged

Test bugs oct2018 #1869

merged 2 commits into from
Oct 17, 2018

Conversation

anba
Copy link
Contributor

@anba anba commented Oct 17, 2018

faed4fb

test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-called-once.js

  • Add missing return value for flags (see my PR from last month)
  • Correct order of operations

test/intl402/ListFormat/constructor/constructor/locales-valid.js
test/intl402/RelativeTimeFormat/constructor/constructor/locales-valid.js

  • The "best fit" locale matcher is not required to return the default locale for the language tag "x-private", so restrict "x-private" to only try the "lookup" locale matcher.

test/intl402/Locale/constructor-options-numeric-undefined.js
test/intl402/Locale/constructor-options-numeric-valid.js
test/intl402/Locale/getters.js

  • "true" is now omitted in Unicode extension keywords, per UTS 35.

test/intl402/Locale/constructor-options-numeric-undefined.js

test/intl402/Locale/constructor-parse-twice.js
test/intl402/Locale/extensions-grandfathered.js
test/intl402/Locale/extensions-private.js
test/intl402/Locale/getters-grandfathered.js
test/intl402/Locale/getters-privateuse.js

test/intl402/Locale/constructor-tag-tostring.js

  • Remove assert message because it applies ToString on an object which throws when ToString is applied on it.

test/intl402/NumberFormat/constructor-default-value.js

  • __proto__ is Annex-B, replace with Object.create.

test/intl402/NumberFormat/prototype/formatToParts/default-parameter.js

  • Same issue as in my PR last month.

test/intl402/NumberFormat/prototype/formatToParts/value-tonumber.js

  • assert.sameValue can't be used to compare two objects.

test/language/module-code/dynamic-import/eval-self-once-script.js

  • Ensure $DONE is only called from the first script and not from the (module-)script when it's dynamically imported.

d3e5b81

@@ -20,19 +20,24 @@ features: [dynamic-import]

var global = fnGlobalObject();

if (typeof global.evaluated === 'undefined') {
var isFirstScript = typeof global.evaluated === 'undefined';
if (isFirstScript) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@leobalter leobalter merged commit 1690ac5 into tc39:master Oct 17, 2018
@anba anba deleted the test-bugs-oct2018 branch June 25, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants