Closed Bug 1303231 Opened 8 years ago Closed 8 years ago

Comment on line 21 of FileSystemDirectoryEntry.webidl incorrect about what error is returned

Categories

(Core :: DOM: Core & HTML, defect, P3)

50 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: sheppy, Assigned: baku)

Details

Attachments

(1 file)

The comment says "ErrorCallback will be called with NS_ERROR_DOM_NOT_SUPPORTED_ERR", but a look at the code shows:

  ErrorCallbackHelper::Call(GetParentObject(), aErrorCallback,
                            NS_ERROR_DOM_SECURITY_ERR);

The comment should be corrected to say that NS_ERROR_DOM_SECURITY_ERR is returned.
Component: Untriaged → DOM
baku, can you take a look?
Flags: needinfo?(amarchesini)
Priority: -- → P3
Attached patch file_error.patchSplinter Review
Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attachment #8793654 - Flags: review?(bugs)
Attachment #8793654 - Flags: review?(bugs) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/89cf1ca5cf6c
Fixing comments in FileSystem webIDL files, r=smaug
https://hg.mozilla.org/mozilla-central/rev/89cf1ca5cf6c
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: