ember-source 2.16.0.beta.2 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 475e7db17b8b57155cfa98a604cbab329fd92038
4
- data.tar.gz: e3c43638f235929b6c391b1d956a4d7ffa22e654
3
+ metadata.gz: 43c8f3909c7a87a7ac1e94333fae5b3b33f5f5a0
4
+ data.tar.gz: 5543b7d65d790f3d63eb3f4629065d6dc5fedf09
5
5
  SHA512:
6
- metadata.gz: e6854e8807f2604fd5829b40c6c1dd1427531b55a3d0b5c32acaae79e217edd4807498125cac471fb742a9d6ae80333daf2df207e247fa6482ddff28a31e33b0
7
- data.tar.gz: e599b4860f349c2c7d1287cbfae1c89256d90e819dd682eea08d6da3e114f8e643316a4e6e68a755de32b3dcea2a8ae2857e5b0679a195354f25d8b2c7d8740c
6
+ metadata.gz: 042b7c42ed44843f21d8095f2174c62f62341f9933d88162888fbcaab43dddf6d13d6ff9b6b8e4fa365ed03dc9311d3b448a01a9835246510b66e3de22ce1464
7
+ data.tar.gz: 34d38a568ebaba7486f1def24a9a8b31db3476cdff1ef112fe85cd917b2e2ef2fbdb74f01ccdbed3c215df7304146ce595c0a26e1b273c057800071b6f523b66
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.16.0.beta.2
1
+ 2.16.0
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.16.0-beta.2
9
+ * @version 2.16.0
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.16.0-beta.2
9
+ * @version 2.16.0
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -4940,6 +4940,7 @@ enifed('backburner', ['exports'], function (exports) {
4940
4940
  };
4941
4941
 
4942
4942
  var noop = function () {};
4943
+ var SET_TIMEOUT = setTimeout;
4943
4944
 
4944
4945
  var Backburner = function () {
4945
4946
  function Backburner(queueNames) {
@@ -4976,7 +4977,7 @@ enifed('backburner', ['exports'], function (exports) {
4976
4977
  return clearTimeout(id);
4977
4978
  };
4978
4979
  platform.next = _platform.next || function (fn) {
4979
- return platform.setTimeout(fn, 0);
4980
+ return SET_TIMEOUT(fn, 0);
4980
4981
  };
4981
4982
  platform.clearNext = _platform.clearNext || platform.clearTimeout;
4982
4983
  platform.now = _platform.now || function () {
@@ -17104,7 +17105,7 @@ enifed('ember/features', ['exports', 'ember-environment', 'ember-utils'], functi
17104
17105
  enifed("ember/version", ["exports"], function (exports) {
17105
17106
  "use strict";
17106
17107
 
17107
- exports.default = "2.16.0-beta.2";
17108
+ exports.default = "2.16.0";
17108
17109
  });
17109
17110
  enifed("handlebars", ["exports"], function (exports) {
17110
17111
  "use strict";
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.16.0-beta.2
9
+ * @version 2.16.0
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -1659,6 +1659,28 @@ enifed('ember-testing/helpers/pause_test', ['exports', 'ember-runtime', 'ember-c
1659
1659
  return pauseTest();
1660
1660
  click('.btn');
1661
1661
  ```
1662
+
1663
+ You may want to turn off the timeout before pausing.
1664
+
1665
+ qunit (as of 2.4.0):
1666
+
1667
+ ```
1668
+ visit('/');
1669
+ assert.timeout(0);
1670
+ return pauseTest();
1671
+ click('.btn');
1672
+ ```
1673
+
1674
+ mocha:
1675
+
1676
+ ```
1677
+ visit('/');
1678
+ this.timeout(0);
1679
+ return pauseTest();
1680
+ click('.btn');
1681
+ ```
1682
+
1683
+
1662
1684
  @since 1.9.0
1663
1685
  @method pauseTest
1664
1686
  @return {Object} A promise that will never resolve
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.16.0-beta.2
9
+ * @version 2.16.0
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -1779,6 +1779,7 @@ enifed('ember-application/tests/system/application_instance_test', ['ember-babel
1779
1779
  appInstance = (0, _emberMetal.run)(function () {
1780
1780
  return _applicationInstance.default.create({ application: application });
1781
1781
  });
1782
+ appInstance.setupRegistry();
1782
1783
 
1783
1784
  application.customEvents = {
1784
1785
  awesome: 'sauce'
@@ -1798,6 +1799,7 @@ enifed('ember-application/tests/system/application_instance_test', ['ember-babel
1798
1799
  (0, _emberMetal.run)(function () {
1799
1800
  return appInstance = _applicationInstance.default.create({ application: application });
1800
1801
  });
1802
+ appInstance.setupRegistry();
1801
1803
 
1802
1804
  application.customEvents = {
1803
1805
  awesome: 'sauce'
@@ -1817,6 +1819,7 @@ enifed('ember-application/tests/system/application_instance_test', ['ember-babel
1817
1819
  appInstance = (0, _emberMetal.run)(function () {
1818
1820
  return _applicationInstance.default.create({ application: application });
1819
1821
  });
1822
+ appInstance.setupRegistry();
1820
1823
 
1821
1824
  appInstance.customEvents = {
1822
1825
  awesome: 'sauce'
@@ -5762,15 +5765,22 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5762
5765
  });
5763
5766
  };
5764
5767
 
5765
- _class.prototype['@test visit() on engine resolves engine component'] = function (assert) {
5768
+ _class.prototype['@test visit() does not setup the event_dispatcher:main if isInteractive is false (with Engines) GH#15615'] = function (assert) {
5766
5769
  var _this8 = this;
5767
5770
 
5768
- assert.expect(2);
5771
+ assert.expect(3);
5769
5772
 
5770
5773
  this.router.map(function () {
5771
5774
  this.mount('blog');
5772
5775
  });
5773
5776
 
5777
+ this.addTemplate('application', '<h1>Hello world</h1>{{outlet}}');
5778
+ this.add('event_dispatcher:main', {
5779
+ create: function () {
5780
+ throw new Error('should not happen!');
5781
+ }
5782
+ });
5783
+
5774
5784
  // Register engine
5775
5785
  var BlogEngine = _engine.default.extend({
5776
5786
  init: function () {
@@ -5790,14 +5800,15 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5790
5800
  var BlogMap = function () {};
5791
5801
  this.add('route-map:blog', BlogMap);
5792
5802
 
5793
- assert.strictEqual(this.$().children().length, 0, 'there are no elements in the fixture element');
5803
+ assert.strictEqual(this.$('#qunit-fixture').children().length, 0, 'there are no elements in the fixture element');
5794
5804
 
5795
- return this.visit('/blog', { shouldRender: true }).then(function (instance) {
5805
+ return this.visit('/blog', { isInteractive: false }).then(function (instance) {
5806
+ assert.ok(instance instanceof _applicationInstance.default, 'promise is resolved with an ApplicationInstance');
5796
5807
  assert.strictEqual(_this8.$().find('p').text(), 'Dis cache money', 'Engine component is resolved');
5797
5808
  });
5798
5809
  };
5799
5810
 
5800
- _class.prototype['@test visit() on engine resolves engine helper'] = function (assert) {
5811
+ _class.prototype['@test visit() on engine resolves engine component'] = function (assert) {
5801
5812
  var _this9 = this;
5802
5813
 
5803
5814
  assert.expect(2);
@@ -5813,6 +5824,41 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5813
5824
  args[_key2] = arguments[_key2];
5814
5825
  }
5815
5826
 
5827
+ this._super.apply(this, args);
5828
+ this.register('template:application', (0, _emberTemplateCompiler.compile)('{{cache-money}}'));
5829
+ this.register('template:components/cache-money', (0, _emberTemplateCompiler.compile)('\n <p>Dis cache money</p>\n '));
5830
+ this.register('component:cache-money', _emberGlimmer.Component.extend({}));
5831
+ }
5832
+ });
5833
+ this.add('engine:blog', BlogEngine);
5834
+
5835
+ // Register engine route map
5836
+ var BlogMap = function () {};
5837
+ this.add('route-map:blog', BlogMap);
5838
+
5839
+ assert.strictEqual(this.$().children().length, 0, 'there are no elements in the fixture element');
5840
+
5841
+ return this.visit('/blog', { shouldRender: true }).then(function (instance) {
5842
+ assert.strictEqual(_this9.$().find('p').text(), 'Dis cache money', 'Engine component is resolved');
5843
+ });
5844
+ };
5845
+
5846
+ _class.prototype['@test visit() on engine resolves engine helper'] = function (assert) {
5847
+ var _this10 = this;
5848
+
5849
+ assert.expect(2);
5850
+
5851
+ this.router.map(function () {
5852
+ this.mount('blog');
5853
+ });
5854
+
5855
+ // Register engine
5856
+ var BlogEngine = _engine.default.extend({
5857
+ init: function () {
5858
+ for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
5859
+ args[_key3] = arguments[_key3];
5860
+ }
5861
+
5816
5862
  this._super.apply(this, args);
5817
5863
  this.register('template:application', (0, _emberTemplateCompiler.compile)('{{swag}}'));
5818
5864
  this.register('helper:swag', (0, _emberGlimmer.helper)(function () {
@@ -5829,12 +5875,12 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5829
5875
  assert.strictEqual(this.$().children().length, 0, 'there are no elements in the fixture element');
5830
5876
 
5831
5877
  return this.visit('/blog', { shouldRender: true }).then(function () {
5832
- assert.strictEqual(_this9.$().text(), 'turnt up', 'Engine component is resolved');
5878
+ assert.strictEqual(_this10.$().text(), 'turnt up', 'Engine component is resolved');
5833
5879
  });
5834
5880
  };
5835
5881
 
5836
5882
  _class.prototype['@test Ember Islands-style setup'] = function (assert) {
5837
- var _this10 = this;
5883
+ var _this11 = this;
5838
5884
 
5839
5885
  var xFooInitCalled = false;
5840
5886
  var xFooDidInsertElementCalled = false;
@@ -5921,9 +5967,9 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5921
5967
  var instances = [];
5922
5968
 
5923
5969
  return _emberRuntime.RSVP.all([this.runTask(function () {
5924
- return _this10.application.visit('/x-foo?data=' + data, { rootElement: $foo[0] });
5970
+ return _this11.application.visit('/x-foo?data=' + data, { rootElement: $foo[0] });
5925
5971
  }), this.runTask(function () {
5926
- return _this10.application.visit('/x-bar', { rootElement: $bar[0] });
5972
+ return _this11.application.visit('/x-bar', { rootElement: $bar[0] });
5927
5973
  })]).then(function (_instances) {
5928
5974
  instances = _instances;
5929
5975
 
@@ -5941,14 +5987,14 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5941
5987
  assert.equal($bar.find('button').text(), 'Join 0 others in clicking me!');
5942
5988
  assert.ok($bar.text().indexOf('X-Foo') === -1);
5943
5989
 
5944
- _this10.runTask(function () {
5990
+ _this11.runTask(function () {
5945
5991
  $foo.find('x-foo').click();
5946
5992
  });
5947
5993
 
5948
5994
  assert.equal($foo.find('p').text(), 'Hello Godfrey, I have been clicked 1 times (1 times combined)!');
5949
5995
  assert.equal($bar.find('button').text(), 'Join 1 others in clicking me!');
5950
5996
 
5951
- _this10.runTask(function () {
5997
+ _this11.runTask(function () {
5952
5998
  $bar.find('button').click();
5953
5999
  $bar.find('button').click();
5954
6000
  });
@@ -5956,7 +6002,7 @@ enifed('ember-application/tests/system/visit_test', ['ember-babel', 'internal-te
5956
6002
  assert.equal($foo.find('p').text(), 'Hello Godfrey, I have been clicked 1 times (3 times combined)!');
5957
6003
  assert.equal($bar.find('button').text(), 'Join 3 others in clicking me!');
5958
6004
  }).finally(function () {
5959
- _this10.runTask(function () {
6005
+ _this11.runTask(function () {
5960
6006
  instances.forEach(function (instance) {
5961
6007
  instance.destroy();
5962
6008
  });
@@ -7715,9 +7761,38 @@ enifed('ember-extension-support/tests/data_adapter_test', ['ember-babel', 'ember
7715
7761
  });
7716
7762
  };
7717
7763
 
7718
- _class.prototype['@test Records Added'] = function testRecordsAdded() {
7764
+ _class.prototype['@test Model Types Updated but Unchanged Do not Trigger Callbacks'] = function testModelTypesUpdatedButUnchangedDoNotTriggerCallbacks() {
7719
7765
  var _this6 = this;
7720
7766
 
7767
+ expect(0);
7768
+ var records = (0, _emberRuntime.A)([1, 2, 3]);
7769
+ this.add('data-adapter:main', DataAdapter.extend({
7770
+ getRecords: function (klass, name) {
7771
+ return records;
7772
+ }
7773
+ }));
7774
+ this.add('model:post', PostClass);
7775
+
7776
+ return this.visit('/').then(function () {
7777
+ adapter = _this6.applicationInstance.lookup('data-adapter:main');
7778
+
7779
+ function modelTypesAdded(types) {
7780
+ (0, _emberMetal.run)(function () {
7781
+ records.arrayContentDidChange(0, 0, 0);
7782
+ });
7783
+ }
7784
+
7785
+ function modelTypesUpdated(types) {
7786
+ ok(false, "modelTypesUpdated should not be triggered if the array didn't change");
7787
+ }
7788
+
7789
+ adapter.watchModelTypes(modelTypesAdded, modelTypesUpdated);
7790
+ });
7791
+ };
7792
+
7793
+ _class.prototype['@test Records Added'] = function testRecordsAdded() {
7794
+ var _this7 = this;
7795
+
7721
7796
  var countAdded = 1;
7722
7797
  var post = PostClass.create();
7723
7798
  var recordList = (0, _emberRuntime.A)([post]);
@@ -7739,7 +7814,7 @@ enifed('ember-extension-support/tests/data_adapter_test', ['ember-babel', 'ember
7739
7814
  this.add('model:post', PostClass);
7740
7815
 
7741
7816
  return this.visit('/').then(function () {
7742
- adapter = _this6.applicationInstance.lookup('data-adapter:main');
7817
+ adapter = _this7.applicationInstance.lookup('data-adapter:main');
7743
7818
 
7744
7819
  function recordsAdded(records) {
7745
7820
  var record = records[0];
@@ -7757,7 +7832,7 @@ enifed('ember-extension-support/tests/data_adapter_test', ['ember-babel', 'ember
7757
7832
  };
7758
7833
 
7759
7834
  _class.prototype['@test Observes and releases a record correctly'] = function testObservesAndReleasesARecordCorrectly() {
7760
- var _this7 = this;
7835
+ var _this8 = this;
7761
7836
 
7762
7837
  var updatesCalled = 0;
7763
7838
  var post = PostClass.create({ title: 'Post' });
@@ -7784,7 +7859,7 @@ enifed('ember-extension-support/tests/data_adapter_test', ['ember-babel', 'ember
7784
7859
  this.add('model:post', PostClass);
7785
7860
 
7786
7861
  return this.visit('/').then(function () {
7787
- adapter = _this7.applicationInstance.lookup('data-adapter:main');
7862
+ adapter = _this8.applicationInstance.lookup('data-adapter:main');
7788
7863
 
7789
7864
  function recordsAdded() {
7790
7865
  (0, _emberMetal.set)(post, 'title', 'Post Modified');
@@ -7803,12 +7878,12 @@ enifed('ember-extension-support/tests/data_adapter_test', ['ember-babel', 'ember
7803
7878
  };
7804
7879
 
7805
7880
  _class.prototype['@test _nameToClass does not error when not found'] = function test_nameToClassDoesNotErrorWhenNotFound() {
7806
- var _this8 = this;
7881
+ var _this9 = this;
7807
7882
 
7808
7883
  this.add('data-adapter:main', DataAdapter);
7809
7884
 
7810
7885
  return this.visit('/').then(function () {
7811
- adapter = _this8.applicationInstance.lookup('data-adapter:main');
7886
+ adapter = _this9.applicationInstance.lookup('data-adapter:main');
7812
7887
 
7813
7888
  var klass = adapter._nameToClass('foo');
7814
7889
 
@@ -23010,15 +23085,6 @@ enifed('ember-glimmer/tests/integration/event-dispatcher-test', ['ember-babel',
23010
23085
  this.render('{{x-foo}}');
23011
23086
  };
23012
23087
 
23013
- _class2.prototype['@test canDispatchToEventManager is deprecated in EventDispatcher'] = function testCanDispatchToEventManagerIsDeprecatedInEventDispatcher(assert) {
23014
- var MyDispatcher = _emberViews.EventDispatcher.extend({
23015
- canDispatchToEventManager: null
23016
- });
23017
-
23018
- expectDeprecation(/`canDispatchToEventManager` has been deprecated/);
23019
- MyDispatcher.create();
23020
- };
23021
-
23022
23088
  _class2.prototype['@test a rootElement can be specified'] = function testARootElementCanBeSpecified(assert) {
23023
23089
  this.$().append('<div id="app"></div>');
23024
23090
  this.dispatcher.setup({ myevent: 'myEvent' }, '#app');
@@ -23063,21 +23129,49 @@ enifed('ember-glimmer/tests/integration/event-dispatcher-test', ['ember-babel',
23063
23129
  return _class2;
23064
23130
  }(_testCase.RenderingTest));
23065
23131
 
23132
+ (0, _testCase.moduleFor)('custom EventDispatcher subclass with #setup', function (_RenderingTest3) {
23133
+ (0, _emberBabel.inherits)(_class3, _RenderingTest3);
23134
+
23135
+ function _class3() {
23136
+ (0, _emberBabel.classCallCheck)(this, _class3);
23137
+
23138
+ var _this9 = (0, _emberBabel.possibleConstructorReturn)(this, _RenderingTest3.call(this));
23139
+
23140
+ var dispatcher = _this9.owner.lookup('event_dispatcher:main');
23141
+ (0, _emberMetal.run)(dispatcher, 'destroy');
23142
+ _this9.owner.__container__.reset('event_dispatcher:main');
23143
+ _this9.owner.unregister('event_dispatcher:main');
23144
+ return _this9;
23145
+ }
23146
+
23147
+ _class3.prototype['@test canDispatchToEventManager is deprecated in EventDispatcher'] = function testCanDispatchToEventManagerIsDeprecatedInEventDispatcher(assert) {
23148
+ var MyDispatcher = _emberViews.EventDispatcher.extend({
23149
+ canDispatchToEventManager: null
23150
+ });
23151
+ this.owner.register('event_dispatcher:main', MyDispatcher);
23152
+
23153
+ expectDeprecation(/`canDispatchToEventManager` has been deprecated/);
23154
+ this.owner.lookup('event_dispatcher:main');
23155
+ };
23156
+
23157
+ return _class3;
23158
+ }(_testCase.RenderingTest));
23159
+
23066
23160
  if (_features.EMBER_IMPROVED_INSTRUMENTATION) {
23067
- (0, _testCase.moduleFor)('EventDispatcher - Instrumentation', function (_RenderingTest3) {
23068
- (0, _emberBabel.inherits)(_class3, _RenderingTest3);
23161
+ (0, _testCase.moduleFor)('EventDispatcher - Instrumentation', function (_RenderingTest4) {
23162
+ (0, _emberBabel.inherits)(_class4, _RenderingTest4);
23069
23163
 
23070
- function _class3() {
23071
- (0, _emberBabel.classCallCheck)(this, _class3);
23072
- return (0, _emberBabel.possibleConstructorReturn)(this, _RenderingTest3.apply(this, arguments));
23164
+ function _class4() {
23165
+ (0, _emberBabel.classCallCheck)(this, _class4);
23166
+ return (0, _emberBabel.possibleConstructorReturn)(this, _RenderingTest4.apply(this, arguments));
23073
23167
  }
23074
23168
 
23075
- _class3.prototype.teardown = function teardown() {
23076
- _RenderingTest3.prototype.teardown.call(this);
23169
+ _class4.prototype.teardown = function teardown() {
23170
+ _RenderingTest4.prototype.teardown.call(this);
23077
23171
  (0, _emberMetal.instrumentationReset)();
23078
23172
  };
23079
23173
 
23080
- _class3.prototype['@test instruments triggered events'] = function testInstrumentsTriggeredEvents(assert) {
23174
+ _class4.prototype['@test instruments triggered events'] = function testInstrumentsTriggeredEvents(assert) {
23081
23175
  var clicked = 0;
23082
23176
 
23083
23177
  this.registerComponent('x-foo', {
@@ -23124,20 +23218,20 @@ enifed('ember-glimmer/tests/integration/event-dispatcher-test', ['ember-babel',
23124
23218
  assert.strictEqual(keypressInstrumented, 0, 'The keypress was not instrumented');
23125
23219
  };
23126
23220
 
23127
- return _class3;
23221
+ return _class4;
23128
23222
  }(_testCase.RenderingTest));
23129
23223
  }
23130
23224
 
23131
23225
  if (canDataTransfer) {
23132
- (0, _testCase.moduleFor)('EventDispatcher - Event Properties', function (_RenderingTest4) {
23133
- (0, _emberBabel.inherits)(_class4, _RenderingTest4);
23226
+ (0, _testCase.moduleFor)('EventDispatcher - Event Properties', function (_RenderingTest5) {
23227
+ (0, _emberBabel.inherits)(_class5, _RenderingTest5);
23134
23228
 
23135
- function _class4() {
23136
- (0, _emberBabel.classCallCheck)(this, _class4);
23137
- return (0, _emberBabel.possibleConstructorReturn)(this, _RenderingTest4.apply(this, arguments));
23229
+ function _class5() {
23230
+ (0, _emberBabel.classCallCheck)(this, _class5);
23231
+ return (0, _emberBabel.possibleConstructorReturn)(this, _RenderingTest5.apply(this, arguments));
23138
23232
  }
23139
23233
 
23140
- _class4.prototype['@test dataTransfer property is added to drop event'] = function testDataTransferPropertyIsAddedToDropEvent(assert) {
23234
+ _class5.prototype['@test dataTransfer property is added to drop event'] = function testDataTransferPropertyIsAddedToDropEvent(assert) {
23141
23235
  var receivedEvent = void 0;
23142
23236
  this.registerComponent('x-foo', {
23143
23237
  ComponentClass: _helpers.Component.extend({
@@ -23153,7 +23247,7 @@ enifed('ember-glimmer/tests/integration/event-dispatcher-test', ['ember-babel',
23153
23247
  assert.equal(receivedEvent.dataTransfer, 'success');
23154
23248
  };
23155
23249
 
23156
- return _class4;
23250
+ return _class5;
23157
23251
  }(_testCase.RenderingTest));
23158
23252
  }
23159
23253
  });
@@ -79685,10 +79779,12 @@ enifed('internal-test-helpers/test-cases/abstract-rendering', ['exports', 'ember
79685
79779
 
79686
79780
  var _this = (0, _emberBabel.possibleConstructorReturn)(this, _AbstractTestCase.call(this));
79687
79781
 
79782
+ var bootOptions = _this.getBootOptions();
79783
+
79688
79784
  var owner = _this.owner = (0, _buildOwner.default)({
79689
79785
  ownerOptions: _this.getOwnerOptions(),
79690
- bootOptions: _this.getBootOptions(),
79691
- resolver: _this.getResolver()
79786
+ resolver: _this.getResolver(),
79787
+ bootOptions: bootOptions
79692
79788
  });
79693
79789
 
79694
79790
  _this.renderer = _this.owner.lookup('renderer:-dom');
@@ -79697,7 +79793,9 @@ enifed('internal-test-helpers/test-cases/abstract-rendering', ['exports', 'ember
79697
79793
 
79698
79794
  owner.register('event_dispatcher:main', _emberViews.EventDispatcher);
79699
79795
  owner.inject('event_dispatcher:main', '_viewRegistry', '-view-registry:main');
79700
- owner.lookup('event_dispatcher:main').setup(_this.getCustomDispatcherEvents(), _this.element);
79796
+ if (!bootOptions || bootOptions.isInteractive !== false) {
79797
+ owner.lookup('event_dispatcher:main').setup(_this.getCustomDispatcherEvents(), _this.element);
79798
+ }
79701
79799
  return _this;
79702
79800
  }
79703
79801