[Webkit-unassigned] [Bug 75973] Web Inspector: DOMAgent.getDocument should take an optional frameId argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 10 22:09:07 PST 2012


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





--- Comment #4 from Timothy Hatcher <timothy at apple.com>  2012-01-10 22:09:06 PST ---
I was just experimenting and found DOMAgent.getDocument lacking if I only care about a sub frame. Consider an WebView like Safari's Snippet Editor that has an editor and a preview view in one WebVIew. The user inspecting only cares about the content of the preview frame.

Your likely right, using RuntimeAgent.evaluate might work. Could I use the frameId parameter on RuntimeAgent.evaluate to evaluate "document" and convert that to a node?

How does the DOMAgent handle that if the child nodes have two parentNodes (document or the iframe element)?

-- 
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