We should use protocol relative urls to load external resources to avoid browser messages about unsafe objects on the page if someone accesses the site using https.
The attached patch removes the http: from all resources where I thought it's applicable.
I've tested this only with the google js - not with the other adjustments.
The patch also contains removed trailing white-spaces but I think it's a manageable amount ;)
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch openlayers-osm-protocol-relative-fix-1458930-11.patch. Unable to apply patch. See the log in the details link for more information.
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 236 pass(es).
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch openlayers-use-protocol-relative-urls_4.patch. Unable to apply patch. See the log in the details link for more information.