You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: remove support for running dart code in the browser (#3592)
As Dartium browser is no more, there are no browsers left, which support running Dart applications natively and therefore we can remove such support from Karma to reduce the maintenance effort.
BREAKING CHANGE: Using Karma to run Dart code in the browser is no longer supported. Use your favorite Dart-to-JS compiler instead.
`dart` file type has been removed without a replacement.
`customFileHandlers` DI token has been removed. Use [`middleware`](http://karma-runner.github.io/5.2/config/configuration-file.html#middleware) to achieve similar functionality.
`customScriptTypes` DI token has been removed. It had no effect, so no replacement is provided.
Copy file name to clipboardexpand all lines: docs/config/02-files.md
-1
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,6 @@ Each pattern is either a simple string or an object with the following propertie
31
31
*`css` - Include using `<link rel="stylesheet">` tag.
32
32
*`html` - Include using [HTML Imports](https://developer.mozilla.org/en-US/docs/Web/Web_Components/HTML_Imports). Note that this feature is obsolete and does not work in the modern browsers.
33
33
*`js` - Include using `<script></script>` tag.
34
-
*`dart` - Include using `<script type="application/dart"></script>` tag. Note that this does not work in the modern browsers.
35
34
*`module` - Include using `<script type="module"></script>` tag.
36
35
*`dom` - Inline content of the file in the page. This can be used, for example, to test components combining HTML and JS.
37
36
***Description.** The type determines the mechanism for including the file.
Copy file name to clipboardexpand all lines: docs/dev/05-plugins.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ A preprocessor is a function that accepts three arguments (`content`, `file`, an
34
34
- user NPM keywords `karma-plugin`, `karma-preprocessor`
35
35
36
36
## Crazier stuff
37
-
Karma is assembled by Dependency Injection and a plugin is just an additional DI module (see [node-di] for more), that can be loaded by Karma. Therefore, it can ask for pretty much any Karma component and interact with it. There are a couple of plugins that do more interesting stuff like this, check out [karma-closure], [karma-intellij], [karma-dart].
37
+
Karma is assembled by Dependency Injection and a plugin is just an additional DI module (see [node-di] for more), that can be loaded by Karma. Therefore, it can ask for pretty much any Karma component and interact with it. There are a couple of plugins that do more interesting stuff like this, check out [karma-closure], [karma-intellij].
0 commit comments