Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
Revert "chore(docs): add support for language specific notes (#5810)"
Pavel Feldmanc4410d3f4dfa
diff --git a/utils/doclint/documentation.js b/utils/doclint/documentation.jsindex 00ca671a45..e2568addf2 100644--- a/utils/doclint/documentation.js+++ b/utils/doclint/documentation.js@@ -207,7 +207,6 @@ Documentation.Class = class {member.filterForLanguage(lang);membersArray.push(member);}- this.spec = filterSpecs(this.spec, lang);this.membersArray = membersArray;}@@ -341,7 +340,6 @@ Documentation.Member = class {argsArray.push(overriddenArg);}this.argsArray = argsArray;- this.spec = filterSpecs(this.spec, lang);}clone() {@@ -689,16 +687,4 @@ function generateSourceCodeComment(spec) {return md.render(comments, 120);}-/**- *- * @param {MarkdownNode[]} spec- * @param {string} lang- * @returns {MarkdownNode[]}- */-function filterSpecs(spec, lang) {- if(!spec)- return;- return spec.filter(n => n.type !== 'note' || (n.type === 'note' && (!n.codeLang || n.codeLang === lang)));-}-module.exports = Documentation;diff --git a/utils/markdown.js b/utils/markdown.jsindex 453a64f437..91e68899a2 100644--- a/utils/markdown.js+++ b/utils/markdown.js@@ -141,12 +141,10 @@ function buildTree(lines) {}if (content.startsWith(':::')) {- let noteType = content.substring(3).split(' ');/** @type {MarkdownNode} */const node = {type: 'note',- noteType: noteType[0],- codeLang: noteType[1]+ noteType: content.substring(3)};line = lines[++i];const tokens = [];