Currently, pages that use Geolocation are explicitly prevented from entering the page cache. This is planned to be fixed in Bug 43956 but until then, we should add a test to make sure that such pages do no enter the page cache.
Created attachment 64314 [details]
Comment on attachment 64314 [details]
As mentioned elsewhere, having a separate JS file is harmful in several ways. This is not grounds for r-, since many existing tests do the same, but I think that we should stop doing that, and maybe even convert existing tests.
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
The HTML5 doctype is <!DOCTYPE html>, we should be using that for strict mode (if needed).
> The HTML5 doctype is <!DOCTYPE html>, we should be using that for strict mode
> (if needed).
I don't think we need strict mode here. However, this DOCTYPE comes from TEMPLATE.html for the Geolocation tests. Looking at other TEMPLATE.html files, almost all specify a DOCTYPE  and of those, all but two  use this HTML2 DOCTYPE.
I could file a bug to change or remove the DOCTYPE for all Geolocation tests.
 No DOCTYPE ...
 HTML5 DOCTYPE ...
Committed r65325: <http://trac.webkit.org/changeset/65325>