WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
36740
Web Inspector: calling window.postMessage should not produce console errors
https://bugs.webkit.org/show_bug.cgi?id=36740
Summary
Web Inspector: calling window.postMessage should not produce console errors
Yury Semikhatsky
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
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
.
Yury Semikhatsky
Comment 2
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug