gecko-dev/dom/bindings/crashtests
Boris Zbarsky 84e60db6d8 Bug 1591481 part 2. Don't force copying when external strings are passed to Web IDL bindings. r=mccr8
The codesize impact is approximately 0 (actually positive by a a few KB),
because AssignJSString is not inlined.

If we were to force-inline AssignJSString, that would actually _save_ ~115KB
based on bloaty measurements for linux64 shippable opt builds (so with LTO),
because then ConvertJSValueToString stops being inlined in bindings.
Given that ConvertJSValueToString pretty much always calls AssignJSString, so
there is no slowdown from changing which of them is inlined, this is _really_
tempting to do, but I don't want to mess with compiler inlining heuristics...
Inlining both AssignJSString and ConvertJSValueToString increases codesize by
~2MB, so that's definitely _not_ desirable.

Differential Revision: https://phabricator.services.mozilla.com/D50627

--HG--
extra : moz-landing-system : lando
2019-10-30 15:52:22 +00:00
..
769464.html
822340-1.html
822340-2.html
832899.html
860551.html
860591.html
862092.html
862610.html
869038.html
949940.html
1010658-1.html
1010658-2.html
crashtests.list
stringbuffer-USVString.html