Closed Bug 473776 Opened 16 years ago Closed 8 years ago

test plugin should handle some sort of content

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ted, Unassigned)

Details

bz indicated that we had a bug fixed recently where we failed to hand the actual data off to the plugin implementation. To test this, we should make the test plugin able to handle some sort of content. I think just making it handle lists of key=value pairs, one per line, and saving them in a hashtable, with a scriptable func that's callable from JS to get values back out would be sufficient.
That would work, I guess. Even nicer would be if we could use this method to pass it whatever data attributes would pass it, so it would be easy to set up reftests using this stuff.
Yeah, we could do that too, I guess a mashup of the two would be the most flexible, so we could use it in reftest and mochitest. The argument parsing I added in bug 473577 is pretty simple and could be combined with this proposal.
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.