Bug 110849 - Web Inspector: [PageAgent] can't find frame by security origin.
Summary: Web Inspector: [PageAgent] can't find frame by security origin.
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
Depends on: 110855
  Show dependency treegraph
Reported: 2013-02-25 23:33 PST by Eugene Klyuchnikov
Modified: 2013-03-03 23:46 PST (History)
9 users (show)

See Also:

Patch (2.06 KB, patch)
2013-03-03 23:40 PST, Alexander Pavlov (apavlov)
vsevik: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Klyuchnikov 2013-02-25 23:33:09 PST
In some cases InspectorPageAgent::findFrameWithSecurityOrigin returns NULL even if corresponding frame exists.

Original issue:
White pane is displayed in Local storage URLS instead of keys & values
Comment 1 Alexander Pavlov (apavlov) 2013-02-26 00:04:28 PST
The issue is that document.setDomain("cnn.com") is executed against the main frame's document, whose security origin used to be "www.cnn.com". This results in a SecurityOrigin mismatch in the backend.
Comment 2 Alexander Pavlov (apavlov) 2013-03-03 23:40:41 PST
Created attachment 191164 [details]
Comment 3 Alexander Pavlov (apavlov) 2013-03-03 23:46:52 PST
Committed r144601: <http://trac.webkit.org/changeset/144601>