<?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>24836</bug_id>
          
          <creation_ts>2009-03-25 17:24:33 -0700</creation_ts>
          <short_desc>Chromium&apos;s navigator.plugins.refresh(false) does nothing</short_desc>
          <delta_ts>2009-03-27 15:35:36 -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>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="John Abd-El-Malek">jam</reporter>
          <assigned_to name="Dmitry Titov">dimich</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115270</commentid>
    <comment_count>0</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-25 17:24:33 -0700</bug_when>
    <thetext>It&apos;s supposed to reload the plugin list, but not the page.  Chromium&apos;s implementation didn&apos;t reload the plugin list until it was first accessed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115272</commentid>
    <comment_count>1</comment_count>
      <attachid>28955</attachid>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-25 17:27:41 -0700</bug_when>
    <thetext>Created attachment 28955
Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115352</commentid>
    <comment_count>2</comment_count>
      <attachid>28955</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-03-26 10:56:14 -0700</bug_when>
    <thetext>Comment on attachment 28955
Fix

OK.  Looks sane.  You should document what that line is actually for with a comment.

I assume this has no layout test because the layout tests are in chromium&apos;s tree (and this doesn&apos;t affect any other platform?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115376</commentid>
    <comment_count>3</comment_count>
      <attachid>28977</attachid>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-26 12:30:39 -0700</bug_when>
    <thetext>Created attachment 28977
added comment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115377</commentid>
    <comment_count>4</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-26 12:33:26 -0700</bug_when>
    <thetext>Added comment.  Can you commit for me (I&apos;m not a committer)?

This doesn&apos;t affect other ports.  The place to add a test would be in Chromium&apos;s ui tests.  I didn&apos;t add one yet because I would need to create a new NPAPI plugin just to test this scenario.  I&apos;ll look into doing it now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115379</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2009-03-26 12:47:57 -0700</bug_when>
    <thetext>john, can&apos;t you utilize the layout tests for this?  it is best if webkit specific patches are tested with layout tests.  if that can&apos;t be done, then in the chromium world test_shell tests could be used.  if we have to resort to chromium ui tests, then we are far removed from the webkit code, which could mean that we only discover a regression once we update the webkit code used by chromium.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115387</commentid>
    <comment_count>6</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-26 13:15:03 -0700</bug_when>
    <thetext>To test this change, one would need two NPAPI plugins.  The first would have to move the second, get the list of plugins, then move it back and check that refresh(false) caused the list to be updated.  Chromium&apos;s two test NPAPI plugins are not in the WebKit tree so a layout test won&apos;t work.  I&apos;ll look into putting it into testshell_tests instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115484</commentid>
    <comment_count>7</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-26 20:22:51 -0700</bug_when>
    <thetext>I&apos;ve added a test_shell_tests test for this.  Can someone commit this, because I can&apos;t check in the other change until this one lands or else the test will fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115485</commentid>
    <comment_count>8</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2009-03-26 20:23:08 -0700</bug_when>
    <thetext>Here&apos;s the test: http://codereview.chromium.org/42687</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115630</commentid>
    <comment_count>9</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2009-03-27 15:35:36 -0700</bug_when>
    <thetext>Landed: http://trac.webkit.org/changeset/42052</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28955</attachid>
            <date>2009-03-25 17:27:41 -0700</date>
            <delta_ts>2009-03-26 12:30:39 -0700</delta_ts>
            <desc>Fix</desc>
            <filename>refresh.txt</filename>
            <type>text/plain</type>
            <size>1042</size>
            <attacher name="John Abd-El-Malek">jam</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0MTk5NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDktMDMtMjUgIEpvaG4gQWJkLUVsLU1hbGVrICA8amFtQGdvb2ds
ZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTI0ODM2CisKKyAgICAgICAg
Rml4IG5hdmlnYXRvci5wbHVnaW5zLnJlZnJlc2goZmFsc2UpIGluIENocm9taXVtLgorCisgICAg
ICAgICogcGx1Z2lucy9jaHJvbWl1bS9QbHVnaW5EYXRhQ2hyb21pdW0uY3BwOgorICAgICAgICAo
V2ViQ29yZTo6UGx1Z2luRGF0YTo6cmVmcmVzaCk6CisKIDIwMDktMDMtMjUgIERhdmlkIExldmlu
ICA8bGV2aW5AY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFJldmlld2VkIGJ5IERpbWl0cmkgR2xh
emtvdi4KSW5kZXg6IFdlYkNvcmUvcGx1Z2lucy9jaHJvbWl1bS9QbHVnaW5EYXRhQ2hyb21pdW0u
Y3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvcGx1Z2lucy9jaHJvbWl1bS9QbHVnaW5EYXRhQ2hy
b21pdW0uY3BwCShyZXZpc2lvbiA0MTk5NSkKKysrIFdlYkNvcmUvcGx1Z2lucy9jaHJvbWl1bS9Q
bHVnaW5EYXRhQ2hyb21pdW0uY3BwCSh3b3JraW5nIGNvcHkpCkBAIC05NSw2ICs5NSw3IEBAIHZv
aWQgUGx1Z2luRGF0YTo6aW5pdFBsdWdpbnMoKQogdm9pZCBQbHVnaW5EYXRhOjpyZWZyZXNoKCkK
IHsKICAgICBwbHVnaW5DYWNoZS5yZXNldCh0cnVlKTsKKyAgICBwbHVnaW5DYWNoZS5wbHVnaW5z
KCk7CiB9CiAKIFN0cmluZyBnZXRQbHVnaW5NaW1lVHlwZUZyb21FeHRlbnNpb24oY29uc3QgU3Ry
aW5nJiBleHRlbnNpb24pCg==
</data>
<flag name="review"
          id="14322"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28977</attachid>
            <date>2009-03-26 12:30:39 -0700</date>
            <delta_ts>2009-03-26 12:30:39 -0700</delta_ts>
            <desc>added comment</desc>
            <filename>refresh.txt</filename>
            <type>text/plain</type>
            <size>1084</size>
            <attacher name="John Abd-El-Malek">jam</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0MTk5NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDktMDMtMjUgIEpvaG4gQWJkLUVsLU1hbGVrICA8amFtQGdvb2ds
ZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTI0ODM2CisKKyAgICAgICAg
Rml4IG5hdmlnYXRvci5wbHVnaW5zLnJlZnJlc2goZmFsc2UpIGluIENocm9taXVtLgorCisgICAg
ICAgICogcGx1Z2lucy9jaHJvbWl1bS9QbHVnaW5EYXRhQ2hyb21pdW0uY3BwOgorICAgICAgICAo
V2ViQ29yZTo6UGx1Z2luRGF0YTo6cmVmcmVzaCk6CisKIDIwMDktMDMtMjUgIERhdmlkIExldmlu
ICA8bGV2aW5AY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFJldmlld2VkIGJ5IERpbWl0cmkgR2xh
emtvdi4KSW5kZXg6IFdlYkNvcmUvcGx1Z2lucy9jaHJvbWl1bS9QbHVnaW5EYXRhQ2hyb21pdW0u
Y3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvcGx1Z2lucy9jaHJvbWl1bS9QbHVnaW5EYXRhQ2hy
b21pdW0uY3BwCShyZXZpc2lvbiA0MTk5NSkKKysrIFdlYkNvcmUvcGx1Z2lucy9jaHJvbWl1bS9Q
bHVnaW5EYXRhQ2hyb21pdW0uY3BwCSh3b3JraW5nIGNvcHkpCkBAIC05NSw2ICs5NSw3IEBAIHZv
aWQgUGx1Z2luRGF0YTo6aW5pdFBsdWdpbnMoKQogdm9pZCBQbHVnaW5EYXRhOjpyZWZyZXNoKCkK
IHsKICAgICBwbHVnaW5DYWNoZS5yZXNldCh0cnVlKTsKKyAgICBwbHVnaW5DYWNoZS5wbHVnaW5z
KCk7ICAvLyBGb3JjZSB0aGUgcGx1Z2lucyB0byBiZSByZWxvYWRlZCBub3cuCiB9CiAKIFN0cmlu
ZyBnZXRQbHVnaW5NaW1lVHlwZUZyb21FeHRlbnNpb24oY29uc3QgU3RyaW5nJiBleHRlbnNpb24p
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>