this module shouldn't depend on a tab module, we can either make the default function check for `object.url` and check that it is a valid uri, or we can do this in the `sdk/tabs/tab` module:

    let { getURL } = require('sdk/url/utils');
    ...
    getURL.implement(this._public, function() this._public.url) // within the tab constructor