Closed Bug 1362464 Opened 7 years ago Closed 7 years ago

Fix feedback from Storage Inspector's head.js methods

Categories

(DevTools :: Storage Inspector, enhancement, P2)

51 Branch
enhancement

Tracking

(firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: miker, Assigned: miker)

Details

Attachments

(1 file)

In order to help write Storage Inspector tests e.g. when a bad row name or id is passed to a method, we do the following:

ok(false, "a bad id was passed etc.");
showAvailableIds();

The problem is that in the showAvailableIds() is a separate message than the test failure so in the log you get:

blah... a bad id was passed.
Long, long stack trace.
Available ids are:
  - blah
  - blah
  - blah

This patch simply attaches the showAvailableIds() output to the TEXT_UNEXPECTED_FAIL message so you don't need to go hunting through the logs to see which columns or rows are available.
No longer depends on: 1231452
Comment on attachment 8864935 [details]
Bug 1362464 - Fix feedback from Storage Inspector's head.js methods

https://reviewboard.mozilla.org/r/136590/#review140484
Attachment #8864935 - Flags: review?(pbrosset) → review+
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9859494c47d
Fix feedback from Storage Inspector's head.js methods r=pbro
https://hg.mozilla.org/mozilla-central/rev/e9859494c47d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: