[Origin Trials] Rename confusing 'global' variable
The name of variable was causing no end of confusion about when it should be passed into the various install* methods for origin trials, and when a dummy object should be passed instead. Renamed to the more sensible 'instanceObject', as a counterpart to 'interfaceObject' and 'prototypeObject', and now only instantiate it when necessary (in Window and WorkerGlobalScope blocks). Review-Url: https://codereview.chromium.org/2532213002 Cr-Commit-Position: refs/heads/master@{#434996}
Showing
Please register or sign in to comment