Bug 148601 - Web Inspector: Resource.prototype.associateWithScript assertions firing
Summary: Web Inspector: Resource.prototype.associateWithScript assertions firing
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: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2015-08-28 18:15 PDT by Joseph Pecoraro
Modified: 2015-08-28 20:30 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.64 KB, patch)
2015-08-28 18:16 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff
[PATCH] Proposed Fix (1.68 KB, patch)
2015-08-28 19:15 PDT, 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 2015-08-28 18:15:09 PDT
* SUMMARY
Resource.prototype.associateWithScript assertions firing.

* STEPS TO REPRODUCE
1. Inspect <http://code.tutsplus.com/tutorials/say-hello-to-webkit-filters--net-23318>
2. Inspect inspector
3. Reload
  => lots of asserts

* NOTES
This assert is firing quite a bit:

  console.assert(this._type !=== Other);

I recently added it when dropping iOS 6 support since there was an iOS 6 compatibility comment. Seems it is not just for iOS 6 support.

Lets restore the old handling here.
Comment 1 Joseph Pecoraro 2015-08-28 18:16:18 PDT
Created attachment 260199 [details]
[PATCH] Proposed Fix
Comment 2 Joseph Pecoraro 2015-08-28 19:15:09 PDT
Created attachment 260202 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2015-08-28 20:30:50 PDT
Comment on attachment 260202 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 260202

Committed r189141: <http://trac.webkit.org/changeset/189141>
Comment 4 WebKit Commit Bot 2015-08-28 20:30:54 PDT
All reviewed patches have been landed.  Closing bug.