This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function failingListener() { | |
| return Promise.resolve({ | |
| redirectUrl: 'http://mozilla.org' | |
| }) | |
| } | |
| function functioningListener() { | |
| return { | |
| redirectUrl: 'http://mozilla.org' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chrome.browserAction.onClicked.addListener(() => { | |
| chrome.tabs.create({url: '/testchanges.html'}) | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package testpublishsubject; | |
| import rx.Observable; | |
| import rx.observables.ConnectableObservable; | |
| public class TestPublishSubjectMapMany { | |
| private static int subscriptionCounter = 0; | |
| public static void main(String[] args) { |