Re: [ServiceWorker] what should the document base URI for an intercepted navigation (#787)

> this.contentDocument.baseURI

You have to be careful with this one, because WebKit and Blink totally lie in that getter: they return a string that has nothing to do with the actual base URI they use.  See https://code.google.com/p/chromium/issues/detail?id=484930 and https://bugs.webkit.org/show_bug.cgi?id=144652 (which include links to and pastes of code that tests the actual base URI they use).

But yes, the upshot is that the base URI of `about:blank` is inherited.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/787#issuecomment-159269265

Received on Tuesday, 24 November 2015 13:36:53 UTC