GoogleGit

commitca075d76051d48c312027a8f42d0ff6975a95e33[log][tgz]
authortkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>Tue Jun 25 06:23:16 2013
committertkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>Tue Jun 25 06:23:16 2013
treea8b36fea96cde5e94ff56b58ce82e357671eec56
parentf0d4d227fcfd25886621a5b466ece89a7606d0e8[diff]
Fix crash by focusing multiple-fields input types during a unload event.

ContainerNode::removeChildren:
We should remove focus after dispatching unload events. Document::
m_focusedNode could have an element not in the document tree.

Document::implicitOpen:
Confirm that removeChildren clears m_focusedNode.

BaseMultipleFieldsDateAndTimeInputType::didBlurFromControl:
Protect element() because it might loose the last reference by
setFocus(false).

BUG=249640

Review URL: https://chromiumcodereview.appspot.com/17577013

git-svn-id: svn://svn.chromium.org/blink/trunk@152990 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed
tree: a8b36fea96cde5e94ff56b58ce82e357671eec56
  1. .gitattributes
  2. .gitignore
  3. LayoutTests/
  4. ManualTests/
  5. OWNERS
  6. PRESUBMIT.py
  7. PerformanceTests/
  8. Source/
  9. Tools/
  10. WATCHLISTS
  11. codereview.settings
  12. public/