Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Description: Ensure unknown NS element in atom:author doesn't cause exception
4 Expect: var mCService = Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService); var msg = mCService.getMessageArray()[0]; if(msg){msg = msg.message}; ((msg + "").indexOf("prefix has no properties") == -1);
5 -->
6 <feed xmlns="http://www.w3.org/2005/Atom">
8 <author>
9 <name>Sam Ruby</name>
10 <method xmlns="http://www.intertwingly.net/blog/">excerpt</method>
11 <email>rubys@intertwingly.net</email>
12 <uri>.</uri>
13 </author>
15 </feed>