(extensions)
| 14938 | } |
| 14939 | __name(isValidOpcode, "isValidOpcode"); |
| 14940 | function parseExtensions(extensions) { |
| 14941 | const position = { position: 0 }; |
| 14942 | const extensionList = /* @__PURE__ */ new Map(); |
| 14943 | while (position.position < extensions.length) { |
| 14944 | const pair = collectASequenceOfCodePointsFast(";", extensions, position); |
| 14945 | const [name, value = ""] = pair.split("=", 2); |
| 14946 | extensionList.set( |
| 14947 | removeHTTPWhitespace(name, true, false), |
| 14948 | removeHTTPWhitespace(value, false, true) |
| 14949 | ); |
| 14950 | position.position++; |
| 14951 | } |
| 14952 | return extensionList; |
| 14953 | } |
| 14954 | __name(parseExtensions, "parseExtensions"); |
| 14955 | function isValidClientWindowBits(value) { |
| 14956 | if (value.length === 0) { |
no test coverage detected