Bug 36740 - Web Inspector: calling window.postMessage should not produce console errors
Summary: Web Inspector: calling window.postMessage should not produce console errors
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 00:06 PDT by Yury Semikhatsky
Modified: 2010-03-30 00:41 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.