Closed Bug 763305 Opened 14 years ago Closed 5 years ago

Add a reflectDouble() method in reflect.js

Categories

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

defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: mounir, Unassigned)

Details

Attachments

(1 file)

Would be needed for stuff like inptu.valueAsNumber.
Whiteboard: [mentor=mounir][lang=js]
Hi Mounir, Have you assigned this bug to anyone ?
No, this bug is free to be taken ;)
awesome .I would like to work on this bug.But since I am a beginner to the mozilla developer community ,I might need some help on getting started and where to start for this particular bug.
awesome .I would like to work on this bug.But since I am a beginner to the mozilla developer community ,I might need some help on getting started and where to start for this particular bug.
The file is: content/html/content/test/reflect.js You will find other methods that are used to test reflection from other types. See the specification explaining how reflection works: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#reflect
Hello, Can I work on this bug ? Or has this bug been assigned to someone ? Thanks.
(In reply to Abhishek Potnis [:abhishekp] from comment #6) > Hello, > > Can I work on this bug ? Or has this bug been assigned to someone ? > > > Thanks. This bug is definitely assignee-free. Do not hesitate to ping me or Ms2ger to get some help. Also, have a look at this wiki page to begin with Mozilla hacking: https://developer.mozilla.org/en/Introduction
can I pick this ? It seems nobody works on it
Hi, I would like to work on this bug. I have attached whatever I have tried. Please check it and suggest what more is required. Thanks.
Attachment #710749 - Flags: feedback?(mounir)
Comment on attachment 710749 [details] [diff] [review] Added reflectDouble() method Review of attachment 710749 [details] [diff] [review]: ----------------------------------------------------------------- This is doing basic testing but we would like deeper testing ideally like handling edge cases and some odd values - look at what other tests do. You can try to do something not too complex for a first patch and improve it later but I think you could easily add more cases in the first patch. Also, you should definitely try to find an attribute on which you could test this on. input.valueAsNumber isn't a great idea (contrary to what I said in comment 0). However, progress.max would work well I believe. ::: content/html/content/test/reflect.js @@ +238,5 @@ > } > } > > /** > + * Checks that a given attribute name for a given element is correctly reflected as a double nit: there is a trailing whitespace here. Replace it with a dot.
Attachment #710749 - Flags: feedback?(mounir) → feedback+
Whiteboard: [mentor=mounir][lang=js]
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: