You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 2 operations that could differ across browsers. The complex parsing operation from an HTML file to DOM elements, and the serialization of innerHTML from DOM elements to a string.
Neither of these operations are guaranteed to behave the same across browsers and should not be relied on when generating the info hash. The info hash should describe the original HTML file contents without any transformation.
The client's scripting environment does not have direct access to this content as a string, but it can be fetched as an AJAX request. Assuming the HTML content is served with the proper cache headers, an AJAX request for the original HTML file should return the original file content as a string from the browser's cache without fetching it over HTTP again.
I suspect that
document.documentElement.innerHTML
may not produce a deterministic value across browsers and versions for all HTML content.Consider:
The text was updated successfully, but these errors were encountered: