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 13543
Bug 97351
<base target> seems to not be applied to links consistently
https://bugs.webkit.org/show_bug.cgi?id=97351
Summary
<base target> seems to not be applied to links consistently
Boris Zbarsky
Reported
2012-09-21 11:17:42 PDT
Created
attachment 165156
[details]
Testcase Clicking "Click me" in the attached testcase should alert "PASS" because the base target is the subframe. But instead it seems to alert "FAIL" in WebKit. Presto and Gecko get this right.
Attachments
Testcase
(293 bytes, text/html)
2012-09-21 11:17 PDT
,
Boris Zbarsky
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-09-24 11:26:05 PDT
AFAICT, this is not even some kind of cross-origin protection, but just a bug. I haven't heard of "base target" before though.
Adam Barth
Comment 2
2012-09-24 11:38:48 PDT
We don't implement base@target for JavaScript URLs correctly. There's already a bug on file with a bunch of related test cases. It's a consequence of how we handle JavaScript URLs, which is to special case them early in the navigation pipeline. Gecko handles them in a general case near the end of the resource loading pipeline.
Alexey Proskuryakov
Comment 3
2012-09-24 12:20:17 PDT
Thanks Adam! *** This bug has been marked as a duplicate of
bug 13543
***
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