W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Proposal: location.parentOrigin

From: Adam Barth <w3c@adambarth.com>
Date: Tue, 16 Jul 2013 19:43:22 -0700
Message-ID: <CAJE5ia-An4odrjCRnEPjq0NKpadwVY+2xF3vt_7Ji76CpoY3jg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: whatwg <whatwg@lists.whatwg.org>, Tobie Langel <tobie.langel@gmail.com>, Jonas Sicking <jonas@sicking.cc>, Malte Ubl <malte.ubl@gmail.com>, Michal Zalewski <lcamtuf@coredump.cx>
On Tue, Jul 16, 2013 at 4:14 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Wed, 17 Jul 2013, Tobie Langel wrote:
>> On Wednesday, July 17, 2013 at 12:42 AM, Ian Hickson wrote:
>> > On Wed, 17 Jul 2013, Tobie Langel wrote:
>> > > On Tuesday, July 16, 2013 at 7:53 PM, Ian Hickson wrote:
>> > > > Can't you do window.isSameOrigin by just trying to access
>> > > > window.location.href and seeing if you get an exception?
>> > >
>> > > Unfortunately not, because of the previously mentioned WebKit bug
>> > > which logs an error message but doesn't throw (so there's no way of
>> > > knowing whether an exception was thrown or not).
>> >
>> > We can trivially change that, if that's the only problem.
>>
>> Fixing that bug would be a great step forward.
>
> Adam?

We're in the process of changing that now.  You can follow our
progress on this bug:

https://code.google.com/p/chromium/issues/detail?id=17325

Adam
Received on Wednesday, 17 July 2013 02:44:20 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC