[Webkit-unassigned] [Bug 87887] ScriptDebugServer wants sourceIDs that are non-zero because that's what HashMaps want, so JSC should placate it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 13:17:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87887





--- Comment #4 from Filip Pizlo <fpizlo at apple.com>  2012-05-30 13:17:26 PST ---
(In reply to comment #3)
> (From update of attachment 144900 [details])
> Do we actually call SourceProvider::asID on a null pointer? Why?

Null SourceProvider means something like "I have an unnamed source provider".  There are a few places in the code where we explicitly check for null SourceProviders, but the asID() method is called without such checks, and generally works OK except when it returns zero and that zero ends up in some HashMap in the bindings.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list