W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2015

Re: [sensors] getAll()?

From: Rick Waldron via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Jun 2015 16:49:03 +0000
To: public-device-apis@w3.org
Message-ID: <issue_comment.created-110428937-1433868543-sysbot+gh@w3.org>
I've been getting `ERR_CONNECTION_TIMED_OUT` for two of those links 
for about an hour. 

- https://url.spec.whatwg.org/#dom-urlsearchparams-getallname
- https://fetch.spec.whatwg.org/#dom-headers-getall


--------


>From the `Headers#getAll` docs on MDN, it appears that the `Headers` 
class produces a Map-like (multi-Map-like?) object: 

![](https://i.gyazo.com/27c96db5d4cb26922fd9ede95228c396.png)

- `getAll` is method of the instance, not a static class method. 
- `getAll` is a synchronous operation 

[URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
 appears to be the same design?


I don't agree that `Sensor` has any consistency obligation here. 




-- 
GitHub Notif of comment by rwaldron
See https://github.com/w3c/sensors/issues/32#issuecomment-110428937
Received on Tuesday, 9 June 2015 16:49:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:05 UTC