Although it is abnormal to pass null as first argument of ewk_view_XXX(), I think that the crash is not acceptable because WebKit/efl has macro to check the type of smart object and return from code safely.
Created attachment 170303 [details] Patch
Created attachment 170305 [details] Patch
Comment on attachment 170305 [details] Patch I'd say just return earlier in the macro if ewkView is 0. Plus it's better to create a new test "section" for this.
Created attachment 170360 [details] Patch
(In reply to comment #3) > (From update of attachment 170305 [details]) > I'd say just return earlier in the macro if ewkView is 0. Plus it's better to create a new test "section" for this. Thanks, I added break to exit from this macro and created new test.
BTW, we are starting to Ewk_View refactoring to C++ via Bug 100226 so this code is going to change a lot over the next couple of days.
Comment on attachment 170360 [details] Patch It looks those patches don't touch this section yet. I think this patch can be landed first.
Committed r132336: <http://trac.webkit.org/changeset/132336>