-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=82500 Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-03-29 Reviewed by Kenneth Rohde Christiansen. .: Add manual test for history navigation with viewport width check. * ManualTests/viewport-width-test-after-history-navigation.html: Added. Source/WebCore: Document::updateViewportArguments() is called twice, while restoring a page from page cache. First, it is called when the document is set on the mainframe and later, it is called when page cache finished the restoration. Since viewport arguments don't change between the 2 calls, it's safe to remove the second. Manual test added. Viewport value updates heavily depend on UI process code. * dom/Document.cpp: (WebCore::Document::documentDidResumeFromPageCache): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
54a30e89