Bug 118310 - Missing allow-none introspection annotation for DomDocument.evaluate method
Summary: Missing allow-none introspection annotation for DomDocument.evaluate method
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alberto Garcia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 10:36 PDT by Niranjan Rao
Modified: 2013-09-14 12:20 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2013-09-14 10:03 PDT, Alberto Garcia
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Niranjan Rao 2013-07-02 10:36:41 PDT
For the method webkit_dom_document_evaluate, parameter WebKitDOMXPathResult can be null. However this is not reflected in languages which use introspection and hence can not pass null value.

Tried on Ubuntu 12.04 and 13.04 Desktop.
Comment 1 Alberto Garcia 2013-09-14 10:03:48 PDT
Created attachment 211653 [details]
Patch

This should be as simple as this.
Comment 2 Alberto Garcia 2013-09-14 12:20:06 PDT
Committed r155778: <http://trac.webkit.org/changeset/155778>