Re: [whatwg/xhr] Convert XHR to bikeshed (#97)

Running `bikeshed -f spec -l` to get the line numbers makes these a lot easier to debug. ^_^

The "origin" link is on line 171 - you're linking to the Origin http header.

---

The "timeout" link is a bit harder, as it's a Bikeshed-generated element and thus doesn't have a line number yet. However, you can tell what it's looking for with `bikeshed refs --status=local --text=timeout --for=XMLHttpRequest` - it reveals that you have both an *attribute* named `timeout` and an *event* named `timeout`, both for XMLHttpRequest.  These are both IDL types, so the bare `{{XMLHttpRequest/timeout}}` can't distinguish them; you have to clarify the type you want like `{{XMLHttpRequest/timeout!!attribute}}`.

I need to make this error message a lot better; it's hard to debug.

---

For "fetch", you want line 889. I just pushed a change so that, when the line number can't be found, it'll at least print the element's outerHTML. You probably missed this because you're using case-sensitive regex, and this is a sentence-starting `<a>Fetch</a>`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/97#issuecomment-260074734

Received on Friday, 11 November 2016 22:56:08 UTC