Title: [165621] trunk/Source/WebInspectorUI
- Revision
- 165621
- Author
- commit-qu...@webkit.org
- Date
- 2014-03-14 09:06:32 -0700 (Fri, 14 Mar 2014)
Log Message
Web Inspector: Resource and Frame saveIdentityToCookie should store URL hashes not URLs
https://bugs.webkit.org/show_bug.cgi?id=126833
Patch by Diego Pino Garcia <dp...@igalia.com> on 2014-03-14
Reviewed by Timothy Hatcher.
* UserInterface/Models/Frame.js:
(WebInspector.Frame.prototype.saveIdentityToCookie):
* UserInterface/Models/Resource.js:
(WebInspector.Resource.prototype.saveIdentityToCookie):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (165620 => 165621)
--- trunk/Source/WebInspectorUI/ChangeLog 2014-03-14 15:50:05 UTC (rev 165620)
+++ trunk/Source/WebInspectorUI/ChangeLog 2014-03-14 16:06:32 UTC (rev 165621)
@@ -1,3 +1,15 @@
+2014-03-14 Diego Pino Garcia <dp...@igalia.com>
+
+ Web Inspector: Resource and Frame saveIdentityToCookie should store URL hashes not URLs
+ https://bugs.webkit.org/show_bug.cgi?id=126833
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Models/Frame.js:
+ (WebInspector.Frame.prototype.saveIdentityToCookie):
+ * UserInterface/Models/Resource.js:
+ (WebInspector.Resource.prototype.saveIdentityToCookie):
+
2014-03-13 James Craig <jcr...@apple.com>
Web Inspector: AXI: Use loc strings for known aria-invalid types
Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Frame.js (165620 => 165621)
--- trunk/Source/WebInspectorUI/UserInterface/Models/Frame.js 2014-03-14 15:50:05 UTC (rev 165620)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Frame.js 2014-03-14 16:06:32 UTC (rev 165621)
@@ -464,7 +464,7 @@
saveIdentityToCookie: function(cookie)
{
- cookie[WebInspector.Frame.MainResourceURLCookieKey] = this.mainResource.url;
+ cookie[WebInspector.Frame.MainResourceURLCookieKey] = this.mainResource.url.hash;
},
// Private
Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Resource.js (165620 => 165621)
--- trunk/Source/WebInspectorUI/UserInterface/Models/Resource.js 2014-03-14 15:50:05 UTC (rev 165620)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Resource.js 2014-03-14 16:06:32 UTC (rev 165621)
@@ -699,7 +699,7 @@
saveIdentityToCookie: function(cookie)
{
- cookie[WebInspector.Resource.URLCookieKey] = this.url;
+ cookie[WebInspector.Resource.URLCookieKey] = this.url.hash;
cookie[WebInspector.Resource.MainResourceCookieKey] = this.isMainResource();
}
};
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes