CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 11:14:40 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/karma-runner/karma.git
etag: W/"2250a5509b09515085eb4b41a59862e6"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=AO5iz7pRWqn2C07ZFllt5MisJQUE74nm%2FGroh8W7BFIjcyV5UPmYTEqgZP9P0wua96wG3h9dnADmFYY2YVqfU1FB7c3lKfHtyAJ7xnSe6tHhG2fnc7FrRaa1UWL9%2B2GlyLCn8RZ%2FLvzF7n9oezKfslqKzLoZeQHQHqRbk06JhphwOOe0%2BNCyFZEcAhUtvWRSeNW%2FyxF%2B6CcjYa81f6fnktThCFbTkeywiGfYBAEv8cwoFxPJmCb8X4eh80BlLOG2zwN0TvD8IJyQKPngFqMiXA%3D%3D--2SN%2Fi2doPRl61a1e--3nUDvCfw%2BrnXdH9Le4bjZA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2060548586.1760094879; Path=/; Domain=github.com; Expires=Sat, 10 Oct 2026 11:14:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 10 Oct 2026 11:14:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B4BE:C1489:18CDB0F:1D8F1B9:68E8EA9F
feat: allow browser to reconnect during the test run · karma-runner/karma@cbe2851 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit cbe2851
committed
feat: allow browser to reconnect during the test run
When a browser disconnects during a test run, Karma waits for reconnecting (configurable by `browserDisconnectTimeout`). If the browser reconnects in this timeout frame, nothing happpens - Karma replies the events (results) and the test run continues. If the browser does not reconnect in the timeout frame, Karma fails the build.
This should solve the connection issues with IE on polling.
- add browserDisconnectTimeout config property (defaults to 2000)
Internal changes:
- `Browser.isReady` is a function now, as browser has multiple states
- `BrowserCollection.setAllIsReadyTo` -> `setAllToExecuting`
- remove `Browser.launchId`, we use `Browser.id` instead
Closes #82
Closes #5901 parent 09866f9 commit cbe2851Copy full SHA for cbe2851
File tree
Expand file treeCollapse file tree
8 files changed
+424
-127
lines changedFilter options
- lib
- static
- test/unit
Expand file treeCollapse file tree
8 files changed
+424
-127
lines changedCollapse file: lib/browser.js
+101-45Lines changed: 101 additions & 45 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
21 | 40 |
| |
22 | 41 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
26 | 45 |
| |
27 | 46 |
| |
| 47 | + | |
| 48 | + | |
28 | 49 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 50 | + | |
32 | 51 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
| 52 | + | |
39 | 53 |
| |
40 |
| - | |
| 54 | + | |
41 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
42 | 66 |
| |
43 | 67 |
| |
44 | 68 |
| |
45 |
| - | |
| 69 | + | |
46 | 70 |
| |
47 | 71 |
| |
48 | 72 |
| |
| |||
51 | 75 |
| |
52 | 76 |
| |
53 | 77 |
| |
54 |
| - | |
| 78 | + | |
55 | 79 |
| |
56 | 80 |
| |
57 | 81 |
| |
| |||
70 | 94 |
| |
71 | 95 |
| |
72 | 96 |
| |
73 |
| - | |
| 97 | + | |
74 | 98 |
| |
75 | 99 |
| |
76 | 100 |
| |
77 |
| - | |
| 101 | + | |
78 | 102 |
| |
79 | 103 |
| |
80 | 104 |
| |
| |||
85 | 109 |
| |
86 | 110 |
| |
87 | 111 |
| |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
88 | 120 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
94 | 133 |
| |
| 134 | + | |
95 | 135 |
| |
96 |
| - | |
97 |
| - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
98 | 151 |
| |
99 | 152 |
| |
100 | 153 |
| |
101 | 154 |
| |
102 |
| - | |
| 155 | + | |
103 | 156 |
| |
104 | 157 |
| |
105 | 158 |
| |
| |||
119 | 172 |
| |
120 | 173 |
| |
121 | 174 |
| |
122 |
| - | |
| 175 | + | |
123 | 176 |
| |
124 | 177 |
| |
125 | 178 |
| |
126 | 179 |
| |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
127 | 186 |
| |
128 | 187 |
| |
129 | 188 |
| |
| |||
146 | 205 |
| |
147 | 206 |
| |
148 | 207 |
| |
149 |
| - | |
150 |
| - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
151 | 219 |
| |
152 |
| - | |
153 |
| - | |
| 220 | + | |
154 | 221 |
| |
155 | 222 |
| |
156 |
| - | |
157 |
| - | |
158 |
| - | |
| 223 | + | |
159 | 224 |
| |
160 | 225 |
| |
161 | 226 |
| |
162 | 227 |
| |
163 | 228 |
| |
164 | 229 |
| |
165 |
| - | |
| 230 | + | |
166 | 231 |
| |
167 | 232 |
| |
168 | 233 |
| |
| |||
222 | 287 |
| |
223 | 288 |
| |
224 | 289 |
| |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
|
Collapse file: lib/config.js
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
| 274 | + | |
274 | 275 |
| |
275 | 276 |
| |
276 | 277 |
| |
|
Collapse file: lib/events.js
+37Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
18 | 53 |
| |
19 | 54 |
| |
20 | 55 |
| |
| |||
38 | 73 |
| |
39 | 74 |
| |
40 | 75 |
| |
| 76 | + | |
41 | 77 |
| |
42 | 78 |
| |
43 | 79 |
| |
| 80 | + |
Collapse file: lib/executor.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 | 21 |
| |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Collapse file: lib/server.js
+31-6Lines changed: 31 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
63 |
| - | |
64 |
| - | |
| 64 | + | |
| 65 | + | |
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
| |||
78 | 79 |
| |
79 | 80 |
| |
80 | 81 |
| |
81 |
| - | |
82 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
83 | 107 |
| |
84 | 108 |
| |
85 | 109 |
| |
| |||
167 | 191 |
| |
168 | 192 |
| |
169 | 193 |
| |
170 |
| - | |
| 194 | + | |
| 195 | + | |
171 | 196 |
| |
172 | 197 |
| |
173 | 198 |
| |
|
Collapse file: static/karma.src.js
-3Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 | 253 |
| |
257 | 254 |
| |
258 | 255 |
| |
|
You can’t perform that action at this time.
0 commit comments