- From: Tobie Langel <tobie.langel@gmail.com>
- Date: Wed, 17 Jul 2013 00:00:17 +0200
- To: Ian Hickson <ian@hixie.ch>
- Cc: whatwg <whatwg@lists.whatwg.org>, Michal Zalewski <lcamtuf@coredump.cx>, Adam Barth <w3c@adambarth.com>, Malte Ubl <malte.ubl@gmail.com>, Jonas Sicking <jonas@sicking.cc>
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). --tobie
Received on Tuesday, 16 July 2013 22:00:46 UTC