dom/plugins/test/testplugin/nptest_name.cpp

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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 const char *sPluginName = "Test Plug-in";
     2 const char *sPluginDescription = "Plug-in for testing purposes.\xE2\x84\xA2 "  \
     3   "(\xe0\xa4\xb9\xe0\xa4\xbf\xe0\xa4\xa8\xe0\xa5\x8d\xe0\xa4\xa6\xe0\xa5\x80 " \
     4   "\xe4\xb8\xad\xe6\x96\x87 "                                                  \
     5   "\xd8\xa7\xd9\x84\xd8\xb9\xd8\xb1\xd8\xa8\xd9\x8a\xd8\xa9)";
     6 const char *sMimeDescription = "application/x-test:tst:Test \xE2\x84\xA2 mimetype";

mercurial