Build fix.

* UIProcess/API/Cocoa/_WKWebsiteDataStore.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
convertToUTF8String converts null string to empty string
https://bugs.webkit.org/show_bug.cgi?id=133904

Reviewed by Carlos Garcia Campos.

Source/WebCore:

Test added to Tools/TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp

Return 0 if the string is null.

* bindings/gobject/ConvertToUTF8String.cpp:
(convertToUTF8String):

Tools:

Test that trying to get the value of a non-existent attribute
returns 0 instead of an empty string.

* TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
(WebKitDOMNodeTest::testInsertion):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Give WebsiteDataStore a unique ID
https://bugs.webkit.org/show_bug.cgi?id=139448

Reviewed by Andreas Kling.

* Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):
* Shared/WebPageCreationParameters.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::creationParameters):
* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::generateIdentifier):
(WebKit::WebsiteDataStore::WebsiteDataStore):
* UIProcess/WebsiteData/WebsiteDataStore.h:
(WebKit::WebsiteDataStore::identifier):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177020 268f45cc-cd09-0410-ab3c-d52691b4dbfc