Re: Intent to implement and ship: self.origin

2017-02-09 Thread Boris Zbarsky
On 2/9/17 5:45 AM, Mike West wrote: I look forward to stealing your tests. :) Yep, sounds good. I put up patches in https://bugzilla.mozilla.org/show_bug.cgi?id=1306170 with the test bits; in fact most of the patches are changes to the tests. Note that you'll want https://github.com/w3c/te

Intent to implement and ship: self.origin

2017-02-08 Thread Boris Zbarsky
Summary: self.origin returns the Unicode serialization of the origin of the settings object of the global represented by "self" (a Window or WorkerGlobalScope). This gives scripts a consistent way of getting their origin in both situations. Note that unlike location.origin this represents the