Fix null pointer in XWebView (2)
Add dump function