From 66fcbdfa297abdfc0cf4ccc0ceea8045a456c179 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:08:29 -0700 Subject: [PATCH 01/55] Updating test/auto/injectorSpec.js, throw new Error --- test/auto/injectorSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/auto/injectorSpec.js b/test/auto/injectorSpec.js index cff2ec5b0e7b..62658501652f 100644 --- a/test/auto/injectorSpec.js +++ b/test/auto/injectorSpec.js @@ -667,7 +667,7 @@ describe('injector', function() { it('should handle exceptions', function() { expect(function() { createInjector([function() { - throw 'MyError'; + throw new Error('MyError'); }], {}); }).toThrowMinErr('$injector', 'modulerr', /Failed to instantiate module .+ due to:\n.*MyError/); }); @@ -891,7 +891,7 @@ describe('injector', function() { it('should handle constructor exception', function() { expect(function() { - $injector.instantiate(function() { throw 'MyError'; }); + $injector.instantiate(function() { throw new Error('MyError'); }); }).toThrow('MyError'); }); From 88600b430bc5d0fc613634eadc25c960a7a0def3 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:08:37 -0700 Subject: [PATCH 02/55] Updating test/auto/injectorSpec.js, throw new Error From a12f2103e1c101c6d26cc3c43a81865908143567 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:09:12 -0700 Subject: [PATCH 03/55] Updating test/helpers/matchers.js, throw new Error From aba24df589fa519e9f5f167cac5431d41875f4a3 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:10:14 -0700 Subject: [PATCH 04/55] Updating test/auto/injectorSpec.js, throw new Error From 620b56d2f0fcc2f7190859ebeffcd77fcf73ba7d Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:14 -0700 Subject: [PATCH 05/55] Updating test/auto/injectorSpec.js, throw new Error From 6adf2aab6a869ad5de4134a52acd5b0b6ff44859 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:17 -0700 Subject: [PATCH 06/55] Updating test/helpers/matchers.js, throw new Error From b176628db66c08b00e660d376a01291ccc4a1327 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:21 -0700 Subject: [PATCH 07/55] Updating test/ngMock/angular-mocksSpec.js, throw new Error --- test/ngMock/angular-mocksSpec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ngMock/angular-mocksSpec.js b/test/ngMock/angular-mocksSpec.js index f9c7587e86cc..16fed1c5815b 100644 --- a/test/ngMock/angular-mocksSpec.js +++ b/test/ngMock/angular-mocksSpec.js @@ -424,7 +424,7 @@ describe('ngMock', function() { it('should delegate exception to the $exceptionHandler service', inject( function($interval, $exceptionHandler) { - $interval(function() { throw "Test Error"; }, 1000); + $interval(function() { throw new Error("Test Error"); }, 1000); expect($exceptionHandler.errors).toEqual([]); $interval.flush(1000); @@ -439,7 +439,7 @@ describe('ngMock', function() { function($interval, $rootScope) { var applySpy = spyOn($rootScope, '$apply').andCallThrough(); - $interval(function() { throw "Test Error"; }, 1000); + $interval(function() { throw new Error("Test Error"); }, 1000); expect(applySpy).not.toHaveBeenCalled(); $interval.flush(1000); @@ -450,7 +450,7 @@ describe('ngMock', function() { it('should still update the interval promise when an exception is thrown', inject(function($interval) { var log = [], - promise = $interval(function() { throw "Some Error"; }, 1000); + promise = $interval(function() { throw new Error("Some Error"); }, 1000); promise.then(function(value) { log.push('promise success: ' + value); }, function(err) { log.push('promise error: ' + err); }, @@ -921,7 +921,7 @@ describe('ngMock', function() { it('should not change thrown strings', inject(function($sniffer) { expect(function() { inject(function() { - throw 'test message'; + throw new Error('test message'); }); }).toThrow('test message'); })); From 73bf40b84a0112d3e3706418b3e0d4512b61b607 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:25 -0700 Subject: [PATCH 08/55] Updating test/ng/timeoutSpec.js, throw new Error --- test/ng/timeoutSpec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ng/timeoutSpec.js b/test/ng/timeoutSpec.js index 2aed8b743a5f..39f2e58e47e7 100644 --- a/test/ng/timeoutSpec.js +++ b/test/ng/timeoutSpec.js @@ -161,7 +161,7 @@ describe('$timeout', function() { it('should delegate exception to the $exceptionHandler service', inject( function($timeout, $exceptionHandler) { - $timeout(function() { throw "Test Error"; }); + $timeout(function() { throw new Error("Test Error"); }); expect($exceptionHandler.errors).toEqual([]); $timeout.flush(); @@ -173,7 +173,7 @@ describe('$timeout', function() { function($timeout, $rootScope) { var applySpy = spyOn($rootScope, '$apply').andCallThrough(); - $timeout(function() { throw "Test Error"; }); + $timeout(function() { throw new Error("Test Error"); }); expect(applySpy).not.toHaveBeenCalled(); $timeout.flush(); @@ -183,7 +183,7 @@ describe('$timeout', function() { it('should reject the timeout promise when an exception is thrown in the timeout callback', inject(function($timeout, log) { - var promise = $timeout(function() { throw "Some Error"; }); + var promise = $timeout(function() { throw new Error("Some Error"); }); promise.then(log.fn('success'), function(reason) { log('error: ' + reason); }); $timeout.flush(); @@ -216,7 +216,7 @@ describe('$timeout', function() { // $browser.defer.cancel is only called on cancel if the deferred object is still referenced var cancelSpy = spyOn($browser.defer, 'cancel').andCallThrough(); - var promise = $timeout(function() { throw "Test Error"; }, 0, false); + var promise = $timeout(function() { throw new Error("Test Error"); }, 0, false); $timeout.flush(); expect(cancelSpy).not.toHaveBeenCalled(); From 9f3f002d01faa47c736d6b45cae25b7bd35acf59 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:29 -0700 Subject: [PATCH 09/55] Updating test/ng/parseSpec.js, throw new Error --- test/ng/parseSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ng/parseSpec.js b/test/ng/parseSpec.js index 321cff48f93a..aa870b8939d6 100644 --- a/test/ng/parseSpec.js +++ b/test/ng/parseSpec.js @@ -2183,7 +2183,7 @@ describe('parser', function() { it('should short-circuit AND operator', function() { scope.run = function() { - throw "IT SHOULD NOT HAVE RUN"; + throw new Error("IT SHOULD NOT HAVE RUN"); }; expect(scope.$eval('false && run()')).toBe(false); expect(scope.$eval('false && true && run()')).toBe(false); @@ -2191,7 +2191,7 @@ describe('parser', function() { it('should short-circuit OR operator', function() { scope.run = function() { - throw "IT SHOULD NOT HAVE RUN"; + throw new Error("IT SHOULD NOT HAVE RUN"); }; expect(scope.$eval('true || run()')).toBe(true); expect(scope.$eval('true || false || run()')).toBe(true); From 02a831647ad56feddea48fd835d130af4cb068f8 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:32 -0700 Subject: [PATCH 10/55] Updating test/ng/qSpec.js, throw new Error --- test/ng/qSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ng/qSpec.js b/test/ng/qSpec.js index dbafc18fcfca..712e6e37ec4c 100644 --- a/test/ng/qSpec.js +++ b/test/ng/qSpec.js @@ -2099,7 +2099,7 @@ describe('q', function() { it('should still reject the promise, when exception is thrown in success handler, even if exceptionHandler rethrows', function() { - deferred.promise.then(function() { throw 'reject'; }).then(null, errorSpy); + deferred.promise.then(function() { throw new Error('reject'); }).then(null, errorSpy); deferred.resolve('resolve'); mockNextTick.flush(); expect(exceptionExceptionSpy).toHaveBeenCalled(); @@ -2108,7 +2108,7 @@ describe('q', function() { it('should still reject the promise, when exception is thrown in error handler, even if exceptionHandler rethrows', function() { - deferred.promise.then(null, function() { throw 'reject again'; }).then(null, errorSpy); + deferred.promise.then(null, function() { throw new Error('reject again'); }).then(null, errorSpy); deferred.reject('reject'); mockNextTick.flush(); expect(exceptionExceptionSpy).toHaveBeenCalled(); From e059ceef3603fe9e6bd735ebdc6f3441d17c8bfa Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:34 -0700 Subject: [PATCH 11/55] Updating src/ngScenario/Application.js, throw new Error --- src/ngScenario/Application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ngScenario/Application.js b/src/ngScenario/Application.js index 86e53ad7fca9..b83feaa06cae 100644 --- a/src/ngScenario/Application.js +++ b/src/ngScenario/Application.js @@ -35,7 +35,7 @@ angular.scenario.Application.prototype.getFrame_ = function() { angular.scenario.Application.prototype.getWindow_ = function() { var contentWindow = this.getFrame_().prop('contentWindow'); if (!contentWindow) { - throw 'Frame window is not accessible.'; + throw new Error('Frame window is not accessible.'); } return contentWindow; }; @@ -113,7 +113,7 @@ angular.scenario.Application.prototype.executeAction = function(action) { var self = this; var $window = this.getWindow_(); if (!$window.document) { - throw 'Sandbox Error: Application document not accessible.'; + throw new Error('Sandbox Error: Application document not accessible.'); } if (!$window.angular) { return action.call(this, $window, _jQuery($window.document)); From 465f891f799480e8dcfcf1a0cea062a4edce804a Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:36 -0700 Subject: [PATCH 12/55] Updating test/ngScenario/SpecRunnerSpec.js, throw new Error --- test/ngScenario/SpecRunnerSpec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ngScenario/SpecRunnerSpec.js b/test/ngScenario/SpecRunnerSpec.js index 6a207450b5f7..2e102ae2ea98 100644 --- a/test/ngScenario/SpecRunnerSpec.js +++ b/test/ngScenario/SpecRunnerSpec.js @@ -94,7 +94,7 @@ describe('angular.scenario.SpecRunner', function() { it('should execute notify UI on spec setup error', function() { var finished; var spec = createSpec('test spec', function() { - throw 'message'; + throw new Error('message'); }); runner.run(spec, function() { finished = true; @@ -130,7 +130,7 @@ describe('angular.scenario.SpecRunner', function() { var finished; var spec = createSpec('test spec', function() { this.addFuture('test future', function(done) { - throw 'error message'; + throw new Error('error message'); }); }); runner.run(spec, function() { @@ -150,7 +150,7 @@ describe('angular.scenario.SpecRunner', function() { var finished, after; var spec = createSpec('test spec', function() { this.addFuture('body', function(done) { - throw 'error message'; + throw new Error('error message'); }); }); spec.after = function() { From 056dee870d78a4d88fedd883db9e12d27cbc45d1 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:45 -0700 Subject: [PATCH 13/55] Updating test/ng/intervalSpec.js, throw new Error --- test/ng/intervalSpec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ng/intervalSpec.js b/test/ng/intervalSpec.js index 2bc2de321a18..37eb4051755d 100644 --- a/test/ng/intervalSpec.js +++ b/test/ng/intervalSpec.js @@ -214,7 +214,7 @@ describe('$interval', function() { it('should delegate exception to the $exceptionHandler service', inject( function($interval, $exceptionHandler, $window) { - $interval(function() { throw "Test Error"; }, 1000); + $interval(function() { throw new Error("Test Error"); }, 1000); expect($exceptionHandler.errors).toEqual([]); $window.flush(1000); @@ -229,7 +229,7 @@ describe('$interval', function() { function($interval, $rootScope, $window) { var applySpy = spyOn($rootScope, '$apply').andCallThrough(); - $interval(function() { throw "Test Error"; }, 1000); + $interval(function() { throw new Error("Test Error"); }, 1000); expect(applySpy).not.toHaveBeenCalled(); $window.flush(1000); @@ -240,7 +240,7 @@ describe('$interval', function() { it('should still update the interval promise when an exception is thrown', inject(function($interval, $window) { var log = [], - promise = $interval(function() { throw "Some Error"; }, 1000); + promise = $interval(function() { throw new Error("Some Error"); }, 1000); promise.then(function(value) { log.push('promise success: ' + value); }, function(err) { log.push('promise error: ' + err); }, From a34d8a037f10bf0ad6975d82bcfee5875c0a3c76 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:53 -0700 Subject: [PATCH 14/55] Updating test/ng/compileSpec.js, throw new Error --- test/ng/compileSpec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index 253ae6e50028..73882595730d 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -528,11 +528,11 @@ describe('$compile', function() { it('should handle exceptions', function() { module(function($exceptionHandlerProvider) { $exceptionHandlerProvider.mode('log'); - directive('factoryError', function() { throw 'FactoryError'; }); + directive('factoryError', function() { throw new Error('FactoryError'); }); directive('templateError', - valueFn({ compile: function() { throw 'TemplateError'; } })); + valueFn({ compile: function() { throw new Error('TemplateError'); } })); directive('linkingError', - valueFn(function() { throw 'LinkingError'; })); + valueFn(function() { throw new Error('LinkingError'); })); }); inject(function($rootScope, $compile, $exceptionHandler) { element = $compile('
')($rootScope); From 91d71ccec52bf4f109f07787b77fe6ed9f73829a Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:11:56 -0700 Subject: [PATCH 15/55] Updating test/ng/rootScopeSpec.js, throw new Error --- test/ng/rootScopeSpec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ng/rootScopeSpec.js b/test/ng/rootScopeSpec.js index 3e405b2006b5..df5769b779fc 100644 --- a/test/ng/rootScopeSpec.js +++ b/test/ng/rootScopeSpec.js @@ -1589,7 +1589,7 @@ describe('Scope', function() { it('should pass thrown exceptions to $exceptionHandler', inject(function($rootScope, $browser, $exceptionHandler) { $rootScope.$applyAsync(function() { - throw 'OOPS'; + throw new Error('OOPS'); }); $browser.defer.flush(); @@ -1601,7 +1601,7 @@ describe('Scope', function() { it('should evaluate subsequent expressions after an exception is thrown', inject(function($rootScope, $browser) { $rootScope.$applyAsync(function() { - throw 'OOPS'; + throw new Error('OOPS'); }); $rootScope.$applyAsync('x = "All good!"'); @@ -1799,7 +1799,7 @@ describe('Scope', function() { it('should dispatch exceptions to the $exceptionHandler', inject(function($exceptionHandler) { - child.$on('myEvent', function() { throw 'bubbleException'; }); + child.$on('myEvent', function() { throw new Error('bubbleException'); }); grandChild.$emit('myEvent'); expect(log).toEqual('2>1>0>'); expect($exceptionHandler.errors).toEqual(['bubbleException']); From 28ced4b39cf69fa27b2d562d033aa00546f80ac3 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:12:00 -0700 Subject: [PATCH 16/55] Updating src/ngMock/angular-mocks.js, throw new Error --- src/ngMock/angular-mocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index 090cac87f433..8e5a766415ce 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -193,7 +193,7 @@ angular.mock.$Browser.prototype = { * * inject(function($log, $exceptionHandler, $timeout) { * $timeout(function() { $log.log(1); }); - * $timeout(function() { $log.log(2); throw 'banana peel'; }); + * $timeout(function() { $log.log(2); throw new Error('banana peel'); }); * $timeout(function() { $log.log(3); }); * expect($exceptionHandler.errors).toEqual([]); * expect($log.assertEmpty()); From bc53c54d1356b50b0fd2881c30778758a789b9b7 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:12:10 -0700 Subject: [PATCH 17/55] Updating test/ng/httpSpec.js, throw new Error --- test/ng/httpSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ng/httpSpec.js b/test/ng/httpSpec.js index ab4a9f43e878..b4ad036feaf8 100644 --- a/test/ng/httpSpec.js +++ b/test/ng/httpSpec.js @@ -30,7 +30,7 @@ describe('$http', function() { }); if ($exceptionHandler.errors.length) { - throw 'Unhandled exceptions trapped in $exceptionHandler!'; + throw new Error('Unhandled exceptions trapped in $exceptionHandler!'); } $rootScope.$digest(); From 6b1218a4693137327018c6c74f440325aa016e29 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:12:16 -0700 Subject: [PATCH 18/55] Updating test/ng/directive/inputSpec.js, throw new Error --- test/ng/directive/inputSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ng/directive/inputSpec.js b/test/ng/directive/inputSpec.js index 3c92625a1b43..f269dad4c7eb 100644 --- a/test/ng/directive/inputSpec.js +++ b/test/ng/directive/inputSpec.js @@ -479,7 +479,7 @@ describe('input', function() { it('should report error on assignment error', function() { expect(function() { var inputElm = helper.compileInput(''); - }).toThrowMinErr("$parse", "syntax", "Syntax Error: Token '''' is an unexpected token at column 7 of the expression [throw ''] starting at ['']."); + }).toThrowMinErr("$parse", "syntax", "Syntax Error: Token '''' is an unexpected token at column 7 of the expression [throw new Error(''] starting at [''].")); }); From df9a32741e64bead587d1a4e019c42d7aa0b384a Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:12:22 -0700 Subject: [PATCH 19/55] Updating src/ngScenario/ObjectModel.js, throw new Error --- src/ngScenario/ObjectModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngScenario/ObjectModel.js b/src/ngScenario/ObjectModel.js index 84466f0952c8..b6fa82534d93 100644 --- a/src/ngScenario/ObjectModel.js +++ b/src/ngScenario/ObjectModel.js @@ -77,7 +77,7 @@ angular.scenario.ObjectModel = function(runner) { var it = self.getSpec(spec.id); var step = it.getLastStep(); if (step.name !== step.name) { - throw 'Events fired in the wrong order. Step names don\'t match.'; + throw new Error('Events fired in the wrong order. Step names don\'t match.'); } complete(step); From 89ec8f170444385f190cccf635aecaf1f7226ef0 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:12:24 -0700 Subject: [PATCH 20/55] Updating test/ngCookies/cookieWriterSpec.js, throw new Error --- test/ngCookies/cookieWriterSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ngCookies/cookieWriterSpec.js b/test/ngCookies/cookieWriterSpec.js index e94f2b16e7c7..57bd5d893e16 100644 --- a/test/ngCookies/cookieWriterSpec.js +++ b/test/ngCookies/cookieWriterSpec.js @@ -141,7 +141,7 @@ describe('cookie options', function() { if (prev === undefined) { return pair[1] === undefined ? true : pair[1]; } else { - throw 'duplicate key in cookie string'; + throw new Error('duplicate key in cookie string'); } } else { return prev; From 0489aa58c7afd397d43f21e9a6c5a2becb378f81 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:12:29 -0700 Subject: [PATCH 21/55] Updating lib/htmlparser/htmlparser.js, throw new Error --- lib/htmlparser/htmlparser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/htmlparser/htmlparser.js b/lib/htmlparser/htmlparser.js index 46a3da08313e..ab7241e48c30 100644 --- a/lib/htmlparser/htmlparser.js +++ b/lib/htmlparser/htmlparser.js @@ -118,7 +118,7 @@ } if ( html == last ) - throw "Parse Error: " + html; + throw new Error("Parse Error: ") + html; last = html; } From 274e31bffb4577e3d82b3d9422312d055de47bdc Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:16:09 -0700 Subject: [PATCH 22/55] Update htmlparser.js --- lib/htmlparser/htmlparser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/htmlparser/htmlparser.js b/lib/htmlparser/htmlparser.js index ab7241e48c30..8e180029b73c 100644 --- a/lib/htmlparser/htmlparser.js +++ b/lib/htmlparser/htmlparser.js @@ -118,7 +118,7 @@ } if ( html == last ) - throw new Error("Parse Error: ") + html; + throw new Error("Parse Error: " + html); last = html; } @@ -306,4 +306,4 @@ obj[ items[i] ] = true; return obj; } -})(); \ No newline at end of file +})(); From 78b7ff3ddc24b1f6b0bb2f156862d9adc2afedc9 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:40 -0700 Subject: [PATCH 23/55] Updating test/auto/injectorSpec.js, throw new Error From ec350beeaf2ff0b34bb1cc2d6c196208ce46439d Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:43 -0700 Subject: [PATCH 24/55] Updating test/helpers/matchers.js, throw new Error From 7f21d7f3ce91b99d3802092226fed5447e106e53 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:46 -0700 Subject: [PATCH 25/55] Updating test/ngMock/angular-mocksSpec.js, throw new Error From 898693458837960b5b4a49fb42bf66f56af6a2d3 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:50 -0700 Subject: [PATCH 26/55] Updating test/ng/timeoutSpec.js, throw new Error From 50602287d2087cbb22f17eb457b096ddcb900fb9 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:54 -0700 Subject: [PATCH 27/55] Updating test/ng/parseSpec.js, throw new Error From 5023bb57eba43fa0b76ca321946cc05d2f86387b Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:57 -0700 Subject: [PATCH 28/55] Updating test/ng/qSpec.js, throw new Error From 4af3e8340921609ca88f7c08936ddd92a24b22bc Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:17:59 -0700 Subject: [PATCH 29/55] Updating src/ngScenario/Application.js, throw new Error From 25172ed2e33655c6ca4f44e3708ecd1adac96e74 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:01 -0700 Subject: [PATCH 30/55] Updating test/ngScenario/SpecRunnerSpec.js, throw new Error From 7ec38921d2492aa02e2dd7312326345ad220466a Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:10 -0700 Subject: [PATCH 31/55] Updating test/ng/intervalSpec.js, throw new Error From cc0859b9fe861ac14fb7930f5578a098f0e62aae Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:22 -0700 Subject: [PATCH 32/55] Updating test/ng/compileSpec.js, throw new Error From 1abe0c1eb44b83113559e7e2c5210c7e2405b758 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:28 -0700 Subject: [PATCH 33/55] Updating test/ng/rootScopeSpec.js, throw new Error From f998fdc59e8075c7d1a50fdad8bb960ed7d167e9 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:31 -0700 Subject: [PATCH 34/55] Updating src/ngMock/angular-mocks.js, throw new Error From 8ee959d08d8e212b5cc50aa18b67deeadd68eeb1 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:41 -0700 Subject: [PATCH 35/55] Updating test/ng/httpSpec.js, throw new Error From 12c3fbbeacde2a967a5390a8e2354c25e5ece511 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:48 -0700 Subject: [PATCH 36/55] Updating test/ng/directive/inputSpec.js, throw new Error From 39cf330db7afb733a47c9688f46ca99ea9a582c3 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:54 -0700 Subject: [PATCH 37/55] Updating src/ngScenario/ObjectModel.js, throw new Error From 3f94a73dd769a35a30626083b53ba4529dfd506b Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:18:56 -0700 Subject: [PATCH 38/55] Updating test/ngCookies/cookieWriterSpec.js, throw new Error From a38ad15947287b566666b8a4b936eeb922ab3c38 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:19:01 -0700 Subject: [PATCH 39/55] Updating lib/htmlparser/htmlparser.js, throw new Error --- lib/htmlparser/htmlparser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/htmlparser/htmlparser.js b/lib/htmlparser/htmlparser.js index 8e180029b73c..ab7241e48c30 100644 --- a/lib/htmlparser/htmlparser.js +++ b/lib/htmlparser/htmlparser.js @@ -118,7 +118,7 @@ } if ( html == last ) - throw new Error("Parse Error: " + html); + throw new Error("Parse Error: ") + html; last = html; } @@ -306,4 +306,4 @@ obj[ items[i] ] = true; return obj; } -})(); +})(); \ No newline at end of file From 3042b6673240b7e7bca173accbe5cb090cf1fab1 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:25:24 -0700 Subject: [PATCH 40/55] Updating src/ngScenario/Application.js, throw new Error From eb3ca34915906677f52639a11623a1ab1c64fda8 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:25:32 -0700 Subject: [PATCH 41/55] Updating src/ngMock/angular-mocks.js, throw new Error From 6ce76b4b1f4d8a2e67463b6cf8c4140d1a82840f Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:25:45 -0700 Subject: [PATCH 42/55] Updating src/ngScenario/ObjectModel.js, throw new Error From 43ffe648b333e067300f5686182100f380f4a44c Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:25:48 -0700 Subject: [PATCH 43/55] Updating lib/htmlparser/htmlparser.js, throw new Error From 296aafc3b59ef109d3c6c2e734c0f6a3b13b9e78 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:38:21 -0700 Subject: [PATCH 44/55] Updating src/ngScenario/Application.js, throw new Error From 7773e6e9d9793969d6ac6b0f9774444c733857db Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:38:29 -0700 Subject: [PATCH 45/55] Updating src/ngMock/angular-mocks.js, throw new Error From fed46693e5669fa5c34a4b06a5a2a16b55627f91 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:38:41 -0700 Subject: [PATCH 46/55] Updating src/ngScenario/ObjectModel.js, throw new Error From c57b62527f0f541f438418bdad167805be28601f Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:38:44 -0700 Subject: [PATCH 47/55] Updating lib/htmlparser/htmlparser.js, throw new Error From 5883a79b9009cc80201ae9d8c5c73e96bd6a1649 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:52:56 -0700 Subject: [PATCH 48/55] Updating src/ngScenario/Application.js, throw new Error From 20e57713ed88cd3954c4bf751e4a742a253d711e Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:53:03 -0700 Subject: [PATCH 49/55] Updating src/ngMock/angular-mocks.js, throw new Error From cf359354fb6f4808fbe7b895c744e783a4640b43 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:53:16 -0700 Subject: [PATCH 50/55] Updating src/ngScenario/ObjectModel.js, throw new Error From 7e662e8b127a646cb642ca5b9d3b5f5256e091de Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:53:19 -0700 Subject: [PATCH 51/55] Updating lib/htmlparser/htmlparser.js, throw new Error From f2b0aa49c7cc1bbfb64beb9edbd89bfc2564ffbc Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:53:56 -0700 Subject: [PATCH 52/55] Updating src/ngScenario/Application.js, throw new Error From 43e955665cee8f73ed6b2ddd996c541df4757d78 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:54:03 -0700 Subject: [PATCH 53/55] Updating src/ngMock/angular-mocks.js, throw new Error From 1c1bfce34ceafceaf2e734b2ff172a71dac91f88 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:54:16 -0700 Subject: [PATCH 54/55] Updating src/ngScenario/ObjectModel.js, throw new Error From 111f49cfc587924bdf9f90bcc753d75091cc3519 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 19 Jun 2015 00:54:19 -0700 Subject: [PATCH 55/55] Updating lib/htmlparser/htmlparser.js, throw new Error