Overview
Comment: | ChromeOS: Clean up console logs in non-debug builds |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d06273088d1301518c9d3ca37b430395 |
User & Date: | rkeene on 2016-02-26 19:55:40 |
Other Links: | manifest | tags |
Context
2016-02-26
| ||
20:00 | ChromeOS: Fixed bug in debug message logic being inverted and possible undefined dereference check-in: 620c0e591e user: rkeene tags: trunk | |
19:55 | ChromeOS: Clean up console logs in non-debug builds check-in: d06273088d user: rkeene tags: trunk | |
19:50 | ChromeOS: Accept the "Enter" key to click OK at the PIN prompt check-in: b8c2cad6d9 user: rkeene tags: trunk | |
Changes
Modified build/chrome/cackey.js from [3ee1c2da74] to [c88468545b].
︙ | |||
110 111 112 113 114 115 116 | 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | + - - - + + + + - + | var nextFunction = null; var chromeCallback = null; if (messageEvent.data.target != "cackey") { return; } if (!GoogleSmartCard.IS_DEBUG_BUILD) { |
︙ | |||
184 185 186 187 188 189 190 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | - + | }, function(pinWindow) { /* * Set the PIN value to blank */ pinWindowPINValue = ""; if (!pinWindow) { |
︙ | |||
209 210 211 212 213 214 215 | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | + - + + | for (messageIdx = 0; messageIdx < cackeyMessagesToRetry.length; messageIdx++) { var tmpMessageEvent; tmpMessageEvent = cackeyMessagesToRetry[messageIdx]; if (pinWindowPINValue == "") { if (!GoogleSmartCard.IS_DEBUG_BUILD) { |
︙ | |||
284 285 286 287 288 289 290 | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 | + - + + + - + + | /* * Handler for messages from Chrome related to listing certificates */ function cackeyListCertificates(chromeCallback) { var callbackId; if (!GoogleSmartCard.IS_DEBUG_BUILD) { |
︙ | |||
340 341 342 343 344 345 346 | 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 | + - + + | digest = new Uint8Array(digestHeader.length + signRequest.digest.byteLength); digest.set(digestHeader, 0); digest.set(new Uint8Array(signRequest.digest), digestHeader.length); delete digestHeader; if (!GoogleSmartCard.IS_DEBUG_BUILD) { |
︙ | |||
363 364 365 366 367 368 369 | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 | + - + + | } cackeyHandle.postMessage(command); cackeyOutstandingCallbackCounter = callbackId; cackeyOutstandingCallbacks[callbackId] = chromeCallback; if (!GoogleSmartCard.IS_DEBUG_BUILD) { |
︙ | |||
395 396 397 398 399 400 401 | 407 408 409 410 411 412 413 414 415 416 417 418 419 420 | - | } ); /* * Start the Google PCSC Interface */ new GoogleSmartCard.PcscNacl(cackeyHandle); |
︙ |