W3C home > Mailing lists > Public > public-webappsec@w3.org > November 2014

Re: CSP3: DOM API Strawman

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Mon, 03 Nov 2014 14:46:46 -0500
Message-ID: <5457DBA6.60805@mit.edu>
To: Mike West <mkwst@google.com>
CC: "public-webappsec@w3.org" <public-webappsec@w3.org>
On 11/3/14, 8:59 AM, Mike West wrote:
> It would be good to be able to walk through the
> list with a `forEach` in order to determine whether a specific Request
> or Node matched an item in the list.

Sure, but matchesNode is only exposed on two of these interfaces, right? 
  And matchesURL on the third one?  And then have nothing else in common.

I think having a common ancestor is fine, but a union type would be fine 
in this case too.  If there were a common method, of course, the common 
ancestor interface would definitely be what we want.

Received on Monday, 3 November 2014 19:47:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:42 UTC