websocket-error.any.js.ini (3412B)
1 [websocket-error.any.serviceworker.html] 2 [WebSocketError defaults should be correct] 3 expected: FAIL 4 5 [WebSocketError should be initialised from arguments] 6 expected: FAIL 7 8 [new WebSocketError with invalid code 999 should throw] 9 expected: FAIL 10 11 [new WebSocketError with invalid code 1001 should throw] 12 expected: FAIL 13 14 [new WebSocketError with invalid code 2999 should throw] 15 expected: FAIL 16 17 [new WebSocketError with invalid code 5000 should throw] 18 expected: FAIL 19 20 [passing only close code to WebSocketError should work] 21 expected: FAIL 22 23 [passing a non-empty reason should cause the close code to be set to 1000] 24 expected: FAIL 25 26 [overlong reason should throw] 27 expected: FAIL 28 29 [reason should be rejected based on utf-8 bytes, not character count] 30 expected: FAIL 31 32 33 [websocket-error.any.sharedworker.html] 34 [WebSocketError defaults should be correct] 35 expected: FAIL 36 37 [WebSocketError should be initialised from arguments] 38 expected: FAIL 39 40 [new WebSocketError with invalid code 999 should throw] 41 expected: FAIL 42 43 [new WebSocketError with invalid code 1001 should throw] 44 expected: FAIL 45 46 [new WebSocketError with invalid code 2999 should throw] 47 expected: FAIL 48 49 [new WebSocketError with invalid code 5000 should throw] 50 expected: FAIL 51 52 [passing only close code to WebSocketError should work] 53 expected: FAIL 54 55 [passing a non-empty reason should cause the close code to be set to 1000] 56 expected: FAIL 57 58 [overlong reason should throw] 59 expected: FAIL 60 61 [reason should be rejected based on utf-8 bytes, not character count] 62 expected: FAIL 63 64 65 [websocket-error.any.html] 66 expected: 67 if (os == "android") and not debug: [OK, CRASH] 68 [WebSocketError defaults should be correct] 69 expected: FAIL 70 71 [WebSocketError should be initialised from arguments] 72 expected: FAIL 73 74 [new WebSocketError with invalid code 999 should throw] 75 expected: FAIL 76 77 [new WebSocketError with invalid code 1001 should throw] 78 expected: FAIL 79 80 [new WebSocketError with invalid code 2999 should throw] 81 expected: FAIL 82 83 [new WebSocketError with invalid code 5000 should throw] 84 expected: FAIL 85 86 [passing only close code to WebSocketError should work] 87 expected: FAIL 88 89 [passing a non-empty reason should cause the close code to be set to 1000] 90 expected: FAIL 91 92 [overlong reason should throw] 93 expected: FAIL 94 95 [reason should be rejected based on utf-8 bytes, not character count] 96 expected: FAIL 97 98 99 [websocket-error.any.worker.html] 100 expected: 101 if (os == "mac") and not debug: [OK, CRASH] 102 if os == "android": [OK, CRASH] 103 [WebSocketError defaults should be correct] 104 expected: FAIL 105 106 [WebSocketError should be initialised from arguments] 107 expected: FAIL 108 109 [new WebSocketError with invalid code 999 should throw] 110 expected: FAIL 111 112 [new WebSocketError with invalid code 1001 should throw] 113 expected: FAIL 114 115 [new WebSocketError with invalid code 2999 should throw] 116 expected: FAIL 117 118 [new WebSocketError with invalid code 5000 should throw] 119 expected: FAIL 120 121 [passing only close code to WebSocketError should work] 122 expected: FAIL 123 124 [passing a non-empty reason should cause the close code to be set to 1000] 125 expected: FAIL 126 127 [overlong reason should throw] 128 expected: FAIL 129 130 [reason should be rejected based on utf-8 bytes, not character count] 131 expected: FAIL