Bug 152905 - Web Inspector: Uncaught exception: TypeError: this._initiatorSourceCodeLocation.sourceCode.addInitiatedResource is not a function
Summary: Web Inspector: Uncaught exception: TypeError: this._initiatorSourceCodeLocati...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-01-08 11:11 PST by Joseph Pecoraro
Modified: 2016-01-08 12:14 PST (History)
9 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.94 KB, patch)
2016-01-08 11:12 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2016-01-08 11:11:36 PST
* SUMMARY
[Error] Uncaught exception in inspector page while handling event Network.requestWillBeSent
TypeError: this._initiatorSourceCodeLocation.sourceCode.addInitiatedResource is not a function. (In 'this._initiatorSourceCodeLocation.sourceCode.addInitiatedResource(this)', 'this._initiatorSourceCodeLocation.sourceCode.addInitiatedResource' is undefined)
Resource — Resource.js:63
_addNewResourceToFrame — FrameResourceManager.js:406
resourceRequestWillBeSent — FrameResourceManager.js:199
requestWillBeSent — NetworkObserver.js:32
dispatchEvent — InspectorBackend.js:442
_dispatchEvent — InspectorBackend.js:342
dispatch — InspectorBackend.js:151
dispatchNextQueuedMessageFromBackend — MessageDispatcher.js:42
	_dispatchEvent (InspectorBackend.js:344)
	dispatch (InspectorBackend.js:151)
	dispatchNextQueuedMessageFromBackend (MessageDispatcher.js:42)

* STEPS TO REPRODUCE
1. Inspect the inspector
Comment 1 Radar WebKit Bug Importer 2016-01-08 11:12:00 PST
<rdar://problem/24109809>
Comment 2 Joseph Pecoraro 2016-01-08 11:12:55 PST
Created attachment 268555 [details]
[PATCH] Proposed Fix
Comment 3 BJ Burg 2016-01-08 11:25:02 PST
Comment on attachment 268555 [details]
[PATCH] Proposed Fix

r=me
Comment 4 WebKit Commit Bot 2016-01-08 12:14:37 PST
Comment on attachment 268555 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 268555

Committed r194776: <http://trac.webkit.org/changeset/194776>
Comment 5 WebKit Commit Bot 2016-01-08 12:14:41 PST
All reviewed patches have been landed.  Closing bug.