Changeset 173547 in webkit
- Timestamp:
- Sep 11, 2014, 4:12:53 PM (12 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/QuickConsole.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r173536 r173547 1 2014-09-11 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Fix assert in QuickConsole - main frame execution context path component 4 https://bugs.webkit.org/show_bug.cgi?id=136748 5 6 Reviewed by Timothy Hatcher. 7 8 This can get called for the MainFrame on page navigations. 9 In such cases we can return a better result from this method. 10 11 * UserInterface/Views/QuickConsole.js: 12 (WebInspector.QuickConsole.prototype._insertExecutionContextPathComponentForFrame): 13 1 14 2014-09-11 Joseph Pecoraro <pecoraro@apple.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Views/QuickConsole.js
r173477 r173547 247 247 _insertExecutionContextPathComponentForFrame: function(frame, skipRebuild) 248 248 { 249 console.assert(!frame.isMainFrame());250 249 if (frame.isMainFrame()) 251 return null;250 return this._mainFrameExecutionContextPathComponent; 252 251 253 252 console.assert(!this._frameIdentifierToExecutionContextPathComponentMap[frame.id]);
Note:
See TracChangeset
for help on using the changeset viewer.