Fixed unit test for native editor commands.
Fixed so documentBaseURL gets properly produced when embedded in WebKit View.