Skip to content

Commit

Permalink
Merge pull request compat-table#1296 from afmenez/notesrev
Browse files Browse the repository at this point in the history
Review and reorganize notes
  • Loading branch information
ljharb authored May 8, 2018
2 parents 320a5ed + a05eaa8 commit 34c3d5d
Show file tree
Hide file tree
Showing 10 changed files with 5,629 additions and 5,690 deletions.
32 changes: 21 additions & 11 deletions data-common.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"note_id": "babel-core-js",
"note_html": "This feature is supported when using Babel with <a href='https://github.com/zloirock/core-js'>core-js</a>."
},
"optional": {
"val": "flagged",
"note_id": "babel-optional-flag",
"note_html": "This feature features requires an optional transformer setting."
},
"regenerator": {
"val": true,
"note_id": "babel-regenerator",
Expand Down Expand Up @@ -32,61 +37,66 @@
"experimental": {
"val": "flagged",
"note_id": "edge-experimental-flag",
"note_html": "Flagged features have to be enabled via \"Enable experimental Javascript features\" setting under about:flags"
"note_html": "Flagged features have to be enabled via \"Enable experimental Javascript features\" setting under <code>about:flags</code>"
}
},
"firefox": {
"sharedmem": {
"val": "flagged",
"note_id": "firefox-sharedmem",
"note_html": "The feature have to be enabled via \"javascript.options.shared_memory\" setting under about:config. It is enabled by default in Firefox Developer and Firefox Nightly."
"note_html": "The feature have to be enabled via \"javascript.options.shared_memory\" setting under <code>about:config</code>. It is enabled by default in Firefox Developer Edition and Firefox Nightly builds."
},
"nomob": {
"val": true,
"note_id": "firefox-nomob",
"note_html": "The feature is available on desktop versions only, it is not available on mobile versions."
"note_html": "The feature is available on desktop versions only, it is not available on mobile versions yet."
},
"developer": {
"val": false,
"note_id": "firefox-developer",
"note_html": "The feature is enabled by default only in Firefox Developer and Firefox Nightly."
"note_html": "The feature is available only in Firefox Developer Edition and Firefox Nightly builds."
},
"nightly": {
"val": false,
"note_id": "firefox-nightly",
"note_html": "The feature is enabled by default only in Firefox Nightly."
"note_html": "The feature is available only in Firefox Nightly builds."
}
},
"chrome": {
"sharedmem": {
"val": "flagged",
"note_id": "chrome-sharedmem",
"note_html": "The feature have to be enabled via \"Experimental enabled SharedArrayBuffer support in JavaScript.\" setting under about:flags"
"note_html": "The feature have to be enabled via \"Experimental enabled SharedArrayBuffer support in JavaScript.\" setting under <code>about:flags</code>"
},
"experimental": {
"val": "flagged",
"note_id": "chrome-experimental",
"note_html": "The feature have to be enabled via \"Experimental Javascript features\" setting under <code>about:flags</code>"
},
"harmony": {
"val": "flagged",
"note_id": "chrome-harmony",
"note_html": "The feature have to be enabled via --js-flags=\"--harmony\" flag"
"note_html": "The feature have to be enabled via <code>--js-flags=\"--harmony\"</code> flag"
},
"tco": {
"val": false,
"note_id": "chrome-tco",
"note_html": "The feature is considered unstable, but can be enabled via --js-flags=\"--harmony-tailcalls\" flag"
"note_html": "The feature is considered unstable, but can be enabled via <code>--js-flags=\"--harmony-tailcalls\"</code> flag"
},
"promise": {
"val": false,
"note_id": "chrome-promise",
"note_html": "The feature is considered unstable, but can be enabled via --js-flags=\"--harmony-promise-finally\" flag"
"note_html": "The feature is considered unstable, but can be enabled via <code>--js-flags=\"--harmony-promise-finally\"</code> flag"
},
"simd": {
"val": false,
"note_id": "chrome-simd",
"note_html": "The feature is considered unstable, but can be enabled via --js-flags=\"--harmony-simd\" flag"
"note_html": "The feature is considered unstable, but can be enabled via <code>--js-flags=\"--harmony-simd\"</code> flag"
}
},
"sparseNote": {
"val": true,
"note_id": "sparse_arrays",
"note_html": "Internet Explorer 6 - 8 do not differentiate between a dense array with undefined values, and a sparse array. Specifically, `0 in [,]` and `0 in [undefined]` both yield false - whereas in a compliant browser, the former would give `false`, the latter `true`. As such, ES5 array iteration methods can only be shimmed reliably when dealing with dense arrays."
"note_html": "Internet Explorer 6 - 8 do not differentiate between a dense array with undefined values, and a sparse array. Specifically, <code>`0 in [,]`</code> and <code>`0 in [undefined]`</code> both yield false - whereas in a compliant browser, the former would give `false`, the latter `true`. As such, ES5 array iteration methods can only be shimmed reliably when dealing with dense arrays."
}
}
46 changes: 23 additions & 23 deletions data-es2016plus.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports.tests = [
firefox42: firefox.nightly,
firefox52: true,
opera10_50: false,
chrome51: "flagged",
chrome51: chrome.experimental,
chrome52: true,
safari10_1: true,
duktape2_0: true,
Expand All @@ -58,7 +58,7 @@ exports.tests = [
firefox48: firefox.nightly,
firefox52: true,
opera10_50: false,
chrome51: "flagged",
chrome51: chrome.experimental,
chrome52: true,
safari10_1: true,
duktape2_0: true,
Expand All @@ -82,7 +82,7 @@ exports.tests = [
firefox2: false,
firefox52: true,
opera10_50: false,
chrome51: "flagged",
chrome51: chrome.experimental,
chrome52: true,
safari10_1: true,
duktape2_0: false,
Expand Down Expand Up @@ -117,7 +117,7 @@ exports.tests = [
firefox45: firefox.nightly,
firefox47: true,
opera10_50: false,
chrome51: "flagged",
chrome51: chrome.experimental,
chrome54: true,
ie11: false,
edge14: true,
Expand Down Expand Up @@ -148,7 +148,7 @@ exports.tests = [
firefox45: firefox.nightly,
firefox47: true,
opera10_50: false,
chrome51: "flagged",
chrome51: chrome.experimental,
chrome54: true,
ie11: false,
edge14: true,
Expand Down Expand Up @@ -178,7 +178,7 @@ exports.tests = [
typescript1: typescript.corejs,
ie11: false,
edge15: true,
chrome51: "flagged",
chrome51: chrome.experimental,
chrome54: true,
firefox2: false,
firefox50: true,
Expand Down Expand Up @@ -339,7 +339,7 @@ exports.tests = [
ie11: false,
edge14: edge.experimental,
edge15: true,
chrome52: "flagged",
chrome52: chrome.experimental,
chrome57: true,
node8: true,
safari10: true,
Expand Down Expand Up @@ -369,7 +369,7 @@ exports.tests = [
ie11: false,
edge14: edge.experimental,
edge15: true,
chrome52: "flagged",
chrome52: chrome.experimental,
chrome57: true,
node8: true,
safari10: true,
Expand Down Expand Up @@ -397,7 +397,7 @@ exports.tests = [
typescript2: true,
ie11: false,
edge14: true,
chrome57: "flagged",
chrome57: chrome.experimental,
chrome58: true,
firefox2: false,
firefox52: true,
Expand All @@ -419,7 +419,7 @@ exports.tests = [
typescript2: true,
ie11: false,
edge14: true,
chrome57: "flagged",
chrome57: chrome.experimental,
chrome58: true,
firefox2: false,
firefox52: true,
Expand Down Expand Up @@ -461,7 +461,7 @@ exports.tests = [
babel6: babel.regenerator,
closure: true,
typescript1: typescript.asyncawait,
chrome52: "flagged",
chrome52: chrome.experimental,
chrome55: true,
ie11: false,
edge13: edge.experimental,
Expand Down Expand Up @@ -571,7 +571,7 @@ exports.tests = [
babel6: babel.regenerator,
closure: true,
typescript1: typescript.asyncawait,
chrome52: "flagged",
chrome52: chrome.experimental,
chrome55: true,
ie11: false,
edge13: edge.experimental,
Expand Down Expand Up @@ -773,7 +773,7 @@ exports.tests = [
babel6: babel.regenerator,
closure: true,
typescript1: false, // still buggy output
chrome52: "flagged",
chrome52: chrome.experimental,
chrome55: true,
ie11: false,
edge13: edge.experimental,
Expand Down Expand Up @@ -885,7 +885,7 @@ exports.tests = [
edge17: {
val: false,
note_id: 'edg-shared-memory-spectre',
note_html: 'The feature was temporarily disabled to mitigate the Meltdown and Spectre CPU bugs',
note_html: 'The feature was temporarily disabled to mitigate the Meltdown and Spectre CPU bugs.',
},
firefox2: false,
firefox46: firefox.nightly,
Expand All @@ -895,21 +895,21 @@ exports.tests = [
firefox57: {
val: false,
note_id: 'fx-shared-memory-spectre',
note_html: 'The feature was temporarily disabled to mitigate the <a href="https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/">Meltdown and Spectre CPU bugs</a>.',
note_html: 'The feature was <a href="https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/">temporarily disabled</a> to mitigate the Meltdown and Spectre CPU bugs.',
},
opera10_50: false,
chrome48: chrome.sharedmem,
chrome60: true,
chrome63: {
val: false,
note_id: 'chr-shared-memory-spectre',
note_html: 'The feature was temporarily disabled to mitigate the Meltdown and Spectre CPU bugs',
note_html: 'The feature was temporarily disabled to mitigate the Meltdown and Spectre CPU bugs.',
},
safari10_1: true,
safari11: {
val: false,
note_id: 'sf-shared-memory-spectre',
note_html: 'The feature was temporarily disabled to mitigate <a href="https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/">the Meltdown and Spectre CPU bugs</a>.',
note_html: 'The feature was <a href="https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/">temporarily disabled</a> to mitigate the Meltdown and Spectre CPU bugs.',
},
safaritp: { val: false, note_id: 'sf-shared-memory-spectre' },
duktape2_0: false,
Expand Down Expand Up @@ -1627,7 +1627,7 @@ exports.tests = [
firefox2: false,
firefox36: true,
opera10_50: false,
chrome30: "flagged",
chrome30: chrome.experimental,
chrome38: true,
node0_12: true,
safari9: true,
Expand Down Expand Up @@ -1712,7 +1712,7 @@ exports.tests = [
firefox2: false,
firefox36: true,
opera10_50: false,
chrome30: "flagged",
chrome30: chrome.experimental,
chrome38: true,
node0_12: true,
safari9: true,
Expand Down Expand Up @@ -1830,7 +1830,7 @@ exports.tests = [
firefox2: false,
firefox36: true,
opera10_50: false,
chrome30: "flagged",
chrome30: chrome.experimental,
chrome38: true,
node0_12: true,
safari9: true,
Expand Down Expand Up @@ -1972,7 +1972,7 @@ exports.tests = [
firefox2: false,
firefox36: true,
opera10_50: false,
chrome30: "flagged",
chrome30: chrome.experimental,
chrome38: true,
node0_12: true,
safari9: true,
Expand Down Expand Up @@ -2267,7 +2267,7 @@ exports.tests = [
firefox2: false,
firefox55: true,
opera10_50: false,
chrome58: 'flagged',
chrome58: chrome.experimental,
chrome60: true,
safari11: false,
safari11_1: true,
Expand All @@ -2291,7 +2291,7 @@ exports.tests = [
firefox2: false,
firefox55: true,
opera10_50: false,
chrome58: 'flagged',
chrome58: chrome.experimental,
chrome60: true,
typescript2_1: true,
safari11: false,
Expand Down
Loading

0 comments on commit 34c3d5d

Please sign in to comment.