| Index: Source/bindings/scripts/code_generator_v8.pm
 | 
| diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm
 | 
| index 2bdd440753d9592507703936591aa7576267375e..3f74068b025e459a080bd99d9e6cb0de0a6ddc10 100644
 | 
| --- a/Source/bindings/scripts/code_generator_v8.pm
 | 
| +++ b/Source/bindings/scripts/code_generator_v8.pm
 | 
| @@ -3354,10 +3354,6 @@ sub GenerateNonStandardFunction
 | 
|          # and then accessed on a different domain we do not return the underlying value but instead
 | 
|          # return a new copy of the original function. This is achieved by storing the changed value
 | 
|          # as hidden property.
 | 
| -        $code .= <<END;
 | 
| -
 | 
| -    // $commentInfo
 | 
| -END
 | 
|          if ($function->extendedAttributes->{"PerWorldBindings"}) {
 | 
|              $code .= <<END;
 | 
|      if (currentWorldType == MainWorld) {
 | 
| 
 |