RESOLVED FIXED Bug 39087
Show a console message when X-Frame-Options blocks a load
https://bugs.webkit.org/show_bug.cgi?id=39087
Summary Show a console message when X-Frame-Options blocks a load
Adam Barth
Reported 2010-05-13 13:48:49 PDT
Show a console message when X-Frame-Options blocks a load
Attachments
Work in progress (no tests) (764 bytes, patch)
2010-05-13 13:50 PDT, Adam Barth
no flags
Patch (7.38 KB, patch)
2010-05-13 23:56 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2010-05-13 13:50:20 PDT
Created attachment 56018 [details] Work in progress (no tests)
Adam Barth
Comment 2 2010-05-13 23:56:23 PDT
Darin Adler
Comment 3 2010-05-14 09:23:55 PDT
Comment on attachment 56057 [details] Patch > + DEFINE_STATIC_LOCAL(String, consoleMessage, ("Refused to display document because display forbidden by X-Frame-Options.\n")); Is it good for console messages passed to addMessage to have a trailing newline. That doesn't seem right to me. The grammar here seems slightly strained. Does the word "display" need to be repeated twice?
Adam Barth
Comment 4 2010-05-14 10:30:14 PDT
Looks like we're inconsistent about the trailing newline. I'll write a cleanup patch to normalize them all. Suggestions on a better wording for the message?
WebKit Commit Bot
Comment 5 2010-05-15 02:10:53 PDT
Comment on attachment 56057 [details] Patch Clearing flags on attachment: 56057 Committed r59528: <http://trac.webkit.org/changeset/59528>
WebKit Commit Bot
Comment 6 2010-05-15 02:10:59 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 7 2011-04-15 18:22:41 PDT
http://trac.webkit.org/changeset/84060 might have broken Leopard Intel Release (Build) and WinCairo Debug (Build)
Note You need to log in before you can comment on or make changes to this bug.