فهرست منبع

kernel: isRangeError => shouldBeStubbed

Herbert Vojčík 7 سال پیش
والد
کامیت
884bf23124
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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;
         }