exteranto / framework

The Exteranto browser extension framework core packages.
https://exteranto.github.io
MIT License
5 stars 4 forks source link

Bug active tab returns undefined if not set #112

Closed porkbrain closed 5 years ago

porkbrain commented 5 years ago

References issue

104

Describe the pull request Checks for returned array length before popping. If the length is 0, throws an exception. Also adds tests for both scenarios (tab found and tab nonexistent).