[Webkit-unassigned] [Bug 117129] [GTK] Parameters 'inResult' and 'resolver' from function 'webkit_dom_document_evaluate' should be allowed to be NULL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 2 15:17:01 PDT 2013


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





--- Comment #3 from Diego Pino <dpino at igalia.com>  2013-06-02 15:15:34 PST ---
The patch refactors the code of the temporary fix and moves the validation of nullability of parameters to the GetGReturnMacro function.

A hash table keeps track of the parameters that are allowed to be NULL indexed by function name. This solution is more extensable, and it will allow to add more parameters which can be NULL in the future.

Finally, a test for function 'dom_document_evaluate' was added. The test passes both parameter 'inResult' and 'resolver' as NULL.

-- 
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