Make sure we use the DOM element when calling setAttribute in search
Do not canonicalize scheme relative URLs in the preview tool.