aboutsummaryrefslogtreecommitdiff
path: root/content/activity_info_server.js
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-09-08 19:55:33 +0200
committerWojtek Kosior <koszko@koszko.org>2021-09-08 19:55:33 +0200
commite2d26bad35bbe3876862b482f7963d713238313b (patch)
tree47e6647c239e8f85fa764cfa5750e0f73e1efd74 /content/activity_info_server.js
parent704f2da0673dc714f72b9bb82f6bf648795d4335 (diff)
downloadbrowser-extension-e2d26bad35bbe3876862b482f7963d713238313b.tar.gz
browser-extension-e2d26bad35bbe3876862b482f7963d713238313b.zip
Fix sanitizing of non-HTML XMLDocument's
Diffstat (limited to 'content/activity_info_server.js')
-rw-r--r--content/activity_info_server.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/activity_info_server.js b/content/activity_info_server.js
index beecb1a..1b69703 100644
--- a/content/activity_info_server.js
+++ b/content/activity_info_server.js
@@ -44,9 +44,9 @@ function report_settings(settings)
report_activity("settings", settings);
}
-function report_content_type(content_type)
+function report_document_type(is_html)
{
- report_activity("content_type", content_type);
+ report_activity("is_html", is_html);
}
function report_repo_query_action(update, port)
@@ -96,6 +96,6 @@ function start_activity_info_server()
* EXPORT start_activity_info_server
* EXPORT report_script
* EXPORT report_settings
- * EXPORT report_content_type
+ * EXPORT report_document_type
* EXPORTS_END
*/