├── .editorconfig
├── .github
├── dependabot.yml
└── workflows
│ ├── build-after-dependabot.yml
│ ├── build.yml
│ ├── collect-context-data.yml
│ └── run.yml
├── .gitignore
├── LICENSE
├── Makefile
├── README.md
├── babel.config.json
├── docs
├── failing-core-web.html
└── index.html
├── go.mod
├── go.sum
├── package-lock.json
├── package.json
├── postcss.config.js
├── scripts
├── Makefile
├── browserstack
│ ├── browsers.go
│ ├── browsers_test.go
│ ├── client.go
│ ├── errors.go
│ ├── http.go
│ ├── local.go
│ ├── resolution.go
│ ├── selenium.go
│ ├── selenium_collect_ua.go
│ ├── selenium_test.go
│ ├── tunnel.go
│ ├── tunnel_test.go
│ ├── workers.go
│ └── workers_test.go
├── browserua
│ └── browserua.go
├── feature
│ └── feature.go
├── result
│ └── result.go
├── store
│ ├── create_features_table.sql
│ ├── create_results_table.sql
│ ├── create_user-agents_table.sql
│ ├── exists_feature.sql
│ ├── exists_result.sql
│ ├── insert_feature.sql
│ ├── insert_result.sql
│ ├── insert_user-agent.sql
│ ├── reset_result_priority.sql
│ ├── select_all_browsers.sql
│ ├── select_all_features.sql
│ ├── select_all_user-agents.sql
│ ├── select_all_user-agents_for_browser.sql
│ ├── select_browsers_by_priority.sql
│ ├── select_browsers_by_search.sql
│ ├── select_feature.sql
│ ├── select_result.sql
│ ├── select_results_by_browser_and_priority.sql
│ ├── select_results_for_feature.sql
│ ├── select_sum_results_priority.sql
│ ├── store.go
│ ├── update_feature.sql
│ └── update_result.sql
├── web-tests-browserstack-single
│ └── main.go
├── web-tests-browserstack
│ └── main.go
├── web-tests-build-mapping
│ └── main.go
├── web-tests-build-test
│ └── main.go
├── web-tests-collect-ua-strings
│ └── main.go
├── web-tests-migrate-makefile
│ ├── README.md
│ └── main.go
├── web-tests-migrate-meta
│ ├── README.md
│ └── main.go
├── web-tests-native-support-data
│ └── main.go
├── web-tests-new-test
│ ├── README.md
│ └── main.go
├── web-tests-pages
│ ├── failing-core-web.go
│ ├── full-result.go
│ ├── main.go
│ ├── significant-ua-version.go
│ ├── usage.go
│ └── util.go
├── web-tests-passes
│ ├── main.go
│ ├── usage.go
│ └── util.go
└── web-tests-reset-priority
│ └── main.go
├── specifications
├── example
│ └── test
│ │ ├── 1.feature
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ │ ├── 2.failing
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ │ └── 3.feature-css
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.postcss-preset-env.css
│ │ ├── test.pure.css
│ │ ├── test.pure.html
│ │ └── test.pure.js
├── tc39
│ ├── ecma262
│ │ ├── 13.2.2.this.strict
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 13.2.2.this
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ └── test.pure.js
│ │ ├── 13.2.2.thisES6
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 13.2.5.1.ArrayInitialiser.Elision
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 13.3.1.3.constDeclaration
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 13.3.OptionalChain
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 14.7.AsyncAwait
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 15.7.Class-Definitions.ClassHeritage
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 18.1.1.globalThis
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 20.4.1.Symbol.constructor
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 20.4.2.5.Symbol.iterator
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 22.1.5.1.2.StringIterator.prototype.toStringTag
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 23.1.2.1.Array.from
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 23.1.5.2.2.ArrayIterator.prototype.toStringTag
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 24.1.3.13.Map.prototype.toStringTag
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 24.2.3.12.Set.prototype.toStringTag
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 24.3.1.WeakMap.constructor
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 25.1.5.4.ArrayBuffer.prototype.toStringTag
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 27.2.5.5.Promise.prototype.toStringTag
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 6.1.1.Undefined
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 6.1.2.Null
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 6.1.3.Boolean
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ └── 6.1.4.String
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ └── ecma402
│ │ ├── 11.1.1.24.InitializeDateTimeFormat.options.timeZone
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ │ └── 11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
├── w3c
│ ├── css-cascade-5
│ │ └── 6.4.Cascade-Layers
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ ├── css-color-4
│ │ ├── 10.1.Mixed-Components
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ ├── 5.1.Color-Functional-Notation-Percentage-Alpha
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ ├── 5.1.Mixed-Components
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ ├── 7.Mixed-Components
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ ├── 8.Mixed-Components
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ ├── 9.3.Mixed-Components
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ └── 9.4.Mixed-Components
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ ├── css-conditional-3
│ │ └── 4.Placement-of-conditional-group-rules_nested-at-rules
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ ├── cssom
│ │ ├── 4.innerWidth
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ └── 6.getBoundingClientRect
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ ├── geometry-1
│ │ ├── 3.DOMRect.bottom
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.height
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.left
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.right
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.top
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.width
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.x
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ ├── 3.DOMRect.y
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ │ └── 3.DOMRect
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ ├── intersection-observer
│ │ └── 2.2.IntersectionObserver
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ ├── mediaqueries-4
│ │ └── 4.3.Aspect-Ratio
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ ├── selectors-4
│ │ ├── 4.3.Negation-Pseudo-Class
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ │ └── 8.1.Hyperlink-Pseudo-Class
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ ├── selectors
│ │ └── 4.5.Relational-Pseudo-Class
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.babel.js
│ │ │ ├── test.babel_webpack.js
│ │ │ ├── test.core-web_modules.js
│ │ │ ├── test.core-web_no-modules.js
│ │ │ └── test.pure.js
│ ├── svg2
│ │ └── 6.1.Styling_Invalid-Property-Values
│ │ │ ├── Makefile
│ │ │ ├── meta.json
│ │ │ ├── test.postcss-preset-env.css
│ │ │ ├── test.pure.css
│ │ │ ├── test.pure.html
│ │ │ └── test.pure.js
│ └── web-animations-1
│ │ ├── 4.3.2.document.timeline
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ │ └── 6.9.Animatable
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
└── whatwg
│ ├── dom
│ ├── 4.2.10.1.NodeList.prototype.@@iterator
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── 4.2.10.2.HTMLCollection.prototype.@@iterator
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── 4.2.4.getElementById
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── 4.2.6.querySelector
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── 4.7.DocumentFragment
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── 4.9.Element.classList
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ └── 7.1.DOMTokenList.prototype.@@iterator
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── fetch
│ └── 5.2.BodyInit.unions.URLSearchParams
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── html
│ ├── 4.10.5.4.valueAsDate
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ ├── 4.13.4.customElements.define.super
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ └── 4.13.4.customElements.define
│ │ ├── Makefile
│ │ ├── meta.json
│ │ ├── test.babel.js
│ │ ├── test.babel_webpack.js
│ │ ├── test.core-web_modules.js
│ │ ├── test.core-web_no-modules.js
│ │ └── test.pure.js
│ └── url
│ ├── 6.1.2.constructor.base
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
│ ├── 6.1.URL.prototype.toJSON
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
│ ├── 6.2.constructor.Record
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
│ ├── 6.2.constructor.Sequence
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
│ ├── 6.2.constructor.USVString
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
│ ├── 6.2.constructor
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
│ └── 6.2.toString
│ ├── Makefile
│ ├── meta.json
│ ├── test.babel.js
│ ├── test.babel_webpack.js
│ ├── test.core-web_modules.js
│ ├── test.core-web_no-modules.js
│ └── test.pure.js
├── test-assets
├── .gitignore
└── .gitkeep
├── tests
├── .gitignore
└── .gitkeep
├── vendor
├── github.com
│ ├── blang
│ │ └── semver
│ │ │ ├── .travis.yml
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── json.go
│ │ │ ├── package.json
│ │ │ ├── range.go
│ │ │ ├── semver.go
│ │ │ ├── sort.go
│ │ │ ├── sql.go
│ │ │ └── v4
│ │ │ ├── LICENSE
│ │ │ ├── json.go
│ │ │ ├── range.go
│ │ │ ├── semver.go
│ │ │ ├── sort.go
│ │ │ └── sql.go
│ ├── google
│ │ └── uuid
│ │ │ ├── CHANGELOG.md
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── CONTRIBUTORS
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── dce.go
│ │ │ ├── doc.go
│ │ │ ├── hash.go
│ │ │ ├── marshal.go
│ │ │ ├── node.go
│ │ │ ├── node_js.go
│ │ │ ├── node_net.go
│ │ │ ├── null.go
│ │ │ ├── sql.go
│ │ │ ├── time.go
│ │ │ ├── util.go
│ │ │ ├── uuid.go
│ │ │ ├── version1.go
│ │ │ ├── version4.go
│ │ │ ├── version6.go
│ │ │ └── version7.go
│ ├── hashicorp
│ │ └── go-version
│ │ │ ├── CHANGELOG.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── constraint.go
│ │ │ ├── version.go
│ │ │ └── version_collection.go
│ ├── mattn
│ │ └── go-sqlite3
│ │ │ ├── .codecov.yml
│ │ │ ├── .gitignore
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── backup.go
│ │ │ ├── callback.go
│ │ │ ├── convert.go
│ │ │ ├── doc.go
│ │ │ ├── error.go
│ │ │ ├── sqlite3-binding.c
│ │ │ ├── sqlite3-binding.h
│ │ │ ├── sqlite3.go
│ │ │ ├── sqlite3_context.go
│ │ │ ├── sqlite3_func_crypt.go
│ │ │ ├── sqlite3_go18.go
│ │ │ ├── sqlite3_libsqlite3.go
│ │ │ ├── sqlite3_load_extension.go
│ │ │ ├── sqlite3_load_extension_omit.go
│ │ │ ├── sqlite3_opt_allow_uri_authority.go
│ │ │ ├── sqlite3_opt_app_armor.go
│ │ │ ├── sqlite3_opt_column_metadata.go
│ │ │ ├── sqlite3_opt_foreign_keys.go
│ │ │ ├── sqlite3_opt_fts5.go
│ │ │ ├── sqlite3_opt_icu.go
│ │ │ ├── sqlite3_opt_introspect.go
│ │ │ ├── sqlite3_opt_math_functions.go
│ │ │ ├── sqlite3_opt_os_trace.go
│ │ │ ├── sqlite3_opt_preupdate.go
│ │ │ ├── sqlite3_opt_preupdate_hook.go
│ │ │ ├── sqlite3_opt_preupdate_omit.go
│ │ │ ├── sqlite3_opt_secure_delete.go
│ │ │ ├── sqlite3_opt_secure_delete_fast.go
│ │ │ ├── sqlite3_opt_serialize.go
│ │ │ ├── sqlite3_opt_serialize_omit.go
│ │ │ ├── sqlite3_opt_stat4.go
│ │ │ ├── sqlite3_opt_unlock_notify.c
│ │ │ ├── sqlite3_opt_unlock_notify.go
│ │ │ ├── sqlite3_opt_userauth.go
│ │ │ ├── sqlite3_opt_userauth_omit.go
│ │ │ ├── sqlite3_opt_vacuum_full.go
│ │ │ ├── sqlite3_opt_vacuum_incr.go
│ │ │ ├── sqlite3_opt_vtable.go
│ │ │ ├── sqlite3_other.go
│ │ │ ├── sqlite3_solaris.go
│ │ │ ├── sqlite3_trace.go
│ │ │ ├── sqlite3_type.go
│ │ │ ├── sqlite3_usleep_windows.go
│ │ │ ├── sqlite3_windows.go
│ │ │ ├── sqlite3ext.h
│ │ │ └── static_mock.go
│ ├── mileusna
│ │ └── useragent
│ │ │ ├── .gitignore
│ │ │ ├── LICENSE.md
│ │ │ ├── README.md
│ │ │ ├── is.go
│ │ │ ├── ua.go
│ │ │ └── version.go
│ └── tebeka
│ │ └── selenium
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── AUTHORS
│ │ ├── ChangeLog
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── chrome
│ │ └── capabilities.go
│ │ ├── common.go
│ │ ├── doc.go
│ │ ├── firefox
│ │ └── capabilities.go
│ │ ├── internal
│ │ └── zip
│ │ │ └── zip.go
│ │ ├── log
│ │ └── log.go
│ │ ├── remote.go
│ │ ├── selenium.go
│ │ └── service.go
├── golang.org
│ └── x
│ │ └── sync
│ │ ├── LICENSE
│ │ ├── PATENTS
│ │ └── semaphore
│ │ └── semaphore.go
└── modules.txt
├── web-tests.db
├── webpack-core-web.config.js
└── webpack.config.js
/.editorconfig:
--------------------------------------------------------------------------------
1 |
2 | [*.go]
3 | indent_style = tab
4 | indent_size = 4
5 |
6 | [*.json]
7 | indent_style = space
8 | indent_size = 2
9 |
10 | [*.js]
11 | indent_style = tab
12 | indent_size = 4
13 |
--------------------------------------------------------------------------------
/.github/workflows/build-after-dependabot.yml:
--------------------------------------------------------------------------------
1 | name: 'Build after Dependabot'
2 | on:
3 | workflow_dispatch:
4 |
5 | permissions:
6 | contents: write
7 |
8 | jobs:
9 | build:
10 | name: 'Build after Dependabot'
11 | runs-on: ubuntu-latest
12 | steps:
13 | - name: check out
14 | uses: actions/checkout@v4.2.2
15 | with:
16 | fetch-depth: 1
17 |
18 | - name: setup node
19 | uses: actions/setup-node@v4.4.0
20 | with:
21 | node-version: 20
22 | cache: 'npm'
23 |
24 | - uses: actions/setup-go@v5
25 | with:
26 | go-version: '^1.20'
27 |
28 | - name: make
29 | run: |
30 | npm install
31 | make -j 2
32 |
33 | - name: pages
34 | run: web-tests-pages
35 |
36 | - name: save
37 | run: |
38 | # Git config
39 | git config user.name github-actions[bot]
40 | git config user.email 41898282+github-actions[bot]@users.noreply.github.com
41 | git add .
42 | git commit --allow-empty -m "rebuild"
43 | git push --set-upstream origin ${GITHUB_REF}
44 |
45 |
--------------------------------------------------------------------------------
/.github/workflows/build.yml:
--------------------------------------------------------------------------------
1 | name: 'Check if build is ok'
2 | on:
3 | push:
4 |
5 | jobs:
6 | build:
7 | name: 'Check if build is ok'
8 | runs-on: ubuntu-latest
9 | steps:
10 | - name: check out
11 | uses: actions/checkout@v4.2.2
12 | with:
13 | fetch-depth: 1
14 |
15 | - name: setup node
16 | uses: actions/setup-node@v4.4.0
17 | with:
18 | node-version: 20
19 | cache: 'npm'
20 |
21 | - uses: actions/setup-go@v5
22 | with:
23 | go-version: '^1.20'
24 |
25 | - run: |
26 | npm install
27 | make -j 2
28 |
29 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | BrowserStackLocal
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Mr. Henry
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | feature_dirs := $(wildcard ./specifications/*/*/*)
4 |
5 | clean:
6 | @rm -rf ./tests
7 | @mkdir ./tests
8 | @touch ./tests/.gitkeep
9 | @echo "*.html" > ./tests/.gitignore
10 | @rm -rf ./test-assets
11 | @mkdir ./test-assets
12 | @touch ./test-assets/.gitkeep
13 | @echo "*.js" > ./test-assets/.gitignore
14 |
15 | scripts:
16 | @$(MAKE) -C ./scripts
17 |
18 | features: $(feature_dirs) scripts
19 |
20 | $(feature_dirs): scripts clean
21 | @$(MAKE) -C $@
22 |
23 | html-tests-from-existing-sources: scripts clean
24 | @for feature_dir in $(feature_dirs); do \
25 | $(MAKE) -C $$feature_dir html-tests-from-existing-sources; \
26 | done
27 |
28 | build-mapping: scripts features
29 | web-tests-build-mapping
30 |
31 | all: scripts features build-mapping
32 |
33 | .PHONY: clean scripts all features $(feature_dirs) html-tests-from-existing-sources build-mapping
34 |
--------------------------------------------------------------------------------
/babel.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | [
4 | "@babel/preset-env",
5 | {
6 | "modules": false,
7 | "bugfixes": true,
8 | "exclude": [
9 | "@babel/plugin-transform-regenerator"
10 | ],
11 | "targets": {
12 | "browsers": [
13 | "IE >= 6",
14 | "Opera >= 9",
15 | "Safari >= 4",
16 | "Chrome >= 4",
17 | "Edge >= 12",
18 | "Firefox >= 2"
19 | ]
20 | },
21 | "useBuiltIns": false
22 | }
23 | ]
24 | ]
25 | }
26 |
--------------------------------------------------------------------------------
/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/mrhenry/web-tests
2 |
3 | go 1.23.0
4 |
5 | require (
6 | github.com/blang/semver/v4 v4.0.0
7 | github.com/google/uuid v1.6.0
8 | github.com/hashicorp/go-version v1.7.0
9 | github.com/mattn/go-sqlite3 v1.14.28
10 | github.com/mileusna/useragent v1.3.5
11 | github.com/tebeka/selenium v0.9.9
12 | golang.org/x/sync v0.15.0
13 | )
14 |
15 | require github.com/blang/semver v3.5.1+incompatible // indirect
16 |
17 | replace github.com/tebeka/selenium v0.9.9 => github.com/romainmenke/selenium v0.9.15
18 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "web-tests",
3 | "version": "0.1.0",
4 | "description": "Tests for web features",
5 | "engines": {
6 | "node": ">=15"
7 | },
8 | "files": [
9 | "./lib/"
10 | ],
11 | "scripts": {
12 | "babel": "babel",
13 | "webpack": "webpack",
14 | "postcss": "postcss"
15 | },
16 | "author": "",
17 | "license": "MIT",
18 | "devDependencies": {
19 | "@babel/cli": "^7.27.2",
20 | "@babel/core": "^7.27.4",
21 | "@babel/preset-env": "^7.27.2",
22 | "@mrhenry/babel-plugin-core-web": "^1.2.4",
23 | "babel-loader": "^10.0.0",
24 | "core-js": "^3.42.0",
25 | "postcss": "^8.5.4",
26 | "postcss-cli": "^11.0.1",
27 | "postcss-preset-env": "^10.2.1",
28 | "webpack": "^5.99.9",
29 | "webpack-cli": "^6.0.1"
30 | },
31 | "volta": {
32 | "node": "20.2.0",
33 | "npm": "9.6.7"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = () => ({
2 | plugins: {
3 | 'postcss-preset-env': {
4 | stage: 0,
5 | preserve: true,
6 | browsers: [
7 | 'chrome >= 14',
8 | 'edge >= 15',
9 | 'firefox >= 4',
10 | 'ie >= 8',
11 | 'ios >= 10',
12 | 'opera >= 12',
13 | 'safari >= 7',
14 | ]
15 | }
16 | },
17 | });
18 |
--------------------------------------------------------------------------------
/scripts/browserstack/errors.go:
--------------------------------------------------------------------------------
1 | package browserstack
2 |
3 | import "encoding/json"
4 |
5 | type Error struct {
6 | Message string `json:"message"`
7 | Errors []struct {
8 | Field string `json:"field"`
9 | Code string `json:"code"`
10 | } `json:"errors"`
11 | }
12 |
13 | func (x *Error) Error() string {
14 | b, err := json.Marshal(x)
15 | if err != nil {
16 | panic(err)
17 | }
18 |
19 | return string(b)
20 | }
21 |
--------------------------------------------------------------------------------
/scripts/browserstack/resolution.go:
--------------------------------------------------------------------------------
1 | package browserstack
2 |
3 | type Resolution string
4 |
5 | const ResolutionUndefied Resolution = ""
6 | const Resolution1024x768 Resolution = "1024x768"
7 | const Resolution1280x1024 Resolution = "1280x1024"
8 | const Resolution1280x800 Resolution = "1280x800"
9 | const Resolution1280x960 Resolution = "1280x960"
10 | const Resolution1366x768 Resolution = "1366x768"
11 | const Resolution1440x900 Resolution = "1440x900"
12 | const Resolution1600x1200 Resolution = "1600x1200"
13 | const Resolution1680x1050 Resolution = "1680x1050"
14 | const Resolution1920x1200 Resolution = "1920x1200"
15 | const Resolution2048x1536 Resolution = "2048x1536"
16 | const Resolution800x600 Resolution = "800x600"
17 |
--------------------------------------------------------------------------------
/scripts/browserua/browserua.go:
--------------------------------------------------------------------------------
1 | package browserua
2 |
3 | type BrowserUAs struct {
4 | Key string `json:"key"`
5 | UAs []string `json:"uas"`
6 | }
7 |
8 | type UserAgent struct {
9 | Browser string `json:"browser"`
10 | BrowserVersion string `json:"browser_version"`
11 | OS string `json:"os"`
12 | OSVersion string `json:"os_version"`
13 | UserAgent string `json:"ua"`
14 | BrowserStack int `json:"browserstack"`
15 | }
16 |
--------------------------------------------------------------------------------
/scripts/result/result.go:
--------------------------------------------------------------------------------
1 | package result
2 |
3 | type Result struct {
4 | Browser string `json:"browser"`
5 | BrowserVersion string `json:"browser_version"`
6 | FeatureID string `json:"feature_id"`
7 | OS string `json:"os"`
8 | OSVersion string `json:"os_version"`
9 | Test string `json:"test"`
10 |
11 | Hash string `json:"hash"`
12 | Priority int `json:"priority"`
13 | Score float64 `json:"score"`
14 | }
15 |
--------------------------------------------------------------------------------
/scripts/store/create_features_table.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE IF NOT EXISTS `features` (
2 | `id` TEXT NOT NULL UNIQUE,
3 |
4 | `directory` TEXT NOT NULL,
5 | `notes` TEXT NOT NULL,
6 | `search_terms` TEXT NOT NULL,
7 | `spec` TEXT NOT NULL,
8 | `tests` TEXT NOT NULL,
9 |
10 | PRIMARY KEY(
11 | `id`
12 | )
13 | );
14 |
--------------------------------------------------------------------------------
/scripts/store/create_results_table.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE IF NOT EXISTS `results` (
2 | `browser_version` TEXT NOT NULL,
3 | `browser` TEXT NOT NULL,
4 | `feature_id` TEXT NOT NULL,
5 | `os_version` TEXT NOT NULL,
6 | `os` TEXT NOT NULL,
7 | `test` TEXT NOT NULL,
8 |
9 | `hash` TEXT NOT NULL,
10 | `priority` NUMERIC NOT NULL,
11 | `score` NUMERIC NOT NULL,
12 |
13 | PRIMARY KEY(
14 | `browser_version`,
15 | `browser`,
16 | `feature_id`,
17 | `os_version`,
18 | `os`,
19 | `test`
20 | ),
21 | FOREIGN KEY(`feature_id`) REFERENCES `features`(`id`)
22 | );
23 |
--------------------------------------------------------------------------------
/scripts/store/create_user-agents_table.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE IF NOT EXISTS `user_agents` (
2 | `browser_version` TEXT NOT NULL,
3 | `browser` TEXT NOT NULL,
4 | `os_version` TEXT NOT NULL,
5 | `os` TEXT NOT NULL,
6 | `ua` TEXT NOT NULL,
7 | `browserstack` INTEGER NOT NULL,
8 |
9 | PRIMARY KEY(
10 | `browser_version`,
11 | `browser`,
12 | `os_version`,
13 | `os`,
14 | `ua`
15 | )
16 | );
17 |
--------------------------------------------------------------------------------
/scripts/store/exists_feature.sql:
--------------------------------------------------------------------------------
1 | SELECT COUNT(`id`)
2 | FROM `features`
3 | WHERE `id` = ?;
4 |
--------------------------------------------------------------------------------
/scripts/store/exists_result.sql:
--------------------------------------------------------------------------------
1 | SELECT COUNT(*)
2 | FROM `results`
3 | WHERE (
4 | 1=1
5 | AND `browser_version` = ?
6 | AND `browser` = ?
7 | AND `feature_id` = ?
8 | AND `os_version` = ?
9 | AND `os` = ?
10 | AND `test` = ?
11 | )
12 | LIMIT 1;
13 |
--------------------------------------------------------------------------------
/scripts/store/insert_feature.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `features` (
2 | `id`,
3 |
4 | `directory`,
5 | `notes`,
6 | `search_terms`,
7 | `spec`,
8 | `tests`
9 | ) VALUES (
10 | ?,
11 |
12 | ?,
13 | ?,
14 | ?,
15 | ?,
16 | ?
17 | )
18 |
--------------------------------------------------------------------------------
/scripts/store/insert_result.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `results` (
2 | `browser_version`,
3 | `browser`,
4 | `feature_id`,
5 | `os_version`,
6 | `os`,
7 | `test`,
8 |
9 | `hash`,
10 | `priority`,
11 | `score`
12 | ) VALUES (
13 | ?,
14 | ?,
15 | ?,
16 | ?,
17 | ?,
18 | ?,
19 |
20 | ?,
21 | ?,
22 | ?
23 | );
24 |
--------------------------------------------------------------------------------
/scripts/store/insert_user-agent.sql:
--------------------------------------------------------------------------------
1 | INSERT OR REPLACE INTO `user_agents` (
2 | `browser_version`,
3 | `browser`,
4 | `os_version`,
5 | `os`,
6 | `ua`,
7 | `browserstack`
8 | ) VALUES (
9 | ?,
10 | ?,
11 | ?,
12 | ?,
13 | ?,
14 | ?
15 | );
16 |
--------------------------------------------------------------------------------
/scripts/store/reset_result_priority.sql:
--------------------------------------------------------------------------------
1 | UPDATE `results`
2 | SET `priority` = 0;
3 |
--------------------------------------------------------------------------------
/scripts/store/select_all_browsers.sql:
--------------------------------------------------------------------------------
1 | SELECT browser_version, browser, os_version, os, ua, browserstack
2 | FROM user_agents
3 | WHERE browserstack = 1
4 | GROUP BY user_agents.browser, user_agents.browser_version, user_agents.os, user_agents.os_version
5 |
--------------------------------------------------------------------------------
/scripts/store/select_all_features.sql:
--------------------------------------------------------------------------------
1 | SELECT `id`, `directory`, `notes`, `search_terms`, `spec`, `tests`
2 | FROM `features`;
3 |
--------------------------------------------------------------------------------
/scripts/store/select_all_user-agents.sql:
--------------------------------------------------------------------------------
1 | SELECT `browser_version`, `browser`, `os_version`, `os`, `ua`, `browserstack`
2 | FROM `user_agents`
3 |
--------------------------------------------------------------------------------
/scripts/store/select_all_user-agents_for_browser.sql:
--------------------------------------------------------------------------------
1 | SELECT `ua`, `browserstack`
2 | FROM `user_agents`
3 | WHERE (
4 | 1=1
5 | AND `browser_version` = ?
6 | AND `browser` = ?
7 | AND `os_version` = ?
8 | AND `os` = ?
9 | );
10 |
--------------------------------------------------------------------------------
/scripts/store/select_browsers_by_search.sql:
--------------------------------------------------------------------------------
1 | SELECT browser_version, browser, os_version, os
2 | FROM user_agents
3 | WHERE (browser = ? OR os = ?) AND browserstack = 1
4 | GROUP BY browser, browser_version, os, os_version
5 | ORDER BY RANDOM()
6 | LIMIT 50
7 |
--------------------------------------------------------------------------------
/scripts/store/select_feature.sql:
--------------------------------------------------------------------------------
1 | SELECT `directory`, `notes`, `search_terms`, `spec`, `tests`
2 | FROM `features`
3 | WHERE `id` = ?;
4 |
--------------------------------------------------------------------------------
/scripts/store/select_result.sql:
--------------------------------------------------------------------------------
1 | SELECT `hash`, `priority`, `score`
2 | FROM `results`
3 | WHERE (
4 | 1=1
5 | AND `browser_version` = ?
6 | AND `browser` = ?
7 | AND `feature_id` = ?
8 | AND `os_version` = ?
9 | AND `os` = ?
10 | AND `test` = ?
11 | )
12 | LIMIT 1;
13 |
--------------------------------------------------------------------------------
/scripts/store/select_results_by_browser_and_priority.sql:
--------------------------------------------------------------------------------
1 | SELECT feature_id, test FROM (
2 | SELECT * FROM (
3 | SELECT results.feature_id, results.test, results.priority
4 | FROM results
5 | WHERE results.browser = ? AND results.browser_version = ? AND results.os = ? AND results.os_version = ? AND results.priority > 0
6 | ORDER BY results.priority DESC
7 | LIMIT 20
8 | )
9 | UNION
10 | SELECT * FROM (
11 | SELECT results.feature_id, results.test, results.priority
12 | FROM results
13 | JOIN user_agents ON
14 | results.browser_version=user_agents.browser_version
15 | AND results.browser=user_agents.browser
16 | AND results.os_version=user_agents.os_version
17 | AND results.os=user_agents.os
18 | AND user_agents.browserstack = 1
19 | ORDER BY RANDOM()
20 | LIMIT 10
21 | )
22 | )
23 | ORDER BY priority DESC
24 | LIMIT 25
25 |
--------------------------------------------------------------------------------
/scripts/store/select_results_for_feature.sql:
--------------------------------------------------------------------------------
1 | SELECT `results`.`browser_version`, `results`.`browser`, `results`.`feature_id`, `results`.`os_version`, `results`.`os`, `results`.`test`, `results`.`hash`, `results`.`priority`, `results`.`score`
2 | FROM `results`
3 | WHERE `results`.`feature_id` = ?
4 |
--------------------------------------------------------------------------------
/scripts/store/select_sum_results_priority.sql:
--------------------------------------------------------------------------------
1 | SELECT SUM(results.priority)
2 | FROM results
3 |
--------------------------------------------------------------------------------
/scripts/store/update_feature.sql:
--------------------------------------------------------------------------------
1 | UPDATE `features`
2 | SET
3 | `directory` = ?,
4 | `notes` = ?,
5 | `search_terms` = ?,
6 | `spec` = ?,
7 | `tests` = ?
8 | WHERE `id` = ?;
9 |
--------------------------------------------------------------------------------
/scripts/store/update_result.sql:
--------------------------------------------------------------------------------
1 | UPDATE `results`
2 | SET
3 | `hash` = ?,
4 | `priority` = ?,
5 | `score` = ?
6 | WHERE (
7 | 1=1
8 | AND `browser_version` = ?
9 | AND `browser` = ?
10 | AND `feature_id` = ?
11 | AND `os_version` = ?
12 | AND `os` = ?
13 | AND `test` = ?
14 | );
15 |
--------------------------------------------------------------------------------
/scripts/web-tests-migrate-makefile/README.md:
--------------------------------------------------------------------------------
1 | Update `makefileTemplate` in `web-tests-migrate-makefile/main.go`.
2 |
3 | ```
4 | make scripts
5 | web-tests-migrate-makefile
6 | ```
7 |
--------------------------------------------------------------------------------
/scripts/web-tests-migrate-meta/README.md:
--------------------------------------------------------------------------------
1 | Update `FeaturePostMigration` in `web-tests-migrate-meta/main.go` with the fields you want to add.
2 |
3 | ```
4 | make scripts
5 | web-tests-migrate-meta
6 | ```
7 |
8 | Update `web-tests-migrate-meta/main.go` to preserve your new fields on the next migration.
9 | Update `Feature` in `feature/feature.go` with the newly added fields.
10 |
--------------------------------------------------------------------------------
/scripts/web-tests-new-test/README.md:
--------------------------------------------------------------------------------
1 | ```
2 | web-tests-new-test -org="tc39" -id="ecma262" -section="6.1.1" -name="Undefined" -dir="6.1.1.Undefined"
3 | ```
4 |
--------------------------------------------------------------------------------
/scripts/web-tests-pages/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | func main() {
4 | fullResult()
5 | failingCoreWeb()
6 | }
7 |
--------------------------------------------------------------------------------
/scripts/web-tests-reset-priority/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "context"
5 | "log"
6 |
7 | "github.com/mrhenry/web-tests/scripts/store"
8 | )
9 |
10 | func main() {
11 | db, err := store.NewSqliteDatabase("./web-tests.db", false)
12 | if err != nil {
13 | log.Fatal(err)
14 | }
15 | defer store.CloseDB(db)
16 |
17 | err = store.ResetResultPriority(context.Background(), db)
18 | if err != nil {
19 | log.Fatal(err)
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/specifications/example/test/1.feature/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "f209d29e-a7d7-47ec-b7b4-81b615e55976",
3 | "spec": {
4 | "org": "example",
5 | "id": "test",
6 | "section": "1",
7 | "name": "Example test",
8 | "url": "#TODO"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/example/test/1.feature/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // TODO : write a test
3 | cb(true);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/example/test/1.feature/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(true);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/example/test/1.feature/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | cb(true);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/example/test/1.feature/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(true);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/example/test/1.feature/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // TODO : write a test
3 | cb(true);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/example/test/2.failing/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "c8d40df0-89f5-4532-975e-3b32f772565d",
3 | "spec": {
4 | "org": "example",
5 | "id": "test",
6 | "section": "2",
7 | "name": "Example test (failing)",
8 | "url": "#TODO"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/example/test/2.failing/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // TODO : write a test
3 | cb(false);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/example/test/2.failing/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(false);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/example/test/2.failing/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | cb(false);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/example/test/2.failing/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(false);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/example/test/2.failing/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // TODO : write a test
3 | cb(false);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/example/test/3.feature-css/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/example/test/3.feature-css/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "376c3786-63c9-47a9-b4b7-5b20f579751f",
3 | "spec": {
4 | "org": "example",
5 | "id": "test",
6 | "section": "3",
7 | "name": "Example test",
8 | "url": "#TODO"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/example/test/3.feature-css/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | #hello {
2 | color: #f00;
3 | }
4 |
--------------------------------------------------------------------------------
/specifications/example/test/3.feature-css/test.pure.css:
--------------------------------------------------------------------------------
1 | #hello {
2 | color: #f00;
3 | }
4 |
--------------------------------------------------------------------------------
/specifications/example/test/3.feature-css/test.pure.html:
--------------------------------------------------------------------------------
1 |
Hello
2 |
--------------------------------------------------------------------------------
/specifications/example/test/3.feature-css/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var style = window.getComputedStyle(document.getElementById('hello'));
3 | if (style.color !== 'rgb(255, 0, 0)') {
4 | cb(false);
5 | return;
6 | }
7 |
8 | cb(true);
9 | })(callback);
10 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.2.this.strict/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "388dc6fc-846f-4c7f-8ad1-b8f36f1309ba",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "13.2.2.strict",
7 | "name": "The this Keyword (strict mode)",
8 | "url": "https://tc39.es/ecma262/#sec-primary-expression"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "this",
13 | "strict"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.2.this.strict/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // TODO : there are more cases and gotcha's.
3 | "use strict";
4 |
5 | var wrongThis = false;
6 | function c1() {
7 | if (typeof this !== "undefined") {
8 | wrongThis = true;
9 | }
10 | }
11 | function d1() {
12 | if (typeof this !== "undefined") {
13 | wrongThis = true;
14 | }
15 | var d2 = function d2() {
16 | if (typeof this !== "undefined") {
17 | wrongThis = true;
18 | }
19 | };
20 | d2();
21 | }
22 | function F1() {}
23 | F1.prototype.f2 = function () {
24 | if (!(this instanceof F1)) {
25 | wrongThis = true;
26 | }
27 | };
28 | F1.prototype.f3 = function (cb) {
29 | cb();
30 | };
31 | F1.prototype.f4 = function (cb) {
32 | cb.apply(this);
33 | };
34 | c1();
35 | d1();
36 | var f1 = new F1();
37 | f1.f2();
38 | f1.f3(function () {
39 | if (typeof this !== "undefined") {
40 | wrongThis = true;
41 | }
42 | });
43 | f1.f4(function () {
44 | if (this !== f1) {
45 | wrongThis = true;
46 | }
47 | });
48 | cb(!wrongThis);
49 | })(callback);
50 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.2.this.strict/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // TODO : there are more cases and gotcha's.
3 | "use strict";
4 | var wrongThis = false;
5 |
6 | function c1() {
7 | if (typeof this !== "undefined") {
8 | wrongThis = true;
9 | }
10 | }
11 |
12 | function d1() {
13 | if (typeof this !== "undefined") {
14 | wrongThis = true;
15 | }
16 |
17 | var d2 = function () {
18 | if (typeof this !== "undefined") {
19 | wrongThis = true;
20 | }
21 | };
22 |
23 | d2();
24 | }
25 |
26 | function F1() {}
27 |
28 | F1.prototype.f2 = function () {
29 | if (!(this instanceof F1)) {
30 | wrongThis = true;
31 | }
32 | }
33 |
34 | F1.prototype.f3 = function (cb) {
35 | cb();
36 | }
37 |
38 | F1.prototype.f4 = function (cb) {
39 | cb.apply(this);
40 | }
41 |
42 | c1();
43 | d1();
44 |
45 | var f1 = new F1();
46 | f1.f2();
47 |
48 | f1.f3(function () {
49 | if (typeof this !== "undefined") {
50 | wrongThis = true;
51 | }
52 | });
53 |
54 | f1.f4(function () {
55 | if (this !== f1) {
56 | wrongThis = true;
57 | }
58 | });
59 |
60 | cb(!wrongThis);
61 | })(callback);
62 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.2.this/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.babel.js: test.pure.js ../../../../babel.config.json ../../../../package-lock.json
6 | npm run babel -- $(mkfile_dir)test.pure.js --out-file $(mkfile_dir)test.babel.js
7 |
8 | html-tests: test.babel.js
9 | web-tests-build-test
10 |
11 | html-tests-from-existing-sources:
12 | web-tests-build-test
13 |
14 | all: test.babel.js html-tests
15 |
16 | .PHONY: all html-tests-from-existing-sources
17 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.2.this/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "dfe2dfb3-716b-4af7-9fc6-aa4ccfb75b49",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "13.2.2",
7 | "name": "The this Keyword",
8 | "url": "https://tc39.es/ecma262/#sec-primary-expression"
9 | },
10 | "notes": [
11 | {
12 | "message": "Webpack forces strict mode."
13 | }
14 | ],
15 | "search_terms": [
16 | "this"
17 | ],
18 | "tests": {
19 | "babel": {
20 | "inline_script": "test.babel.js"
21 | },
22 | "pure": {
23 | "inline_script": "test.pure.js"
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.2.thisES6/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "ee6c748c-dc1c-4b54-a2b4-9a7f159ec1ed",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "13.2.2.es6",
7 | "name": "The this Keyword (es6)",
8 | "url": "https://tc39.es/ecma262/#sec-primary-expression"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "this",
13 | "es6"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.5.1.ArrayInitialiser.Elision/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "a5623160-3e91-40c9-9b05-701180c42aed",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "13.2.5.1",
7 | "name": "Trailing Commas in Array Initialiser",
8 | "url": "https://tc39.es/ecma262/#sec-runtime-semantics-arrayaccumulation"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Array",
13 | "Trailing Commas"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.5.1.ArrayInitialiser.Elision/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var arr = ['a', 'b', 'c',,,];
3 | var res = [];
4 | arr.forEach(function (el) {
5 | res.push(el);
6 | });
7 | cb(arr.length === 5 && res.length === 3);
8 | })(callback);
9 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.2.5.1.ArrayInitialiser.Elision/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var arr = ['a', 'b', 'c',,,];
3 | var res = [];
4 | arr.forEach(function (el) {
5 | res.push(el);
6 | });
7 | cb(arr.length === 5 && res.length === 3);
8 | })(callback);
9 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.1.3.constDeclaration/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "25cc013a-2a9f-454b-95a8-41a4e80e881e",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "13.3.1.3",
7 | "name": "Static Semantics: IsConstantDeclaration",
8 | "url": "https://tc39.es/ecma262/#sec-let-and-const-declarations-static-semantics-isconstantdeclaration"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.1.3.constDeclaration/test.babel.js:
--------------------------------------------------------------------------------
1 | function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
2 | (function (cb) {
3 | var foo = "foo";
4 | try {
5 | 5, _readOnlyError("foo");
6 | cb(false);
7 | } catch (_) {
8 | cb(foo === "foo");
9 | }
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.1.3.constDeclaration/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | const foo = "foo";
4 | try {
5 | foo = 5;
6 | cb(false);
7 | } catch (_) {
8 | cb(foo === "foo");
9 | }
10 | })(callback);
11 | /******/ })()
12 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.1.3.constDeclaration/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | const foo = "foo";
3 |
4 | try {
5 | foo = 5;
6 | cb(false);
7 | } catch (_) {
8 | cb(foo === "foo");
9 | }
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.OptionalChain/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "84496037-16cd-4bb4-964a-019e60efa8e4",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "13.3.OptionalChain",
7 | "name": "Optional Chaining",
8 | "url": "https://tc39.es/ecma262/#prod-OptionalChain"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.OptionalChain/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb, _foo$baz) {
2 | var foo = {};
3 | if (foo !== null && foo !== void 0 && (_foo$baz = foo.baz) !== null && _foo$baz !== void 0 && _foo$baz.bar) {
4 | cb(false);
5 | } else {
6 | cb(true);
7 | }
8 | })(callback);
9 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.OptionalChain/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb, _foo$baz) {
3 | var foo = {};
4 | if (foo !== null && foo !== void 0 && (_foo$baz = foo.baz) !== null && _foo$baz !== void 0 && _foo$baz.bar) {
5 | cb(false);
6 | } else {
7 | cb(true);
8 | }
9 | })(callback);
10 | /******/ })()
11 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.OptionalChain/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb, _foo$baz) {
3 | var foo = {};
4 | if (foo !== null && foo !== void 0 && (_foo$baz = foo.baz) !== null && _foo$baz !== void 0 && _foo$baz.bar) {
5 | cb(false);
6 | } else {
7 | cb(true);
8 | }
9 | })(callback);
10 | /******/ })()
11 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.OptionalChain/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb, _foo$baz) {
3 | var foo = {};
4 | if (foo !== null && foo !== void 0 && (_foo$baz = foo.baz) !== null && _foo$baz !== void 0 && _foo$baz.bar) {
5 | cb(false);
6 | } else {
7 | cb(true);
8 | }
9 | })(callback);
10 | /******/ })()
11 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/13.3.OptionalChain/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = {};
3 | if (foo?.baz?.bar) {
4 | cb(false);
5 | } else {
6 | cb(true);
7 | }
8 | })(callback);
9 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/14.7.AsyncAwait/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "cdee1f84-c253-4886-b964-a6d4eacab6ce",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "14.7",
7 | "name": "Async Function Definitions",
8 | "url": "https://tc39.es/ecma262/#sec-async-function-definitions"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/14.7.AsyncAwait/test.babel.js:
--------------------------------------------------------------------------------
1 | function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
2 | function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
3 | (function () {
4 | var _ref = _asyncToGenerator(function* (cb) {
5 | var foo = yield true;
6 | cb(foo);
7 | });
8 | return function (_x) {
9 | return _ref.apply(this, arguments);
10 | };
11 | })()(callback);
12 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/14.7.AsyncAwait/test.pure.js:
--------------------------------------------------------------------------------
1 | (async function (cb) {
2 | var foo = await true;
3 | cb(foo);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/15.7.Class-Definitions.ClassHeritage/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "293ee801-4d53-4261-add3-dca6b9f8015f",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "15.7",
7 | "name": "Class-Definitions.ClassHeritage",
8 | "url": "https://tc39.es/ecma262/#prod-ClassHeritage"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/15.7.Class-Definitions.ClassHeritage/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | class Alpha {
3 | constructor(some) {
4 | this._some = some;
5 | }
6 |
7 | get some() {
8 | return this._some;
9 | }
10 | }
11 |
12 | class Beta extends Alpha {
13 | constructor() {
14 | super('hello');
15 | }
16 | }
17 |
18 | class Delta extends Alpha {
19 | constructor(some) {
20 | super(some);
21 | }
22 |
23 | get some() {
24 | return 'hello ' + this._some;
25 | }
26 | }
27 |
28 | var beta = new Beta();
29 | var delta = new Delta('world');
30 |
31 | cb(beta.some === 'hello' && delta.some === 'hello world');
32 | })(callback);
33 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/18.1.1.globalThis/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "8dda6a67-3527-4f7c-b2ab-0c6a455a1710",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "18.1.1",
7 | "name": "globalThis",
8 | "url": "https://tc39.es/ecma262/#sec-globalthis"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/18.1.1.globalThis/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(typeof globalThis !== "undefined" && typeof globalThis.String !== "undefined");
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/18.1.1.globalThis/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb((typeof globalThis !== "undefined") && (typeof globalThis.String !== "undefined"));
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/20.4.1.Symbol.constructor/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "84eeb5c6-89c0-4f77-905c-bf2eb377679d",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "20.4.1",
7 | "name": "Symbol.constructor",
8 | "url": "https://tc39.es/ecma262/#sec-symbol-constructor"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Symbol",
13 | "Symbol.constructor"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/20.4.1.Symbol.constructor/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = Symbol('foo');
3 | cb(!!foo);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/20.4.1.Symbol.constructor/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = Symbol('foo');
3 | cb(!!foo);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/20.4.2.5.Symbol.iterator/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "462af931-88f8-4eb2-a652-627dbf55aeab",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "20.4.2.5",
7 | "name": "Symbol.iterator",
8 | "url": "https://tc39.es/ecma262/#sec-symbol.iterator"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Symbol",
13 | "iterator"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/20.4.2.5.Symbol.iterator/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(!!Symbol.iterator);
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/20.4.2.5.Symbol.iterator/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(!!Symbol.iterator);
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/22.1.5.1.2.StringIterator.prototype.toStringTag/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "3a1c2969-ccc7-43bc-96e3-fa204de1b210",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "22.1.5.1.2",
7 | "name": "StringIterator.prototype.toStringTag",
8 | "url": "https://tc39.es/ecma262/#sec-%stringiteratorprototype%-@@tostringtag"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/22.1.5.1.2.StringIterator.prototype.toStringTag/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(Object.getPrototypeOf(''[Symbol.iterator]())[Symbol.toStringTag] === 'String Iterator');
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/22.1.5.1.2.StringIterator.prototype.toStringTag/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(Object.getPrototypeOf(''[Symbol.iterator]())[Symbol.toStringTag] === 'String Iterator');
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/23.1.2.1.Array.from/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "d43bebf3-de54-40a4-8436-ff66225a3e18",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "23.1.2.1",
7 | "name": "Array.from",
8 | "url": "https://tc39.es/ecma262/#sec-array.from"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/23.1.2.1.Array.from/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var a = [];
3 | a.push('a');
4 | if (Array.from(a)[0] !== 'a') {
5 | return false;
6 | }
7 | var s = new Set();
8 | s.add('a');
9 | if (Array.from(s)[0] !== 'a') {
10 | cb(false);
11 | return;
12 | }
13 | var m = new Map();
14 | m.set('a', '1');
15 | if (Array.from(m)[0][0] !== 'a') {
16 | cb(false);
17 | return;
18 | }
19 | function f() {
20 | return Array.from(arguments);
21 | }
22 | if (Array.from(f('a', 'b'))[0] !== 'a') {
23 | cb(false);
24 | return;
25 | }
26 | var imgA = document.createElement('IMG');
27 | var imgB = document.createElement('IMG');
28 | document.body.appendChild(imgA);
29 | document.body.appendChild(imgB);
30 | var images = document.getElementsByTagName('img');
31 | if (Array.from(images)[0] !== imgA) {
32 | cb(false);
33 | return;
34 | }
35 | cb(true);
36 | })(callback);
37 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/23.1.2.1.Array.from/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var a = [];
3 | a.push('a');
4 | if (Array.from(a)[0] !== 'a') {
5 | return false;
6 | }
7 |
8 | var s = new Set();
9 | s.add('a');
10 | if (Array.from(s)[0] !== 'a') {
11 | cb(false);
12 | return;
13 | }
14 |
15 | var m = new Map();
16 | m.set('a', '1');
17 | if (Array.from(m)[0][0] !== 'a') {
18 | cb(false);
19 | return;
20 | }
21 |
22 | function f() {
23 | return Array.from(arguments);
24 | }
25 | if (Array.from(f('a', 'b'))[0] !== 'a') {
26 | cb(false);
27 | return;
28 | }
29 |
30 | var imgA = document.createElement('IMG');
31 | var imgB = document.createElement('IMG');
32 | document.body.appendChild(imgA);
33 | document.body.appendChild(imgB);
34 | var images = document.getElementsByTagName('img');
35 | if (Array.from(images)[0] !== imgA) {
36 | cb(false);
37 | return;
38 | }
39 |
40 | cb(true);
41 | })(callback);
42 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/23.1.5.2.2.ArrayIterator.prototype.toStringTag/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "6c09b392-8125-4216-9ad3-e55da97e7d32",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "23.1.5.2.2",
7 | "name": "ArrayIterator.prototype.toStringTag",
8 | "url": "https://tc39.es/ecma262/#sec-%arrayiteratorprototype%-@@tostringtag"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/23.1.5.2.2.ArrayIterator.prototype.toStringTag/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(Object.getPrototypeOf([][Symbol.iterator]())[Symbol.toStringTag] === 'Array Iterator');
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/23.1.5.2.2.ArrayIterator.prototype.toStringTag/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(Object.getPrototypeOf([][Symbol.iterator]())[Symbol.toStringTag] === 'Array Iterator');
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.1.3.13.Map.prototype.toStringTag/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "decec341-891b-41cc-905f-412c1e8bba23",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "24.1.3.13",
7 | "name": "Map.prototype.toStringTag",
8 | "url": "https://tc39.es/ecma262/#sec-map.prototype-@@tostringtag"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.1.3.13.Map.prototype.toStringTag/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var descriptor = Object.getOwnPropertyDescriptor(Map.prototype, Symbol.toStringTag);
3 | cb(descriptor.value === 'Map');
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.1.3.13.Map.prototype.toStringTag/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var descriptor = Object.getOwnPropertyDescriptor(Map.prototype, Symbol.toStringTag);
3 |
4 | cb(descriptor.value === 'Map');
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.2.3.12.Set.prototype.toStringTag/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "6cb0c01f-23e5-4e76-98d5-8fcd8f40406a",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "24.2.3.12",
7 | "name": "Set.prototype.toStringTag",
8 | "url": "https://tc39.es/ecma262/#sec-set.prototype-@@tostringtag"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.2.3.12.Set.prototype.toStringTag/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var descriptor = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(new Set()[Symbol.iterator]()), Symbol.toStringTag);
3 | cb(descriptor.value === 'Set Iterator');
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.2.3.12.Set.prototype.toStringTag/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var descriptor = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(new Set()[Symbol.iterator]()), Symbol.toStringTag);
3 |
4 | cb(descriptor.value === 'Set Iterator');
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.3.1.WeakMap.constructor/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "5d300f24-4316-4efa-97fb-e6a4777b7cd5",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "24.3.1",
7 | "name": "WeakMap.constructor",
8 | "url": "https://tc39.es/ecma262/#sec-weakmap-constructor"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "WeakMap",
13 | "WeakMap.constructor"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.3.1.WeakMap.constructor/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new WeakMap();
3 | cb(!!foo);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/24.3.1.WeakMap.constructor/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new WeakMap();
3 | cb(!!foo);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/25.1.5.4.ArrayBuffer.prototype.toStringTag/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "eeb9401d-7a62-48d3-bbe1-b574cace6f98",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "25.1.5.4",
7 | "name": "ArrayBuffer.prototype.toStringTag",
8 | "url": "https://tc39.es/ecma262/#sec-arraybuffer.prototype-@@tostringtag"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/25.1.5.4.ArrayBuffer.prototype.toStringTag/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var descriptor = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, Symbol.toStringTag);
3 | cb(descriptor.value === 'ArrayBuffer');
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/25.1.5.4.ArrayBuffer.prototype.toStringTag/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var descriptor = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, Symbol.toStringTag);
3 |
4 | cb(descriptor.value === 'ArrayBuffer');
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/27.2.5.5.Promise.prototype.toStringTag/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "70589c4e-655a-4997-81b2-b9bb04fe64b6",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "27.2.5.5",
7 | "name": "Promise.prototype.toStringTag",
8 | "url": "https://tc39.es/ecma262/#sec-promise.prototype-@@tostringtag"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/27.2.5.5.Promise.prototype.toStringTag/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(Promise.prototype[Symbol.toStringTag] === 'Promise');
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/27.2.5.5.Promise.prototype.toStringTag/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(Promise.prototype[Symbol.toStringTag] === 'Promise');
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.1.Undefined/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "8314c509-3d25-403a-ab20-cd9d90101967",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "6.1.1",
7 | "name": "The Undefined Type",
8 | "url": "https://tc39.es/ecma262/#sec-ecmascript-language-types-undefined-type"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.1.Undefined/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo;
3 | cb(typeof foo === "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.1.Undefined/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo;
4 | cb(typeof foo === "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.1.Undefined/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var foo;
4 | cb(typeof foo === "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.1.Undefined/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo;
4 | cb(typeof foo === "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.1.Undefined/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo;
3 | cb(typeof foo === "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.2.Null/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "8460bfcd-39c3-4778-be40-390fbcbb9e26",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "6.1.2",
7 | "name": "The Null Type",
8 | "url": "https://tc39.es/ecma262/#sec-ecmascript-language-types-null-type"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.2.Null/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = null;
3 | cb(!foo && typeof foo !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.2.Null/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = null;
4 | cb(!foo && typeof foo !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.2.Null/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var foo = null;
4 | cb(!foo && typeof foo !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.2.Null/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = null;
4 | cb(!foo && typeof foo !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.2.Null/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = null;
3 | cb(!foo && (typeof foo !== "undefined"));
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.3.Boolean/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "e3f6fd7a-fa8e-4a71-a8cc-8d1225f463f6",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "6.1.3",
7 | "name": "The Boolean Type",
8 | "url": "https://tc39.es/ecma262/#sec-ecmascript-language-types-boolean-type"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.3.Boolean/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = true;
3 | var baz = false;
4 | cb(foo && !baz);
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.3.Boolean/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = true;
4 | var baz = false;
5 | cb(foo && !baz);
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.3.Boolean/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var foo = true;
4 | var baz = false;
5 | cb(foo && !baz);
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.3.Boolean/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = true;
4 | var baz = false;
5 | cb(foo && !baz);
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.3.Boolean/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = true;
3 | var baz = false;
4 | cb(foo && !baz);
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.4.String/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "532e2524-538a-4bee-810e-4c3298f3ee26",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma262",
6 | "section": "6.1.4",
7 | "name": "The String Type",
8 | "url": "https://tc39.es/ecma262/#sec-ecmascript-language-types-string-type"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.4.String/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = "foo";
3 | cb(typeof foo === "string" && foo[0] === "f");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.4.String/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = "foo";
4 | cb(typeof foo === "string" && foo[0] === "f");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.4.String/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var foo = "foo";
4 | cb(typeof foo === "string" && foo[0] === "f");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.4.String/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = "foo";
4 | cb(typeof foo === "string" && foo[0] === "f");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma262/6.1.4.String/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = "foo";
3 | cb(typeof foo === "string" && foo[0] === "f");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.1.1.24.InitializeDateTimeFormat.options.timeZone/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "36cc7262-95d7-4551-ac48-1e5e46ea1571",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma402",
6 | "section": "11.1.1.24",
7 | "name": "InitializeDateTimeFormat.options.timeZone",
8 | "url": "https://tc39.es/ecma402/#sec-initializedatetimeformat"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "time zone",
13 | "Intl",
14 | "DateTimeFormat"
15 | ],
16 | "tests": {
17 | "babel": {
18 | "inline_script": "test.babel.js"
19 | },
20 | "babel_webpack": {
21 | "inline_script": "test.babel_webpack.js"
22 | },
23 | "core-web": {
24 | "module_script": "test.core-web_modules.js",
25 | "nomodules_script": "test.core-web_no-modules.js"
26 | },
27 | "pure": {
28 | "inline_script": "test.pure.js"
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.1.1.24.InitializeDateTimeFormat.options.timeZone/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var resolvedTimeZone = new Intl.DateTimeFormat('en', {
3 | timeZone: 'Australia/Sydney',
4 | timeZoneName: 'short'
5 | }).resolvedOptions().timeZone;
6 | cb(resolvedTimeZone === 'Australia/Sydney');
7 | })(callback);
8 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.1.1.24.InitializeDateTimeFormat.options.timeZone/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var resolvedTimeZone = new Intl.DateTimeFormat('en', {
4 | timeZone: 'Australia/Sydney',
5 | timeZoneName: 'short'
6 | }).resolvedOptions().timeZone;
7 | cb(resolvedTimeZone === 'Australia/Sydney');
8 | })(callback);
9 | /******/ })()
10 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.1.1.24.InitializeDateTimeFormat.options.timeZone/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var resolvedTimeZone = new Intl.DateTimeFormat('en', {
4 | timeZone: 'Australia/Sydney',
5 | timeZoneName: 'short'
6 | }).resolvedOptions().timeZone;
7 | cb(resolvedTimeZone === 'Australia/Sydney');
8 | })(callback);
9 | /******/ })()
10 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.1.1.24.InitializeDateTimeFormat.options.timeZone/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var resolvedTimeZone = new Intl.DateTimeFormat('en', {
4 | timeZone: 'Australia/Sydney',
5 | timeZoneName: 'short'
6 | }).resolvedOptions().timeZone;
7 | cb(resolvedTimeZone === 'Australia/Sydney');
8 | })(callback);
9 | /******/ })()
10 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.1.1.24.InitializeDateTimeFormat.options.timeZone/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var resolvedTimeZone = (new Intl.DateTimeFormat('en', {
3 | timeZone: 'Australia/Sydney',
4 | timeZoneName: 'short'
5 | })).resolvedOptions().timeZone;
6 |
7 | cb(resolvedTimeZone === 'Australia/Sydney');
8 | })(callback);
9 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "1bc7e152-dce1-46cb-a6df-08e5f181d84d",
3 | "spec": {
4 | "org": "tc39",
5 | "id": "ecma402",
6 | "section": "11.4.6",
7 | "name": "Intl.DateTimeFormat.prototype.formatRangeToParts",
8 | "url": "https://tc39.es/ecma402/#sec-Intl.DateTimeFormat.prototype.formatRangeToParts"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Intl",
13 | "DateTimeFormat"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var parts = new Intl.DateTimeFormat('en', {
3 | hourCycle: 'h11',
4 | hour: 'numeric',
5 | timeZone: 'UTC'
6 | }).formatRangeToParts(43201000 * 4, 43201000 * 5);
7 | cb(!!parts && !!parts.length);
8 | })(callback);
9 |
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var parts = new Intl.DateTimeFormat('en', {
4 | hourCycle: 'h11',
5 | hour: 'numeric',
6 | timeZone: 'UTC'
7 | }).formatRangeToParts(43201000 * 4, 43201000 * 5);
8 | cb(!!parts && !!parts.length);
9 | })(callback);
10 | /******/ })()
11 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var parts = new Intl.DateTimeFormat('en', {
4 | hourCycle: 'h11',
5 | hour: 'numeric',
6 | timeZone: 'UTC'
7 | }).formatRangeToParts(43201000 * 4, 43201000 * 5);
8 | cb(!!parts && !!parts.length);
9 | })(callback);
10 | /******/ })()
11 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var parts = new Intl.DateTimeFormat('en', {
4 | hourCycle: 'h11',
5 | hour: 'numeric',
6 | timeZone: 'UTC'
7 | }).formatRangeToParts(43201000 * 4, 43201000 * 5);
8 | cb(!!parts && !!parts.length);
9 | })(callback);
10 | /******/ })()
11 | ;
--------------------------------------------------------------------------------
/specifications/tc39/ecma402/11.4.6.Intl.DateTimeFormat.prototype.formatRangeToParts/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var parts = (new Intl.DateTimeFormat('en', {
3 | hourCycle: 'h11',
4 | hour: 'numeric',
5 | timeZone: 'UTC'
6 | })).formatRangeToParts(43201000 * 4, 43201000 * 5);
7 |
8 | cb(!!parts && !!parts.length);
9 | })(callback);
10 |
--------------------------------------------------------------------------------
/specifications/w3c/css-cascade-5/6.4.Cascade-Layers/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-cascade-5/6.4.Cascade-Layers/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "5b20dfd1-b0c0-4f3c-bbfb-0ecd9883dd96",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-cascade-5",
6 | "section": "6.4",
7 | "name": "Cascade Layers",
8 | "url": "https://www.w3.org/TR/css-cascade-5/#layering"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-cascade-5/6.4.Cascade-Layers/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .some-class:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
2 | color: green;
3 | }
4 |
5 | #some-id#some-id {
6 | color: red;
7 | background-color: red;
8 | }
9 |
10 | #some-id:not(#\#):not(#\#):not(#\#) {
11 | color: purple;
12 | background-color: green;
13 | }
14 |
--------------------------------------------------------------------------------
/specifications/w3c/css-cascade-5/6.4.Cascade-Layers/test.pure.css:
--------------------------------------------------------------------------------
1 | .some-class {
2 | color: green;
3 | }
4 |
5 | @layer A {
6 | #some-id#some-id {
7 | color: red;
8 | background-color: red;
9 | }
10 | }
11 |
12 | @layer B {
13 | #some-id {
14 | color: purple;
15 | background-color: green;
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-cascade-5/6.4.Cascade-Layers/test.pure.html:
--------------------------------------------------------------------------------
1 | Cascade Layers
2 |
--------------------------------------------------------------------------------
/specifications/w3c/css-cascade-5/6.4.Cascade-Layers/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var green = "rgb(0, 128, 0)";
3 |
4 | var style;
5 | style = window.getComputedStyle(document.querySelector('#some-id'));
6 | if (style.color !== green) {
7 | cb(false);
8 | return;
9 | }
10 |
11 | if (style.backgroundColor !== green) {
12 | cb(false);
13 | return;
14 | }
15 |
16 | cb(true);
17 | })(callback);
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/10.1.Mixed-Components/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/10.1.Mixed-Components/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "41d9f9a4-bc81-4214-8f2a-2646b28ef89f",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "10.1",
7 | "name": "Mixed Components (color)",
8 | "url": "https://www.w3.org/TR/css-color-4/#color-function"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/10.1.Mixed-Components/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(45, 51, 4);
3 | color: color(display-p3 0.18 0.2 5%);
4 | }
5 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/10.1.Mixed-Components/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: color(display-p3 0.18 0.2 5%);
3 | }
4 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/10.1.Mixed-Components/test.pure.html:
--------------------------------------------------------------------------------
1 | Mixed components
2 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/10.1.Mixed-Components/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var style;
3 | style = window.getComputedStyle(document.querySelector('.foo'));
4 | if (style.color !== 'color(display-p3 0.18 0.2 0.05)') {
5 | cb(false);
6 | return;
7 | }
8 |
9 | cb(true);
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Color-Functional-Notation-Percentage-Alpha/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Color-Functional-Notation-Percentage-Alpha/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "68d99879-2186-449a-b2fd-7f5586c994c0",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "5.1",
7 | "name": "Color Functional Notation Percentage Alpha",
8 | "url": "https://www.w3.org/TR/css-color-4/#rgb-functions"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Color-Functional-Notation-Percentage-Alpha/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(0, 128, 0);
3 | color: rgba(0, 128, 0, 100%);
4 | }
5 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Color-Functional-Notation-Percentage-Alpha/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgba(0, 128, 0, 100%);
3 | }
4 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Color-Functional-Notation-Percentage-Alpha/test.pure.html:
--------------------------------------------------------------------------------
1 | Color functional notation
2 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Color-Functional-Notation-Percentage-Alpha/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var green = "rgb(0, 128, 0)";
3 |
4 | var style;
5 | style = window.getComputedStyle(document.querySelector('.foo'));
6 | if (style.color !== green) {
7 | cb(false);
8 | return;
9 | }
10 |
11 | cb(true);
12 | })(callback);
13 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Mixed-Components/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Mixed-Components/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "8186ed4a-060e-477a-a25c-f3c01a90d608",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "5.1",
7 | "name": "Mixed Components (rgb)",
8 | "url": "https://www.w3.org/TR/css-color-4/#rgb-functions"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Mixed-Components/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(0, 128, 0);
3 | color: rgb(0 50.2% 0%);
4 | }
5 |
6 | .bar {
7 | color: rgb(0, 128, 0);
8 | color: rgb(0 128 0% / 1);
9 | }
10 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Mixed-Components/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(0 50.2% 0%);
3 | }
4 |
5 | .bar {
6 | color: rgb(0 128 0% / 1);
7 | }
8 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Mixed-Components/test.pure.html:
--------------------------------------------------------------------------------
1 | Mixed components
2 | Mixed components
3 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/5.1.Mixed-Components/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var green = "rgb(0, 128, 0)";
3 |
4 | var style;
5 | style = window.getComputedStyle(document.querySelector('.foo'));
6 | if (style.color !== green) {
7 | cb(false);
8 | return;
9 | }
10 |
11 | style = window.getComputedStyle(document.querySelector('.bar'));
12 | if (style.color !== green) {
13 | cb(false);
14 | return;
15 | }
16 |
17 | cb(true);
18 | })(callback);
19 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/7.Mixed-Components/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/7.Mixed-Components/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "8690176f-c233-437b-a285-57ddca0d336f",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "7",
7 | "name": "Mixed Components (hsl)",
8 | "url": "https://www.w3.org/TR/css-color-4/#the-hsl-notation"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/7.Mixed-Components/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: hsl(120, 100%, 25%);
3 | color: hsl(120deg 100 25.1%);
4 | }
5 |
6 | .bar {
7 | color: hsl(120, 100%, 25%);
8 | color: hsl(120deg 100 25.1% / 1);
9 | }
10 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/7.Mixed-Components/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: hsl(120deg 100 25.1%);
3 | }
4 |
5 | .bar {
6 | color: hsl(120deg 100 25.1% / 1);
7 | }
8 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/7.Mixed-Components/test.pure.html:
--------------------------------------------------------------------------------
1 | Mixed components
2 | Mixed components
3 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/7.Mixed-Components/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var green = "rgb(0, 128, 0)";
3 |
4 | var style;
5 | style = window.getComputedStyle(document.querySelector('.foo'));
6 | if (style.color !== green) {
7 | cb(false);
8 | return;
9 | }
10 |
11 | style = window.getComputedStyle(document.querySelector('.bar'));
12 | if (style.color !== green) {
13 | cb(false);
14 | return;
15 | }
16 |
17 | cb(true);
18 | })(callback);
19 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/8.Mixed-Components/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/8.Mixed-Components/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "27867dd8-8572-4c0f-8b55-4a1aa7535971",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "8",
7 | "name": "Mixed Components (hwb)",
8 | "url": "https://www.w3.org/TR/css-color-4/#the-hwb-notation"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/8.Mixed-Components/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(0, 128, 0);
3 | color: hwb(120deg 0% 49.8);
4 | }
5 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/8.Mixed-Components/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: hwb(120deg 0% 49.8);
3 | }
4 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/8.Mixed-Components/test.pure.html:
--------------------------------------------------------------------------------
1 | Mixed components
2 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/8.Mixed-Components/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var green = "rgb(0, 128, 0)";
3 |
4 | var style;
5 | style = window.getComputedStyle(document.querySelector('.foo'));
6 | if (style.color !== green) {
7 | cb(false);
8 | return;
9 | }
10 |
11 | cb(true);
12 | })(callback);
13 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.3.Mixed-Components/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.3.Mixed-Components/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "921a6753-820e-4d6b-aff0-3e86faa9e1be",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "9.3",
7 | "name": "Mixed Components (lab|lch)",
8 | "url": "https://www.w3.org/TR/css-color-4/#specifying-lab-lch"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.3.Mixed-Components/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(101, 112, 97);
3 | color: lch(46% 10 134.38);
4 | }
5 |
6 | .bar {
7 | color: rgb(103, 113, 66);
8 | color: lab(46% -10 20%);
9 | }
10 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.3.Mixed-Components/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: lch(46% 10 134.38);
3 | }
4 |
5 | .bar {
6 | color: lab(46% -10 20%);
7 | }
8 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.3.Mixed-Components/test.pure.html:
--------------------------------------------------------------------------------
1 | Mixed components
2 | Mixed components
3 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.3.Mixed-Components/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var style;
3 | style = window.getComputedStyle(document.querySelector('.foo'));
4 | if (style.color !== 'lch(46 10 134.38)') {
5 | cb(false);
6 | return;
7 | }
8 |
9 | style = window.getComputedStyle(document.querySelector('.bar'));
10 | if (style.color !== 'lab(46 -10 25)') {
11 | cb(false);
12 | return;
13 | }
14 |
15 | cb(true);
16 | })(callback);
17 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.4.Mixed-Components/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.4.Mixed-Components/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "65909a48-2e29-43f8-9d58-c9c6345defd0",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-color-4",
6 | "section": "9.4",
7 | "name": "Mixed Components (oklab|oklch)",
8 | "url": "https://www.w3.org/TR/css-color-4/#specifying-oklab-oklch"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.4.Mixed-Components/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: rgb(163, 204, 138);
3 | color: oklch(80% 0.1 134.38);
4 | }
5 |
6 | .bar {
7 | color: rgb(142, 210, 132);
8 | color: oklab(80% -0.1 20%);
9 | }
10 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.4.Mixed-Components/test.pure.css:
--------------------------------------------------------------------------------
1 | .foo {
2 | color: oklch(80% 0.1 134.38);
3 | }
4 |
5 | .bar {
6 | color: oklab(80% -0.1 20%);
7 | }
8 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.4.Mixed-Components/test.pure.html:
--------------------------------------------------------------------------------
1 | Mixed components
2 | Mixed components
3 |
--------------------------------------------------------------------------------
/specifications/w3c/css-color-4/9.4.Mixed-Components/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var style;
3 | style = window.getComputedStyle(document.querySelector('.foo'));
4 | if (style.color !== 'oklch(0.8 0.1 134.38)') {
5 | cb(false);
6 | return;
7 | }
8 |
9 | style = window.getComputedStyle(document.querySelector('.bar'));
10 | if (style.color !== 'oklab(0.8 -0.1 0.08)') {
11 | cb(false);
12 | return;
13 | }
14 |
15 | cb(true);
16 | })(callback);
17 |
--------------------------------------------------------------------------------
/specifications/w3c/css-conditional-3/4.Placement-of-conditional-group-rules_nested-at-rules/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | html-tests: test.pure.html test.pure.js
6 | web-tests-build-test
7 |
8 | html-tests-from-existing-sources:
9 | web-tests-build-test
10 |
11 | all: html-tests
12 |
13 | .PHONY: all html-tests html-tests-from-existing-sources
14 |
--------------------------------------------------------------------------------
/specifications/w3c/css-conditional-3/4.Placement-of-conditional-group-rules_nested-at-rules/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "cf512dbf-abb3-41f6-a4e0-090ac86d9fb5",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "css-conditional-3",
6 | "section": "4",
7 | "name": "Placement of conditional group rules - nested at rule",
8 | "url": "https://www.w3.org/TR/css-conditional-3/#use"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "pure": {
14 | "inline_css": "test.pure.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/specifications/w3c/css-conditional-3/4.Placement-of-conditional-group-rules_nested-at-rules/test.pure.css:
--------------------------------------------------------------------------------
1 | @media screen {
2 | @media (min-width: 1px) {
3 | @media (min-height: 1px) {
4 | #hello {
5 | color: #f00;
6 | }
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/specifications/w3c/css-conditional-3/4.Placement-of-conditional-group-rules_nested-at-rules/test.pure.html:
--------------------------------------------------------------------------------
1 | Hello
2 |
--------------------------------------------------------------------------------
/specifications/w3c/css-conditional-3/4.Placement-of-conditional-group-rules_nested-at-rules/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | document.body.offsetTop;
3 |
4 | if ('requestAnimationFrame' in window) {
5 | requestAnimationFrame(function () {
6 | var style = window.getComputedStyle(document.getElementById('hello'));
7 | if (style.color !== 'rgb(255, 0, 0)') {
8 | cb(false);
9 | return;
10 | }
11 |
12 | cb(true);
13 | });
14 | } else {
15 | var style = window.getComputedStyle(document.getElementById('hello'));
16 | if (style.color !== 'rgb(255, 0, 0)') {
17 | cb(false);
18 | return;
19 | }
20 |
21 | cb(true);
22 | }
23 | })(callback);
24 |
--------------------------------------------------------------------------------
/specifications/w3c/cssom/4.innerWidth/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "881971e2-48cd-45cd-afc3-b90e74bfd0db",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "cssom",
6 | "section": "4.innerWidth",
7 | "name": "Window.prototype.innerWidth",
8 | "url": "https://drafts.csswg.org/cssom-view/#dom-window-innerwidth"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/cssom/4.innerWidth/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(typeof innerWidth !== "undefined" && innerWidth > 0);
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/w3c/cssom/4.innerWidth/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(typeof innerWidth !== "undefined" && innerWidth > 0);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/w3c/cssom/4.innerWidth/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | cb(typeof innerWidth !== "undefined" && innerWidth > 0);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/w3c/cssom/4.innerWidth/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(typeof innerWidth !== "undefined" && innerWidth > 0);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/w3c/cssom/4.innerWidth/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb((typeof innerWidth !== "undefined") && innerWidth > 0);
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/w3c/cssom/6.getBoundingClientRect/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "35f66b62-f92b-48d8-8405-d1bf5c3aca40",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "cssom",
6 | "section": "6.getBoundingClientRect",
7 | "name": "Element.prototype.getBoundingClientRect",
8 | "url": "https://drafts.csswg.org/cssom-view/#dom-element-getboundingclientrect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/cssom/6.getBoundingClientRect/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var el = document.getElementById("the-fixture--positioned");
3 | var clientBoundingRect = el.getBoundingClientRect();
4 | cb("top" in clientBoundingRect && "left" in clientBoundingRect && "x" in clientBoundingRect && "y" in clientBoundingRect && "width" in clientBoundingRect && "height" in clientBoundingRect && clientBoundingRect.top > 0 && clientBoundingRect.left > 0 && clientBoundingRect.x > 0 && clientBoundingRect.y > 0 && clientBoundingRect.width > 0 && clientBoundingRect.height > 0);
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/w3c/cssom/6.getBoundingClientRect/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.getElementById("the-fixture--positioned");
4 | var clientBoundingRect = el.getBoundingClientRect();
5 | cb("top" in clientBoundingRect && "left" in clientBoundingRect && "x" in clientBoundingRect && "y" in clientBoundingRect && "width" in clientBoundingRect && "height" in clientBoundingRect && clientBoundingRect.top > 0 && clientBoundingRect.left > 0 && clientBoundingRect.x > 0 && clientBoundingRect.y > 0 && clientBoundingRect.width > 0 && clientBoundingRect.height > 0);
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/w3c/cssom/6.getBoundingClientRect/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.getElementById("the-fixture--positioned");
4 | var clientBoundingRect = el.getBoundingClientRect();
5 | cb("top" in clientBoundingRect && "left" in clientBoundingRect && "x" in clientBoundingRect && "y" in clientBoundingRect && "width" in clientBoundingRect && "height" in clientBoundingRect && clientBoundingRect.top > 0 && clientBoundingRect.left > 0 && clientBoundingRect.x > 0 && clientBoundingRect.y > 0 && clientBoundingRect.width > 0 && clientBoundingRect.height > 0);
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/w3c/cssom/6.getBoundingClientRect/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.getElementById("the-fixture--positioned");
4 | var clientBoundingRect = el.getBoundingClientRect();
5 | cb("top" in clientBoundingRect && "left" in clientBoundingRect && "x" in clientBoundingRect && "y" in clientBoundingRect && "width" in clientBoundingRect && "height" in clientBoundingRect && clientBoundingRect.top > 0 && clientBoundingRect.left > 0 && clientBoundingRect.x > 0 && clientBoundingRect.y > 0 && clientBoundingRect.width > 0 && clientBoundingRect.height > 0);
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/w3c/cssom/6.getBoundingClientRect/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var el = document.getElementById("the-fixture--positioned");
3 | var clientBoundingRect = el.getBoundingClientRect();
4 | cb(
5 | "top" in clientBoundingRect &&
6 | "left" in clientBoundingRect &&
7 | "x" in clientBoundingRect &&
8 | "y" in clientBoundingRect &&
9 | "width" in clientBoundingRect &&
10 | "height" in clientBoundingRect &&
11 | clientBoundingRect.top > 0 &&
12 | clientBoundingRect.left > 0 &&
13 | clientBoundingRect.x > 0 &&
14 | clientBoundingRect.y > 0 &&
15 | clientBoundingRect.width > 0 &&
16 | clientBoundingRect.height > 0
17 | );
18 | })(callback);
19 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.bottom/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "8956b128-493d-478f-84b9-15cc323b716d",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.bottom",
7 | "name": "DOMRect.prototype.bottom",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.bottom/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.bottom !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.bottom/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.bottom !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.bottom/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.bottom !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.height/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "a14e87c8-ae84-4491-b332-ba4289b9b03b",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.height",
7 | "name": "DOMRect.prototype.height",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.height/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.height !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.height/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.height !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.height/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.height !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.left/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "02f49216-0949-4e1f-9ab5-8ec0c87e59cc",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.left",
7 | "name": "DOMRect.prototype.left",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.left/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.left !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.left/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.left !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.left/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.left !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.right/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "95ea3db0-5a45-426d-b202-699b9e6afd14",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.right",
7 | "name": "DOMRect.prototype.right",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.right/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.right !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.right/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.right !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.right/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.right !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.top/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "65c83d6c-58e3-4813-9051-bbc1a8cb5124",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.top",
7 | "name": "DOMRect.prototype.top",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.top/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.top !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.top/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.top !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.top/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.top !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.width/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "be7e56ce-a1f2-4314-a645-a4949a840122",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.width",
7 | "name": "DOMRect.prototype.width",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.width/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.width !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.width/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.width !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.width/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.width !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.x/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "cea75398-dae7-4b93-9df6-2e51728a618f",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.x",
7 | "name": "DOMRect.prototype.x",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.x/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.x !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.x/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.x !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.x/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.x !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.y/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "d6a25d25-7a50-47a4-829c-fc05dbf5dd7f",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3.DOMRect.y",
7 | "name": "DOMRect.prototype.y",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.y/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.y !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.y/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(typeof domRect.y !== "undefined");
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect.y/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(typeof domRect.y !== "undefined");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "30fe1210-7551-4d46-b01c-391cae98a933",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "geometry-1",
6 | "section": "3",
7 | "name": "The DOMRect interfaces",
8 | "url": "https://www.w3.org/TR/geometry-1/#DOMRect"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(!!domRect);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var domRect = new DOMRect();
4 | cb(!!domRect);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/geometry-1/3.DOMRect/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var domRect = new DOMRect();
3 | cb(!!domRect);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/w3c/intersection-observer/2.2.IntersectionObserver/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "1698dc21-4dff-4998-92ed-dc590e304d42",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "intersection-observer",
6 | "section": "2.2.IntersectionObserver",
7 | "name": "IntersectionObserver",
8 | "url": "https://www.w3.org/TR/intersection-observer/#intersectionobserver"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/intersection-observer/2.2.IntersectionObserver/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new IntersectionObserver(function () {
3 | // noop
4 | }, {});
5 | cb(!!foo);
6 | })(callback);
7 |
--------------------------------------------------------------------------------
/specifications/w3c/intersection-observer/2.2.IntersectionObserver/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var foo = new IntersectionObserver(function () {}, {});
4 | cb(!!foo);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/w3c/intersection-observer/2.2.IntersectionObserver/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new IntersectionObserver(function () {
3 | // noop
4 | }, {});
5 |
6 | cb(!!foo);
7 | })(callback);
8 |
--------------------------------------------------------------------------------
/specifications/w3c/mediaqueries-4/4.3.Aspect-Ratio/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/mediaqueries-4/4.3.Aspect-Ratio/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "de023e11-f61a-4635-a74c-e4a152251bdf",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "mediaqueries-4",
6 | "section": "4.3",
7 | "name": "Aspect-Ratio",
8 | "url": "https://www.w3.org/TR/mediaqueries-4/#aspect-ratio"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/mediaqueries-4/4.3.Aspect-Ratio/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | @media screen and (min-aspect-ratio: 1/100) {
2 | #a {
3 | color: #0f0;
4 | }
5 | }
6 |
7 | @media screen and (min-aspect-ratio: 0.01/1),screen and (min-aspect-ratio: 1/100) {
8 | #b {
9 | color: #0f0;
10 | }
11 | }
12 |
13 | @media screen and (min-aspect-ratio: 0.01),screen and (min-aspect-ratio: 1/100) {
14 | #c {
15 | color: #0f0;
16 | }
17 | }
18 |
19 | #d {
20 | color: #0f0;
21 | }
22 |
23 | @media screen and (min-aspect-ratio: 0/0),screen and (min-aspect-ratio: 2147483647/1) {
24 | #d {
25 | color: red;
26 | }
27 | }
28 |
29 | @media screen and (max-aspect-ratio: 0/0),screen and (max-aspect-ratio: 2147483647/1) {
30 | #e {
31 | color: #0f0;
32 | }
33 | }
34 |
35 | @media screen and (min-aspect-ratio: calc(1)/calc(10*10)),screen and (min-aspect-ratio: calc((1) * 100000)/calc((10*10) * 100000)) {
36 | #f {
37 | color: #0f0;
38 | }
39 | }
40 |
41 | @media screen and (min-aspect-ratio: calc(1/100)),screen and (min-aspect-ratio: calc((1/100) * 100000)/100000) {
42 | #g {
43 | color: #0f0;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/specifications/w3c/mediaqueries-4/4.3.Aspect-Ratio/test.pure.css:
--------------------------------------------------------------------------------
1 | @media screen and (min-aspect-ratio: 1/100) {
2 | #a {
3 | color: #0f0;
4 | }
5 | }
6 |
7 | @media screen and (min-aspect-ratio: 0.01/1) {
8 | #b {
9 | color: #0f0;
10 | }
11 | }
12 |
13 | @media screen and (min-aspect-ratio: 0.01) {
14 | #c {
15 | color: #0f0;
16 | }
17 | }
18 |
19 | #d {
20 | color: #0f0;
21 | }
22 |
23 | @media screen and (min-aspect-ratio: 0/0) {
24 | #d {
25 | color: red;
26 | }
27 | }
28 |
29 | @media screen and (max-aspect-ratio: 0/0) {
30 | #e {
31 | color: #0f0;
32 | }
33 | }
34 |
35 | @media screen and (min-aspect-ratio: calc(1)/calc(10*10)) {
36 | #f {
37 | color: #0f0;
38 | }
39 | }
40 |
41 | @media screen and (min-aspect-ratio: calc(1/100)) {
42 | #g {
43 | color: #0f0;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/specifications/w3c/mediaqueries-4/4.3.Aspect-Ratio/test.pure.html:
--------------------------------------------------------------------------------
1 | Hello
2 | Hello
3 | Hello
4 | Hello
5 | Hello
6 | Hello
7 | Hello
8 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/4.3.Negation-Pseudo-Class/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/4.3.Negation-Pseudo-Class/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "558aefe6-66f5-4a7b-a12b-dcdcfea87fa9",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "selectors-4",
6 | "section": "4.3",
7 | "name": "The Negation Pseudo-Class",
8 | "url": "https://drafts.csswg.org/selectors/#negation"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/4.3.Negation-Pseudo-Class/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | * {
2 | color: yellow;
3 | }
4 |
5 | :not(.b ~ *) {
6 | color: green;
7 | }
8 |
9 | :not(:not(#e):not(#f)) {
10 | color: red;
11 | }
12 |
13 | :not(:not(#e + #f)) {
14 | color: blue;
15 | }
16 |
17 | #f + #g :not(:not(#g > #h ~ #i)) {
18 | color: white;
19 | }
20 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/4.3.Negation-Pseudo-Class/test.pure.css:
--------------------------------------------------------------------------------
1 | * {
2 | color: yellow;
3 | }
4 |
5 | :not(.b ~ *) {
6 | color: green;
7 | }
8 |
9 | :not(:not(#e, #f)) {
10 | color: red;
11 | }
12 |
13 | :not(:not(#e + #f)) {
14 | color: blue;
15 | }
16 |
17 | #f + #g :not(:not(#g > #h ~ #i)) {
18 | color: white;
19 | }
20 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/4.3.Negation-Pseudo-Class/test.pure.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/8.1.Hyperlink-Pseudo-Class/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/8.1.Hyperlink-Pseudo-Class/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "75fe312b-386d-4648-b6cf-1a588a5cee3b",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "selectors-4",
6 | "section": "8.1",
7 | "name": "The Hyperlink Pseudo-class",
8 | "url": "https://www.w3.org/TR/selectors-4/#the-any-link-pseudo"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "postcss-preset-env": {
14 | "inline_css": "test.postcss-preset-env.css",
15 | "inline_html": "test.pure.html",
16 | "inline_script": "test.pure.js"
17 | },
18 | "pure": {
19 | "inline_css": "test.pure.css",
20 | "inline_html": "test.pure.html",
21 | "inline_script": "test.pure.js"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/8.1.Hyperlink-Pseudo-Class/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | :link, :visited, area[href] {
2 | color: #f00;
3 | }
4 | :-webkit-any-link {
5 | color: #f00;
6 | }
7 | :-moz-any-link {
8 | color: #f00;
9 | }
10 | :any-link {
11 | color: #f00;
12 | }
13 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/8.1.Hyperlink-Pseudo-Class/test.pure.css:
--------------------------------------------------------------------------------
1 | :any-link {
2 | color: #f00;
3 | }
4 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/8.1.Hyperlink-Pseudo-Class/test.pure.html:
--------------------------------------------------------------------------------
1 | External link
2 | Internal target link
3 | Placeholder link (won't get styled)
4 |
5 |
8 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors-4/8.1.Hyperlink-Pseudo-Class/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var aStyle = window.getComputedStyle(document.getElementById('a'));
3 | if (aStyle.color !== 'rgb(255, 0, 0)') {
4 | cb(false);
5 | return;
6 | }
7 |
8 | var bStyle = window.getComputedStyle(document.getElementById('b'));
9 | if (bStyle.color !== 'rgb(255, 0, 0)') {
10 | cb(false);
11 | return;
12 | }
13 |
14 | // No href, so not rgb(255, 0, 0)
15 | var cStyle = window.getComputedStyle(document.getElementById('c'));
16 | if (cStyle.color === 'rgb(255, 0, 0)') {
17 | cb(false);
18 | return;
19 | }
20 |
21 | var dStyle = window.getComputedStyle(document.getElementById('d'));
22 | if (dStyle.color !== 'rgb(255, 0, 0)') {
23 | cb(false);
24 | return;
25 | }
26 |
27 | cb(true);
28 | })(callback);
29 |
--------------------------------------------------------------------------------
/specifications/w3c/selectors/4.5.Relational-Pseudo-Class/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "73cfc27f-b188-4c49-af0d-83801d0a7be4",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "selectors",
6 | "section": "4.5",
7 | "name": "The Relational Pseudo-class",
8 | "url": "https://drafts.csswg.org/selectors/#relational"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/w3c/svg2/6.1.Styling_Invalid-Property-Values/Makefile:
--------------------------------------------------------------------------------
1 | .DEFAULT_GOAL := all
2 |
3 | mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
4 |
5 | test.postcss-preset-env.css: test.pure.css ../../../../postcss.config.js ../../../../package-lock.json
6 | npm run postcss -- $(mkfile_dir)test.pure.css --output $(mkfile_dir)test.postcss-preset-env.css
7 | @touch test.postcss-preset-env.css
8 |
9 | html-tests: test.postcss-preset-env.css test.pure.html test.pure.js
10 | web-tests-build-test
11 |
12 | html-tests-from-existing-sources:
13 | web-tests-build-test
14 |
15 | all: test.postcss-preset-env.css html-tests
16 |
17 | .PHONY: all html-tests html-tests-from-existing-sources
18 |
--------------------------------------------------------------------------------
/specifications/w3c/svg2/6.1.Styling_Invalid-Property-Values/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "e3290bdc-ee3e-49de-af8e-2c158df14a73",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "svg2",
6 | "section": "6.1",
7 | "name": "Styling - invalid property values",
8 | "url": "https://www.w3.org/TR/SVG2/styling.html"
9 | },
10 | "notes": [
11 | {
12 | "message": "I could not find a more accurate specification section."
13 | }
14 | ],
15 | "search_terms": [],
16 | "tests": {
17 | "postcss-preset-env": {
18 | "inline_css": "test.postcss-preset-env.css",
19 | "inline_html": "test.pure.html",
20 | "inline_script": "test.pure.js"
21 | },
22 | "pure": {
23 | "inline_css": "test.pure.css",
24 | "inline_html": "test.pure.html",
25 | "inline_script": "test.pure.js"
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/specifications/w3c/svg2/6.1.Styling_Invalid-Property-Values/test.postcss-preset-env.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --color: red;
3 | }
4 |
5 | #graphic-1 {
6 | fill: red;
7 | fill: var(--color);
8 | }
9 |
10 | #graphic-2 {
11 | fill: red;
12 | fill: not-a-color;
13 | }
14 |
--------------------------------------------------------------------------------
/specifications/w3c/svg2/6.1.Styling_Invalid-Property-Values/test.pure.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --color: red;
3 | }
4 |
5 | #graphic-1 {
6 | fill: red;
7 | fill: var(--color);
8 | }
9 |
10 | #graphic-2 {
11 | fill: red;
12 | fill: not-a-color;
13 | }
14 |
--------------------------------------------------------------------------------
/specifications/w3c/svg2/6.1.Styling_Invalid-Property-Values/test.pure.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/specifications/w3c/svg2/6.1.Styling_Invalid-Property-Values/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | // Notes:
3 | // - Edge serializes colors differently
4 |
5 | var style1 = window.getComputedStyle(document.getElementById('a-rect-1'));
6 | if (style1.fill !== 'rgb(255, 0, 0)' && style1.fill !== 'red') {
7 | cb(false);
8 | return;
9 | }
10 |
11 | var style2 = window.getComputedStyle(document.getElementById('a-rect-2'));
12 | if (style2.fill !== 'rgb(255, 0, 0)' && style2.fill !== 'red') {
13 | cb(false);
14 | return;
15 | }
16 |
17 | cb(true);
18 | })(callback);
19 |
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/4.3.2.document.timeline/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "891966c0-d8aa-46e9-a08a-cff4925b6453",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "web-animations-1",
6 | "section": "4.3.2",
7 | "name": "The default document timeline",
8 | "url": "https://www.w3.org/TR/web-animations-1/#the-documenttimeline-interface"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Web Animations",
13 | "document.timeline"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/4.3.2.document.timeline/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(!!document.timeline);
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/4.3.2.document.timeline/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | cb(!!document.timeline);
4 | })(callback);
5 | /******/ })()
6 | ;
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/4.3.2.document.timeline/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | cb(!!document.timeline);
3 | })(callback);
4 |
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/6.9.Animatable/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "1f40043c-1a6d-47d3-97e1-6e0617a1b464",
3 | "spec": {
4 | "org": "w3c",
5 | "id": "web-animations-1",
6 | "section": "6.9",
7 | "name": "Animatable Interface Mixin",
8 | "url": "https://www.w3.org/TR/web-animations-1/#the-animatable-interface-mixin"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Web Animations",
13 | "Element.prototype.animate"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/6.9.Animatable/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var el = document.getElementById("the-fixture");
3 | var animation = el.animate({
4 | opacity: [0.5, 1],
5 | transform: ['scale(0.5)', 'scale(1)']
6 | }, {
7 | direction: 'alternate',
8 | duration: 500,
9 | iterations: Infinity
10 | });
11 | cb(!!animation);
12 | })(callback);
13 |
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/6.9.Animatable/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.getElementById("the-fixture");
4 | var animation = el.animate({
5 | opacity: [0.5, 1],
6 | transform: ['scale(0.5)', 'scale(1)']
7 | }, {
8 | direction: 'alternate',
9 | duration: 500,
10 | iterations: Infinity
11 | });
12 | cb(!!animation);
13 | })(callback);
14 | /******/ })()
15 | ;
--------------------------------------------------------------------------------
/specifications/w3c/web-animations-1/6.9.Animatable/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var el = document.getElementById("the-fixture");
3 | var animation = el.animate({
4 | opacity: [0.5, 1],
5 | transform: ['scale(0.5)', 'scale(1)'],
6 | }, {
7 | direction: 'alternate',
8 | duration: 500,
9 | iterations: Infinity,
10 | });
11 | cb(!!animation);
12 | })(callback);
13 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.10.1.NodeList.prototype.@@iterator/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "e85d4116-6a00-4056-94e4-d0763c1ce466",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "4.2.10.1",
7 | "name": "NodeList.prototype.@@iterator",
8 | "url": "https://dom.spec.whatwg.org/#interface-nodelist"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Iterable",
13 | "Iterator"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.10.1.NodeList.prototype.@@iterator/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var nodeList = document.querySelectorAll('div');
3 |
4 | var results = [];
5 | for (var node of nodeList) {
6 | results.push(node);
7 | }
8 |
9 | cb(results.length > 0);
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.10.2.HTMLCollection.prototype.@@iterator/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "335c187c-f6e4-4e5e-946f-decfe327b764",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "4.2.10.2",
7 | "name": "HTMLCollection.prototype.@@iterator",
8 | "url": "https://dom.spec.whatwg.org/#interface-htmlcollection"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.10.2.HTMLCollection.prototype.@@iterator/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var nodeList = document.getElementsByTagName('div');
3 |
4 | var results = [];
5 | for (var node of nodeList) {
6 | results.push(node);
7 | }
8 |
9 | cb(results.length > 0);
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.4.getElementById/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "0992d178-5080-4387-ab1e-bcfde45c6741",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "4.2.4.getElementByID",
7 | "name": "NonElementParentNode.getElementByID",
8 | "url": "https://dom.spec.whatwg.org/#interface-nonelementparentnode"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.4.getElementById/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var fixture = document.getElementById('the-fixture');
3 | cb(!!fixture);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.4.getElementById/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var fixture = document.getElementById('the-fixture');
4 | cb(!!fixture);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.4.getElementById/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var fixture = document.getElementById('the-fixture');
4 | cb(!!fixture);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.4.getElementById/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var fixture = document.getElementById('the-fixture');
4 | cb(!!fixture);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.4.getElementById/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var fixture = document.getElementById('the-fixture');
3 | cb(!!fixture);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.6.querySelector/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "78d88d85-c3b6-4b60-a382-f73d5e7cf8e5",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "4.2.6.querySelector",
7 | "name": "ParentNode.querySelector",
8 | "url": "https://dom.spec.whatwg.org/#dom-parentnode-queryselector"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.6.querySelector/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var el = document.querySelector(".a-fixture");
3 | cb(!!el);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.6.querySelector/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.querySelector(".a-fixture");
4 | cb(!!el);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.6.querySelector/test.core-web_modules.js:
--------------------------------------------------------------------------------
1 | /******/ (() => { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.querySelector(".a-fixture");
4 | cb(!!el);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.6.querySelector/test.core-web_no-modules.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var el = document.querySelector(".a-fixture");
4 | cb(!!el);
5 | })(callback);
6 | /******/ })()
7 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.2.6.querySelector/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var el = document.querySelector(".a-fixture");
3 | cb(!!el);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.7.DocumentFragment/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "408bb6de-21cb-4bfe-8a44-225a0cb975ae",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "4.7",
7 | "name": "DocumentFragment",
8 | "url": "https://dom.spec.whatwg.org/#interface-documentfragment"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "DocumentFragment"
13 | ],
14 | "tests": {
15 | "babel": {
16 | "inline_script": "test.babel.js"
17 | },
18 | "babel_webpack": {
19 | "inline_script": "test.babel_webpack.js"
20 | },
21 | "core-web": {
22 | "module_script": "test.core-web_modules.js",
23 | "nomodules_script": "test.core-web_no-modules.js"
24 | },
25 | "pure": {
26 | "inline_script": "test.pure.js"
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.7.DocumentFragment/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var fixture = document.getElementById('the-fixture');
3 | var fragment = new DocumentFragment();
4 | var child = document.createElement('div');
5 | child.id = "child-added-with-js";
6 | fragment.appendChild(child);
7 | fixture.appendChild(fragment);
8 | var result = document.getElementById('child-added-with-js');
9 | cb(!!result && result.parentNode === fixture);
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.7.DocumentFragment/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var fixture = document.getElementById('the-fixture');
4 | var fragment = new DocumentFragment();
5 | var child = document.createElement('div');
6 | child.id = "child-added-with-js";
7 | fragment.appendChild(child);
8 | fixture.appendChild(fragment);
9 | var result = document.getElementById('child-added-with-js');
10 | cb(!!result && result.parentNode === fixture);
11 | })(callback);
12 | /******/ })()
13 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.7.DocumentFragment/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var fixture = document.getElementById('the-fixture');
3 |
4 | var fragment = new DocumentFragment();
5 | var child = document.createElement('div');
6 | child.id = "child-added-with-js";
7 |
8 | fragment.appendChild(child);
9 |
10 | fixture.appendChild(fragment);
11 |
12 | var result = document.getElementById('child-added-with-js');
13 | cb(
14 | !!result &&
15 | result.parentNode === fixture
16 | );
17 | })(callback);
18 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.9.Element.classList/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "e6228fd7-a72b-421e-a626-6d9a253c5638",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "4.9.classList",
7 | "name": "Element.prototype.classList",
8 | "url": "https://dom.spec.whatwg.org/#dom-element-classlist"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.9.Element.classList/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var div = document.createElement('div');
3 | div.classList.add('classlist-test');
4 | cb(div.className === 'classlist-test');
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.9.Element.classList/test.babel_webpack.js:
--------------------------------------------------------------------------------
1 | /******/ (function() { // webpackBootstrap
2 | (function (cb) {
3 | var div = document.createElement('div');
4 | div.classList.add('classlist-test');
5 | cb(div.className === 'classlist-test');
6 | })(callback);
7 | /******/ })()
8 | ;
--------------------------------------------------------------------------------
/specifications/whatwg/dom/4.9.Element.classList/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var div = document.createElement('div');
3 | div.classList.add('classlist-test');
4 | cb(div.className === 'classlist-test');
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/7.1.DOMTokenList.prototype.@@iterator/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "a104fddc-a0f4-42b0-b8df-e632afcd8de0",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "dom",
6 | "section": "7.1",
7 | "name": "DOMTokenList.prototype.@@iterator",
8 | "url": "https://dom.spec.whatwg.org/#interface-domtokenlist"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "Iterable",
13 | "Iterator"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/dom/7.1.DOMTokenList.prototype.@@iterator/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var div = document.createElement('DIV');
3 | div.className = 'foo baz';
4 | var tokenList = div.classList;
5 |
6 | var results = [];
7 | for (var token of tokenList) {
8 | results.push(token);
9 | }
10 |
11 | if (results.length !== 2) {
12 | cb(false);
13 | return;
14 | }
15 |
16 | cb(results[0] === 'foo' && results[1] === 'baz');
17 | })(callback);
18 |
--------------------------------------------------------------------------------
/specifications/whatwg/fetch/5.2.BodyInit.unions.URLSearchParams/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "0d6ef80b-1146-44d7-b361-34032288e00b",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "fetch",
6 | "section": "5.2",
7 | "name": "BodyInit unions URLSearchParams",
8 | "url": "https://fetch.spec.whatwg.org/#bodyinit-unions"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "fetch",
13 | "URLSearchParams"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/fetch/5.2.BodyInit.unions.URLSearchParams/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | new Request('#', {
3 | body: new URLSearchParams({
4 | foo: 'baz'
5 | }),
6 | method: 'POST'
7 | }).text().then(function (x) {
8 | cb(x === 'foo=baz');
9 | });
10 | })(callback);
11 |
--------------------------------------------------------------------------------
/specifications/whatwg/fetch/5.2.BodyInit.unions.URLSearchParams/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | new Request('#', { body: new URLSearchParams({ foo: 'baz' }), method: 'POST' }).text().then(function(x) {
3 | cb(x === 'foo=baz');
4 | });
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.10.5.4.valueAsDate/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "4b7342b5-72e4-432b-a79d-19a9576bad25",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "html",
6 | "section": "4.10.5.4",
7 | "name": "HTMLInputElement.prototype.valueAsDate",
8 | "url": "https://html.spec.whatwg.org/multipage/input.html#common-input-element-apis"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.10.5.4.valueAsDate/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | try {
3 | var inputA = document.createElement('input');
4 | inputA.setAttribute('type', 'date');
5 | inputA.valueAsDate = new Date();
6 | } catch (_) {
7 | cb(false);
8 | return;
9 | }
10 | var inputB = document.createElement('input');
11 | inputB.setAttribute('type', 'date');
12 | inputB.value = "2006-01-02";
13 | var valueAsDate = inputB.valueAsDate;
14 | cb("undefined" !== typeof valueAsDate);
15 | })(callback);
16 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.10.5.4.valueAsDate/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | try {
3 | var inputA = document.createElement('input');
4 | inputA.setAttribute('type', 'date');
5 | inputA.valueAsDate = new Date();
6 | } catch (_) {
7 | cb(false);
8 | return;
9 | }
10 |
11 | var inputB = document.createElement('input');
12 | inputB.setAttribute('type', 'date');
13 | inputB.value = "2006-01-02";
14 | var valueAsDate = inputB.valueAsDate;
15 |
16 | cb("undefined" !== typeof valueAsDate);
17 | })(callback);
18 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.13.4.customElements.define.super/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "53d613d8-773c-43d5-800b-a78aeeab8ef7",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "html",
6 | "section": "4.13.4",
7 | "name": "customElements.define super",
8 | "url": "https://html.spec.whatwg.org/multipage/custom-elements.html#dom-customelementregistry-define-dev"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.13.4.customElements.define.super/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | class Foo extends HTMLElement {
3 | connectedCallback() {
4 | this._baz = 'hello';
5 | }
6 |
7 | baz() {
8 | return this._baz;
9 | }
10 | }
11 |
12 | class Fooz extends Foo {
13 | connectedCallback() {
14 | super.connectedCallback();
15 |
16 | this._baz = this._baz + ' world';
17 | }
18 | }
19 |
20 | customElements.define('web-test-fooz', Fooz);
21 | document.body.appendChild(new Fooz());
22 | var fooz = document.getElementsByTagName('web-test-fooz')[0];
23 |
24 | cb(fooz.baz() === 'hello world');
25 | })(callback);
26 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.13.4.customElements.define/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "d4521329-b968-41a0-ac3a-40e45d617a16",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "html",
6 | "section": "4.13.4",
7 | "name": "customElements.define",
8 | "url": "https://html.spec.whatwg.org/multipage/custom-elements.html#dom-customelementregistry-define-dev"
9 | },
10 | "notes": [],
11 | "search_terms": [],
12 | "tests": {
13 | "babel": {
14 | "inline_script": "test.babel.js"
15 | },
16 | "babel_webpack": {
17 | "inline_script": "test.babel_webpack.js"
18 | },
19 | "core-web": {
20 | "module_script": "test.core-web_modules.js",
21 | "nomodules_script": "test.core-web_no-modules.js"
22 | },
23 | "pure": {
24 | "inline_script": "test.pure.js"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/specifications/whatwg/html/4.13.4.customElements.define/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | class Foo extends HTMLElement {
3 | connectedCallback() {
4 | this._baz = 'hello';
5 | }
6 |
7 | baz() {
8 | return this._baz;
9 | }
10 | }
11 |
12 | customElements.define('web-test-foo', Foo);
13 | document.body.appendChild(new Foo());
14 | var foo = document.getElementsByTagName('web-test-foo')[0];
15 |
16 | cb(foo.baz() === 'hello');
17 | })(callback);
18 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.1.2.constructor.base/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "40765c13-ffd9-486a-b71e-69ac56daf798",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.1.2",
7 | "name": "URL.constructor with base",
8 | "url": "https://url.spec.whatwg.org/#url-class"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URL",
13 | "constructor"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.1.2.constructor.base/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new URL("//foo.com", "https://example.com");
3 | cb(foo.toString() === "https://foo.com/");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.1.2.constructor.base/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new URL("//foo.com", "https://example.com");
3 | cb(foo.toString() === "https://foo.com/");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.1.URL.prototype.toJSON/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "59933cd3-48cc-4f36-9c52-9ac7b46e5329",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.1",
7 | "name": "URL.prototype.toJSON",
8 | "url": "https://url.spec.whatwg.org/#dom-url-tojson"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URL",
13 | "toJSON"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.1.URL.prototype.toJSON/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new URL("https://developer.mozilla.org/en-US/docs/Web/API/URL/toString");
3 | cb(foo.toJSON() === foo.href);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.1.URL.prototype.toJSON/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var foo = new URL("https://developer.mozilla.org/en-US/docs/Web/API/URL/toString");
3 | cb(foo.toJSON() === foo.href);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.Record/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "87bed84f-78a5-434b-9083-a4bf404fd8fa",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.2.constructor.Record",
7 | "name": "URLSearchParams constructor with Record",
8 | "url": "https://url.spec.whatwg.org/#interface-urlsearchparams"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URLSearchParams",
13 | "constructor",
14 | "Record"
15 | ],
16 | "tests": {
17 | "babel": {
18 | "inline_script": "test.babel.js"
19 | },
20 | "babel_webpack": {
21 | "inline_script": "test.babel_webpack.js"
22 | },
23 | "core-web": {
24 | "module_script": "test.core-web_modules.js",
25 | "nomodules_script": "test.core-web_no-modules.js"
26 | },
27 | "pure": {
28 | "inline_script": "test.pure.js"
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.Record/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams({
3 | "key": "730d67"
4 | });
5 | cb(params.get("key") === "730d67");
6 | })(callback);
7 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.Record/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams( { "key": "730d67" } );
3 | cb(params.get("key") === "730d67");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.Sequence/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "6c91fae8-503b-4746-be86-0ba8b2e75e91",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.2.constructor.Sequence",
7 | "name": "URLSearchParams constructor with a Sequence",
8 | "url": "https://url.spec.whatwg.org/#interface-urlsearchparams"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URLSearchParams",
13 | "constructor",
14 | "Sequence"
15 | ],
16 | "tests": {
17 | "babel": {
18 | "inline_script": "test.babel.js"
19 | },
20 | "babel_webpack": {
21 | "inline_script": "test.babel_webpack.js"
22 | },
23 | "core-web": {
24 | "module_script": "test.core-web_modules.js",
25 | "nomodules_script": "test.core-web_no-modules.js"
26 | },
27 | "pure": {
28 | "inline_script": "test.pure.js"
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.Sequence/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams([["foo", "1"], ["bar", "2"]]);
3 | cb(params.get("foo") === "1" && params.get("bar") === "2");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.Sequence/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams( [["foo", "1"], ["bar", "2"]] );
3 | cb(
4 | params.get("foo") === "1" &&
5 | params.get("bar") === "2"
6 | );
7 | })(callback);
8 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.USVString/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "2e2eb193-2b8b-43d2-a26d-ecf286fac4aa",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.2.constructor.USVString",
7 | "name": "URLSearchParams constructor with USVString",
8 | "url": "https://url.spec.whatwg.org/#interface-urlsearchparams"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URLSearchParams",
13 | "constructor",
14 | "USVString"
15 | ],
16 | "tests": {
17 | "babel": {
18 | "inline_script": "test.babel.js"
19 | },
20 | "babel_webpack": {
21 | "inline_script": "test.babel_webpack.js"
22 | },
23 | "core-web": {
24 | "module_script": "test.core-web_modules.js",
25 | "nomodules_script": "test.core-web_no-modules.js"
26 | },
27 | "pure": {
28 | "inline_script": "test.pure.js"
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.USVString/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams("key=730d67");
3 | cb(params.get("key") === "730d67");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor.USVString/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams( "key=730d67" );
3 | cb(params.get("key") === "730d67");
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "3e639ba4-29c8-4a12-b3ac-36cd40e14b74",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.2.constructor",
7 | "name": "URLSearchParams constructor without args",
8 | "url": "https://url.spec.whatwg.org/#interface-urlsearchparams"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URLSearchParams",
13 | "constructor"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams();
3 | cb(!!params);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.constructor/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams();
3 | cb(!!params);
4 | })(callback);
5 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.toString/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "123ebec4-89ca-4714-8084-d571ab40639b",
3 | "spec": {
4 | "org": "whatwg",
5 | "id": "url",
6 | "section": "6.2.toString",
7 | "name": "URLSearchParams.prototype.toString",
8 | "url": "https://url.spec.whatwg.org/#interface-urlsearchparams"
9 | },
10 | "notes": [],
11 | "search_terms": [
12 | "URLSearchParams",
13 | "toString"
14 | ],
15 | "tests": {
16 | "babel": {
17 | "inline_script": "test.babel.js"
18 | },
19 | "babel_webpack": {
20 | "inline_script": "test.babel_webpack.js"
21 | },
22 | "core-web": {
23 | "module_script": "test.core-web_modules.js",
24 | "nomodules_script": "test.core-web_no-modules.js"
25 | },
26 | "pure": {
27 | "inline_script": "test.pure.js"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.toString/test.babel.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams();
3 | params.set("key", "730d67");
4 | cb(params.toString() === "key=730d67");
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/specifications/whatwg/url/6.2.toString/test.pure.js:
--------------------------------------------------------------------------------
1 | (function (cb) {
2 | var params = new URLSearchParams();
3 | params.set("key", "730d67");
4 | cb(params.toString() === "key=730d67");
5 | })(callback);
6 |
--------------------------------------------------------------------------------
/test-assets/.gitignore:
--------------------------------------------------------------------------------
1 | *.js
2 |
--------------------------------------------------------------------------------
/test-assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mrhenry/web-tests/e00c2b1c1a33aa872227102992681a1fcdfed603/test-assets/.gitkeep
--------------------------------------------------------------------------------
/tests/.gitignore:
--------------------------------------------------------------------------------
1 | *.html
2 |
--------------------------------------------------------------------------------
/tests/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mrhenry/web-tests/e00c2b1c1a33aa872227102992681a1fcdfed603/tests/.gitkeep
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | matrix:
3 | include:
4 | - go: 1.4.3
5 | - go: 1.5.4
6 | - go: 1.6.3
7 | - go: 1.7
8 | - go: tip
9 | allow_failures:
10 | - go: tip
11 | install:
12 | - go get golang.org/x/tools/cmd/cover
13 | - go get github.com/mattn/goveralls
14 | script:
15 | - echo "Test and track coverage" ; $HOME/gopath/bin/goveralls -package "." -service=travis-ci
16 | -repotoken $COVERALLS_TOKEN
17 | - echo "Build examples" ; cd examples && go build
18 | - echo "Check if gofmt'd" ; diff -u <(echo -n) <(gofmt -d -s .)
19 | env:
20 | global:
21 | secure: HroGEAUQpVq9zX1b1VIkraLiywhGbzvNnTZq2TMxgK7JHP8xqNplAeF1izrR2i4QLL9nsY+9WtYss4QuPvEtZcVHUobw6XnL6radF7jS1LgfYZ9Y7oF+zogZ2I5QUMRLGA7rcxQ05s7mKq3XZQfeqaNts4bms/eZRefWuaFZbkw=
22 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/json.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "encoding/json"
5 | )
6 |
7 | // MarshalJSON implements the encoding/json.Marshaler interface.
8 | func (v Version) MarshalJSON() ([]byte, error) {
9 | return json.Marshal(v.String())
10 | }
11 |
12 | // UnmarshalJSON implements the encoding/json.Unmarshaler interface.
13 | func (v *Version) UnmarshalJSON(data []byte) (err error) {
14 | var versionString string
15 |
16 | if err = json.Unmarshal(data, &versionString); err != nil {
17 | return
18 | }
19 |
20 | *v, err = Parse(versionString)
21 |
22 | return
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "blang",
3 | "bugs": {
4 | "URL": "https://github.com/blang/semver/issues",
5 | "url": "https://github.com/blang/semver/issues"
6 | },
7 | "gx": {
8 | "dvcsimport": "github.com/blang/semver"
9 | },
10 | "gxVersion": "0.10.0",
11 | "language": "go",
12 | "license": "MIT",
13 | "name": "semver",
14 | "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
15 | "version": "3.5.1"
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/sort.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "sort"
5 | )
6 |
7 | // Versions represents multiple versions.
8 | type Versions []Version
9 |
10 | // Len returns length of version collection
11 | func (s Versions) Len() int {
12 | return len(s)
13 | }
14 |
15 | // Swap swaps two versions inside the collection by its indices
16 | func (s Versions) Swap(i, j int) {
17 | s[i], s[j] = s[j], s[i]
18 | }
19 |
20 | // Less checks if version at index i is less than version at index j
21 | func (s Versions) Less(i, j int) bool {
22 | return s[i].LT(s[j])
23 | }
24 |
25 | // Sort sorts a slice of versions
26 | func Sort(versions []Version) {
27 | sort.Sort(Versions(versions))
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/sql.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "database/sql/driver"
5 | "fmt"
6 | )
7 |
8 | // Scan implements the database/sql.Scanner interface.
9 | func (v *Version) Scan(src interface{}) (err error) {
10 | var str string
11 | switch src := src.(type) {
12 | case string:
13 | str = src
14 | case []byte:
15 | str = string(src)
16 | default:
17 | return fmt.Errorf("Version.Scan: cannot convert %T to string.", src)
18 | }
19 |
20 | if t, err := Parse(str); err == nil {
21 | *v = t
22 | }
23 |
24 | return
25 | }
26 |
27 | // Value implements the database/sql/driver.Valuer interface.
28 | func (v Version) Value() (driver.Value, error) {
29 | return v.String(), nil
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/v4/json.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "encoding/json"
5 | )
6 |
7 | // MarshalJSON implements the encoding/json.Marshaler interface.
8 | func (v Version) MarshalJSON() ([]byte, error) {
9 | return json.Marshal(v.String())
10 | }
11 |
12 | // UnmarshalJSON implements the encoding/json.Unmarshaler interface.
13 | func (v *Version) UnmarshalJSON(data []byte) (err error) {
14 | var versionString string
15 |
16 | if err = json.Unmarshal(data, &versionString); err != nil {
17 | return
18 | }
19 |
20 | *v, err = Parse(versionString)
21 |
22 | return
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/v4/sort.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "sort"
5 | )
6 |
7 | // Versions represents multiple versions.
8 | type Versions []Version
9 |
10 | // Len returns length of version collection
11 | func (s Versions) Len() int {
12 | return len(s)
13 | }
14 |
15 | // Swap swaps two versions inside the collection by its indices
16 | func (s Versions) Swap(i, j int) {
17 | s[i], s[j] = s[j], s[i]
18 | }
19 |
20 | // Less checks if version at index i is less than version at index j
21 | func (s Versions) Less(i, j int) bool {
22 | return s[i].LT(s[j])
23 | }
24 |
25 | // Sort sorts a slice of versions
26 | func Sort(versions []Version) {
27 | sort.Sort(Versions(versions))
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/v4/sql.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "database/sql/driver"
5 | "fmt"
6 | )
7 |
8 | // Scan implements the database/sql.Scanner interface.
9 | func (v *Version) Scan(src interface{}) (err error) {
10 | var str string
11 | switch src := src.(type) {
12 | case string:
13 | str = src
14 | case []byte:
15 | str = string(src)
16 | default:
17 | return fmt.Errorf("version.Scan: cannot convert %T to string", src)
18 | }
19 |
20 | if t, err := Parse(str); err == nil {
21 | *v = t
22 | }
23 |
24 | return
25 | }
26 |
27 | // Value implements the database/sql/driver.Valuer interface.
28 | func (v Version) Value() (driver.Value, error) {
29 | return v.String(), nil
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # How to contribute
2 |
3 | We definitely welcome patches and contribution to this project!
4 |
5 | ### Tips
6 |
7 | Commits must be formatted according to the [Conventional Commits Specification](https://www.conventionalcommits.org).
8 |
9 | Always try to include a test case! If it is not possible or not necessary,
10 | please explain why in the pull request description.
11 |
12 | ### Releasing
13 |
14 | Commits that would precipitate a SemVer change, as described in the Conventional
15 | Commits Specification, will trigger [`release-please`](https://github.com/google-github-actions/release-please-action)
16 | to create a release candidate pull request. Once submitted, `release-please`
17 | will create a release.
18 |
19 | For tips on how to work with `release-please`, see its documentation.
20 |
21 | ### Legal requirements
22 |
23 | In order to protect both you and ourselves, you will need to sign the
24 | [Contributor License Agreement](https://cla.developers.google.com/clas).
25 |
26 | You may have already signed it for other Google projects.
27 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | Paul Borman
2 | bmatsuo
3 | shawnps
4 | theory
5 | jboverfelt
6 | dsymonds
7 | cd1
8 | wallclockbuilder
9 | dansouza
10 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/README.md:
--------------------------------------------------------------------------------
1 | # uuid
2 | The uuid package generates and inspects UUIDs based on
3 | [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122)
4 | and DCE 1.1: Authentication and Security Services.
5 |
6 | This package is based on the github.com/pborman/uuid package (previously named
7 | code.google.com/p/go-uuid). It differs from these earlier packages in that
8 | a UUID is a 16 byte array rather than a byte slice. One loss due to this
9 | change is the ability to represent an invalid UUID (vs a NIL UUID).
10 |
11 | ###### Install
12 | ```sh
13 | go get github.com/google/uuid
14 | ```
15 |
16 | ###### Documentation
17 | [](https://pkg.go.dev/github.com/google/uuid)
18 |
19 | Full `go doc` style documentation for the package can be viewed online without
20 | installing this package by using the GoDoc site here:
21 | http://pkg.go.dev/github.com/google/uuid
22 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/doc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Package uuid generates and inspects UUIDs.
6 | //
7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security
8 | // Services.
9 | //
10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to
11 | // maps or compared directly.
12 | package uuid
13 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/marshal.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package uuid
6 |
7 | import "fmt"
8 |
9 | // MarshalText implements encoding.TextMarshaler.
10 | func (uuid UUID) MarshalText() ([]byte, error) {
11 | var js [36]byte
12 | encodeHex(js[:], uuid)
13 | return js[:], nil
14 | }
15 |
16 | // UnmarshalText implements encoding.TextUnmarshaler.
17 | func (uuid *UUID) UnmarshalText(data []byte) error {
18 | id, err := ParseBytes(data)
19 | if err != nil {
20 | return err
21 | }
22 | *uuid = id
23 | return nil
24 | }
25 |
26 | // MarshalBinary implements encoding.BinaryMarshaler.
27 | func (uuid UUID) MarshalBinary() ([]byte, error) {
28 | return uuid[:], nil
29 | }
30 |
31 | // UnmarshalBinary implements encoding.BinaryUnmarshaler.
32 | func (uuid *UUID) UnmarshalBinary(data []byte) error {
33 | if len(data) != 16 {
34 | return fmt.Errorf("invalid UUID (got %d bytes)", len(data))
35 | }
36 | copy(uuid[:], data)
37 | return nil
38 | }
39 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/node_js.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build js
6 |
7 | package uuid
8 |
9 | // getHardwareInterface returns nil values for the JS version of the code.
10 | // This removes the "net" dependency, because it is not used in the browser.
11 | // Using the "net" library inflates the size of the transpiled JS code by 673k bytes.
12 | func getHardwareInterface(name string) (string, []byte) { return "", nil }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/google/uuid/node_net.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 Google Inc. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !js
6 |
7 | package uuid
8 |
9 | import "net"
10 |
11 | var interfaces []net.Interface // cached list of interfaces
12 |
13 | // getHardwareInterface returns the name and hardware address of interface name.
14 | // If name is "" then the name and hardware address of one of the system's
15 | // interfaces is returned. If no interfaces are found (name does not exist or
16 | // there are no interfaces) then "", nil is returned.
17 | //
18 | // Only addresses of at least 6 bytes are returned.
19 | func getHardwareInterface(name string) (string, []byte) {
20 | if interfaces == nil {
21 | var err error
22 | interfaces, err = net.Interfaces()
23 | if err != nil {
24 | return "", nil
25 | }
26 | }
27 | for _, ifs := range interfaces {
28 | if len(ifs.HardwareAddr) >= 6 && (name == "" || name == ifs.Name) {
29 | return ifs.Name, ifs.HardwareAddr
30 | }
31 | }
32 | return "", nil
33 | }
34 |
--------------------------------------------------------------------------------
/vendor/github.com/hashicorp/go-version/version_collection.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) HashiCorp, Inc.
2 | // SPDX-License-Identifier: MPL-2.0
3 |
4 | package version
5 |
6 | // Collection is a type that implements the sort.Interface interface
7 | // so that versions can be sorted.
8 | type Collection []*Version
9 |
10 | func (v Collection) Len() int {
11 | return len(v)
12 | }
13 |
14 | func (v Collection) Less(i, j int) bool {
15 | return v[i].LessThan(v[j])
16 | }
17 |
18 | func (v Collection) Swap(i, j int) {
19 | v[i], v[j] = v[j], v[i]
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/.codecov.yml:
--------------------------------------------------------------------------------
1 | coverage:
2 | status:
3 | project: off
4 | patch: off
5 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/.gitignore:
--------------------------------------------------------------------------------
1 | *.db
2 | *.exe
3 | *.dll
4 | *.o
5 |
6 | # VSCode
7 | .vscode
8 |
9 | # Exclude from upgrade
10 | upgrade/*.c
11 | upgrade/*.h
12 |
13 | # Exclude upgrade binary
14 | upgrade/upgrade
15 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build libsqlite3
7 | // +build libsqlite3
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -DUSE_LIBSQLITE3
13 | #cgo linux LDFLAGS: -lsqlite3
14 | #cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3
15 | #cgo darwin,amd64 CFLAGS: -I/usr/local/opt/sqlite/include
16 | #cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/sqlite/lib -lsqlite3
17 | #cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/sqlite/include
18 | #cgo openbsd LDFLAGS: -lsqlite3
19 | #cgo solaris LDFLAGS: -lsqlite3
20 | #cgo windows LDFLAGS: -lsqlite3
21 | #cgo zos LDFLAGS: -lsqlite3
22 | */
23 | import "C"
24 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build sqlite_omit_load_extension
7 | // +build sqlite_omit_load_extension
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -DSQLITE_OMIT_LOAD_EXTENSION
13 | */
14 | import "C"
15 | import (
16 | "errors"
17 | )
18 |
19 | func (c *SQLiteConn) loadExtensions(extensions []string) error {
20 | return errors.New("Extensions have been disabled for static builds")
21 | }
22 |
23 | func (c *SQLiteConn) LoadExtension(lib string, entry string) error {
24 | return errors.New("Extensions have been disabled for static builds")
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_allow_uri_authority
8 | // +build sqlite_allow_uri_authority
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_ALLOW_URI_AUTHORITY
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build !windows && sqlite_app_armor
8 | // +build !windows,sqlite_app_armor
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_ENABLE_API_ARMOR
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go:
--------------------------------------------------------------------------------
1 | //go:build sqlite_column_metadata
2 | // +build sqlite_column_metadata
3 |
4 | package sqlite3
5 |
6 | /*
7 | #ifndef USE_LIBSQLITE3
8 | #cgo CFLAGS: -DSQLITE_ENABLE_COLUMN_METADATA
9 | #include
10 | #else
11 | #include
12 | #endif
13 | */
14 | import "C"
15 |
16 | // ColumnTableName returns the table that is the origin of a particular result
17 | // column in a SELECT statement.
18 | //
19 | // See https://www.sqlite.org/c3ref/column_database_name.html
20 | func (s *SQLiteStmt) ColumnTableName(n int) string {
21 | return C.GoString(C.sqlite3_column_table_name(s.s, C.int(n)))
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_foreign_keys
8 | // +build sqlite_foreign_keys
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build sqlite_fts5 || fts5
7 | // +build sqlite_fts5 fts5
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -DSQLITE_ENABLE_FTS5
13 | #cgo LDFLAGS: -lm
14 | */
15 | import "C"
16 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build sqlite_icu || icu
7 | // +build sqlite_icu icu
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo LDFLAGS: -licuuc -licui18n
13 | #cgo CFLAGS: -DSQLITE_ENABLE_ICU
14 | #cgo darwin,amd64 CFLAGS: -I/usr/local/opt/icu4c/include
15 | #cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/icu4c/lib
16 | #cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/icu4c/include
17 | #cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/icu4c/lib
18 | #cgo openbsd LDFLAGS: -lsqlite3
19 | */
20 | import "C"
21 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 |
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_introspect
8 | // +build sqlite_introspect
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_INTROSPECTION_PRAGMAS
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_math_functions.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2022 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build sqlite_math_functions
7 | // +build sqlite_math_functions
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -DSQLITE_ENABLE_MATH_FUNCTIONS
13 | #cgo LDFLAGS: -lm
14 | */
15 | import "C"
16 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_os_trace.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2022 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build sqlite_os_trace
7 | // +build sqlite_os_trace
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -DSQLITE_FORCE_OS_TRACE=1
13 | #cgo CFLAGS: -DSQLITE_DEBUG_OS_TRACE=1
14 | */
15 | import "C"
16 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 G.J.R. Timmer .
2 | // Copyright (C) 2018 segment.com
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build cgo
8 | // +build cgo
9 |
10 | package sqlite3
11 |
12 | // SQLitePreUpdateData represents all of the data available during a
13 | // pre-update hook call.
14 | type SQLitePreUpdateData struct {
15 | Conn *SQLiteConn
16 | Op int
17 | DatabaseName string
18 | TableName string
19 | OldRowID int64
20 | NewRowID int64
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 G.J.R. Timmer .
2 | // Copyright (C) 2018 segment.com
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build !sqlite_preupdate_hook && cgo
8 | // +build !sqlite_preupdate_hook,cgo
9 |
10 | package sqlite3
11 |
12 | // RegisterPreUpdateHook sets the pre-update hook for a connection.
13 | //
14 | // The callback is passed a SQLitePreUpdateData struct with the data for
15 | // the update, as well as methods for fetching copies of impacted data.
16 | //
17 | // If there is an existing preupdate hook for this connection, it will be
18 | // removed. If callback is nil the existing hook (if any) will be removed
19 | // without creating a new one.
20 | func (c *SQLiteConn) RegisterPreUpdateHook(callback func(SQLitePreUpdateData)) {
21 | // NOOP
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_secure_delete
8 | // +build sqlite_secure_delete
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_SECURE_DELETE=1
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_secure_delete_fast
8 | // +build sqlite_secure_delete_fast
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_SECURE_DELETE=FAST
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize_omit.go:
--------------------------------------------------------------------------------
1 | //go:build libsqlite3 && !sqlite_serialize
2 | // +build libsqlite3,!sqlite_serialize
3 |
4 | package sqlite3
5 |
6 | import (
7 | "errors"
8 | )
9 |
10 | /*
11 | #cgo CFLAGS: -DSQLITE_OMIT_DESERIALIZE
12 | */
13 | import "C"
14 |
15 | func (c *SQLiteConn) Serialize(schema string) ([]byte, error) {
16 | return nil, errors.New("sqlite3: Serialize requires the sqlite_serialize build tag when using the libsqlite3 build tag")
17 | }
18 |
19 | func (c *SQLiteConn) Deserialize(b []byte, schema string) error {
20 | return errors.New("sqlite3: Deserialize requires the sqlite_serialize build tag when using the libsqlite3 build tag")
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_stat4
8 | // +build sqlite_stat4
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_ENABLE_STAT4
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_vacuum_full
8 | // +build sqlite_vacuum_full
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_DEFAULT_AUTOVACUUM=1
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | // Copyright (C) 2018 G.J.R. Timmer .
3 | //
4 | // Use of this source code is governed by an MIT-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build sqlite_vacuum_incr
8 | // +build sqlite_vacuum_incr
9 |
10 | package sqlite3
11 |
12 | /*
13 | #cgo CFLAGS: -DSQLITE_DEFAULT_AUTOVACUUM=2
14 | #cgo LDFLAGS: -lm
15 | */
16 | import "C"
17 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build !windows
7 | // +build !windows
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -I.
13 | #cgo linux LDFLAGS: -ldl
14 | #cgo linux,ppc LDFLAGS: -lpthread
15 | #cgo linux,ppc64 LDFLAGS: -lpthread
16 | #cgo linux,ppc64le LDFLAGS: -lpthread
17 | */
18 | import "C"
19 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build solaris
7 | // +build solaris
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -D__EXTENSIONS__=1
13 | #cgo LDFLAGS: -lc
14 | */
15 | import "C"
16 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019 Yasuhiro Matsumoto .
2 | //
3 | // Use of this source code is governed by an MIT-style
4 | // license that can be found in the LICENSE file.
5 |
6 | //go:build windows
7 | // +build windows
8 |
9 | package sqlite3
10 |
11 | /*
12 | #cgo CFLAGS: -I.
13 | #cgo CFLAGS: -fno-stack-check
14 | #cgo CFLAGS: -fno-stack-protector
15 | #cgo CFLAGS: -mno-stack-arg-probe
16 | #cgo windows,386 CFLAGS: -D_USE_32BIT_TIME_T
17 | */
18 | import "C"
19 |
--------------------------------------------------------------------------------
/vendor/github.com/mileusna/useragent/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vscode/
3 | .DS_Store
4 | old.go
5 | old_test.go
6 | file.txt
7 | user_agents.txt
8 | ua2.go
9 | settings.json
10 | benchmarks.txt
--------------------------------------------------------------------------------
/vendor/github.com/tebeka/selenium/.gitignore:
--------------------------------------------------------------------------------
1 | README.html
2 | _testmain.go
3 | sauce.json
4 | t.go
5 | selenium-server-standalone-*.jar
6 | chromedriver*
7 | vendor/*
8 | !vendor/*.go
9 | coverage.txt
10 | coverage.out
11 |
--------------------------------------------------------------------------------
/vendor/github.com/tebeka/selenium/AUTHORS:
--------------------------------------------------------------------------------
1 | # This is the list of Selenium Go Client authors for copyright purposes.
2 | #
3 | # This does not necessarily list everyone who has contributed code, since in
4 | # some cases, their employer may be the copyright holder. To see the full list
5 | # of contributors, see the revision history in source control.
6 | Daniel Skora
7 | Google Inc.
8 | Hakon Eide
9 | Hiroaki Nakamura
10 | Ian Wetherbee
11 | Miki Tebeka
12 | Nikolai
13 | RaviTeju
14 | Rodrigo Lessa
15 |
--------------------------------------------------------------------------------
/vendor/github.com/tebeka/selenium/common.go:
--------------------------------------------------------------------------------
1 | package selenium
2 |
3 | import (
4 | "log"
5 | "net/url"
6 | )
7 |
8 | var debugFlag = false
9 |
10 | // SetDebug sets debug mode
11 | func SetDebug(debug bool) {
12 | debugFlag = debug
13 | }
14 |
15 | func debugLog(format string, args ...interface{}) {
16 | if !debugFlag {
17 | return
18 | }
19 | log.Printf(format+"\n", args...)
20 | }
21 |
22 | // filteredURL replaces existing password from the given URL.
23 | func filteredURL(u string) string {
24 | // Hide password if set in URL
25 | m, err := url.Parse(u)
26 | if err != nil {
27 | return ""
28 | }
29 | if m.User != nil {
30 | if _, ok := m.User.Password(); ok {
31 | m.User = url.UserPassword(m.User.Username(), "__password__")
32 | }
33 | }
34 | return m.String()
35 | }
36 |
--------------------------------------------------------------------------------
/vendor/github.com/tebeka/selenium/doc.go:
--------------------------------------------------------------------------------
1 | /*
2 | Package selenium provides a client to drive web browser-based automation and
3 | testing.
4 |
5 | See the example below for how to get started with this API.
6 |
7 | This package can depend on several binaries being available, depending on which
8 | browsers will be used and how. To avoid needing to manage these dependencies,
9 | use a cloud-based browser testing environment, like Sauce Labs, BrowserStack
10 | or similar. Otherwise, use the methods provided by this API to specify the
11 | paths to the dependencies, which will have to be downloaded separately.
12 | */
13 | package selenium
14 |
--------------------------------------------------------------------------------
/vendor/modules.txt:
--------------------------------------------------------------------------------
1 | # github.com/blang/semver v3.5.1+incompatible
2 | ## explicit
3 | github.com/blang/semver
4 | # github.com/blang/semver/v4 v4.0.0
5 | ## explicit; go 1.14
6 | github.com/blang/semver/v4
7 | # github.com/google/uuid v1.6.0
8 | ## explicit
9 | github.com/google/uuid
10 | # github.com/hashicorp/go-version v1.7.0
11 | ## explicit
12 | github.com/hashicorp/go-version
13 | # github.com/mattn/go-sqlite3 v1.14.28
14 | ## explicit; go 1.19
15 | github.com/mattn/go-sqlite3
16 | # github.com/mileusna/useragent v1.3.5
17 | ## explicit; go 1.14
18 | github.com/mileusna/useragent
19 | # github.com/tebeka/selenium v0.9.9 => github.com/romainmenke/selenium v0.9.15
20 | ## explicit; go 1.20
21 | github.com/tebeka/selenium
22 | github.com/tebeka/selenium/chrome
23 | github.com/tebeka/selenium/firefox
24 | github.com/tebeka/selenium/internal/zip
25 | github.com/tebeka/selenium/log
26 | # golang.org/x/sync v0.15.0
27 | ## explicit; go 1.23.0
28 | golang.org/x/sync/semaphore
29 |
--------------------------------------------------------------------------------
/web-tests.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mrhenry/web-tests/e00c2b1c1a33aa872227102992681a1fcdfed603/web-tests.db
--------------------------------------------------------------------------------