They often go more like a fireworks sparkler (see the following link).The bake element "went off like a roman candle".
LINK > How do I test an electric stove element?
You can see the replacement element for your model and read general tips on replacing an oven element at the following links:
LINK > Whirlpool RB160PXL Bake Element
LINK > How do I replace an oven element?
I don't know exactly what the residue would consist of. While I don't suggest you eat it, I very much doubt it would affect things cooked in the oven.There is a yellow residue all over the interior of the oven. What is this chemical? Is it toxic?
I would think mild soapy water on a rag would be find. If necessary using a spray-on oven cleaner *that is safe for self-cleaning ovens* or just running a self-clean cycle afterward would likely suffice. Some smoking may occur with the initial use of the replacement element so you might want to keep a nearby window open.How do I clean it up so I can replace the element?
Some discoloration of the porcelain oven liner may remain for good unfortunately.
The Appliance Information Site