"data" URIs (RFC 2397) allow extension parameters; they could be called "base64" but must not be confused with the "base64" extension. For instance; data:text/plain;base64,... *is* the base64 extension, while data:text/plain;base64=xy,... is not (as indicated by the "=" sign). See test case: <http://greenbytes.de/tech/tc/datauri/#base64param> This works properly in Chrome and Opera.
Created attachment 642551 [details] [diff] [review] Proposed patch, including test case
Comment on attachment 642551 [details] [diff] [review] Proposed patch, including test case Change the two constant strings to single a #define BASE64_URI_TAG ";base64" (or some such name), and r+
Created attachment 642585 [details] [diff] [review] proposed patch thanks for the review Randell!
https://hg.mozilla.org/integration/mozilla-inbound/rev/eac3221e3e86 Thanks for the patch, Felix! One request - for future patches, please follow the directions below. It makes life easier for those committing on your behalf. Thanks again! https://developer.mozilla.org/en/Creating_a_patch_that_can_be_checked_in