Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/ext/content.js

Issue 5193308200501248: Issue 1287 - Use window.location instead document.location (Closed)
Patch Set: Created Aug. 29, 2014, 3:33 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include.preload.js ('k') | safari/ext/popup.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/content.js
===================================================================
--- a/safari/ext/content.js
+++ b/safari/ext/content.js
@@ -35,7 +35,7 @@
beforeLoadEvent,
{
category: "loading",
- url: document.location.href,
+ url: location.href,
referrer: document.referrer,
isTopLevel: isTopLevel,
isPrerendered: isPrerendered
« no previous file with comments | « include.preload.js ('k') | safari/ext/popup.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld