Explorar el Código

kernel: isRangeError => shouldBeStubbed

Herbert Vojčík hace 7 años
padre
commit
884bf23124
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      support/kernel-runtime.js

+ 2 - 2
support/kernel-runtime.js

@@ -368,7 +368,7 @@ define(function () {
                 errorWrapper._signal();
             } catch (ex) {
             }
-            if (isRangeError(error)) {
+            if (shouldBeStubbed(error)) {
                 stubContextStack(errorWrapper.context);
             }
             return errorWrapper;
@@ -389,7 +389,7 @@ define(function () {
             }
         }
 
-        function isRangeError (error) {
+        function shouldBeStubbed (error) {
             return error instanceof RangeError;
         }