Timothy Gu

Results 56 issues of Timothy Gu

Or, distinguishing between ```js fn = function () {}; ``` and ```js (fn) = function () {}; ``` Spec-wise, the first would have a left-hand side of [_PrimaryExpression_](https://tc39.github.io/ecma262/#prod-PrimaryExpression) : [_IdentifierReference_](https://tc39.github.io/ecma262/#prod-IdentifierReference), while the...

Hi, I am a former maintainer of node-fetch. I noticed that #834 (merged last year) changed the implementation of the Headers class so that it is based on Proxy and...

bug

Addresses part of #655 that have to do with reducing "unless otherwise specified" clauses, by making things more explicit. It doesn't touch the assignment of internal methods, which is being...

Hello, I've noticed that several other repos under @bazelbuild publish release tarballs to https://mirror.bazel.build/. For instance, rules\_go has these two equivalent URLs: ``` https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz https:// github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz ``` However, this is...

Wrote a letter to Unicode through their [feedback form](http://www.unicode.org/reporting.html) on July 30 with the details. Haven't heard back despite their promises that "You can expect an acknowledgement of your report...

topic: idna

Pros: * Matches RFC 3986 and Go * Might reduce path traversal vulnerabilities, for implementations that allow switching URLs from non-special to special schemes (i.e., all browsers) Cons: * Doesn't...

needs implementer interest
addition/proposal

Consider ```html normal, encoded 'a' ``` In Chrome, both `a` elements have pathname "/whatwg-url/", indicating that the %61 was unescaped. In Safari, the second `a` element has pathname "/wh%61twg-url/", but...

clarification

Generally, we assume setters will keep the URL valid and roundtrippable. However, this turns out not to be true in a specific case: ```js u = new URL('data:text/html,hello #hash'); u.hash...

topic: api

```js u = new URL('http://abc.com/a^b'); console.log(u.pathname); ``` This gives "a%5Eb" in Chrome and Firefox, in addition to Go and Node.js. Ruby's `URI` fails to parse the URL with `^`, but...

topic: parser
needs tests
addition/proposal

Consider the following test: ```js u = new URL("https://github.com/whatwg/url/issues/new"); u.protocol = "ht\ntp"; u.href ``` On Chrome, Firefox, and Safari, `u.href` retains the original `https` protocol. This behavior as it relates...

topic: api