Revision 81ce07e8bb1c1f692944a32cdf8a271aa40acede authored by Morten Stenshorne on 10 April 2018, 10:57:45 UTC, committed by Chromium WPT Sync on 10 April 2018, 10:57:45 UTC
We used to rely on this taking place lazily via
MinPreferredLogicalWidth(), but that method won't necessarily be called
if the table is a flex/grid item.

Bug: 810327
Change-Id: Ic817bd109544d4b9e961552d0a3a38f127e6e548
Reviewed-on: https://chromium-review.googlesource.com/1000781
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549479}
1 parent 429e62e
Raw File
close-invalid.any.js
// META: script=websocket.sub.js

[
    [0, "0"],
    [500, "500"],
    [NaN, "NaN"],
    ["string", "String"],
    [null, "null"],
    [0x10000 + 1000, "2**16+1000"],
].forEach(function(t) {
    [true, false].forEach(function(secure) {
        test(function() {
            var ws = CreateWebSocket(secure, false, false);
            assert_throws("InvalidAccessError", function () {
                ws.close(t[0]);
            });
            wsocket.onerror = this.unreached_func();
        }, t[1] + " on a " + (secure ? "secure" : "insecure") + " websocket");
    });
});
back to top