Project

General

Profile

« Previous | Next » 

Revision ad69f9c8

Added by koszko over 1 year ago

add support for testing with other browsers (especially Abrowser and Librewolf)

There are still some spurious failures when running under those newer browsers. Those will be systematically investigated and fixed.

View differences:

common/broadcast.js
46 46
function sender_connection()
47 47
{
48 48
    return {
49
	type: "sender",
49 50
	port: connect_to_background("broadcast_send")
50 51
    };
51 52
}
......
92 93
function listener_connection(cb)
93 94
{
94 95
    const conn = {
96
	type: "listener",
95 97
	port: connect_to_background("broadcast_listen")
96 98
    };
97 99

  
......
115 117

  
116 118
function close(conn)
117 119
{
120
    if (conn.type === "sender")
121
	flush(conn);
118 122
    conn.port.disconnect();
119 123
}
120 124
#EXPORT close

Also available in: Unified diff