I don't think it's supposed to work like this. It's not about implementing DRM itself, it's about having a standard API which would allow an opaque binary blob to implement the actual DRM. And then, as the issue points out, possibly extend the reasoning to other elements, like Javascript code.