Changeset 89870 in webkit


Ignore:
Timestamp:
Jun 27, 2011 3:31:36 PM (13 years ago)
Author:
adamk@chromium.org
Message:

2011-06-27 Adam Klein <adamk@chromium.org>

Reviewed by Adam Barth.

Fix filesystem-no-callback-null-ptr-crash.html test to reference proper file api methods
https://bugs.webkit.org/show_bug.cgi?id=63486

  • fast/filesystem/filesystem-no-callback-null-ptr-crash.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r89869 r89870  
     12011-06-27  Adam Klein  <adamk@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Fix filesystem-no-callback-null-ptr-crash.html test to reference proper file api methods
     6        https://bugs.webkit.org/show_bug.cgi?id=63486
     7
     8        * fast/filesystem/filesystem-no-callback-null-ptr-crash.html:
     9
    1102011-06-27  Jay Civelli  <jcivelli@chromium.org>
    211
  • trunk/LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash.html

    r87758 r89870  
    77  if (window.layoutTestController)
    88      layoutTestController.dumpAsText();
    9   // These two calls so not cause a NULL pointer crash:
    10   try { window.requestFileSystem(10); } catch (e) {}
    11   try { window.resolveLocalFileSystemURI(); } catch (e) {}
    12   document.getElementById('log').innerHTML = "PASS";
     9  if (window.webkitRequestFileSystem) {
     10      // These two calls should not cause a NULL pointer crash:
     11      webkitRequestFileSystem(TEMPORARY, 100);
     12      webkitResolveLocalFileSystemURL('');
     13      document.getElementById('log').innerHTML = "PASS";
     14  }
    1315</script>
Note: See TracChangeset for help on using the changeset viewer.