https://bugs.webkit.org/show_bug.cgi?id=69380 fixes a bug where toURLRef() did not return 0 for a null string. We should come up with a test for this. It's not straight-forward because we can't just call toURLRef() directly from a TestWebKitAPI test. We need a simple test that triggers the condition where a null string is passed to toURLRef().