[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5893 [EFF-HTTPS Everywhere]: Breakage in Firefox 15 nightlies due to E4X deprecation (was: UI breakage in Firefox 15 nightlies)
#5893: Breakage in Firefox 15 nightlies due to E4X deprecation
----------------------------------+-----------------------------------------
Reporter: pde | Owner: pde
Type: defect | Status: new
Priority: critical | Milestone:
Component: EFF-HTTPS Everywhere | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
Changes (by pde):
* cc: mikeperry (added)
Comment:
We also get these exceptions on lines 123, 125 and 127 of preferences.js
Googling this error message implies that it is normally caused by the use
of "[https://en.wikipedia.org/wiki/ECMAScript_for_XML E4X]".
It isn't at first obvious how that relates to places that are throwing
these exceptions. However we use E4X in the functions
[https://gitweb.torproject.org/https-
everywhere.git/blob/dd01180f4d08a313ff9f3db9b25348b45a11ac94:/src/chrome/content/code/HTTPSRules.js#l250
ParseXmlRulesets] and [https://gitweb.torproject.org/https-
everywhere.git/blob/dd01180f4d08a313ff9f3db9b25348b45a11ac94:/src/chrome/content/code/HTTPSRules.js#l279
PraseOneRuleset], and the errors are being raised in places that refer to
objects built from XML input in those functions.
So it seems that ParseXmlRulesets and ParseOneRuleset will need to be
rewritten using some alternative non-E4X means of parsing XML rulesets.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5893#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs