Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterComposer.js

Issue 29636640: Issue 6183 - Reduce "Receiving end does not exist" exceptions (Closed)
Patch Set: Created Dec. 12, 2017, 3:51 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterComposer.js
diff --git a/lib/filterComposer.js b/lib/filterComposer.js
index 3759ca58e9875ccaa175310f6bd9dab52285b7dd..88e0f84a049c1700002ed9a95d4a03258bdfbdbd 100644
--- a/lib/filterComposer.js
+++ b/lib/filterComposer.js
@@ -318,10 +318,3 @@ port.on("composer.quoteCSS", (message, sender) =>
{
return quoteCSS(message.CSS);
});
-
-ext.pages.onLoading.addListener(page =>
-{
- // A newly opened tab that is still loading has its URL set to about:blank
- if (/^https?:/.test(page.url.protocol))
- page.sendMessage({type: "composer.content.finished"});
-});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld