Add test fixtures
Test page loads fixtures and renders the inbox view. This may be useful for smoke testing style changes or generating screenshots with pseudo-realistic data. Includes a couple small changes to get rendering working outside the app.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
}.bind(this);
|
||||
this.appWindow.contentWindow.addEventListener('focus', onFocus);
|
||||
|
||||
this.appWindow.onClosed.addListener(function () {
|
||||
extension.windows.onClosed(function () {
|
||||
this.appWindow.contentWindow.removeEventListener('resize', onResize);
|
||||
this.appWindow.contentWindow.removeEventListener('focus', onFocus);
|
||||
window.autosize.destroy(this.$messageField);
|
||||
|
Reference in New Issue
Block a user