Backed out changeset ec4e3e080c1c because it introduces linting failures.
MANUAL PUSH: fast backout
This commit is contained in:
@@ -922,10 +922,6 @@ void nsDocShell::MaybeHandleSubframeHistory(nsDocShellLoadState* aLoadState) {
|
||||
*/
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::PrepareForNewContentModel() {
|
||||
// Clear out our form control state, because the state of controls
|
||||
// in the pre-open() document should not affect the state of
|
||||
// controls that are now going to be written.
|
||||
SetLayoutHistoryState(nullptr);
|
||||
mEODForCurrentDocument = false;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user