[Webkit-unassigned] [Bug 30663] Web Inspector: windowFocused and windowBlured Fail to Clear/Mark Inspector as "inactive"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 23:24:21 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30663


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |joepeck at webkit.org
                   |kit.org                     |
     Ever Confirmed|0                           |1
  Attachment #41639|                            |review?
               Flag|                            |




--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2009-10-21 23:24:21 PDT ---
Created an attachment (id=41639)
 --> (https://bugs.webkit.org/attachment.cgi?id=41639)
[PATCH] Check document.defaultView

The events are registered on a doc.defaultView:

  doc.defaultView.addEventListener("focus", this.windowFocused.bind(this),
true);
  doc.defaultView.addEventListener("blur", this.windowBlured.bind(this), true);

The doc.defaultView is a DOMWindow. Old behavior always fails:

  if (event.target.nodeType === Node.DOCUMENT_NODE)

New behavior tests against the defaultView:

  if (event.target === document.defaultView)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list