public void NavigateRawHtml(string html)
{
if (InvokeRequired)
{
Invoke(new Action<string>(NavigateRawHtml), html);
return;
}
var tf = TempFile.WithExtension("htm"); // For some reason Gecko won't recognize a utf-8 file as html unless it has the right extension
RobustFile.WriteAllText(tf.Path,html, Encoding.UTF8);
SetNewDependent(tf);
_url = tf.Path;
UpdateDisplay();
}