function requestViaObject(url) {
  return createRequestViaElement("object", {"data": url, "type": "text/html"}, document.body);
}
Creates a new object element, binds load and error events, sets the data to
    url, and appends it to {@code document.body}.
@param {string} url The data URL.
@return {Promise} The promise for success/error events.