On 4/10/15 10:15 PM, Boris Zbarsky wrote:
I'm more worried about internal C++ consumers, honestly.  Have to audit
them all to make sure they're not assuming they can get a filename and
such.

For example, HTMLInputElement::GetValueInternal or HTMLInputElement::AfterSetFiles will do mFiles[0]->GetMozFullPath. This will land in FileImplBase::GetMozFullPath which will proceed to assert mIsFile. Which will be false if mFiles[0] is a Blob...

I'm sure there's other fun bits like that hiding in there too.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to