Skip to content

Commit

Permalink
Fix "Set methods" tests, update browser results and add MDN link
Browse files Browse the repository at this point in the history
  • Loading branch information
afmenez committed Jul 8, 2024
1 parent ca600d7 commit f09fcb6
Show file tree
Hide file tree
Showing 2 changed files with 283 additions and 237 deletions.
60 changes: 53 additions & 7 deletions data-es2016plus.js
Original file line number Diff line number Diff line change
Expand Up @@ -7189,6 +7189,7 @@ exports.tests = [
category: '2025 features',
significance: 'medium',
spec: 'https://github.com/tc39/proposal-set-methods',
mdn: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set#instance_methods',
subtests: [
{
name: 'Set.prototype.intersection',
Expand All @@ -7205,9 +7206,15 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods',
note_html: 'The feature has to be enabled via <code>javascript.options.experimental.new_set_methods</code> setting under <code>about:config</code>.'
},
firefox127: true,
chrome77: false,
chrome126: true,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
Expand All @@ -7233,9 +7240,14 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods'
},
firefox127: true,
chrome77: false,
chrome126: true,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
Expand All @@ -7260,9 +7272,14 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods'
},
firefox127: true,
chrome77: false,
chrome126: true,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
Expand All @@ -7287,9 +7304,14 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods'
},
firefox127: true,
chrome77: false,
chrome126: true,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
Expand All @@ -7302,7 +7324,7 @@ exports.tests = [
{
name: 'Set.prototype.isDisjointFrom',
exec: function () {/*
return new Set([1, 2, 3]).isDisjointFrom([4, 5, 6]);
return new Set([1, 2, 3]).isDisjointFrom(new Set([4, 5, 6]));
*/},
res: {
babel6corejs2: false,
Expand All @@ -7311,7 +7333,15 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods'
},
firefox127: true,
chrome77: false,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
graalvm20_1: graalvm.es2021flag,
Expand All @@ -7324,7 +7354,7 @@ exports.tests = [
{
name: 'Set.prototype.isSubsetOf',
exec: function () {/*
return new Set([1, 2, 3]).isSubsetOf([5, 4, 3, 2, 1]);
return new Set([1, 2, 3]).isSubsetOf(new Set([5, 4, 3, 2, 1]));
*/},
res: {
babel6corejs2: false,
Expand All @@ -7333,7 +7363,15 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods'
},
firefox127: true,
chrome77: false,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
graalvm21_3_3: graalvm.newSetMethodsFlag,
Expand All @@ -7345,7 +7383,7 @@ exports.tests = [
{
name: 'Set.prototype.isSupersetOf',
exec: function () {/*
return new Set([5, 4, 3, 2, 1]).isSupersetOf([1, 2, 3]);
return new Set([5, 4, 3, 2, 1]).isSupersetOf(new Set([1, 2, 3]));
*/},
res: {
babel6corejs2: false,
Expand All @@ -7354,7 +7392,15 @@ exports.tests = [
typescript3_2corejs3: typescript.corejs,
ie11: false,
firefox2: false,
firefox117: false,
firefox118: {
val: 'flagged',
note_id: 'ff-new-set-methods'
},
firefox127: true,
chrome77: false,
chrome122: true,
safari17: true,
duktape2_0: false,
graalvm19: false,
graalvm21_3_3: graalvm.newSetMethodsFlag,
Expand Down
Loading

0 comments on commit f09fcb6

Please sign in to comment.