DescriptionRefactor PrivateScriptRunner.js to reduce the number of globally exposed variables
It's not a good idea to use global variables in PrivateScriptRunner.js
because they are exposed to all window objects of the private scripts.
This CL reduces the number of global variables used in PrivateScriptRunner.js.
Also this CL removes a |global| parameter from installClass()
since the |global| is always equal to the window object of the JS file.
BUG=341031
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180053
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 10 (0 generated)
|