window.internals (and self.internals for workers) is a special object, constructed in a method which is not encountered outside of test code. Its peculiarities make it difficult to properly test the origin trial JS binding mechanisms.
We should move these test interfaces to a new object, which can be returned from a method on window.internals. (Consistent with DictionaryTest, etc).
(This is blocking crbug.com/637148 , as it is not possible to use the current tests when we construct origin trial attributes on first access).
Comment 1 by bugdroid1@chromium.org
, Sep 16 2016