Bug 36740

Summary: Web Inspector: calling window.postMessage should not produce console errors
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: ap, bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Yury Semikhatsky 2010-03-29 00:06:53 PDT
Currently any attempt to call window.postMessage on window from another domain will produce console error "Unsafe JavaScript attempt to access frame with URL...". Since postMessage is designed for cross domain communication it should not write error messages about cross-domain access.
Comment 1 Alexey Proskuryakov 2010-03-29 10:33:38 PDT
Is this accurate? I don't see any messages in console when running regression tests, such as http://127.0.0.1:8000/security/postMessage/delivery-order.html.
Comment 2 Yury Semikhatsky 2010-03-30 00:41:09 PDT
(In reply to comment #1)
> Is this accurate? I don't see any messages in console when running regression
> tests, such as http://127.0.0.1:8000/security/postMessage/delivery-order.html.

It turned to be Web Inspector issue. It's not postMessage that causes that exception. I'll close this bug and file another one with accurate description.