Title: [92476] trunk/Source/WebCore
- Revision
- 92476
- Author
- [email protected]
- Date
- 2011-08-05 06:16:14 -0700 (Fri, 05 Aug 2011)
Log Message
Web Inspector: check that detaching frame has been attached before removing it from the console selector
https://bugs.webkit.org/show_bug.cgi?id=65686
Reviewed by Pavel Feldman.
* inspector/front-end/_javascript_ContextManager.js:
(WebInspector._javascript_ContextManager.prototype._frameDetached):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (92475 => 92476)
--- trunk/Source/WebCore/ChangeLog 2011-08-05 12:18:19 UTC (rev 92475)
+++ trunk/Source/WebCore/ChangeLog 2011-08-05 13:16:14 UTC (rev 92476)
@@ -1,3 +1,13 @@
+2011-08-05 Yury Semikhatsky <[email protected]>
+
+ Web Inspector: check that detaching frame has been attached before removing it from the console selector
+ https://bugs.webkit.org/show_bug.cgi?id=65686
+
+ Reviewed by Pavel Feldman.
+
+ * inspector/front-end/_javascript_ContextManager.js:
+ (WebInspector._javascript_ContextManager.prototype._frameDetached):
+
2011-08-05 Keishi Hattori <[email protected]>
Sort WebCore.xcodeproj
Modified: trunk/Source/WebCore/inspector/front-end/_javascript_ContextManager.js (92475 => 92476)
--- trunk/Source/WebCore/inspector/front-end/_javascript_ContextManager.js 2011-08-05 12:18:19 UTC (rev 92475)
+++ trunk/Source/WebCore/inspector/front-end/_javascript_ContextManager.js 2011-08-05 13:16:14 UTC (rev 92476)
@@ -59,6 +59,8 @@
{
var frameId = event.data;
var context = this._frameIdToContext[frameId];
+ if (!context)
+ return;
this._consoleView.removeContext(context);
delete this._frameIdToContext[frameId];
},
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes