mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	ui: Remove warning for unsupported old Zulip desktop app.
This warning was added in #6551. It’s not for any version of the current Electron app, which we warn about on the server side with DESKTOP_WARNING_VERSION, but rather some pre-Electron app so ancient I don’t even know what it is. Apparently it communicated using the window.bridge global, so eradicate that too. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							1073adfb08
						
					
				
				
					commit
					5a22e73cc6
				
			@@ -13,8 +13,6 @@ const $ = require("../zjsunit/zjquery");
 | 
			
		||||
 | 
			
		||||
const events = require("./lib/events");
 | 
			
		||||
 | 
			
		||||
set_global("bridge", false);
 | 
			
		||||
 | 
			
		||||
const noop = () => {};
 | 
			
		||||
 | 
			
		||||
set_global("DOMParser", new JSDOM().window.DOMParser);
 | 
			
		||||
@@ -1029,7 +1027,6 @@ test_ui("initialize", () => {
 | 
			
		||||
        assert.equal("#compose-textarea", elem);
 | 
			
		||||
        resize_watch_manual_resize_checked = true;
 | 
			
		||||
    };
 | 
			
		||||
    set_global("bridge", true);
 | 
			
		||||
    let xmlhttprequest_checked = false;
 | 
			
		||||
    set_global("XMLHttpRequest", function () {
 | 
			
		||||
        this.upload = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user