Closed Bug 252011 Opened 20 years ago Closed 20 years ago

Remove extra param in comments section for cancel() in nsIWebBrowserPrint.idl

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: depman1, Assigned: domob)

References

()

Details

(Keywords: helpwanted, Whiteboard: [good first bug])

Attachments

(1 file, 1 obsolete file)

nsIWebBrowserPrint.idl:
There's no @param Cancel in cancel(); it has no parameters. 
The comment should be removed.
Keywords: helpwanted
Whiteboard: [good first bug]
Depends on: 158038
To Elliot, per his request.
Assignee: printing → elliot.lee
Attached patch Removed comment (obsolete) — Splinter Review
You thought of something like this?
Attachment #171566 - Flags: review?(bzbarsky)
Daniel, in general more context makes patches easier to review... -up8 are good
options for making a diff.
Of course, normally I use -u8, but not when just changing a comment...
(Or should I even then?)
Well, I can't tell whether this change is correct, because I can't see the
function declaration in the diff, nor the rest of the comment... so yes, you
should use enough context to make the patch reviewable any time you make a
patch.  ;)
Attached patch Context 8 linesSplinter Review
Oh, I see. That's reason enough...
Sorry!
Attachment #171566 - Attachment is obsolete: true
Attachment #171649 - Flags: review?(bzbarsky)
Attachment #171566 - Flags: review?(bzbarsky)
Comment on attachment 171649 [details] [diff] [review]
Context 8 lines

Ah, thank you.	r+sr=bzbarsky; I'll check this in when the tree opens.
Attachment #171649 - Flags: superreview+
Attachment #171649 - Flags: review?(bzbarsky)
Attachment #171649 - Flags: review+
Comment on attachment 171649 [details] [diff] [review]
Context 8 lines

>+   * Cancels the current print 
current print *what*?

It's best if the documentation be written in English.
I'm sorry, but that's what already was present in the original file. Would you
prefer to see "the current print job" or something like that?
Assignee: elliot.lee → domob
Fixed for 1.8b.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
i dunno, does it mean that? does it only cancel prints and not previews? if what
you wrote is what it means, then yes i'd rather see that.
I also don't know what it means exactly. As I wrote, that is, what was already
present in the file. I've just removed the missplaced @param.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: