WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 45945
Bug 46055
http/tests/security/xssAuditor/link-opens-new-window.html doesn't pass with Chromium DRT
https://bugs.webkit.org/show_bug.cgi?id=46055
Summary
http/tests/security/xssAuditor/link-opens-new-window.html doesn't pass with C...
Mihai Parparita
Reported
2010-09-19 10:54:19 PDT
http/tests/security/xssAuditor/link-opens-new-window.html doesn't pass with Chromium DRT
Attachments
Patch
(5.92 KB, patch)
2010-09-19 10:56 PDT
,
Mihai Parparita
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mihai Parparita
Comment 1
2010-09-19 10:56:18 PDT
Created
attachment 68029
[details]
Patch
Mihai Parparita
Comment 2
2010-09-19 10:58:13 PDT
Another option is to copy all of the WebSettings from the parent WebView into the newly created one (not sure how many other settings we'd want to actually propagate though).
Adam Barth
Comment 3
2010-09-19 11:18:41 PDT
What do you think tkent?
Mihai Parparita
Comment 4
2010-09-19 14:16:53 PDT
FWIW, this works in test_shell because the XSS auditor is a global flag there:
http://www.google.com/codesearch/p?hl=en#OAMlx_jo-ck/src/webkit/tools/test_shell/layout_test_controller.cc&q=xssauditor%20file:test_shell&exact_package=chromium&sa=N&cd=1&ct=rc&l=1070
And on the Mac DRT, unless otherwise overridden (which is not the case here) all WebViews use the same WebPreferences instance (from [WebPreferences standardPreferences]):
http://www.google.com/codesearch/p?hl=en#OAMlx_jo-ck/src/third_party/WebKit/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm&q=xssauditor%20file:dumprendertree%20file:mac&exact_package=chromium&sa=N&cd=2&ct=rc&l=410
http://www.google.com/codesearch/p?hl=en#OAMlx_jo-ck/src/third_party/WebKit/WebKit/mac/WebView/WebView.h&q=webview%20preferences%20file:mac&exact_package=chromium&l=460
Adam Barth
Comment 5
2010-09-19 14:19:00 PDT
This seems related to this recent change by tkent:
http://trac.webkit.org/changeset/67809
Mihai Parparita
Comment 6
2010-09-19 14:20:44 PDT
Nevermind, I see this got fixed with
http://trac.webkit.org/changeset/67809
, not sure how I didn't see that this morning. *** This bug has been marked as a duplicate of
bug 45945
***
Dimitri Glazkov (Google)
Comment 7
2010-09-19 17:55:57 PDT
Comment on
attachment 68029
[details]
Patch clearing review flags to remove from queue.
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