Closed Bug 1006729 Opened 10 years ago Closed 10 years ago

Changing attribute values converts them to string (?)

Categories

(DevTools Graveyard :: Web Audio Editor, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1006283

People

(Reporter: sole, Unassigned)

Details

Attachments

(1 file)

I was playing with the new Web Audio editor and found that if I change attribute values they are stored as String - see the screenshot!

Apparently JS is intelligent enough to cast them back to numbers, but the output in the editor is at the very least puzzling, specially when changing a property twice (and getting DOUBLE quotes).

Simple test case with modules with properties you can change here: http://people.mozilla.org/~spenades/test_cases/webaudio/simple_chain/
Ah, just opened a ticket for this morning JUST pushed a patch for this for review! bug 1006283

This should take whatever you put in the params list view and set it accordingly, and display the correct type
Closing this as a dupe, bug 1006283 is ready for checkin and should solve the issue, let me know if it doesn't!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: