close.any.js.ini (36765B)
1 [close.any.worker.html] 2 [unspecified close code with non-empty reason should set code to 1000] 3 expected: FAIL 4 5 [canceling the readable with an invalid code should be ignored] 6 expected: FAIL 7 8 [close() with an overlong reason should throw] 9 expected: FAIL 10 11 [close() with invalid code 5000 should throw] 12 expected: FAIL 13 14 [aborting the writable with a DOMException should be ignored] 15 expected: FAIL 16 17 [close() with invalid code 999 should throw] 18 expected: FAIL 19 20 [canceling the readable with a DOMException should be ignored] 21 expected: FAIL 22 23 [close(true) should throw a TypeError] 24 expected: FAIL 25 26 [canceling the readable with a reason but no code should be ignored] 27 expected: FAIL 28 29 [closing the writable should result in a clean close] 30 expected: FAIL 31 32 [close during handshake should work] 33 expected: FAIL 34 35 [canceling the readable should result in a clean close] 36 expected: FAIL 37 38 [aborting the writable with an invalid code should be ignored] 39 expected: FAIL 40 41 [aborting the writable with a code and reason should use them] 42 expected: FAIL 43 44 [canceling the readable with a code and reason should use them] 45 expected: FAIL 46 47 [canceling the readable with a code should send that code] 48 expected: FAIL 49 50 [close() with invalid code 2999 should throw] 51 expected: FAIL 52 53 [aborting the writable with a reason but no code should be ignored] 54 expected: FAIL 55 56 [aborting the writable with an invalid reason should be ignored] 57 expected: FAIL 58 59 [writer close() promise should not resolve until handshake completes] 60 expected: FAIL 61 62 [aborting the writable with a code should send that code] 63 expected: FAIL 64 65 [canceling the readable with an invalid reason should be ignored] 66 expected: FAIL 67 68 [close() with invalid code 1001 should throw] 69 expected: FAIL 70 71 [close code should be sent to server and reflected back] 72 expected: FAIL 73 74 [no close argument should send empty Close frame] 75 expected: FAIL 76 77 [unspecified close code with empty reason should send empty Close frame] 78 expected: FAIL 79 80 [aborting the writable should result in a clean close] 81 expected: FAIL 82 83 [unspecified close code should send empty Close frame] 84 expected: FAIL 85 86 87 [close.any.sharedworker.html] 88 [unspecified close code with non-empty reason should set code to 1000] 89 expected: FAIL 90 91 [canceling the readable with an invalid code should be ignored] 92 expected: FAIL 93 94 [close() with an overlong reason should throw] 95 expected: FAIL 96 97 [close() with invalid code 5000 should throw] 98 expected: FAIL 99 100 [aborting the writable with a DOMException should be ignored] 101 expected: FAIL 102 103 [close() with invalid code 999 should throw] 104 expected: FAIL 105 106 [canceling the readable with a DOMException should be ignored] 107 expected: FAIL 108 109 [close(true) should throw a TypeError] 110 expected: FAIL 111 112 [canceling the readable with a reason but no code should be ignored] 113 expected: FAIL 114 115 [closing the writable should result in a clean close] 116 expected: FAIL 117 118 [close during handshake should work] 119 expected: FAIL 120 121 [canceling the readable should result in a clean close] 122 expected: FAIL 123 124 [aborting the writable with an invalid code should be ignored] 125 expected: FAIL 126 127 [aborting the writable with a code and reason should use them] 128 expected: FAIL 129 130 [canceling the readable with a code and reason should use them] 131 expected: FAIL 132 133 [canceling the readable with a code should send that code] 134 expected: FAIL 135 136 [close() with invalid code 2999 should throw] 137 expected: FAIL 138 139 [aborting the writable with a reason but no code should be ignored] 140 expected: FAIL 141 142 [aborting the writable with an invalid reason should be ignored] 143 expected: FAIL 144 145 [writer close() promise should not resolve until handshake completes] 146 expected: FAIL 147 148 [aborting the writable with a code should send that code] 149 expected: FAIL 150 151 [canceling the readable with an invalid reason should be ignored] 152 expected: FAIL 153 154 [close() with invalid code 1001 should throw] 155 expected: FAIL 156 157 [close code should be sent to server and reflected back] 158 expected: FAIL 159 160 [no close argument should send empty Close frame] 161 expected: FAIL 162 163 [unspecified close code with empty reason should send empty Close frame] 164 expected: FAIL 165 166 [aborting the writable should result in a clean close] 167 expected: FAIL 168 169 [unspecified close code should send empty Close frame] 170 expected: FAIL 171 172 173 [close.any.html] 174 [unspecified close code with non-empty reason should set code to 1000] 175 expected: FAIL 176 177 [canceling the readable with an invalid code should be ignored] 178 expected: FAIL 179 180 [close() with an overlong reason should throw] 181 expected: FAIL 182 183 [close() with invalid code 5000 should throw] 184 expected: FAIL 185 186 [aborting the writable with a DOMException should be ignored] 187 expected: FAIL 188 189 [close() with invalid code 999 should throw] 190 expected: FAIL 191 192 [canceling the readable with a DOMException should be ignored] 193 expected: FAIL 194 195 [close(true) should throw a TypeError] 196 expected: FAIL 197 198 [canceling the readable with a reason but no code should be ignored] 199 expected: FAIL 200 201 [closing the writable should result in a clean close] 202 expected: FAIL 203 204 [close during handshake should work] 205 expected: FAIL 206 207 [canceling the readable should result in a clean close] 208 expected: FAIL 209 210 [aborting the writable with an invalid code should be ignored] 211 expected: FAIL 212 213 [aborting the writable with a code and reason should use them] 214 expected: FAIL 215 216 [canceling the readable with a code and reason should use them] 217 expected: FAIL 218 219 [canceling the readable with a code should send that code] 220 expected: FAIL 221 222 [close() with invalid code 2999 should throw] 223 expected: FAIL 224 225 [aborting the writable with a reason but no code should be ignored] 226 expected: FAIL 227 228 [aborting the writable with an invalid reason should be ignored] 229 expected: FAIL 230 231 [writer close() promise should not resolve until handshake completes] 232 expected: FAIL 233 234 [aborting the writable with a code should send that code] 235 expected: FAIL 236 237 [canceling the readable with an invalid reason should be ignored] 238 expected: FAIL 239 240 [close() with invalid code 1001 should throw] 241 expected: FAIL 242 243 [close code should be sent to server and reflected back] 244 expected: FAIL 245 246 [no close argument should send empty Close frame] 247 expected: FAIL 248 249 [unspecified close code with empty reason should send empty Close frame] 250 expected: FAIL 251 252 [aborting the writable should result in a clean close] 253 expected: FAIL 254 255 [unspecified close code should send empty Close frame] 256 expected: FAIL 257 258 259 [close.any.serviceworker.html] 260 [unspecified close code with non-empty reason should set code to 1000] 261 expected: FAIL 262 263 [canceling the readable with an invalid code should be ignored] 264 expected: FAIL 265 266 [close() with an overlong reason should throw] 267 expected: FAIL 268 269 [close() with invalid code 5000 should throw] 270 expected: FAIL 271 272 [aborting the writable with a DOMException should be ignored] 273 expected: FAIL 274 275 [close() with invalid code 999 should throw] 276 expected: FAIL 277 278 [canceling the readable with a DOMException should be ignored] 279 expected: FAIL 280 281 [close(true) should throw a TypeError] 282 expected: FAIL 283 284 [canceling the readable with a reason but no code should be ignored] 285 expected: FAIL 286 287 [closing the writable should result in a clean close] 288 expected: FAIL 289 290 [close during handshake should work] 291 expected: FAIL 292 293 [canceling the readable should result in a clean close] 294 expected: FAIL 295 296 [aborting the writable with an invalid code should be ignored] 297 expected: FAIL 298 299 [aborting the writable with a code and reason should use them] 300 expected: FAIL 301 302 [canceling the readable with a code and reason should use them] 303 expected: FAIL 304 305 [canceling the readable with a code should send that code] 306 expected: FAIL 307 308 [close() with invalid code 2999 should throw] 309 expected: FAIL 310 311 [aborting the writable with a reason but no code should be ignored] 312 expected: FAIL 313 314 [aborting the writable with an invalid reason should be ignored] 315 expected: FAIL 316 317 [writer close() promise should not resolve until handshake completes] 318 expected: FAIL 319 320 [aborting the writable with a code should send that code] 321 expected: FAIL 322 323 [canceling the readable with an invalid reason should be ignored] 324 expected: FAIL 325 326 [close() with invalid code 1001 should throw] 327 expected: FAIL 328 329 [close code should be sent to server and reflected back] 330 expected: FAIL 331 332 [no close argument should send empty Close frame] 333 expected: FAIL 334 335 [unspecified close code with empty reason should send empty Close frame] 336 expected: FAIL 337 338 [aborting the writable should result in a clean close] 339 expected: FAIL 340 341 [unspecified close code should send empty Close frame] 342 expected: FAIL 343 344 345 [close.any.serviceworker.html?wpt_flags=h2] 346 expected: 347 if (os == "android") and not debug: [OK, CRASH] 348 [close code should be sent to server and reflected back] 349 expected: FAIL 350 351 [no close argument should send empty Close frame] 352 expected: FAIL 353 354 [unspecified close code should send empty Close frame] 355 expected: FAIL 356 357 [unspecified close code with empty reason should send empty Close frame] 358 expected: FAIL 359 360 [unspecified close code with non-empty reason should set code to 1000] 361 expected: FAIL 362 363 [close(true) should throw a TypeError] 364 expected: FAIL 365 366 [close() with an overlong reason should throw] 367 expected: FAIL 368 369 [close during handshake should work] 370 expected: FAIL 371 372 [close() with invalid code 999 should throw] 373 expected: FAIL 374 375 [close() with invalid code 1001 should throw] 376 expected: FAIL 377 378 [close() with invalid code 2999 should throw] 379 expected: FAIL 380 381 [close() with invalid code 5000 should throw] 382 expected: FAIL 383 384 [closing the writable should result in a clean close] 385 expected: FAIL 386 387 [writer close() promise should not resolve until handshake completes] 388 expected: FAIL 389 390 [aborting the writable should result in a clean close] 391 expected: FAIL 392 393 [aborting the writable with a code should send that code] 394 expected: FAIL 395 396 [aborting the writable with a code and reason should use them] 397 expected: FAIL 398 399 [canceling the readable should result in a clean close] 400 expected: FAIL 401 402 [canceling the readable with a code should send that code] 403 expected: FAIL 404 405 [canceling the readable with a code and reason should use them] 406 expected: FAIL 407 408 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 409 expected: FAIL 410 411 [aborting the writable with a reason but no code should default the close code] 412 expected: FAIL 413 414 [aborting the writable with a DOMException not set code or reason] 415 expected: FAIL 416 417 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 418 expected: FAIL 419 420 [canceling the readable with a reason but no code should default the close code] 421 expected: FAIL 422 423 [canceling the readable with a DOMException not set code or reason] 424 expected: FAIL 425 426 [incomplete closing handshake should be considered unclean close] 427 expected: FAIL 428 429 430 [close.any.sharedworker.html?wpt_flags=h2] 431 expected: 432 if (os == "android") and not debug: [OK, ERROR] 433 [close code should be sent to server and reflected back] 434 expected: FAIL 435 436 [no close argument should send empty Close frame] 437 expected: FAIL 438 439 [unspecified close code should send empty Close frame] 440 expected: FAIL 441 442 [unspecified close code with empty reason should send empty Close frame] 443 expected: FAIL 444 445 [unspecified close code with non-empty reason should set code to 1000] 446 expected: FAIL 447 448 [close(true) should throw a TypeError] 449 expected: FAIL 450 451 [close() with an overlong reason should throw] 452 expected: FAIL 453 454 [close during handshake should work] 455 expected: FAIL 456 457 [close() with invalid code 999 should throw] 458 expected: FAIL 459 460 [close() with invalid code 1001 should throw] 461 expected: FAIL 462 463 [close() with invalid code 2999 should throw] 464 expected: FAIL 465 466 [close() with invalid code 5000 should throw] 467 expected: FAIL 468 469 [closing the writable should result in a clean close] 470 expected: FAIL 471 472 [writer close() promise should not resolve until handshake completes] 473 expected: FAIL 474 475 [aborting the writable should result in a clean close] 476 expected: FAIL 477 478 [aborting the writable with a code should send that code] 479 expected: FAIL 480 481 [aborting the writable with a code and reason should use them] 482 expected: FAIL 483 484 [canceling the readable should result in a clean close] 485 expected: FAIL 486 487 [canceling the readable with a code should send that code] 488 expected: FAIL 489 490 [canceling the readable with a code and reason should use them] 491 expected: FAIL 492 493 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 494 expected: FAIL 495 496 [aborting the writable with a reason but no code should default the close code] 497 expected: FAIL 498 499 [aborting the writable with a DOMException not set code or reason] 500 expected: FAIL 501 502 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 503 expected: FAIL 504 505 [canceling the readable with a reason but no code should default the close code] 506 expected: FAIL 507 508 [canceling the readable with a DOMException not set code or reason] 509 expected: FAIL 510 511 [incomplete closing handshake should be considered unclean close] 512 expected: FAIL 513 514 515 [close.any.html?wss] 516 [close code should be sent to server and reflected back] 517 expected: FAIL 518 519 [no close argument should send empty Close frame] 520 expected: FAIL 521 522 [unspecified close code should send empty Close frame] 523 expected: FAIL 524 525 [unspecified close code with empty reason should send empty Close frame] 526 expected: FAIL 527 528 [unspecified close code with non-empty reason should set code to 1000] 529 expected: FAIL 530 531 [close(true) should throw a TypeError] 532 expected: FAIL 533 534 [close() with an overlong reason should throw] 535 expected: FAIL 536 537 [close during handshake should work] 538 expected: FAIL 539 540 [close() with invalid code 999 should throw] 541 expected: FAIL 542 543 [close() with invalid code 1001 should throw] 544 expected: FAIL 545 546 [close() with invalid code 2999 should throw] 547 expected: FAIL 548 549 [close() with invalid code 5000 should throw] 550 expected: FAIL 551 552 [closing the writable should result in a clean close] 553 expected: FAIL 554 555 [writer close() promise should not resolve until handshake completes] 556 expected: FAIL 557 558 [aborting the writable should result in a clean close] 559 expected: FAIL 560 561 [aborting the writable with a code should send that code] 562 expected: FAIL 563 564 [aborting the writable with a code and reason should use them] 565 expected: FAIL 566 567 [canceling the readable should result in a clean close] 568 expected: FAIL 569 570 [canceling the readable with a code should send that code] 571 expected: FAIL 572 573 [canceling the readable with a code and reason should use them] 574 expected: FAIL 575 576 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 577 expected: FAIL 578 579 [aborting the writable with a reason but no code should default the close code] 580 expected: FAIL 581 582 [aborting the writable with a DOMException not set code or reason] 583 expected: FAIL 584 585 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 586 expected: FAIL 587 588 [canceling the readable with a reason but no code should default the close code] 589 expected: FAIL 590 591 [canceling the readable with a DOMException not set code or reason] 592 expected: FAIL 593 594 [incomplete closing handshake should be considered unclean close] 595 expected: FAIL 596 597 598 [close.any.serviceworker.html?wss] 599 [close code should be sent to server and reflected back] 600 expected: FAIL 601 602 [no close argument should send empty Close frame] 603 expected: FAIL 604 605 [unspecified close code should send empty Close frame] 606 expected: FAIL 607 608 [unspecified close code with empty reason should send empty Close frame] 609 expected: FAIL 610 611 [unspecified close code with non-empty reason should set code to 1000] 612 expected: FAIL 613 614 [close(true) should throw a TypeError] 615 expected: FAIL 616 617 [close() with an overlong reason should throw] 618 expected: FAIL 619 620 [close during handshake should work] 621 expected: FAIL 622 623 [close() with invalid code 999 should throw] 624 expected: FAIL 625 626 [close() with invalid code 1001 should throw] 627 expected: FAIL 628 629 [close() with invalid code 2999 should throw] 630 expected: FAIL 631 632 [close() with invalid code 5000 should throw] 633 expected: FAIL 634 635 [closing the writable should result in a clean close] 636 expected: FAIL 637 638 [writer close() promise should not resolve until handshake completes] 639 expected: FAIL 640 641 [aborting the writable should result in a clean close] 642 expected: FAIL 643 644 [aborting the writable with a code should send that code] 645 expected: FAIL 646 647 [aborting the writable with a code and reason should use them] 648 expected: FAIL 649 650 [canceling the readable should result in a clean close] 651 expected: FAIL 652 653 [canceling the readable with a code should send that code] 654 expected: FAIL 655 656 [canceling the readable with a code and reason should use them] 657 expected: FAIL 658 659 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 660 expected: FAIL 661 662 [aborting the writable with a reason but no code should default the close code] 663 expected: FAIL 664 665 [aborting the writable with a DOMException not set code or reason] 666 expected: FAIL 667 668 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 669 expected: FAIL 670 671 [canceling the readable with a reason but no code should default the close code] 672 expected: FAIL 673 674 [canceling the readable with a DOMException not set code or reason] 675 expected: FAIL 676 677 [incomplete closing handshake should be considered unclean close] 678 expected: FAIL 679 680 681 [close.any.worker.html?wpt_flags=h2] 682 expected: 683 if (os == "android") and not debug: [OK, ERROR, CRASH] 684 [close code should be sent to server and reflected back] 685 expected: FAIL 686 687 [no close argument should send empty Close frame] 688 expected: FAIL 689 690 [unspecified close code should send empty Close frame] 691 expected: FAIL 692 693 [unspecified close code with empty reason should send empty Close frame] 694 expected: FAIL 695 696 [unspecified close code with non-empty reason should set code to 1000] 697 expected: FAIL 698 699 [close(true) should throw a TypeError] 700 expected: FAIL 701 702 [close() with an overlong reason should throw] 703 expected: FAIL 704 705 [close during handshake should work] 706 expected: FAIL 707 708 [close() with invalid code 999 should throw] 709 expected: FAIL 710 711 [close() with invalid code 1001 should throw] 712 expected: FAIL 713 714 [close() with invalid code 2999 should throw] 715 expected: FAIL 716 717 [close() with invalid code 5000 should throw] 718 expected: FAIL 719 720 [closing the writable should result in a clean close] 721 expected: FAIL 722 723 [writer close() promise should not resolve until handshake completes] 724 expected: FAIL 725 726 [aborting the writable should result in a clean close] 727 expected: FAIL 728 729 [aborting the writable with a code should send that code] 730 expected: FAIL 731 732 [aborting the writable with a code and reason should use them] 733 expected: FAIL 734 735 [canceling the readable should result in a clean close] 736 expected: FAIL 737 738 [canceling the readable with a code should send that code] 739 expected: FAIL 740 741 [canceling the readable with a code and reason should use them] 742 expected: FAIL 743 744 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 745 expected: FAIL 746 747 [aborting the writable with a reason but no code should default the close code] 748 expected: FAIL 749 750 [aborting the writable with a DOMException not set code or reason] 751 expected: FAIL 752 753 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 754 expected: FAIL 755 756 [canceling the readable with a reason but no code should default the close code] 757 expected: FAIL 758 759 [canceling the readable with a DOMException not set code or reason] 760 expected: FAIL 761 762 [incomplete closing handshake should be considered unclean close] 763 expected: FAIL 764 765 766 [close.any.html?wpt_flags=h2] 767 expected: 768 if (os == "mac") and not debug: [OK, ERROR] 769 if (os == "android") and not debug: [OK, ERROR] 770 [close code should be sent to server and reflected back] 771 expected: FAIL 772 773 [no close argument should send empty Close frame] 774 expected: FAIL 775 776 [unspecified close code should send empty Close frame] 777 expected: FAIL 778 779 [unspecified close code with empty reason should send empty Close frame] 780 expected: FAIL 781 782 [unspecified close code with non-empty reason should set code to 1000] 783 expected: FAIL 784 785 [close(true) should throw a TypeError] 786 expected: FAIL 787 788 [close() with an overlong reason should throw] 789 expected: FAIL 790 791 [close during handshake should work] 792 expected: FAIL 793 794 [close() with invalid code 999 should throw] 795 expected: FAIL 796 797 [close() with invalid code 1001 should throw] 798 expected: FAIL 799 800 [close() with invalid code 2999 should throw] 801 expected: FAIL 802 803 [close() with invalid code 5000 should throw] 804 expected: FAIL 805 806 [closing the writable should result in a clean close] 807 expected: FAIL 808 809 [writer close() promise should not resolve until handshake completes] 810 expected: FAIL 811 812 [aborting the writable should result in a clean close] 813 expected: FAIL 814 815 [aborting the writable with a code should send that code] 816 expected: FAIL 817 818 [aborting the writable with a code and reason should use them] 819 expected: FAIL 820 821 [canceling the readable should result in a clean close] 822 expected: FAIL 823 824 [canceling the readable with a code should send that code] 825 expected: FAIL 826 827 [canceling the readable with a code and reason should use them] 828 expected: FAIL 829 830 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 831 expected: FAIL 832 833 [aborting the writable with a reason but no code should default the close code] 834 expected: FAIL 835 836 [aborting the writable with a DOMException not set code or reason] 837 expected: FAIL 838 839 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 840 expected: FAIL 841 842 [canceling the readable with a reason but no code should default the close code] 843 expected: FAIL 844 845 [canceling the readable with a DOMException not set code or reason] 846 expected: FAIL 847 848 [incomplete closing handshake should be considered unclean close] 849 expected: FAIL 850 851 852 [close.any.worker.html?wss] 853 [close code should be sent to server and reflected back] 854 expected: FAIL 855 856 [no close argument should send empty Close frame] 857 expected: FAIL 858 859 [unspecified close code should send empty Close frame] 860 expected: FAIL 861 862 [unspecified close code with empty reason should send empty Close frame] 863 expected: FAIL 864 865 [unspecified close code with non-empty reason should set code to 1000] 866 expected: FAIL 867 868 [close(true) should throw a TypeError] 869 expected: FAIL 870 871 [close() with an overlong reason should throw] 872 expected: FAIL 873 874 [close during handshake should work] 875 expected: FAIL 876 877 [close() with invalid code 999 should throw] 878 expected: FAIL 879 880 [close() with invalid code 1001 should throw] 881 expected: FAIL 882 883 [close() with invalid code 2999 should throw] 884 expected: FAIL 885 886 [close() with invalid code 5000 should throw] 887 expected: FAIL 888 889 [closing the writable should result in a clean close] 890 expected: FAIL 891 892 [writer close() promise should not resolve until handshake completes] 893 expected: FAIL 894 895 [aborting the writable should result in a clean close] 896 expected: FAIL 897 898 [aborting the writable with a code should send that code] 899 expected: FAIL 900 901 [aborting the writable with a code and reason should use them] 902 expected: FAIL 903 904 [canceling the readable should result in a clean close] 905 expected: FAIL 906 907 [canceling the readable with a code should send that code] 908 expected: FAIL 909 910 [canceling the readable with a code and reason should use them] 911 expected: FAIL 912 913 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 914 expected: FAIL 915 916 [aborting the writable with a reason but no code should default the close code] 917 expected: FAIL 918 919 [aborting the writable with a DOMException not set code or reason] 920 expected: FAIL 921 922 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 923 expected: FAIL 924 925 [canceling the readable with a reason but no code should default the close code] 926 expected: FAIL 927 928 [canceling the readable with a DOMException not set code or reason] 929 expected: FAIL 930 931 [incomplete closing handshake should be considered unclean close] 932 expected: FAIL 933 934 935 [close.any.sharedworker.html?wss] 936 expected: 937 if (os == "mac") and not debug: [OK, ERROR] 938 if (os == "android") and not debug: [OK, ERROR] 939 [close code should be sent to server and reflected back] 940 expected: FAIL 941 942 [no close argument should send empty Close frame] 943 expected: FAIL 944 945 [unspecified close code should send empty Close frame] 946 expected: FAIL 947 948 [unspecified close code with empty reason should send empty Close frame] 949 expected: FAIL 950 951 [unspecified close code with non-empty reason should set code to 1000] 952 expected: FAIL 953 954 [close(true) should throw a TypeError] 955 expected: FAIL 956 957 [close() with an overlong reason should throw] 958 expected: FAIL 959 960 [close during handshake should work] 961 expected: FAIL 962 963 [close() with invalid code 999 should throw] 964 expected: FAIL 965 966 [close() with invalid code 1001 should throw] 967 expected: FAIL 968 969 [close() with invalid code 2999 should throw] 970 expected: FAIL 971 972 [close() with invalid code 5000 should throw] 973 expected: FAIL 974 975 [closing the writable should result in a clean close] 976 expected: FAIL 977 978 [writer close() promise should not resolve until handshake completes] 979 expected: FAIL 980 981 [aborting the writable should result in a clean close] 982 expected: FAIL 983 984 [aborting the writable with a code should send that code] 985 expected: FAIL 986 987 [aborting the writable with a code and reason should use them] 988 expected: FAIL 989 990 [canceling the readable should result in a clean close] 991 expected: FAIL 992 993 [canceling the readable with a code should send that code] 994 expected: FAIL 995 996 [canceling the readable with a code and reason should use them] 997 expected: FAIL 998 999 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 1000 expected: FAIL 1001 1002 [aborting the writable with a reason but no code should default the close code] 1003 expected: FAIL 1004 1005 [aborting the writable with a DOMException not set code or reason] 1006 expected: FAIL 1007 1008 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 1009 expected: FAIL 1010 1011 [canceling the readable with a reason but no code should default the close code] 1012 expected: FAIL 1013 1014 [canceling the readable with a DOMException not set code or reason] 1015 expected: FAIL 1016 1017 [incomplete closing handshake should be considered unclean close] 1018 expected: FAIL 1019 1020 1021 [close.any.html?default] 1022 expected: 1023 if (os == "android") and not debug: [OK, CRASH] 1024 [close code should be sent to server and reflected back] 1025 expected: FAIL 1026 1027 [no close argument should send empty Close frame] 1028 expected: FAIL 1029 1030 [unspecified close code should send empty Close frame] 1031 expected: FAIL 1032 1033 [unspecified close code with empty reason should send empty Close frame] 1034 expected: FAIL 1035 1036 [unspecified close code with non-empty reason should set code to 1000] 1037 expected: FAIL 1038 1039 [close(true) should throw a TypeError] 1040 expected: FAIL 1041 1042 [close() with an overlong reason should throw] 1043 expected: FAIL 1044 1045 [close during handshake should work] 1046 expected: FAIL 1047 1048 [close() with invalid code 999 should throw] 1049 expected: FAIL 1050 1051 [close() with invalid code 1001 should throw] 1052 expected: FAIL 1053 1054 [close() with invalid code 2999 should throw] 1055 expected: FAIL 1056 1057 [close() with invalid code 5000 should throw] 1058 expected: FAIL 1059 1060 [closing the writable should result in a clean close] 1061 expected: FAIL 1062 1063 [writer close() promise should not resolve until handshake completes] 1064 expected: FAIL 1065 1066 [incomplete closing handshake should be considered unclean close] 1067 expected: FAIL 1068 1069 [aborting the writable should result in a clean close] 1070 expected: FAIL 1071 1072 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 1073 expected: FAIL 1074 1075 [aborting the writable with a code should send that code] 1076 expected: FAIL 1077 1078 [aborting the writable with a code and reason should use them] 1079 expected: FAIL 1080 1081 [aborting the writable with a reason but no code should default the close code] 1082 expected: FAIL 1083 1084 [aborting the writable with a DOMException not set code or reason] 1085 expected: FAIL 1086 1087 [canceling the readable should result in a clean close] 1088 expected: FAIL 1089 1090 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 1091 expected: FAIL 1092 1093 [canceling the readable with a code should send that code] 1094 expected: FAIL 1095 1096 [canceling the readable with a code and reason should use them] 1097 expected: FAIL 1098 1099 [canceling the readable with a reason but no code should default the close code] 1100 expected: FAIL 1101 1102 [canceling the readable with a DOMException not set code or reason] 1103 expected: FAIL 1104 1105 1106 [close.any.serviceworker.html?default] 1107 expected: 1108 if (os == "mac") and not debug: [OK, ERROR] 1109 if (os == "android") and not debug: [OK, ERROR] 1110 [close code should be sent to server and reflected back] 1111 expected: FAIL 1112 1113 [no close argument should send empty Close frame] 1114 expected: FAIL 1115 1116 [unspecified close code should send empty Close frame] 1117 expected: FAIL 1118 1119 [unspecified close code with empty reason should send empty Close frame] 1120 expected: FAIL 1121 1122 [unspecified close code with non-empty reason should set code to 1000] 1123 expected: FAIL 1124 1125 [close(true) should throw a TypeError] 1126 expected: FAIL 1127 1128 [close() with an overlong reason should throw] 1129 expected: FAIL 1130 1131 [close during handshake should work] 1132 expected: FAIL 1133 1134 [close() with invalid code 999 should throw] 1135 expected: FAIL 1136 1137 [close() with invalid code 1001 should throw] 1138 expected: FAIL 1139 1140 [close() with invalid code 2999 should throw] 1141 expected: FAIL 1142 1143 [close() with invalid code 5000 should throw] 1144 expected: FAIL 1145 1146 [closing the writable should result in a clean close] 1147 expected: FAIL 1148 1149 [writer close() promise should not resolve until handshake completes] 1150 expected: FAIL 1151 1152 [incomplete closing handshake should be considered unclean close] 1153 expected: FAIL 1154 1155 [aborting the writable should result in a clean close] 1156 expected: FAIL 1157 1158 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 1159 expected: FAIL 1160 1161 [aborting the writable with a code should send that code] 1162 expected: FAIL 1163 1164 [aborting the writable with a code and reason should use them] 1165 expected: FAIL 1166 1167 [aborting the writable with a reason but no code should default the close code] 1168 expected: FAIL 1169 1170 [aborting the writable with a DOMException not set code or reason] 1171 expected: FAIL 1172 1173 [canceling the readable should result in a clean close] 1174 expected: FAIL 1175 1176 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 1177 expected: FAIL 1178 1179 [canceling the readable with a code should send that code] 1180 expected: FAIL 1181 1182 [canceling the readable with a code and reason should use them] 1183 expected: FAIL 1184 1185 [canceling the readable with a reason but no code should default the close code] 1186 expected: FAIL 1187 1188 [canceling the readable with a DOMException not set code or reason] 1189 expected: FAIL 1190 1191 1192 [close.any.worker.html?default] 1193 [close code should be sent to server and reflected back] 1194 expected: FAIL 1195 1196 [no close argument should send empty Close frame] 1197 expected: FAIL 1198 1199 [unspecified close code should send empty Close frame] 1200 expected: FAIL 1201 1202 [unspecified close code with empty reason should send empty Close frame] 1203 expected: FAIL 1204 1205 [unspecified close code with non-empty reason should set code to 1000] 1206 expected: FAIL 1207 1208 [close(true) should throw a TypeError] 1209 expected: FAIL 1210 1211 [close() with an overlong reason should throw] 1212 expected: FAIL 1213 1214 [close during handshake should work] 1215 expected: FAIL 1216 1217 [close() with invalid code 999 should throw] 1218 expected: FAIL 1219 1220 [close() with invalid code 1001 should throw] 1221 expected: FAIL 1222 1223 [close() with invalid code 2999 should throw] 1224 expected: FAIL 1225 1226 [close() with invalid code 5000 should throw] 1227 expected: FAIL 1228 1229 [closing the writable should result in a clean close] 1230 expected: FAIL 1231 1232 [writer close() promise should not resolve until handshake completes] 1233 expected: FAIL 1234 1235 [incomplete closing handshake should be considered unclean close] 1236 expected: FAIL 1237 1238 [aborting the writable should result in a clean close] 1239 expected: FAIL 1240 1241 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 1242 expected: FAIL 1243 1244 [aborting the writable with a code should send that code] 1245 expected: FAIL 1246 1247 [aborting the writable with a code and reason should use them] 1248 expected: FAIL 1249 1250 [aborting the writable with a reason but no code should default the close code] 1251 expected: FAIL 1252 1253 [aborting the writable with a DOMException not set code or reason] 1254 expected: FAIL 1255 1256 [canceling the readable should result in a clean close] 1257 expected: FAIL 1258 1259 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 1260 expected: FAIL 1261 1262 [canceling the readable with a code should send that code] 1263 expected: FAIL 1264 1265 [canceling the readable with a code and reason should use them] 1266 expected: FAIL 1267 1268 [canceling the readable with a reason but no code should default the close code] 1269 expected: FAIL 1270 1271 [canceling the readable with a DOMException not set code or reason] 1272 expected: FAIL 1273 1274 1275 [close.any.sharedworker.html?default] 1276 [close code should be sent to server and reflected back] 1277 expected: FAIL 1278 1279 [no close argument should send empty Close frame] 1280 expected: FAIL 1281 1282 [unspecified close code should send empty Close frame] 1283 expected: FAIL 1284 1285 [unspecified close code with empty reason should send empty Close frame] 1286 expected: FAIL 1287 1288 [unspecified close code with non-empty reason should set code to 1000] 1289 expected: FAIL 1290 1291 [close(true) should throw a TypeError] 1292 expected: FAIL 1293 1294 [close() with an overlong reason should throw] 1295 expected: FAIL 1296 1297 [close during handshake should work] 1298 expected: FAIL 1299 1300 [close() with invalid code 999 should throw] 1301 expected: FAIL 1302 1303 [close() with invalid code 1001 should throw] 1304 expected: FAIL 1305 1306 [close() with invalid code 2999 should throw] 1307 expected: FAIL 1308 1309 [close() with invalid code 5000 should throw] 1310 expected: FAIL 1311 1312 [closing the writable should result in a clean close] 1313 expected: FAIL 1314 1315 [writer close() promise should not resolve until handshake completes] 1316 expected: FAIL 1317 1318 [incomplete closing handshake should be considered unclean close] 1319 expected: FAIL 1320 1321 [aborting the writable should result in a clean close] 1322 expected: FAIL 1323 1324 [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] 1325 expected: FAIL 1326 1327 [aborting the writable with a code should send that code] 1328 expected: FAIL 1329 1330 [aborting the writable with a code and reason should use them] 1331 expected: FAIL 1332 1333 [aborting the writable with a reason but no code should default the close code] 1334 expected: FAIL 1335 1336 [aborting the writable with a DOMException not set code or reason] 1337 expected: FAIL 1338 1339 [canceling the readable should result in a clean close] 1340 expected: FAIL 1341 1342 [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] 1343 expected: FAIL 1344 1345 [canceling the readable with a code should send that code] 1346 expected: FAIL 1347 1348 [canceling the readable with a code and reason should use them] 1349 expected: FAIL 1350 1351 [canceling the readable with a reason but no code should default the close code] 1352 expected: FAIL 1353 1354 [canceling the readable with a DOMException not set code or reason] 1355 expected: FAIL