- From: <bugzilla@jessica.w3.org>
- Date: Fri, 08 Apr 2011 16:50:31 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12447
--- Comment #5 from Justin Lebar <justin.lebar@gmail.com> 2011-04-08 16:50:31 UTC ---
> Essentially, if authors start
> doing a lot of pushState that we *want* to affect the title (say, implementing
> an entire multi-page application), then you're pushing the burden of that
> document.title complexity onto us instead of into the browser.
I don't agree that this is a burden. In fact, all you would need is the
following:
-- To push a state entry with a title --
history.pushState({title: 'foo'}, '');
document.title = 'foo';
-- To set document.title --
function onPopState(e) {
document.title = e.title;
}
As far as I can tell, this doesn't become any more complicated as your page
becomes more complicated.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 8 April 2011 16:50:33 UTC