e12ff456e8
Since #1100/#1104 the shared ScriptResultMaterializer refuses every type the wire cannot carry, so the worker's result-encoding error branch is unreachable from a script. Kept (not removed): PublishableScalarTypes and VariantCodec's tags are separate lists, and the branch turns any future drift into a reported UNSUPPORTED_TYPE failure instead of a value silently missing from the frame. Moved into VariantCodec.SetScriptResult (the worker's only result-encoding path, same message) with a comment saying so, and called directly by ProtocolTests.