Browse Source

kernel: isRangeError => shouldBeStubbed

Herbert Vojčík 7 years ago
parent
commit
884bf23124
1 changed files with 2 additions and 2 deletions
  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;
         }