You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: Test Case Matrix for cross-platform navigator features > Test Case Description for nonexistent local file

Test Case Description for nonexistent local file

Purpose

Test opening a nonexistent (bogus) local file.

Initial Conditions

The Open Web Location dialog should already be opened in the browser.

Steps/Description

  1. Click the Choose File... button.
  2. In the resulting file picker dialog, enter the filename of a file which doesn't exist locally on your machine, eg,
    1. Navigate to your desktop location, or stay at whatever directory the file picker is currently at.
    2. Enter fibble-diddle-teehee.html.
  3. Click Open in the file picker to dismiss it.
  4. Select Current Navigator window from the droplist, if it isn't already displayed there.
  5. Click the Open button (or hit Enter).

Expected Results

  1. After step #3, the full path and filename should appear in the textfield of the Open Web Location dialog.
  2. After the last step, the dialog should go away.
  3. Since this page doesn't exist (well, it shouldn't ;-), the page that loads should display the typical 404 error:

    Not Found: The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.