<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>32886</bug_id>
          
          <creation_ts>2009-12-22 15:24:46 -0800</creation_ts>
          <short_desc>figure out which behavior is right for plugins/get-url-with-blank-target.html</short_desc>
          <delta_ts>2010-04-06 16:42:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>jam</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174440</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2009-12-22 15:24:46 -0800</bug_when>
    <thetext>Supposedly plugins/get-url-with-blank-target produces one behavior on Safari/Mac , and platform/chromium/plugins/get-url-with-blank-target produces another on Safari/Win, Chromium, and FF. We should figure out which is &quot;right&quot; and converge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178321</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-01-07 12:40:00 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Supposedly plugins/get-url-with-blank-target produces one behavior on
&gt; Safari/Mac , and platform/chromium/plugins/get-url-with-blank-target produces
&gt; another on Safari/Win, Chromium, and FF. We should figure out which is &quot;right&quot;
&gt; and converge.

This test is very Mac-specific.

It&apos;s testing the following code in WebKit/mac/Plugins/WebNetscapePluginView.mm:
http://trac.webkit.org/browser/trunk/WebKit/mac/Plugins/WebNetscapePluginView.mm#L1625

This mac-specific behaviour is related to the fact they create a new webview for requests with a &quot;_blank&quot; target, and is the subject of a fixme in that code.

Other ports follow the vanilla code chain, which is as follows:

NPError PluginView::getURLNotify(const char* url, const char* target, void* notifyData)
{
&lt;..&gt;
    return load(frameLoadRequest, true, notifyData);
}

void PluginView::performRequest(PluginRequest* request)
{
&lt;..&gt;
            m_parentFrame-&gt;loader()-&gt;load(request-&gt;frameLoadRequest().resourceRequest(), targetFrameName, false);

            if (request-&gt;sendNotification()) {
                PluginView::setCurrentPluginView(this);
                JSC::JSLock::DropAllLocks dropAllLocks(JSC::SilenceAssertionsOnly);
                setCallingPlugin(true);
                m_plugin-&gt;pluginFuncs()-&gt;urlnotify(m_instance, requestURL.string().utf8().data(), NPRES_DONE, request-&gt;notifyData());
&lt;..&gt;
}

So this test should probably just be move to LayoutTests/mac/plugins, as it&apos;s not relevant to other platforms..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209331</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-04-06 16:42:12 -0700</bug_when>
    <thetext>I am not currently working on this, nor do I expect to be in the near future, so I am disclaiming ownership in case someone else wants to take a look.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>