Title: [109742] trunk/Source/WebCore
- Revision
- 109742
- Author
- [email protected]
- Date
- 2012-03-05 07:14:38 -0800 (Mon, 05 Mar 2012)
Log Message
Web Inspector: cannot be launched when localStorage is disabled
https://bugs.webkit.org/show_bug.cgi?id=80252
Reviewed by Vsevolod Vlasov.
* inspector/front-end/Settings.js:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (109741 => 109742)
--- trunk/Source/WebCore/ChangeLog 2012-03-05 15:07:50 UTC (rev 109741)
+++ trunk/Source/WebCore/ChangeLog 2012-03-05 15:14:38 UTC (rev 109742)
@@ -1,5 +1,14 @@
2012-03-05 Pavel Feldman <[email protected]>
+ Web Inspector: cannot be launched when localStorage is disabled
+ https://bugs.webkit.org/show_bug.cgi?id=80252
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/Settings.js:
+
+2012-03-05 Pavel Feldman <[email protected]>
+
Web Inspector: check for the number of parsed css properties.
https://bugs.webkit.org/show_bug.cgi?id=80268
Modified: trunk/Source/WebCore/inspector/front-end/Settings.js (109741 => 109742)
--- trunk/Source/WebCore/inspector/front-end/Settings.js 2012-03-05 15:07:50 UTC (rev 109741)
+++ trunk/Source/WebCore/inspector/front-end/Settings.js 2012-03-05 15:14:38 UTC (rev 109742)
@@ -94,8 +94,8 @@
// If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
// periodical breakpoints duplication leading to inspector slowness.
- if (window.localStorage.breakpoints && window.localStorage.breakpoints.length > 500000)
- delete window.localStorage.breakpoints;
+ if (this.breakpoints.get().length > 500000)
+ this.breakpoints.set([]);
}
WebInspector.Settings.prototype = {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes