[webkit-dev] Documenting common null pointer errors

Jeremy Orlow jorlow at chromium.org
Tue Oct 6 14:49:42 PDT 2009


Did this ever get linked from the home page?

On Wed, Aug 12, 2009 at 7:07 AM, Adam Barth <abarth at webkit.org> wrote:

> On Wed, Aug 12, 2009 at 4:54 AM, Joe Mason<joe.mason at torchmobile.com>
> wrote:
> > Adam Barth wrote:
> >>
> >> This is now up on the site:
> >>
> >> http://webkit.org/coding/major-objects.html
> >>
> >> It's not linked from anywhere yet.  It might be a good idea for a
> >> couple of folks to look at it.  It reflects my understanding of how
> >> things work, which might well be wrong.
> >
> > "NULL after navigation" could be clearer - it suggests that DOMWindow and
> > everything below it only exists if you type the URL, but not if a page is
> > loaded by clicking a link, which can't be true.
>
> Oh, I meant navigate to cover both typing in the location bar and
> clicking a link.  Is there a better word to use for that?
>
> > Does it mean that it's NULL
> > immediately after navigation, while waiting for the load, and is replaced
> by
> > a valid pointer after loading?
>
> I wasn't sure the best way to represent this in the diagram.
> Typically, the edge becomes null in the "up" direction and replaced
> with a new object in the "down" direction.  If you can think of a nice
> way to explain this on the page, please file a bug, CC me, and upload
> a patch.  :)
>
> Adam
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091006/a0e9f8cb/attachment.html>


More information about the webkit-dev mailing list