[seamonkey/el6] Rebase to extended support release 24.1.0. The patch derived from the differencies of the thunderbir

Dmitry Butskoy buc at fedoraproject.org
Fri Nov 29 00:27:19 UTC 2013


commit e9093e8ed25453cdffc6b125f56149297dabf8a1
Author: Dmitry Butskoy <Dmitry at Butskoy.name>
Date:   Fri Nov 29 04:22:38 2013 +0400

    Rebase to extended support release 24.1.0.
    The patch derived from the differencies of the thunderbird-24 esr sources
    (since the thunderbird-24.0 source is actually the same as for seamonkey-2.21)
    Don't apply esr-24.1.0-24.1.1 differencies yet, since it is just nss/nspr changes,
    which we hope to find in the system libraries anyway.

 seamonkey-2.19-elfhack.patch    |   12 +
 seamonkey-2.21-esr1.0-1.1.patch |11754 ++++++++++++++++++++++++
 seamonkey-2.21-esr1.0.patch     |19231 +++++++++++++++++++++++++++++++++++++++
 seamonkey-2.21-nspr_4_9_5.patch |   64 +
 seamonkey-2.21-nss_3_14_3.patch |   28 +
 seamonkey.spec                  |   30 +-
 seamonkey.spec-2.22.1           |  901 ++
 sources                         |    4 +-
 8 files changed, 32007 insertions(+), 17 deletions(-)
---
diff --git a/seamonkey-2.19-elfhack.patch b/seamonkey-2.19-elfhack.patch
new file mode 100644
index 0000000..d499199
--- /dev/null
+++ b/seamonkey-2.19-elfhack.patch
@@ -0,0 +1,12 @@
+diff -Nrbu seamonkey-2.19/comm-release/mozilla/build/unix/elfhack/Makefile.in seamonkey-2.19-OK/comm-release/mozilla/build/unix/elfhack/Makefile.in
+--- seamonkey-2.19/comm-release/mozilla/build/unix/elfhack/Makefile.in	2013-06-29 09:00:27.000000000 +0400
++++ seamonkey-2.19-OK/comm-release/mozilla/build/unix/elfhack/Makefile.in	2013-07-05 16:47:52.857916823 +0400
+@@ -23,7 +23,7 @@
+   elfhack.cpp \
+   $(NULL)
+ 
+-OS_CXXFLAGS := $(filter-out -fno-exceptions,$(OS_CXXFLAGS)) -fexceptions
++HOST_CXXFLAGS := $(filter-out -fno-exceptions,$(HOST_CXXFLAGS)) -fexceptions
+ 
+ ifneq (,$(filter %86,$(TARGET_CPU)))
+ CPU := x86
diff --git a/seamonkey-2.21-esr1.0-1.1.patch b/seamonkey-2.21-esr1.0-1.1.patch
new file mode 100644
index 0000000..79edf5d
--- /dev/null
+++ b/seamonkey-2.21-esr1.0-1.1.patch
@@ -0,0 +1,11754 @@
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mail/config/version.txt seamonkey-2.21-esr1.1/comm-release/mail/config/version.txt
+--- seamonkey-2.21-esr1.0/comm-release/mail/config/version.txt	2013-11-29 02:20:03.288130506 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mail/config/version.txt	2013-11-29 03:13:30.421604359 +0400
+@@ -1 +1 @@
+-24.1.0
++24.1.1
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mail/installer/windows/nsis/defines.nsi.in seamonkey-2.21-esr1.1/comm-release/mail/installer/windows/nsis/defines.nsi.in
+--- seamonkey-2.21-esr1.0/comm-release/mail/installer/windows/nsis/defines.nsi.in	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mail/installer/windows/nsis/defines.nsi.in	2013-11-29 03:13:30.455604148 +0400
+@@ -24,7 +24,7 @@
+ !define BrandFullName         "${BrandFullNameInternal}${PreReleaseSuffix}"
+ 
+ !define CERTIFICATE_NAME      "Mozilla Corporation"
+-!define CERTIFICATE_ISSUER    "Thawte Code Signing CA - G2"
++!define CERTIFICATE_ISSUER    "DigiCert Assured ID Code Signing CA-1"
+ 
+ # NO_INSTDIR_FROM_REG is defined for pre-releases which have a PreReleaseSuffix
+ # (e.g. Alpha X, Beta X, etc.) to prevent finding a non-default installation
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mail/installer/windows/nsis/maintenanceservice_installer.nsi seamonkey-2.21-esr1.1/comm-release/mail/installer/windows/nsis/maintenanceservice_installer.nsi
+--- seamonkey-2.21-esr1.0/comm-release/mail/installer/windows/nsis/maintenanceservice_installer.nsi	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mail/installer/windows/nsis/maintenanceservice_installer.nsi	2013-11-29 03:13:30.455604148 +0400
+@@ -210,7 +210,7 @@
+   ; These keys are used to bypass the installation dir is a valid installation
+   ; check from the service so that tests can be run.
+   ; WriteRegStr HKLM "${FallbackKey}\0" "name" "Mozilla Corporation"
+-  ; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "Thawte Code Signing CA - G2"
++  ; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "DigiCert Assured ID Code Signing CA-1"
+   ${If} ${RunningX64}
+     SetRegView lastused
+   ${EndIf}
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/browser/config/version.txt seamonkey-2.21-esr1.1/comm-release/mozilla/browser/config/version.txt
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/browser/config/version.txt	2013-11-29 02:20:03.295130418 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/browser/config/version.txt	2013-11-29 03:13:30.455604148 +0400
+@@ -1 +1 @@
+-24.0esrpre
++24.1.1
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/config/Moz/Milestone.pm seamonkey-2.21-esr1.1/comm-release/mozilla/config/Moz/Milestone.pm
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/config/Moz/Milestone.pm	2013-09-16 22:26:27.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/config/Moz/Milestone.pm	2013-11-29 03:13:30.455604148 +0400
+@@ -139,6 +139,25 @@
+ }
+ 
+ #
++# Usage:  getMilestoneABWithNum($milestoneFile)
++# Returns the alpha and beta tag with its number (a1, a2, b3, ...)
++#
++sub getMilestoneABWithNum {
++  my $milestoneABNum;
++  if (defined($Moz::Milestone::milestone)) {
++    $milestoneABNum = $Moz::Milestone::milestone;
++  } else {
++    $milestoneABNum = $_[0];
++  }
++
++  if ($milestoneABNum =~ /([ab]\d+)/) {
++    return $1;
++  } else {
++    return "";
++  }
++}
++
++#
+ # build_file($template_file,$output_file)
+ #
+ sub build_file($$) {
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/config/milestone.pl seamonkey-2.21-esr1.1/comm-release/mozilla/config/milestone.pl
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/config/milestone.pl	2013-09-16 22:26:27.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/config/milestone.pl	2013-11-29 03:13:30.455604149 +0400
+@@ -21,6 +21,7 @@
+             $opt_debug
+             $opt_template
+             $opt_uaversion
++            $opt_symbolversion
+             $opt_help
+             );
+ 
+@@ -30,7 +31,7 @@
+ 
+ require "Moz/Milestone.pm";
+ 
+-&GetOptions('topsrcdir=s' => \$TOPSRCDIR, 'srcdir=s' => \$SRCDIR, 'objdir=s' => \$OBJDIR, 'debug', 'help', 'template', 'uaversion');
++&GetOptions('topsrcdir=s' => \$TOPSRCDIR, 'srcdir=s' => \$SRCDIR, 'objdir=s' => \$OBJDIR, 'debug', 'help', 'template', 'uaversion', 'symbolversion');
+ 
+ if (defined($opt_help)) {
+     &usage();
+@@ -75,13 +76,19 @@
+   # (bugs 572659 and 870868).
+   my $uaversion = Moz::Milestone::getMilestoneMajor($milestone) . ".0";
+   print "$uaversion\n";
++} elsif(defined($opt_symbolversion)) {
++  # Only expose major milestone and alpha version. Used for symbol versioning
++  # on Linux.
++  my $symbolversion = Moz::Milestone::getMilestoneMajor($milestone) .
++                      Moz::Milestone::getMilestoneABWithNum($milestone);
++  print "$symbolversion\n";
+ } else {
+   print "$milestone\n";
+ }
+ 
+ sub usage() {
+   print <<END
+-`milestone.pl [--topsrcdir TOPSRCDIR] [--objdir OBJDIR] [--srcdir SRCDIR] --template [file list] --uaversion`  # will build file list from .tmpl files
++`milestone.pl [--topsrcdir TOPSRCDIR] [--objdir OBJDIR] [--srcdir SRCDIR] --template [file list] --uaversion --symbolversion`  # will build file list from .tmpl files
+ END
+     ;
+ }
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/config/milestone.txt seamonkey-2.21-esr1.1/comm-release/mozilla/config/milestone.txt
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/config/milestone.txt	2013-11-29 02:20:03.296130411 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/config/milestone.txt	2013-11-29 03:13:30.455604149 +0400
+@@ -10,4 +10,4 @@
+ # hardcoded milestones in the tree from these two files.
+ #--------------------------------------------------------
+ 
+-24.1.0
++24.1.1
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/configure seamonkey-2.21-esr1.1/comm-release/mozilla/configure
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/configure	2013-09-16 22:27:16.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/configure	2013-11-29 03:13:30.461604110 +0400
+@@ -8294,6 +8294,7 @@
+ 
+ MOZILLA_VERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir`
+ MOZILLA_UAVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -uaversion`
++MOZILLA_SYMBOLVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -symbolversion`
+ 
+ FIREFOX_VERSION=`cat $_topsrcdir/browser/config/version.txt`
+ 
+@@ -8324,6 +8325,7 @@
+ 
+ 
+ 
++
+   cat > conftest.c <<EOF
+                   int foo = 1;
+ EOF
+@@ -8377,9 +8379,9 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+             echo $ac_n "checking for IBM XLC/C++ compiler version >= 9.0.0.7""... $ac_c" 1>&6
+-echo "configure:8381: checking for IBM XLC/C++ compiler version >= 9.0.0.7" >&5
++echo "configure:8383: checking for IBM XLC/C++ compiler version >= 9.0.0.7" >&5
+             cat > conftest.$ac_ext <<EOF
+-#line 8383 "configure"
++#line 8385 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -8388,7 +8390,7 @@
+                  #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _BAD_COMPILER=
+ else
+@@ -8426,12 +8428,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:8430: checking for $ac_hdr" >&5
++echo "configure:8432: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 8435 "configure"
++#line 8437 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -8439,7 +8441,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -8491,12 +8493,12 @@
+     STRIP_FLAGS="$STRIP_FLAGS -x -S"
+     # Check whether we're targeting OS X or iOS
+     echo $ac_n "checking for iOS target""... $ac_c" 1>&6
+-echo "configure:8495: checking for iOS target" >&5
++echo "configure:8497: checking for iOS target" >&5
+ if eval "test \"`echo '$''{'ac_cv_ios_target'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8500 "configure"
++#line 8502 "configure"
+ #include "confdefs.h"
+ #include <TargetConditionals.h>
+ #if !(TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
+@@ -8506,7 +8508,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_ios_target="yes"
+ else
+@@ -8565,18 +8567,18 @@
+         echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."
+     else
+                 echo $ac_n "checking for -dead_strip option to ld""... $ac_c" 1>&6
+-echo "configure:8569: checking for -dead_strip option to ld" >&5
++echo "configure:8571: checking for -dead_strip option to ld" >&5
+         _SAVE_LDFLAGS=$LDFLAGS
+         LDFLAGS="$LDFLAGS -Wl,-dead_strip"
+         cat > conftest.$ac_ext <<EOF
+-#line 8573 "configure"
++#line 8575 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   _HAVE_DEAD_STRIP=1
+ else
+@@ -8597,18 +8599,18 @@
+     fi
+ 
+             echo $ac_n "checking for -allow_heap_execute option to ld""... $ac_c" 1>&6
+-echo "configure:8601: checking for -allow_heap_execute option to ld" >&5
++echo "configure:8603: checking for -allow_heap_execute option to ld" >&5
+     _SAVE_LDFLAGS=$LDFLAGS
+     LDFLAGS="$LDFLAGS -Wl,-allow_heap_execute"
+     cat > conftest.$ac_ext <<EOF
+-#line 8605 "configure"
++#line 8607 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   _HAVE_ALLOW_HEAP_EXECUTE=1
+ else
+@@ -8782,7 +8784,7 @@
+         # warnings are useless on mingw.
+         
+     echo $ac_n "checking whether the C compiler supports -Wno-format""... $ac_c" 1>&6
+-echo "configure:8786: checking whether the C compiler supports -Wno-format" >&5
++echo "configure:8788: checking whether the C compiler supports -Wno-format" >&5
+ if eval "test \"`echo '$''{'ac_c_has_wno_format'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -8798,14 +8800,14 @@
+             _SAVE_CFLAGS="$CFLAGS"
+             CFLAGS="$CFLAGS -Werror -Wformat"
+             cat > conftest.$ac_ext <<EOF
+-#line 8802 "configure"
++#line 8804 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_c_has_wno_format="yes"
+ else
+@@ -8833,7 +8835,7 @@
+ 
+         
+     echo $ac_n "checking whether the C++ compiler supports -Wno-format""... $ac_c" 1>&6
+-echo "configure:8837: checking whether the C++ compiler supports -Wno-format" >&5
++echo "configure:8839: checking whether the C++ compiler supports -Wno-format" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_wno_format'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -8849,14 +8851,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Wformat"
+             cat > conftest.$ac_ext <<EOF
+-#line 8853 "configure"
++#line 8855 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_wno_format="yes"
+ else
+@@ -9247,19 +9249,19 @@
+     _DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"
+ 
+     echo $ac_n "checking for __declspec(dllexport)""... $ac_c" 1>&6
+-echo "configure:9251: checking for __declspec(dllexport)" >&5
++echo "configure:9253: checking for __declspec(dllexport)" >&5
+ if eval "test \"`echo '$''{'ac_os2_declspec'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9256 "configure"
++#line 9258 "configure"
+ #include "confdefs.h"
+ __declspec(dllexport) void ac_os2_declspec(void) {}
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_os2_declspec="yes"
+ else
+@@ -9306,14 +9308,14 @@
+            _SAVE_LDFLAGS=$LDFLAGS
+            LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"
+            cat > conftest.$ac_ext <<EOF
+-#line 9310 "configure"
++#line 9312 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:9319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -9341,7 +9343,7 @@
+        CC_VERSION=`$CC -V 2>&1 | grep '^cc:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
+        CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
+        echo $ac_n "checking for Sun C++ compiler version >= 5.9""... $ac_c" 1>&6
+-echo "configure:9345: checking for Sun C++ compiler version >= 5.9" >&5
++echo "configure:9347: checking for Sun C++ compiler version >= 5.9" >&5
+        
+        ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -9351,7 +9353,7 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+        cat > conftest.$ac_ext <<EOF
+-#line 9355 "configure"
++#line 9357 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -9360,7 +9362,7 @@
+            #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _BAD_COMPILER=
+ else
+@@ -9377,7 +9379,7 @@
+            _res="yes"
+        fi
+        cat > conftest.$ac_ext <<EOF
+-#line 9381 "configure"
++#line 9383 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -9386,7 +9388,7 @@
+            #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _ABOVE_SS12U1=
+ else
+@@ -9606,7 +9608,7 @@
+ 
+ if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -a -z "$MOZ_DISABLE_ICF"; then
+     echo $ac_n "checking whether the linker supports Identical Code Folding""... $ac_c" 1>&6
+-echo "configure:9610: checking whether the linker supports Identical Code Folding" >&5
++echo "configure:9612: checking whether the linker supports Identical Code Folding" >&5
+ if eval "test \"`echo '$''{'LD_SUPPORTS_ICF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9615,7 +9617,7 @@
+               'int main() {return foo() - bar();}' > conftest.${ac_ext}
+         # If the linker supports ICF, foo and bar symbols will have
+         # the same address
+-        if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,--icf=safe -ffunction-sections conftest.${ac_ext} $LIBS 1>&2'; { (eval echo configure:9619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++        if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,--icf=safe -ffunction-sections conftest.${ac_ext} $LIBS 1>&2'; { (eval echo configure:9621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+            test -s conftest${ac_exeext} &&
+            objdump -t conftest${ac_exeext} | awk '{a[$6] = $1} END {if (a["foo"] && (a["foo"] != a["bar"])) { exit 1 }}'; then
+             LD_SUPPORTS_ICF=yes
+@@ -9630,14 +9632,14 @@
+         _SAVE_LDFLAGS="$LDFLAGS -Wl,--icf=safe"
+         LDFLAGS="$LDFLAGS -Wl,--icf=safe -Wl,--print-icf-sections"
+         cat > conftest.$ac_ext <<EOF
+-#line 9634 "configure"
++#line 9636 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   LD_PRINT_ICF_SECTIONS=-Wl,--print-icf-sections
+ else
+@@ -9655,15 +9657,15 @@
+ 
+ if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -a -n "$MOZ_DEBUG_FLAGS"; then
+       echo $ac_n "checking whether removing dead symbols breaks debugging""... $ac_c" 1>&6
+-echo "configure:9659: checking whether removing dead symbols breaks debugging" >&5
++echo "configure:9661: checking whether removing dead symbols breaks debugging" >&5
+ if eval "test \"`echo '$''{'GC_SECTIONS_BREAKS_DEBUG_RANGES'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo 'int foo() {return 42;}' \
+              'int bar() {return 1;}' \
+              'int main() {return foo();}' > conftest.${ac_ext}
+-        if { ac_try='${CC-cc} -o conftest.${ac_objext} $CFLAGS $MOZ_DEBUG_FLAGS -c conftest.${ac_ext} 1>&2'; { (eval echo configure:9666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+-           { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS $MOZ_DEBUG_FLAGS -Wl,--gc-sections conftest.${ac_objext} $LIBS 1>&2'; { (eval echo configure:9667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++        if { ac_try='${CC-cc} -o conftest.${ac_objext} $CFLAGS $MOZ_DEBUG_FLAGS -c conftest.${ac_ext} 1>&2'; { (eval echo configure:9668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++           { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS $MOZ_DEBUG_FLAGS -Wl,--gc-sections conftest.${ac_objext} $LIBS 1>&2'; { (eval echo configure:9669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+            test -s conftest${ac_exeext} -a -s conftest.${ac_objext}; then
+             if test "`$PYTHON "$_topsrcdir"/build/autoconf/check_debug_ranges.py conftest.${ac_objext} conftest.${ac_ext}`" = \
+                     "`$PYTHON "$_topsrcdir"/build/autoconf/check_debug_ranges.py conftest${ac_exeext} conftest.${ac_ext}`"; then
+@@ -9686,12 +9688,12 @@
+ 
+ if test -z "$SKIP_COMPILER_CHECKS"; then
+ echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
+-echo "configure:9690: checking for ANSI C header files" >&5
++echo "configure:9692: checking for ANSI C header files" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9695 "configure"
++#line 9697 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -9699,7 +9701,7 @@
+ #include <float.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:9703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:9705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -9716,7 +9718,7 @@
+ if test $ac_cv_header_stdc = yes; then
+   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat > conftest.$ac_ext <<EOF
+-#line 9720 "configure"
++#line 9722 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ EOF
+@@ -9734,7 +9736,7 @@
+ if test $ac_cv_header_stdc = yes; then
+   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat > conftest.$ac_ext <<EOF
+-#line 9738 "configure"
++#line 9740 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ EOF
+@@ -9755,7 +9757,7 @@
+   :
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9759 "configure"
++#line 9761 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+@@ -9766,7 +9768,7 @@
+ exit (0); }
+ 
+ EOF
+-if { (eval echo configure:9770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:9772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   :
+ else
+@@ -9793,12 +9795,12 @@
+ fi
+ 
+ echo $ac_n "checking for working const""... $ac_c" 1>&6
+-echo "configure:9797: checking for working const" >&5
++echo "configure:9799: checking for working const" >&5
+ if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9802 "configure"
++#line 9804 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -9847,7 +9849,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_c_const=yes
+ else
+@@ -9871,12 +9873,12 @@
+ fi
+ 
+ echo $ac_n "checking for mode_t""... $ac_c" 1>&6
+-echo "configure:9875: checking for mode_t" >&5
++echo "configure:9877: checking for mode_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9880 "configure"
++#line 9882 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9907,12 +9909,12 @@
+ fi
+ 
+ echo $ac_n "checking for off_t""... $ac_c" 1>&6
+-echo "configure:9911: checking for off_t" >&5
++echo "configure:9913: checking for off_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9916 "configure"
++#line 9918 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9943,12 +9945,12 @@
+ fi
+ 
+ echo $ac_n "checking for pid_t""... $ac_c" 1>&6
+-echo "configure:9947: checking for pid_t" >&5
++echo "configure:9949: checking for pid_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9952 "configure"
++#line 9954 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9979,12 +9981,12 @@
+ fi
+ 
+ echo $ac_n "checking for size_t""... $ac_c" 1>&6
+-echo "configure:9983: checking for size_t" >&5
++echo "configure:9985: checking for size_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9988 "configure"
++#line 9990 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10022,12 +10024,12 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking for __stdcall""... $ac_c" 1>&6
+-echo "configure:10026: checking for __stdcall" >&5
++echo "configure:10028: checking for __stdcall" >&5
+ if eval "test \"`echo '$''{'ac_cv___stdcall'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10031 "configure"
++#line 10033 "configure"
+ #include "confdefs.h"
+ template <typename Method> struct foo;
+                   template <> struct foo<void (*)()> {};
+@@ -10036,7 +10038,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv___stdcall=true
+ else
+@@ -10068,12 +10070,12 @@
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
+-echo "configure:10072: checking for ssize_t" >&5
++echo "configure:10074: checking for ssize_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10077 "configure"
++#line 10079 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -10081,7 +10083,7 @@
+ ssize_t foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_type_ssize_t=true
+ else
+@@ -10106,12 +10108,12 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
+-echo "configure:10110: checking for st_blksize in struct stat" >&5
++echo "configure:10112: checking for st_blksize in struct stat" >&5
+ if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10115 "configure"
++#line 10117 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -10119,7 +10121,7 @@
+ struct stat s; s.st_blksize;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_struct_st_blksize=yes
+ else
+@@ -10143,12 +10145,12 @@
+ fi
+ 
+ echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6
+-echo "configure:10147: checking for siginfo_t" >&5
++echo "configure:10149: checking for siginfo_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10152 "configure"
++#line 10154 "configure"
+ #include "confdefs.h"
+ #define _POSIX_C_SOURCE 199506L
+                   #include <signal.h>
+@@ -10156,7 +10158,7 @@
+ siginfo_t* info;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_siginfo_t=true
+ else
+@@ -10182,12 +10184,12 @@
+ fi
+ 
+ echo $ac_n "checking for int64""... $ac_c" 1>&6
+-echo "configure:10186: checking for int64" >&5
++echo "configure:10188: checking for int64" >&5
+ if eval "test \"`echo '$''{'ac_cv_int64'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10191 "configure"
++#line 10193 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -10195,7 +10197,7 @@
+ int64 foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_int64=true
+ else
+@@ -10220,12 +10222,12 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ echo $ac_n "checking for uint""... $ac_c" 1>&6
+-echo "configure:10224: checking for uint" >&5
++echo "configure:10226: checking for uint" >&5
+ if eval "test \"`echo '$''{'ac_cv_uint'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10229 "configure"
++#line 10231 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -10233,7 +10235,7 @@
+ uint foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_uint=true
+ else
+@@ -10258,12 +10260,12 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ echo $ac_n "checking for uint_t""... $ac_c" 1>&6
+-echo "configure:10262: checking for uint_t" >&5
++echo "configure:10264: checking for uint_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_uint_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10267 "configure"
++#line 10269 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -10271,7 +10273,7 @@
+ uint_t foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_uint_t=true
+ else
+@@ -10305,12 +10307,12 @@
+ 
+ 
+ echo $ac_n "checking for uname.domainname""... $ac_c" 1>&6
+-echo "configure:10309: checking for uname.domainname" >&5
++echo "configure:10311: checking for uname.domainname" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_uname_domainname_field'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10314 "configure"
++#line 10316 "configure"
+ #include "confdefs.h"
+ #include <sys/utsname.h>
+ int main() {
+@@ -10318,7 +10320,7 @@
+             (void)uname(res);  if (res != 0) { domain = res->domainname; } 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_have_uname_domainname_field=true
+ else
+@@ -10345,12 +10347,12 @@
+ fi
+ 
+ echo $ac_n "checking for uname.__domainname""... $ac_c" 1>&6
+-echo "configure:10349: checking for uname.__domainname" >&5
++echo "configure:10351: checking for uname.__domainname" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_uname_us_domainname_field'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10354 "configure"
++#line 10356 "configure"
+ #include "confdefs.h"
+ #include <sys/utsname.h>
+ int main() {
+@@ -10358,7 +10360,7 @@
+             (void)uname(res);  if (res != 0) { domain = res->__domainname; } 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_have_uname_us_domainname_field=true
+ else
+@@ -10397,19 +10399,19 @@
+     CXXFLAGS="$CXXFLAGS -std=gnu++0x"
+ 
+     echo $ac_n "checking for gcc c++0x headers bug without rtti""... $ac_c" 1>&6
+-echo "configure:10401: checking for gcc c++0x headers bug without rtti" >&5
++echo "configure:10403: checking for gcc c++0x headers bug without rtti" >&5
+ if eval "test \"`echo '$''{'ac_cv_cxx0x_headers_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10406 "configure"
++#line 10408 "configure"
+ #include "confdefs.h"
+ #include <memory>
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_cxx0x_headers_bug="no"
+ else
+@@ -10426,19 +10428,19 @@
+     if test "$CLANG_CXX" -a "$ac_cv_cxx0x_headers_bug" = "yes"; then
+         CXXFLAGS="$CXXFLAGS -I$_topsrcdir/build/unix/headers"
+         echo $ac_n "checking whether workaround for gcc c++0x headers conflict with clang works""... $ac_c" 1>&6
+-echo "configure:10430: checking whether workaround for gcc c++0x headers conflict with clang works" >&5
++echo "configure:10432: checking whether workaround for gcc c++0x headers conflict with clang works" >&5
+ if eval "test \"`echo '$''{'ac_cv_cxx0x_clang_workaround'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10435 "configure"
++#line 10437 "configure"
+ #include "confdefs.h"
+ #include <memory>
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_cxx0x_clang_workaround="yes"
+ else
+@@ -10461,12 +10463,12 @@
+ fi
+ 
+ echo $ac_n "checking for usable char16_t (2 bytes, unsigned)""... $ac_c" 1>&6
+-echo "configure:10465: checking for usable char16_t (2 bytes, unsigned)" >&5
++echo "configure:10467: checking for usable char16_t (2 bytes, unsigned)" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_usable_char16_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10470 "configure"
++#line 10472 "configure"
+ #include "confdefs.h"
+ $configure_static_assert_macros
+ int main() {
+@@ -10477,7 +10479,7 @@
+                      CONFIGURE_STATIC_ASSERT(u'\xFFFF' > u'\x0')
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_have_usable_char16_t="yes"
+ else
+@@ -10505,12 +10507,12 @@
+ 
+ 
+ echo $ac_n "checking for usable wchar_t (2 bytes, unsigned)""... $ac_c" 1>&6
+-echo "configure:10509: checking for usable wchar_t (2 bytes, unsigned)" >&5
++echo "configure:10511: checking for usable wchar_t (2 bytes, unsigned)" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_usable_wchar_v2'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10514 "configure"
++#line 10516 "configure"
+ #include "confdefs.h"
+ #include <stddef.h>
+                      $configure_static_assert_macros
+@@ -10519,7 +10521,7 @@
+                      CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_have_usable_wchar_v2="yes"
+ else
+@@ -10547,12 +10549,12 @@
+     CXXFLAGS="$CXXFLAGS -fshort-wchar"
+ 
+     echo $ac_n "checking for compiler -fshort-wchar option""... $ac_c" 1>&6
+-echo "configure:10551: checking for compiler -fshort-wchar option" >&5
++echo "configure:10553: checking for compiler -fshort-wchar option" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_usable_wchar_option_v2'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10556 "configure"
++#line 10558 "configure"
+ #include "confdefs.h"
+ #include <stddef.h>
+                       $configure_static_assert_macros
+@@ -10561,7 +10563,7 @@
+                       CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_have_usable_wchar_option_v2="yes"
+ else
+@@ -10607,7 +10609,7 @@
+ 
+ if test "$GNU_CC"; then
+   echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
+-echo "configure:10611: checking for visibility(hidden) attribute" >&5
++echo "configure:10613: checking for visibility(hidden) attribute" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -10635,7 +10637,7 @@
+ 
+ 
+     echo $ac_n "checking for visibility(default) attribute""... $ac_c" 1>&6
+-echo "configure:10639: checking for visibility(default) attribute" >&5
++echo "configure:10641: checking for visibility(default) attribute" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_default'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -10663,7 +10665,7 @@
+ 
+ 
+       echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
+-echo "configure:10667: checking for visibility pragma support" >&5
++echo "configure:10669: checking for visibility pragma support" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -10688,7 +10690,7 @@
+ echo "$ac_t""$ac_cv_visibility_pragma" 1>&6
+       if test "$ac_cv_visibility_pragma" = "yes"; then
+         echo $ac_n "checking For gcc visibility bug with class-level attributes (GCC bug 26905)""... $ac_c" 1>&6
+-echo "configure:10692: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5
++echo "configure:10694: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_visibility_class_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -10716,7 +10718,7 @@
+ echo "$ac_t""$ac_cv_have_visibility_class_bug" 1>&6
+ 
+         echo $ac_n "checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)""... $ac_c" 1>&6
+-echo "configure:10720: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5
++echo "configure:10722: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_visibility_builtin_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -10770,7 +10772,7 @@
+ if test "$GNU_CC"; then
+ 
+ echo $ac_n "checking for gcc PR49911""... $ac_c" 1>&6
+-echo "configure:10774: checking for gcc PR49911" >&5
++echo "configure:10776: checking for gcc PR49911" >&5
+ ac_have_gcc_pr49911="no"
+ 
+ ac_ext=C
+@@ -10787,7 +10789,7 @@
+   true
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10791 "configure"
++#line 10793 "configure"
+ #include "confdefs.h"
+ 
+ extern "C" void abort(void);
+@@ -10828,7 +10830,7 @@
+ }
+ 
+ EOF
+-if { (eval echo configure:10832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:10834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   true
+ else
+@@ -10861,7 +10863,7 @@
+ 
+ 
+ echo $ac_n "checking for gcc pr39608""... $ac_c" 1>&6
+-echo "configure:10865: checking for gcc pr39608" >&5
++echo "configure:10867: checking for gcc pr39608" >&5
+ ac_have_gcc_pr39608="yes"
+ 
+ ac_ext=C
+@@ -10873,7 +10875,7 @@
+ 
+ 
+ cat > conftest.$ac_ext <<EOF
+-#line 10877 "configure"
++#line 10879 "configure"
+ #include "confdefs.h"
+ 
+ typedef void (*FuncType)();
+@@ -10891,7 +10893,7 @@
+ true
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_have_gcc_pr39608="no"
+ else
+@@ -10921,7 +10923,7 @@
+     # cannot do enough code gen for now to make this test work correctly.
+     
+ echo $ac_n "checking for llvm pr8927""... $ac_c" 1>&6
+-echo "configure:10925: checking for llvm pr8927" >&5
++echo "configure:10927: checking for llvm pr8927" >&5
+ ac_have_llvm_pr8927="no"
+ 
+ ac_ext=c
+@@ -10938,7 +10940,7 @@
+   true
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10942 "configure"
++#line 10944 "configure"
+ #include "confdefs.h"
+ 
+ struct foobar {
+@@ -10961,7 +10963,7 @@
+ }
+ 
+ EOF
+-if { (eval echo configure:10965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   true
+ else
+@@ -10999,19 +11001,19 @@
+   CFLAGS_save="${CFLAGS}"
+   CFLAGS="${CFLAGS} -Werror"
+   echo $ac_n "checking for __force_align_arg_pointer__ attribute""... $ac_c" 1>&6
+-echo "configure:11003: checking for __force_align_arg_pointer__ attribute" >&5
++echo "configure:11005: checking for __force_align_arg_pointer__ attribute" >&5
+ if eval "test \"`echo '$''{'ac_cv_force_align_arg_pointer'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11008 "configure"
++#line 11010 "configure"
+ #include "confdefs.h"
+ __attribute__ ((__force_align_arg_pointer__)) void test() {}
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_force_align_arg_pointer="yes"
+ else
+@@ -11038,12 +11040,12 @@
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
+-echo "configure:11042: checking for $ac_hdr that defines DIR" >&5
++echo "configure:11044: checking for $ac_hdr that defines DIR" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11047 "configure"
++#line 11049 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <$ac_hdr>
+@@ -11051,7 +11053,7 @@
+ DIR *dirp = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_dirent_$ac_safe=yes"
+ else
+@@ -11079,7 +11081,7 @@
+ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
+ if test $ac_header_dirent = dirent.h; then
+ echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
+-echo "configure:11083: checking for opendir in -ldir" >&5
++echo "configure:11085: checking for opendir in -ldir" >&5
+ ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -11087,7 +11089,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-ldir  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 11091 "configure"
++#line 11093 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -11098,7 +11100,7 @@
+ opendir()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -11120,7 +11122,7 @@
+ 
+ else
+ echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
+-echo "configure:11124: checking for opendir in -lx" >&5
++echo "configure:11126: checking for opendir in -lx" >&5
+ ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -11128,7 +11130,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lx  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 11132 "configure"
++#line 11134 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -11139,7 +11141,7 @@
+ opendir()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -11173,12 +11175,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11177: checking for $ac_hdr" >&5
++echo "configure:11179: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11182 "configure"
++#line 11184 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -11186,7 +11188,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11221,12 +11223,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11225: checking for $ac_hdr" >&5
++echo "configure:11227: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11230 "configure"
++#line 11232 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -11234,7 +11236,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11268,12 +11270,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11272: checking for $ac_hdr" >&5
++echo "configure:11274: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11277 "configure"
++#line 11279 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -11281,7 +11283,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11314,12 +11316,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11318: checking for $ac_hdr" >&5
++echo "configure:11320: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11323 "configure"
++#line 11325 "configure"
+ #include "confdefs.h"
+ #include <sys/socket.h>
+ #include <$ac_hdr>
+@@ -11327,7 +11329,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11361,12 +11363,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11365: checking for $ac_hdr" >&5
++echo "configure:11367: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11370 "configure"
++#line 11372 "configure"
+ #include "confdefs.h"
+ #include <sys/socket.h>
+ #include <$ac_hdr>
+@@ -11374,7 +11376,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11408,12 +11410,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11412: checking for $ac_hdr" >&5
++echo "configure:11414: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11417 "configure"
++#line 11419 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -11421,7 +11423,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11452,12 +11454,12 @@
+ 
+ 
+ echo $ac_n "checking for sockaddr_in.sin_len""... $ac_c" 1>&6
+-echo "configure:11456: checking for sockaddr_in.sin_len" >&5
++echo "configure:11458: checking for sockaddr_in.sin_len" >&5
+ if eval "test \"`echo '$''{'ac_cv_sockaddr_in_sin_len'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11461 "configure"
++#line 11463 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+                                     #include <sys/types.h>
+@@ -11469,7 +11471,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_sockaddr_in_sin_len=true
+ else
+@@ -11500,12 +11502,12 @@
+ fi
+ 
+ echo $ac_n "checking for sockaddr_in6.sin6_len""... $ac_c" 1>&6
+-echo "configure:11504: checking for sockaddr_in6.sin6_len" >&5
++echo "configure:11506: checking for sockaddr_in6.sin6_len" >&5
+ if eval "test \"`echo '$''{'ac_cv_sockaddr_in6_sin6_len'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11509 "configure"
++#line 11511 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+                                 #include <sys/types.h>
+@@ -11517,7 +11519,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_sockaddr_in6_sin6_len=true
+ else
+@@ -11541,12 +11543,12 @@
+ fi
+ 
+ echo $ac_n "checking for sockaddr.sa_len""... $ac_c" 1>&6
+-echo "configure:11545: checking for sockaddr.sa_len" >&5
++echo "configure:11547: checking for sockaddr.sa_len" >&5
+ if eval "test \"`echo '$''{'ac_cv_sockaddr_sa_len'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11550 "configure"
++#line 11552 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+                                 #include <sys/types.h>
+@@ -11558,7 +11560,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_sockaddr_sa_len=true
+ else
+@@ -11591,12 +11593,12 @@
+ NEW_H=new.h
+    ac_safe=`echo "new" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for new""... $ac_c" 1>&6
+-echo "configure:11595: checking for new" >&5
++echo "configure:11597: checking for new" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11600 "configure"
++#line 11602 "configure"
+ #include "confdefs.h"
+ 
+ #include <new>
+@@ -11604,7 +11606,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11648,12 +11650,12 @@
+ if test "x$enable_dtrace" = "xyes"; then
+      ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6
+-echo "configure:11652: checking for sys/sdt.h" >&5
++echo "configure:11654: checking for sys/sdt.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11657 "configure"
++#line 11659 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/sdt.h>
+@@ -11661,7 +11663,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11703,12 +11705,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11707: checking for $ac_hdr" >&5
++echo "configure:11709: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11712 "configure"
++#line 11714 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -11716,7 +11718,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11768,12 +11770,12 @@
+ 
+    ac_safe=`echo "linux/perf_event.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for linux/perf_event.h""... $ac_c" 1>&6
+-echo "configure:11772: checking for linux/perf_event.h" >&5
++echo "configure:11774: checking for linux/perf_event.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11777 "configure"
++#line 11779 "configure"
+ #include "confdefs.h"
+ 
+ #include <linux/perf_event.h>
+@@ -11781,7 +11783,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -11796,19 +11798,19 @@
+   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+     echo "$ac_t""yes" 1>&6
+     echo $ac_n "checking for perf_event_open system call""... $ac_c" 1>&6
+-echo "configure:11800: checking for perf_event_open system call" >&5
++echo "configure:11802: checking for perf_event_open system call" >&5
+ if eval "test \"`echo '$''{'ac_cv_perf_event_open'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11805 "configure"
++#line 11807 "configure"
+ #include "confdefs.h"
+ #include <asm/unistd.h>
+ int main() {
+ return sizeof(__NR_perf_event_open);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_perf_event_open=yes
+ else
+@@ -11844,7 +11846,7 @@
+ 	;;
+ *)
+ 	echo $ac_n "checking for gethostbyname_r in -lc_r""... $ac_c" 1>&6
+-echo "configure:11848: checking for gethostbyname_r in -lc_r" >&5
++echo "configure:11850: checking for gethostbyname_r in -lc_r" >&5
+ ac_lib_var=`echo c_r'_'gethostbyname_r | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -11852,7 +11854,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lc_r  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 11856 "configure"
++#line 11858 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -11863,7 +11865,7 @@
+ gethostbyname_r()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -11904,14 +11906,14 @@
+ *)
+     
+ echo $ac_n "checking for library containing dlopen""... $ac_c" 1>&6
+-echo "configure:11908: checking for library containing dlopen" >&5
++echo "configure:11910: checking for library containing dlopen" >&5
+ if eval "test \"`echo '$''{'ac_cv_search_dlopen'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_func_search_save_LIBS="$LIBS"
+ ac_cv_search_dlopen="no"
+ cat > conftest.$ac_ext <<EOF
+-#line 11915 "configure"
++#line 11917 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -11922,7 +11924,7 @@
+ dlopen()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_search_dlopen="none required"
+ else
+@@ -11933,7 +11935,7 @@
+ test "$ac_cv_search_dlopen" = "no" && for i in dl; do
+ LIBS="-l$i  $ac_func_search_save_LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 11937 "configure"
++#line 11939 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -11944,7 +11946,7 @@
+ dlopen()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_search_dlopen="-l$i"
+ break
+@@ -11962,12 +11964,12 @@
+   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
+      ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+-echo "configure:11966: checking for dlfcn.h" >&5
++echo "configure:11968: checking for dlfcn.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 11971 "configure"
++#line 11973 "configure"
+ #include "confdefs.h"
+ 
+ #include <dlfcn.h>
+@@ -11975,7 +11977,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -12012,12 +12014,12 @@
+ for ac_func in dladdr memmem
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:12016: checking for $ac_func" >&5
++echo "configure:12018: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 12021 "configure"
++#line 12023 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -12040,7 +12042,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -12074,7 +12076,7 @@
+     case $target in
+     *-aix*)
+ 	echo $ac_n "checking for demangle in -lC_r""... $ac_c" 1>&6
+-echo "configure:12078: checking for demangle in -lC_r" >&5
++echo "configure:12080: checking for demangle in -lC_r" >&5
+ ac_lib_var=`echo C_r'_'demangle | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12082,7 +12084,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lC_r  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12086 "configure"
++#line 12088 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12093,7 +12095,7 @@
+ demangle()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12126,7 +12128,7 @@
+ 	;;
+      *)
+ 	echo $ac_n "checking for demangle in -lC""... $ac_c" 1>&6
+-echo "configure:12130: checking for demangle in -lC" >&5
++echo "configure:12132: checking for demangle in -lC" >&5
+ ac_lib_var=`echo C'_'demangle | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12134,7 +12136,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lC  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12138 "configure"
++#line 12140 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12145,7 +12147,7 @@
+ demangle()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12184,7 +12186,7 @@
+     ;;
+ *)
+     echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
+-echo "configure:12188: checking for socket in -lsocket" >&5
++echo "configure:12190: checking for socket in -lsocket" >&5
+ ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12192,7 +12194,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lsocket  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12196 "configure"
++#line 12198 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12203,7 +12205,7 @@
+ socket()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12258,7 +12260,7 @@
+ 	_SAVE_LDFLAGS="$LDFLAGS"
+ 	LDFLAGS="$XLDFLAGS $LDFLAGS"
+ 	echo $ac_n "checking for XDrawLines in -lX11""... $ac_c" 1>&6
+-echo "configure:12262: checking for XDrawLines in -lX11" >&5
++echo "configure:12264: checking for XDrawLines in -lX11" >&5
+ ac_lib_var=`echo X11'_'XDrawLines | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12266,7 +12268,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lX11 $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12270 "configure"
++#line 12272 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12277,7 +12279,7 @@
+ XDrawLines()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12299,7 +12301,7 @@
+ fi
+ 
+ 	echo $ac_n "checking for XextAddDisplay in -lXext""... $ac_c" 1>&6
+-echo "configure:12303: checking for XextAddDisplay in -lXext" >&5
++echo "configure:12305: checking for XextAddDisplay in -lXext" >&5
+ ac_lib_var=`echo Xext'_'XextAddDisplay | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12307,7 +12309,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lXext $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12311 "configure"
++#line 12313 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12318,7 +12320,7 @@
+ XextAddDisplay()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12341,7 +12343,7 @@
+ 
+ 
+ 	echo $ac_n "checking for XtFree in -lXt""... $ac_c" 1>&6
+-echo "configure:12345: checking for XtFree in -lXt" >&5
++echo "configure:12347: checking for XtFree in -lXt" >&5
+ ac_lib_var=`echo Xt'_'XtFree | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12349,7 +12351,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lXt  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12353 "configure"
++#line 12355 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12360,7 +12362,7 @@
+ XtFree()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12381,7 +12383,7 @@
+ 
+         unset ac_cv_lib_Xt_XtFree
+ 	    echo $ac_n "checking for IceFlush in -lICE""... $ac_c" 1>&6
+-echo "configure:12385: checking for IceFlush in -lICE" >&5
++echo "configure:12387: checking for IceFlush in -lICE" >&5
+ ac_lib_var=`echo ICE'_'IceFlush | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12389,7 +12391,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lICE $XT_LIBS $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12393 "configure"
++#line 12395 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12400,7 +12402,7 @@
+ IceFlush()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12421,7 +12423,7 @@
+ fi
+ 
+ 	    echo $ac_n "checking for SmcCloseConnection in -lSM""... $ac_c" 1>&6
+-echo "configure:12425: checking for SmcCloseConnection in -lSM" >&5
++echo "configure:12427: checking for SmcCloseConnection in -lSM" >&5
+ ac_lib_var=`echo SM'_'SmcCloseConnection | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12429,7 +12431,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lSM $XT_LIBS $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12433 "configure"
++#line 12435 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12440,7 +12442,7 @@
+ SmcCloseConnection()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12461,7 +12463,7 @@
+ fi
+ 
+         echo $ac_n "checking for XtFree in -lXt""... $ac_c" 1>&6
+-echo "configure:12465: checking for XtFree in -lXt" >&5
++echo "configure:12467: checking for XtFree in -lXt" >&5
+ ac_lib_var=`echo Xt'_'XtFree | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12469,7 +12471,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lXt $X_PRE_LIBS $XT_LIBS $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12473 "configure"
++#line 12475 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12480,7 +12482,7 @@
+ XtFree()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12514,7 +12516,7 @@
+     esac
+ 
+                 echo $ac_n "checking for XShmCreateImage in -lXext""... $ac_c" 1>&6
+-echo "configure:12518: checking for XShmCreateImage in -lXext" >&5
++echo "configure:12520: checking for XShmCreateImage in -lXext" >&5
+ ac_lib_var=`echo Xext'_'XShmCreateImage | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12522,7 +12524,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lXext $XLIBS $XEXT_LIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12526 "configure"
++#line 12528 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12533,7 +12535,7 @@
+ XShmCreateImage()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12556,12 +12558,12 @@
+ 
+                    ac_safe=`echo "X11/extensions/scrnsaver.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for X11/extensions/scrnsaver.h""... $ac_c" 1>&6
+-echo "configure:12560: checking for X11/extensions/scrnsaver.h" >&5
++echo "configure:12562: checking for X11/extensions/scrnsaver.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 12565 "configure"
++#line 12567 "configure"
+ #include "confdefs.h"
+ 
+ #include <X11/extensions/scrnsaver.h>
+@@ -12569,7 +12571,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -12584,7 +12586,7 @@
+   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+     echo "$ac_t""yes" 1>&6
+     echo $ac_n "checking for XScreenSaverQueryInfo in -lXss""... $ac_c" 1>&6
+-echo "configure:12588: checking for XScreenSaverQueryInfo in -lXss" >&5
++echo "configure:12590: checking for XScreenSaverQueryInfo in -lXss" >&5
+ ac_lib_var=`echo Xss'_'XScreenSaverQueryInfo | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12592,7 +12594,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lXss $XEXT_LIBS $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12596 "configure"
++#line 12598 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12603,7 +12605,7 @@
+ XScreenSaverQueryInfo()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12653,7 +12655,7 @@
+ *)
+     
+ echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
+-echo "configure:12657: checking for pthread_create in -lpthreads" >&5
++echo "configure:12659: checking for pthread_create in -lpthreads" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -12676,7 +12678,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:12680: checking for pthread_create in -lpthread" >&5
++echo "configure:12682: checking for pthread_create in -lpthread" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -12699,7 +12701,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
+-echo "configure:12703: checking for pthread_create in -lc_r" >&5
++echo "configure:12705: checking for pthread_create in -lc_r" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -12722,7 +12724,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
+-echo "configure:12726: checking for pthread_create in -lc" >&5
++echo "configure:12728: checking for pthread_create in -lc" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -12781,7 +12783,7 @@
+ 				rm -f conftest*
+ 	ac_cv_have_dash_pthread=no
+ 	echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
+-echo "configure:12785: checking whether ${CC-cc} accepts -pthread" >&5
++echo "configure:12787: checking whether ${CC-cc} accepts -pthread" >&5
+ 	echo 'int main() { return 0; }' | cat > conftest.c
+ 	${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
+ 	if test $? -eq 0; then
+@@ -12804,7 +12806,7 @@
+ 			    ac_cv_have_dash_pthreads=no
+     if test "$ac_cv_have_dash_pthread" = "no"; then
+ 	    echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
+-echo "configure:12808: checking whether ${CC-cc} accepts -pthreads" >&5
++echo "configure:12810: checking whether ${CC-cc} accepts -pthreads" >&5
+     	echo 'int main() { return 0; }' | cat > conftest.c
+ 	    ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
+     	if test $? -eq 0; then
+@@ -12910,13 +12912,13 @@
+ 
+ if test $ac_cv_prog_gcc = yes; then
+     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
+-echo "configure:12914: checking whether ${CC-cc} needs -traditional" >&5
++echo "configure:12916: checking whether ${CC-cc} needs -traditional" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+     ac_pattern="Autoconf.*'x'"
+   cat > conftest.$ac_ext <<EOF
+-#line 12920 "configure"
++#line 12922 "configure"
+ #include "confdefs.h"
+ #include <sgtty.h>
+ Autoconf TIOCGETP
+@@ -12934,7 +12936,7 @@
+ 
+   if test $ac_cv_prog_gcc_traditional = no; then
+     cat > conftest.$ac_ext <<EOF
+-#line 12938 "configure"
++#line 12940 "configure"
+ #include "confdefs.h"
+ #include <termio.h>
+ Autoconf TCGETA
+@@ -12956,7 +12958,7 @@
+ fi
+ 
+ echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
+-echo "configure:12960: checking for 8-bit clean memcmp" >&5
++echo "configure:12962: checking for 8-bit clean memcmp" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -12964,7 +12966,7 @@
+   ac_cv_func_memcmp_clean=no
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 12968 "configure"
++#line 12970 "configure"
+ #include "confdefs.h"
+ 
+ main()
+@@ -12974,7 +12976,7 @@
+ }
+ 
+ EOF
+-if { (eval echo configure:12978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:12980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_func_memcmp_clean=yes
+ else
+@@ -12994,12 +12996,12 @@
+ for ac_func in random strerror lchown fchmod snprintf memmove rint stat64 lstat64 truncate64 setbuf isatty
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:12998: checking for $ac_func" >&5
++echo "configure:13000: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13003 "configure"
++#line 13005 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -13022,7 +13024,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13052,12 +13054,12 @@
+ for ac_func in statvfs64 statvfs statfs64 statfs
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:13056: checking for $ac_func" >&5
++echo "configure:13058: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13061 "configure"
++#line 13063 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -13080,7 +13082,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13110,12 +13112,12 @@
+ for ac_func in flockfile getpagesize
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:13114: checking for $ac_func" >&5
++echo "configure:13116: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13119 "configure"
++#line 13121 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -13138,7 +13140,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13168,12 +13170,12 @@
+ for ac_func in localtime_r strtok_r
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:13172: checking for $ac_func" >&5
++echo "configure:13174: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13177 "configure"
++#line 13179 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -13196,7 +13198,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13225,7 +13227,7 @@
+ 
+ 
+ echo $ac_n "checking for clock_gettime(CLOCK_MONOTONIC)""... $ac_c" 1>&6
+-echo "configure:13229: checking for clock_gettime(CLOCK_MONOTONIC)" >&5
++echo "configure:13231: checking for clock_gettime(CLOCK_MONOTONIC)" >&5
+ if eval "test \"`echo '$''{'ac_cv_clock_monotonic'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -13233,7 +13235,7 @@
+                     _SAVE_LIBS="$LIBS"
+                     LIBS="$LIBS $libs"
+                     cat > conftest.$ac_ext <<EOF
+-#line 13237 "configure"
++#line 13239 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int main() {
+@@ -13241,7 +13243,7 @@
+                                    clock_gettime(CLOCK_MONOTONIC, &ts); 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_clock_monotonic=$libs
+                                  LIBS="$_SAVE_LIBS"
+@@ -13282,19 +13284,19 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking for wcrtomb""... $ac_c" 1>&6
+-echo "configure:13286: checking for wcrtomb" >&5
++echo "configure:13288: checking for wcrtomb" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_wcrtomb'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13291 "configure"
++#line 13293 "configure"
+ #include "confdefs.h"
+ #include <wchar.h>
+ int main() {
+ mbstate_t ps={0};wcrtomb(0,'f',&ps);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_have_wcrtomb="yes"
+ else
+@@ -13317,19 +13319,19 @@
+ 
+ fi
+ echo $ac_n "checking for mbrtowc""... $ac_c" 1>&6
+-echo "configure:13321: checking for mbrtowc" >&5
++echo "configure:13323: checking for mbrtowc" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_mbrtowc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13326 "configure"
++#line 13328 "configure"
+ #include "confdefs.h"
+ #include <wchar.h>
+ int main() {
+ mbstate_t ps={0};mbrtowc(0,0,0,&ps);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_have_mbrtowc="yes"
+ else
+@@ -13361,12 +13363,12 @@
+ fi
+ 
+ echo $ac_n "checking for res_ninit()""... $ac_c" 1>&6
+-echo "configure:13365: checking for res_ninit()" >&5
++echo "configure:13367: checking for res_ninit()" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_res_ninit'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13370 "configure"
++#line 13372 "configure"
+ #include "confdefs.h"
+ 
+         #ifdef linux
+@@ -13378,7 +13380,7 @@
+ int foo = res_ninit(&_res);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_func_res_ninit=yes
+ else
+@@ -13411,12 +13413,12 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6
+-echo "configure:13415: checking for gnu_get_libc_version()" >&5
++echo "configure:13417: checking for gnu_get_libc_version()" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13420 "configure"
++#line 13422 "configure"
+ #include "confdefs.h"
+ 
+         #ifdef HAVE_GNU_LIBC_VERSION_H
+@@ -13427,7 +13429,7 @@
+ const char *glibc_version = gnu_get_libc_version();
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_func_gnu_get_libc_version=yes
+ else
+@@ -13459,7 +13461,7 @@
+     *)
+ 
+ echo $ac_n "checking for iconv in -lc""... $ac_c" 1>&6
+-echo "configure:13463: checking for iconv in -lc" >&5
++echo "configure:13465: checking for iconv in -lc" >&5
+ ac_lib_var=`echo c'_'iconv | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -13467,7 +13469,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lc  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 13471 "configure"
++#line 13473 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -13481,7 +13483,7 @@
+ iconv()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -13500,7 +13502,7 @@
+ else
+   echo "$ac_t""no" 1>&6
+ echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
+-echo "configure:13504: checking for iconv in -liconv" >&5
++echo "configure:13506: checking for iconv in -liconv" >&5
+ ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -13508,7 +13510,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-liconv  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 13512 "configure"
++#line 13514 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -13522,7 +13524,7 @@
+ iconv()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -13541,7 +13543,7 @@
+ else
+   echo "$ac_t""no" 1>&6
+ echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
+-echo "configure:13545: checking for libiconv in -liconv" >&5
++echo "configure:13547: checking for libiconv in -liconv" >&5
+ ac_lib_var=`echo iconv'_'libiconv | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -13549,7 +13551,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-liconv  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 13553 "configure"
++#line 13555 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -13563,7 +13565,7 @@
+ libiconv()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -13590,12 +13592,12 @@
+ _SAVE_LIBS=$LIBS
+ LIBS="$LIBS $_ICONV_LIBS"
+ echo $ac_n "checking for iconv()""... $ac_c" 1>&6
+-echo "configure:13594: checking for iconv()" >&5
++echo "configure:13596: checking for iconv()" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_iconv'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13599 "configure"
++#line 13601 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdlib.h>
+@@ -13609,7 +13611,7 @@
+         
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_func_iconv=yes
+ else
+@@ -13636,12 +13638,12 @@
+     LIBXUL_LIBS="$LIBXUL_LIBS $_ICONV_LIBS"
+     LIBICONV="$_ICONV_LIBS"
+     echo $ac_n "checking for iconv() with const input""... $ac_c" 1>&6
+-echo "configure:13640: checking for iconv() with const input" >&5
++echo "configure:13642: checking for iconv() with const input" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_const_iconv'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13645 "configure"
++#line 13647 "configure"
+ #include "confdefs.h"
+ 
+             #include <stdlib.h>
+@@ -13656,7 +13658,7 @@
+             
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:13662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_func_const_iconv=yes
+ else
+@@ -13688,19 +13690,19 @@
+ 
+ 
+   echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
+-echo "configure:13692: checking for nl_langinfo and CODESET" >&5
++echo "configure:13694: checking for nl_langinfo and CODESET" >&5
+ if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13697 "configure"
++#line 13699 "configure"
+ #include "confdefs.h"
+ #include <langinfo.h>
+ int main() {
+ char* cs = nl_langinfo(CODESET);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:13706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   am_cv_langinfo_codeset=yes
+ else
+@@ -13735,7 +13737,7 @@
+ 
+ 
+ echo $ac_n "checking for an implementation of va_copy()""... $ac_c" 1>&6
+-echo "configure:13739: checking for an implementation of va_copy()" >&5
++echo "configure:13741: checking for an implementation of va_copy()" >&5
+ if eval "test \"`echo '$''{'ac_cv_va_copy'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -13745,7 +13747,7 @@
+     
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13749 "configure"
++#line 13751 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdarg.h>
+@@ -13759,7 +13761,7 @@
+         }
+         int main() { f (0, 42); return 0; }
+ EOF
+-if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:13765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_va_copy=yes
+ else
+@@ -13776,7 +13778,7 @@
+ 
+ echo "$ac_t""$ac_cv_va_copy" 1>&6
+ echo $ac_n "checking for an implementation of __va_copy()""... $ac_c" 1>&6
+-echo "configure:13780: checking for an implementation of __va_copy()" >&5
++echo "configure:13782: checking for an implementation of __va_copy()" >&5
+ if eval "test \"`echo '$''{'ac_cv___va_copy'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -13786,7 +13788,7 @@
+     
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13790 "configure"
++#line 13792 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdarg.h>
+@@ -13800,7 +13802,7 @@
+         }
+         int main() { f (0, 42); return 0; }
+ EOF
+-if { (eval echo configure:13804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv___va_copy=yes
+ else
+@@ -13817,7 +13819,7 @@
+ 
+ echo "$ac_t""$ac_cv___va_copy" 1>&6
+ echo $ac_n "checking whether va_lists can be copied by value""... $ac_c" 1>&6
+-echo "configure:13821: checking whether va_lists can be copied by value" >&5
++echo "configure:13823: checking whether va_lists can be copied by value" >&5
+ if eval "test \"`echo '$''{'ac_cv_va_val_copy'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -13827,7 +13829,7 @@
+     
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13831 "configure"
++#line 13833 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdarg.h>
+@@ -13841,7 +13843,7 @@
+         }
+         int main() { f (0, 42); return 0; }
+ EOF
+-if { (eval echo configure:13845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:13847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_va_val_copy=yes
+ else
+@@ -13911,12 +13913,12 @@
+ if test "$GNU_CC"; then
+   if test "$CPU_ARCH" = "arm" ; then
+     echo $ac_n "checking for ARM EABI""... $ac_c" 1>&6
+-echo "configure:13915: checking for ARM EABI" >&5
++echo "configure:13917: checking for ARM EABI" >&5
+ if eval "test \"`echo '$''{'ac_cv_gcc_arm_eabi'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13920 "configure"
++#line 13922 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -13929,7 +13931,7 @@
+                         
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:13935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_gcc_arm_eabi="yes"
+ else
+@@ -13954,12 +13956,12 @@
+ fi
+ 
+ echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6
+-echo "configure:13958: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
++echo "configure:13960: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
+ if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13963 "configure"
++#line 13965 "configure"
+ #include "confdefs.h"
+ class X {
+                                  public: int go(const X&) {return 3;}
+@@ -13975,7 +13977,7 @@
+ X x; Y y; y.jo(x);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:13981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_cpp_ambiguity_resolving_using=yes
+ else
+@@ -13999,7 +14001,7 @@
+ fi
+ 
+ echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6
+-echo "configure:14003: checking for C++ dynamic_cast to void*" >&5
++echo "configure:14005: checking for C++ dynamic_cast to void*" >&5
+ if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -14007,7 +14009,7 @@
+   ac_cv_cpp_dynamic_cast_void_ptr=no
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14011 "configure"
++#line 14013 "configure"
+ #include "confdefs.h"
+ class X { int i; public: virtual ~X() { } };
+                             class Y { int j; public: virtual ~Y() { } };
+@@ -14023,7 +14025,7 @@
+                                            ((void*)&mdo == dynamic_cast<void*>(suby))));
+                             }
+ EOF
+-if { (eval echo configure:14027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:14029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_cpp_dynamic_cast_void_ptr=yes
+ else
+@@ -14050,19 +14052,19 @@
+ 
+ 
+ echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6
+-echo "configure:14054: checking whether C++ requires implementation of unused virtual methods" >&5
++echo "configure:14056: checking whether C++ requires implementation of unused virtual methods" >&5
+ if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14059 "configure"
++#line 14061 "configure"
+ #include "confdefs.h"
+ class X {private: virtual void never_called();};
+ int main() {
+ X x;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_cpp_unused_required=no
+ else
+@@ -14088,12 +14090,12 @@
+ 
+ 
+ echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6
+-echo "configure:14092: checking for trouble comparing to zero near std::operator!=()" >&5
++echo "configure:14094: checking for trouble comparing to zero near std::operator!=()" >&5
+ if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14097 "configure"
++#line 14099 "configure"
+ #include "confdefs.h"
+ #include <algorithm>
+                                 template <class T> class Foo {};
+@@ -14104,7 +14106,7 @@
+ Foo<int> f; return (0 != f);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_trouble_comparing_to_zero=no
+ else
+@@ -14134,19 +14136,19 @@
+ _SAVE_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $DSO_PIC_CFLAGS $DSO_LDOPTS $MOZ_OPTIMIZE_LDFLAGS"
+ echo $ac_n "checking for __thread keyword for TLS variables""... $ac_c" 1>&6
+-echo "configure:14138: checking for __thread keyword for TLS variables" >&5
++echo "configure:14140: checking for __thread keyword for TLS variables" >&5
+ if eval "test \"`echo '$''{'ac_cv_thread_keyword'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14143 "configure"
++#line 14145 "configure"
+ #include "confdefs.h"
+ __thread bool tlsIsMainThread = false;
+ int main() {
+ return tlsIsMainThread;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_thread_keyword=yes
+ else
+@@ -14200,12 +14202,12 @@
+ 
+ if test -n "$MOZ_LINKER" -a "$OS_TARGET" = "Android"; then
+   echo $ac_n "checking whether the CRT objects have text relocations""... $ac_c" 1>&6
+-echo "configure:14204: checking whether the CRT objects have text relocations" >&5
++echo "configure:14206: checking whether the CRT objects have text relocations" >&5
+ if eval "test \"`echo '$''{'ac_cv_crt_has_text_relocations'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo 'int foo() { return 0; }' > conftest.cpp
+-     if { ac_try='${CXX-g++} -o conftest${DLL_SUFFIX} $CXXFLAGS $DSO_LDOPTS $LDFLAGS conftest.cpp $LIBS 1>&5'; { (eval echo configure:14209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++     if { ac_try='${CXX-g++} -o conftest${DLL_SUFFIX} $CXXFLAGS $DSO_LDOPTS $LDFLAGS conftest.cpp $LIBS 1>&5'; { (eval echo configure:14211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+         test -s conftest${DLL_SUFFIX}; then
+        if ${TOOLCHAIN_PREFIX}readelf -d conftest${DLL_SUFFIX} | grep TEXTREL > /dev/null; then
+          ac_cv_crt_has_text_relocations=yes
+@@ -14232,12 +14234,12 @@
+ for file in $MALLOC_HEADERS; do
+      ac_safe=`echo "$file" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $file""... $ac_c" 1>&6
+-echo "configure:14236: checking for $file" >&5
++echo "configure:14238: checking for $file" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 14241 "configure"
++#line 14243 "configure"
+ #include "confdefs.h"
+ 
+ #include <$file>
+@@ -14245,7 +14247,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -14281,12 +14283,12 @@
+ for ac_func in strndup posix_memalign memalign valloc
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:14285: checking for $ac_func" >&5
++echo "configure:14287: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14290 "configure"
++#line 14292 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -14312,7 +14314,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -14343,12 +14345,12 @@
+ for ac_func in malloc_usable_size
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:14347: checking for $ac_func" >&5
++echo "configure:14349: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14352 "configure"
++#line 14354 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -14374,7 +14376,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -14404,19 +14406,19 @@
+ 
+ 
+ echo $ac_n "checking for __attribute__((always_inline))""... $ac_c" 1>&6
+-echo "configure:14408: checking for __attribute__((always_inline))" >&5
++echo "configure:14410: checking for __attribute__((always_inline))" >&5
+ if eval "test \"`echo '$''{'ac_cv_attribute_always_inline'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14413 "configure"
++#line 14415 "configure"
+ #include "confdefs.h"
+ inline void f(void) __attribute__((always_inline));
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_attribute_always_inline=yes
+ else
+@@ -14431,19 +14433,19 @@
+ echo "$ac_t""$ac_cv_attribute_always_inline" 1>&6
+ 
+ echo $ac_n "checking for __attribute__((malloc))""... $ac_c" 1>&6
+-echo "configure:14435: checking for __attribute__((malloc))" >&5
++echo "configure:14437: checking for __attribute__((malloc))" >&5
+ if eval "test \"`echo '$''{'ac_cv_attribute_malloc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14440 "configure"
++#line 14442 "configure"
+ #include "confdefs.h"
+ void* f(int) __attribute__((malloc));
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_attribute_malloc=yes
+ else
+@@ -14458,19 +14460,19 @@
+ echo "$ac_t""$ac_cv_attribute_malloc" 1>&6
+ 
+ echo $ac_n "checking for __attribute__((warn_unused_result))""... $ac_c" 1>&6
+-echo "configure:14462: checking for __attribute__((warn_unused_result))" >&5
++echo "configure:14464: checking for __attribute__((warn_unused_result))" >&5
+ if eval "test \"`echo '$''{'ac_cv_attribute_warn_unused'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14467 "configure"
++#line 14469 "configure"
+ #include "confdefs.h"
+ int f(void) __attribute__((warn_unused_result));
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_attribute_warn_unused=yes
+ else
+@@ -14494,19 +14496,19 @@
+ 
+ 
+ echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
+-echo "configure:14498: checking for LC_MESSAGES" >&5
++echo "configure:14500: checking for LC_MESSAGES" >&5
+ if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14503 "configure"
++#line 14505 "configure"
+ #include "confdefs.h"
+ #include <locale.h>
+ int main() {
+ int category = LC_MESSAGES;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_i18n_lc_messages=yes
+ else
+@@ -14532,12 +14534,12 @@
+ for ac_func in localeconv
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:14536: checking for $ac_func" >&5
++echo "configure:14538: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14541 "configure"
++#line 14543 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -14560,7 +14562,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -14749,7 +14751,7 @@
+ 	# Extract the first word of "nspr-config", so it can be a program name with args.
+ set dummy nspr-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:14753: checking for $ac_word" >&5
++echo "configure:14755: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_NSPR_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -14782,9 +14784,9 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ 
+-	min_nspr_version=4.9.6
++	min_nspr_version=4.10.2
+ 	echo $ac_n "checking for NSPR - version >= $min_nspr_version""... $ac_c" 1>&6
+-echo "configure:14788: checking for NSPR - version >= $min_nspr_version" >&5
++echo "configure:14790: checking for NSPR - version >= $min_nspr_version" >&5
+ 
+ 	no_nspr=""
+ 	if test "$NSPR_CONFIG" != "no"; then
+@@ -14843,7 +14845,7 @@
+     _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $NSPR_CFLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 14847 "configure"
++#line 14849 "configure"
+ #include "confdefs.h"
+ #include "prtypes.h"
+ int main() {
+@@ -14852,7 +14854,7 @@
+                  #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_NSPR=1
+ else
+@@ -14863,7 +14865,7 @@
+ fi
+ rm -f conftest*
+     cat > conftest.$ac_ext <<EOF
+-#line 14867 "configure"
++#line 14869 "configure"
+ #include "confdefs.h"
+ #include "prtypes.h"
+ int main() {
+@@ -14872,7 +14874,7 @@
+                  #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_NSPR=1
+ else
+@@ -14953,7 +14955,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:14957: checking for $ac_word" >&5
++echo "configure:14959: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -14997,19 +14999,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libevent""... $ac_c" 1>&6
+-echo "configure:15001: checking for libevent" >&5
++echo "configure:15003: checking for libevent" >&5
+ 
+         if $PKG_CONFIG --exists "libevent" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_LIBEVENT_CFLAGS""... $ac_c" 1>&6
+-echo "configure:15008: checking MOZ_LIBEVENT_CFLAGS" >&5
++echo "configure:15010: checking MOZ_LIBEVENT_CFLAGS" >&5
+             MOZ_LIBEVENT_CFLAGS=`$PKG_CONFIG --cflags "libevent"`
+             echo "$ac_t""$MOZ_LIBEVENT_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_LIBEVENT_LIBS""... $ac_c" 1>&6
+-echo "configure:15013: checking MOZ_LIBEVENT_LIBS" >&5
++echo "configure:15015: checking MOZ_LIBEVENT_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_LIBEVENT_LIBS="`$PKG_CONFIG --libs \"libevent\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_LIBEVENT_LIBS" 1>&6
+@@ -15046,12 +15048,12 @@
+     LDFLAGS="-L${LIBEVENT_DIR}/lib $LDFLAGS"
+        ac_safe=`echo "event.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for event.h""... $ac_c" 1>&6
+-echo "configure:15050: checking for event.h" >&5
++echo "configure:15052: checking for event.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 15055 "configure"
++#line 15057 "configure"
+ #include "confdefs.h"
+ 
+ #include <event.h>
+@@ -15059,7 +15061,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:15065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -15082,7 +15084,7 @@
+   fi
+ 
+     echo $ac_n "checking for event_init in -levent""... $ac_c" 1>&6
+-echo "configure:15086: checking for event_init in -levent" >&5
++echo "configure:15088: checking for event_init in -levent" >&5
+ ac_lib_var=`echo event'_'event_init | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -15090,7 +15092,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-levent  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 15094 "configure"
++#line 15096 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -15101,7 +15103,7 @@
+ event_init()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -15184,7 +15186,7 @@
+ 	# Extract the first word of "nss-config", so it can be a program name with args.
+ set dummy nss-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:15188: checking for $ac_word" >&5
++echo "configure:15190: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_NSS_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -15219,7 +15221,7 @@
+ 
+ 	min_nss_version=3.15
+ 	echo $ac_n "checking for NSS - version >= $min_nss_version""... $ac_c" 1>&6
+-echo "configure:15223: checking for NSS - version >= $min_nss_version" >&5
++echo "configure:15225: checking for NSS - version >= $min_nss_version" >&5
+ 
+ 	no_nss=""
+ 	if test "$NSS_CONFIG" = "no"; then
+@@ -15286,13 +15288,13 @@
+ 
+ 
+ echo $ac_n "checking for YASM assembler""... $ac_c" 1>&6
+-echo "configure:15290: checking for YASM assembler" >&5
++echo "configure:15292: checking for YASM assembler" >&5
+ for ac_prog in yasm
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:15296: checking for $ac_word" >&5
++echo "configure:15298: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_YASM'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -15350,7 +15352,7 @@
+     MOZ_NATIVE_JPEG=
+ else
+     echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
+-echo "configure:15354: checking for jpeg_destroy_compress in -ljpeg" >&5
++echo "configure:15356: checking for jpeg_destroy_compress in -ljpeg" >&5
+ ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -15358,7 +15360,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-ljpeg  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 15362 "configure"
++#line 15364 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -15369,7 +15371,7 @@
+ jpeg_destroy_compress()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -15394,7 +15396,7 @@
+ 
+ if test "$MOZ_NATIVE_JPEG" = 1; then
+     cat > conftest.$ac_ext <<EOF
+-#line 15398 "configure"
++#line 15400 "configure"
+ #include "confdefs.h"
+  #include <stdio.h>
+                      #include <sys/types.h>
+@@ -15409,7 +15411,7 @@
+                      
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:15415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_JPEG=1
+ else
+@@ -15456,7 +15458,7 @@
+         MOZ_NATIVE_ZLIB=
+     else
+         echo $ac_n "checking for gzread in -lz""... $ac_c" 1>&6
+-echo "configure:15460: checking for gzread in -lz" >&5
++echo "configure:15462: checking for gzread in -lz" >&5
+ ac_lib_var=`echo z'_'gzread | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -15464,7 +15466,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lz  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 15468 "configure"
++#line 15470 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -15475,7 +15477,7 @@
+ gzread()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -15499,7 +15501,7 @@
+         if test "$MOZ_NATIVE_ZLIB" = 1; then
+             MOZZLIBNUM=`echo $MOZZLIB | awk -F. '{printf "0x%x\n", ((($1 * 16 + $2) * 16) + $3) * 16 + $4}'`
+             cat > conftest.$ac_ext <<EOF
+-#line 15503 "configure"
++#line 15505 "configure"
+ #include "confdefs.h"
+  #include <stdio.h>
+                              #include <string.h>
+@@ -15510,7 +15512,7 @@
+                              #endif 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:15516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_ZLIB=1
+ else
+@@ -15561,7 +15563,7 @@
+     MOZ_NATIVE_BZ2=
+ else
+     echo $ac_n "checking for BZ2_bzread in -lbz2""... $ac_c" 1>&6
+-echo "configure:15565: checking for BZ2_bzread in -lbz2" >&5
++echo "configure:15567: checking for BZ2_bzread in -lbz2" >&5
+ ac_lib_var=`echo bz2'_'BZ2_bzread | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -15569,7 +15571,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lbz2  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 15573 "configure"
++#line 15575 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -15580,7 +15582,7 @@
+ BZ2_bzread()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -15629,7 +15631,7 @@
+     MOZ_NATIVE_PNG=
+ else
+     echo $ac_n "checking for png_get_valid in -lpng""... $ac_c" 1>&6
+-echo "configure:15633: checking for png_get_valid in -lpng" >&5
++echo "configure:15635: checking for png_get_valid in -lpng" >&5
+ ac_lib_var=`echo png'_'png_get_valid | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -15637,7 +15639,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lpng  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 15641 "configure"
++#line 15643 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -15648,7 +15650,7 @@
+ png_get_valid()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -15670,7 +15672,7 @@
+ fi
+ 
+     echo $ac_n "checking for png_get_acTL in -lpng""... $ac_c" 1>&6
+-echo "configure:15674: checking for png_get_acTL in -lpng" >&5
++echo "configure:15676: checking for png_get_acTL in -lpng" >&5
+ ac_lib_var=`echo png'_'png_get_acTL | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -15678,7 +15680,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lpng  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 15682 "configure"
++#line 15684 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -15689,7 +15691,7 @@
+ png_get_acTL()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -15723,7 +15725,7 @@
+ fi
+ if test "$MOZ_NATIVE_PNG" = 1; then
+     cat > conftest.$ac_ext <<EOF
+-#line 15727 "configure"
++#line 15729 "configure"
+ #include "confdefs.h"
+  #include <stdio.h>
+                      #include <sys/types.h>
+@@ -15737,7 +15739,7 @@
+                      #endif 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:15743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_PNG=1
+ else
+@@ -15779,7 +15781,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:15783: checking for $ac_word" >&5
++echo "configure:15785: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -15823,19 +15825,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for hunspell""... $ac_c" 1>&6
+-echo "configure:15827: checking for hunspell" >&5
++echo "configure:15829: checking for hunspell" >&5
+ 
+         if $PKG_CONFIG --exists "hunspell" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_HUNSPELL_CFLAGS""... $ac_c" 1>&6
+-echo "configure:15834: checking MOZ_HUNSPELL_CFLAGS" >&5
++echo "configure:15836: checking MOZ_HUNSPELL_CFLAGS" >&5
+             MOZ_HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell"`
+             echo "$ac_t""$MOZ_HUNSPELL_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_HUNSPELL_LIBS""... $ac_c" 1>&6
+-echo "configure:15839: checking MOZ_HUNSPELL_LIBS" >&5
++echo "configure:15841: checking MOZ_HUNSPELL_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_HUNSPELL_LIBS="`$PKG_CONFIG --libs \"hunspell\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_HUNSPELL_LIBS" 1>&6
+@@ -15891,7 +15893,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:15895: checking for $ac_word" >&5
++echo "configure:15897: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -15935,19 +15937,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libffi > 3.0.9""... $ac_c" 1>&6
+-echo "configure:15939: checking for libffi > 3.0.9" >&5
++echo "configure:15941: checking for libffi > 3.0.9" >&5
+ 
+         if $PKG_CONFIG --exists "libffi > 3.0.9" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_FFI_CFLAGS""... $ac_c" 1>&6
+-echo "configure:15946: checking MOZ_FFI_CFLAGS" >&5
++echo "configure:15948: checking MOZ_FFI_CFLAGS" >&5
+             MOZ_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi > 3.0.9"`
+             echo "$ac_t""$MOZ_FFI_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_FFI_LIBS""... $ac_c" 1>&6
+-echo "configure:15951: checking MOZ_FFI_LIBS" >&5
++echo "configure:15953: checking MOZ_FFI_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_FFI_LIBS="`$PKG_CONFIG --libs \"libffi > 3.0.9\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_FFI_LIBS" 1>&6
+@@ -15983,7 +15985,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:15987: checking for $ac_word" >&5
++echo "configure:15989: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -16027,19 +16029,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libffi >= 3.0.9""... $ac_c" 1>&6
+-echo "configure:16031: checking for libffi >= 3.0.9" >&5
++echo "configure:16033: checking for libffi >= 3.0.9" >&5
+ 
+         if $PKG_CONFIG --exists "libffi >= 3.0.9" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_FFI_CFLAGS""... $ac_c" 1>&6
+-echo "configure:16038: checking MOZ_FFI_CFLAGS" >&5
++echo "configure:16040: checking MOZ_FFI_CFLAGS" >&5
+             MOZ_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0.9"`
+             echo "$ac_t""$MOZ_FFI_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_FFI_LIBS""... $ac_c" 1>&6
+-echo "configure:16043: checking MOZ_FFI_LIBS" >&5
++echo "configure:16045: checking MOZ_FFI_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_FFI_LIBS="`$PKG_CONFIG --libs \"libffi >= 3.0.9\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_FFI_LIBS" 1>&6
+@@ -16238,7 +16240,7 @@
+ 
+ 
+ echo $ac_n "checking for application to build""... $ac_c" 1>&6
+-echo "configure:16242: checking for application to build" >&5
++echo "configure:16244: checking for application to build" >&5
+ if test -z "$MOZ_BUILD_APP"; then
+   echo "$ac_t""browser" 1>&6
+   MOZ_BUILD_APP=browser
+@@ -16300,7 +16302,7 @@
+ 
+ # Allow the application to influence configure with a confvars.sh script.
+ echo $ac_n "checking if app-specific confvars.sh exists""... $ac_c" 1>&6
+-echo "configure:16304: checking if app-specific confvars.sh exists" >&5
++echo "configure:16306: checking if app-specific confvars.sh exists" >&5
+ if test -f "${srcdir}/${MOZ_BUILD_APP}/confvars.sh" ; then
+   echo "$ac_t""${srcdir}/${MOZ_BUILD_APP}/confvars.sh" 1>&6
+   . "${srcdir}/${MOZ_BUILD_APP}/confvars.sh"
+@@ -16800,7 +16802,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:16804: checking for $ac_word" >&5
++echo "configure:16806: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -16844,19 +16846,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gtk+-3.0 >= $GTK3_VERSION gtk+-unix-print-3.0 glib-2.0 gobject-2.0 $GDK_PACKAGES""... $ac_c" 1>&6
+-echo "configure:16848: checking for gtk+-3.0 >= $GTK3_VERSION gtk+-unix-print-3.0 glib-2.0 gobject-2.0 $GDK_PACKAGES" >&5
++echo "configure:16850: checking for gtk+-3.0 >= $GTK3_VERSION gtk+-unix-print-3.0 glib-2.0 gobject-2.0 $GDK_PACKAGES" >&5
+ 
+         if $PKG_CONFIG --exists "gtk+-3.0 >= $GTK3_VERSION gtk+-unix-print-3.0 glib-2.0 gobject-2.0 $GDK_PACKAGES" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GTK3_CFLAGS""... $ac_c" 1>&6
+-echo "configure:16855: checking MOZ_GTK3_CFLAGS" >&5
++echo "configure:16857: checking MOZ_GTK3_CFLAGS" >&5
+             MOZ_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_VERSION gtk+-unix-print-3.0 glib-2.0 gobject-2.0 $GDK_PACKAGES"`
+             echo "$ac_t""$MOZ_GTK3_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GTK3_LIBS""... $ac_c" 1>&6
+-echo "configure:16860: checking MOZ_GTK3_LIBS" >&5
++echo "configure:16862: checking MOZ_GTK3_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GTK3_LIBS="`$PKG_CONFIG --libs \"gtk+-3.0 >= $GTK3_VERSION gtk+-unix-print-3.0 glib-2.0 gobject-2.0 $GDK_PACKAGES\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GTK3_LIBS" 1>&6
+@@ -16897,7 +16899,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:16901: checking for $ac_word" >&5
++echo "configure:16903: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -16941,19 +16943,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gtk+-2.0 >= $GTK2_VERSION gtk+-unix-print-2.0 glib-2.0 gobject-2.0 $GDK_PACKAGES""... $ac_c" 1>&6
+-echo "configure:16945: checking for gtk+-2.0 >= $GTK2_VERSION gtk+-unix-print-2.0 glib-2.0 gobject-2.0 $GDK_PACKAGES" >&5
++echo "configure:16947: checking for gtk+-2.0 >= $GTK2_VERSION gtk+-unix-print-2.0 glib-2.0 gobject-2.0 $GDK_PACKAGES" >&5
+ 
+         if $PKG_CONFIG --exists "gtk+-2.0 >= $GTK2_VERSION gtk+-unix-print-2.0 glib-2.0 gobject-2.0 $GDK_PACKAGES" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GTK2_CFLAGS""... $ac_c" 1>&6
+-echo "configure:16952: checking MOZ_GTK2_CFLAGS" >&5
++echo "configure:16954: checking MOZ_GTK2_CFLAGS" >&5
+             MOZ_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_VERSION gtk+-unix-print-2.0 glib-2.0 gobject-2.0 $GDK_PACKAGES"`
+             echo "$ac_t""$MOZ_GTK2_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GTK2_LIBS""... $ac_c" 1>&6
+-echo "configure:16957: checking MOZ_GTK2_LIBS" >&5
++echo "configure:16959: checking MOZ_GTK2_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GTK2_LIBS="`$PKG_CONFIG --libs \"gtk+-2.0 >= $GTK2_VERSION gtk+-unix-print-2.0 glib-2.0 gobject-2.0 $GDK_PACKAGES\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GTK2_LIBS" 1>&6
+@@ -17035,7 +17037,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17039: checking for $ac_word" >&5
++echo "configure:17041: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17079,19 +17081,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_VERSION""... $ac_c" 1>&6
+-echo "configure:17083: checking for libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_VERSION" >&5
++echo "configure:17085: checking for libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_STARTUP_NOTIFICATION_CFLAGS""... $ac_c" 1>&6
+-echo "configure:17090: checking MOZ_STARTUP_NOTIFICATION_CFLAGS" >&5
++echo "configure:17092: checking MOZ_STARTUP_NOTIFICATION_CFLAGS" >&5
+             MOZ_STARTUP_NOTIFICATION_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_VERSION"`
+             echo "$ac_t""$MOZ_STARTUP_NOTIFICATION_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_STARTUP_NOTIFICATION_LIBS""... $ac_c" 1>&6
+-echo "configure:17095: checking MOZ_STARTUP_NOTIFICATION_LIBS" >&5
++echo "configure:17097: checking MOZ_STARTUP_NOTIFICATION_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs \"libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_STARTUP_NOTIFICATION_LIBS" 1>&6
+@@ -17159,7 +17161,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17163: checking for $ac_word" >&5
++echo "configure:17165: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_QMAKE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17204,7 +17206,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17208: checking for $ac_word" >&5
++echo "configure:17210: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17248,19 +17250,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for Qt5Gui Qt5Network Qt5Core Qt5OpenGL Qt5Widgets Qt5PrintSupport""... $ac_c" 1>&6
+-echo "configure:17252: checking for Qt5Gui Qt5Network Qt5Core Qt5OpenGL Qt5Widgets Qt5PrintSupport" >&5
++echo "configure:17254: checking for Qt5Gui Qt5Network Qt5Core Qt5OpenGL Qt5Widgets Qt5PrintSupport" >&5
+ 
+         if $PKG_CONFIG --exists "Qt5Gui Qt5Network Qt5Core Qt5OpenGL Qt5Widgets Qt5PrintSupport" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_QT_CFLAGS""... $ac_c" 1>&6
+-echo "configure:17259: checking MOZ_QT_CFLAGS" >&5
++echo "configure:17261: checking MOZ_QT_CFLAGS" >&5
+             MOZ_QT_CFLAGS=`$PKG_CONFIG --cflags "Qt5Gui Qt5Network Qt5Core Qt5OpenGL Qt5Widgets Qt5PrintSupport"`
+             echo "$ac_t""$MOZ_QT_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_QT_LIBS""... $ac_c" 1>&6
+-echo "configure:17264: checking MOZ_QT_LIBS" >&5
++echo "configure:17266: checking MOZ_QT_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_QT_LIBS="`$PKG_CONFIG --libs \"Qt5Gui Qt5Network Qt5Core Qt5OpenGL Qt5Widgets Qt5PrintSupport\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_QT_LIBS" 1>&6
+@@ -17302,7 +17304,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17306: checking for $ac_word" >&5
++echo "configure:17308: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17346,19 +17348,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for QtGui QtNetwork QtCore QtOpenGL""... $ac_c" 1>&6
+-echo "configure:17350: checking for QtGui QtNetwork QtCore QtOpenGL" >&5
++echo "configure:17352: checking for QtGui QtNetwork QtCore QtOpenGL" >&5
+ 
+         if $PKG_CONFIG --exists "QtGui QtNetwork QtCore QtOpenGL" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_QT_CFLAGS""... $ac_c" 1>&6
+-echo "configure:17357: checking MOZ_QT_CFLAGS" >&5
++echo "configure:17359: checking MOZ_QT_CFLAGS" >&5
+             MOZ_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui QtNetwork QtCore QtOpenGL"`
+             echo "$ac_t""$MOZ_QT_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_QT_LIBS""... $ac_c" 1>&6
+-echo "configure:17362: checking MOZ_QT_LIBS" >&5
++echo "configure:17364: checking MOZ_QT_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_QT_LIBS="`$PKG_CONFIG --libs \"QtGui QtNetwork QtCore QtOpenGL\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_QT_LIBS" 1>&6
+@@ -17400,7 +17402,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17404: checking for $ac_word" >&5
++echo "configure:17406: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_MOC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17435,7 +17437,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17439: checking for $ac_word" >&5
++echo "configure:17441: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_RCC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17515,7 +17517,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17519: checking for $ac_word" >&5
++echo "configure:17521: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17559,19 +17561,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for qmsystem2""... $ac_c" 1>&6
+-echo "configure:17563: checking for qmsystem2" >&5
++echo "configure:17565: checking for qmsystem2" >&5
+ 
+         if $PKG_CONFIG --exists "qmsystem2" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking _QMSYSTEM2_CFLAGS""... $ac_c" 1>&6
+-echo "configure:17570: checking _QMSYSTEM2_CFLAGS" >&5
++echo "configure:17572: checking _QMSYSTEM2_CFLAGS" >&5
+             _QMSYSTEM2_CFLAGS=`$PKG_CONFIG --cflags "qmsystem2"`
+             echo "$ac_t""$_QMSYSTEM2_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking _QMSYSTEM2_LIBS""... $ac_c" 1>&6
+-echo "configure:17575: checking _QMSYSTEM2_LIBS" >&5
++echo "configure:17577: checking _QMSYSTEM2_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             _QMSYSTEM2_LIBS="`$PKG_CONFIG --libs \"qmsystem2\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$_QMSYSTEM2_LIBS" 1>&6
+@@ -17621,7 +17623,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17625: checking for $ac_word" >&5
++echo "configure:17627: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17665,19 +17667,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for QtNetwork >= 4.7""... $ac_c" 1>&6
+-echo "configure:17669: checking for QtNetwork >= 4.7" >&5
++echo "configure:17671: checking for QtNetwork >= 4.7" >&5
+ 
+         if $PKG_CONFIG --exists "QtNetwork >= 4.7" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking _QTNETWORK_CFLAGS""... $ac_c" 1>&6
+-echo "configure:17676: checking _QTNETWORK_CFLAGS" >&5
++echo "configure:17678: checking _QTNETWORK_CFLAGS" >&5
+             _QTNETWORK_CFLAGS=`$PKG_CONFIG --cflags "QtNetwork >= 4.7"`
+             echo "$ac_t""$_QTNETWORK_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking _QTNETWORK_LIBS""... $ac_c" 1>&6
+-echo "configure:17681: checking _QTNETWORK_LIBS" >&5
++echo "configure:17683: checking _QTNETWORK_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             _QTNETWORK_LIBS="`$PKG_CONFIG --libs \"QtNetwork >= 4.7\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$_QTNETWORK_LIBS" 1>&6
+@@ -17725,7 +17727,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:17729: checking for $ac_word" >&5
++echo "configure:17731: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -17769,19 +17771,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for QtSensors QtFeedback QtLocation""... $ac_c" 1>&6
+-echo "configure:17773: checking for QtSensors QtFeedback QtLocation" >&5
++echo "configure:17775: checking for QtSensors QtFeedback QtLocation" >&5
+ 
+         if $PKG_CONFIG --exists "QtSensors QtFeedback QtLocation" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking _QTMOBILITY_CFLAGS""... $ac_c" 1>&6
+-echo "configure:17780: checking _QTMOBILITY_CFLAGS" >&5
++echo "configure:17782: checking _QTMOBILITY_CFLAGS" >&5
+             _QTMOBILITY_CFLAGS=`$PKG_CONFIG --cflags "QtSensors QtFeedback QtLocation"`
+             echo "$ac_t""$_QTMOBILITY_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking _QTMOBILITY_LIBS""... $ac_c" 1>&6
+-echo "configure:17785: checking _QTMOBILITY_LIBS" >&5
++echo "configure:17787: checking _QTMOBILITY_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             _QTMOBILITY_LIBS="`$PKG_CONFIG --libs \"QtSensors QtFeedback QtLocation\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$_QTMOBILITY_LIBS" 1>&6
+@@ -17816,7 +17818,7 @@
+        MOZ_QT_LIBS="$MOZ_QT_LIBS $_QTMOBILITY_LIBS"
+     else
+        echo $ac_n "checking for main in -lQtSensors""... $ac_c" 1>&6
+-echo "configure:17820: checking for main in -lQtSensors" >&5
++echo "configure:17822: checking for main in -lQtSensors" >&5
+ ac_lib_var=`echo QtSensors'_'main | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -17824,14 +17826,14 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lQtSensors  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 17828 "configure"
++#line 17830 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ main()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:17835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:17837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -18001,7 +18003,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18005: checking for $ac_word" >&5
++echo "configure:18007: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18045,19 +18047,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for pango >= $PANGO_VERSION""... $ac_c" 1>&6
+-echo "configure:18049: checking for pango >= $PANGO_VERSION" >&5
++echo "configure:18051: checking for pango >= $PANGO_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "pango >= $PANGO_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking _PANGOCHK_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18056: checking _PANGOCHK_CFLAGS" >&5
++echo "configure:18058: checking _PANGOCHK_CFLAGS" >&5
+             _PANGOCHK_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_VERSION"`
+             echo "$ac_t""$_PANGOCHK_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking _PANGOCHK_LIBS""... $ac_c" 1>&6
+-echo "configure:18061: checking _PANGOCHK_LIBS" >&5
++echo "configure:18063: checking _PANGOCHK_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             _PANGOCHK_LIBS="`$PKG_CONFIG --libs \"pango >= $PANGO_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$_PANGOCHK_LIBS" 1>&6
+@@ -18093,7 +18095,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18097: checking for $ac_word" >&5
++echo "configure:18099: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18137,19 +18139,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for pango >= $PANGO_VERSION pangoft2 >= $PANGO_VERSION pangocairo >= $PANGO_VERSION""... $ac_c" 1>&6
+-echo "configure:18141: checking for pango >= $PANGO_VERSION pangoft2 >= $PANGO_VERSION pangocairo >= $PANGO_VERSION" >&5
++echo "configure:18143: checking for pango >= $PANGO_VERSION pangoft2 >= $PANGO_VERSION pangocairo >= $PANGO_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "pango >= $PANGO_VERSION pangoft2 >= $PANGO_VERSION pangocairo >= $PANGO_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_PANGO_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18148: checking MOZ_PANGO_CFLAGS" >&5
++echo "configure:18150: checking MOZ_PANGO_CFLAGS" >&5
+             MOZ_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_VERSION pangoft2 >= $PANGO_VERSION pangocairo >= $PANGO_VERSION"`
+             echo "$ac_t""$MOZ_PANGO_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_PANGO_LIBS""... $ac_c" 1>&6
+-echo "configure:18153: checking MOZ_PANGO_LIBS" >&5
++echo "configure:18155: checking MOZ_PANGO_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_PANGO_LIBS="`$PKG_CONFIG --libs \"pango >= $PANGO_VERSION pangoft2 >= $PANGO_VERSION pangocairo >= $PANGO_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_PANGO_LIBS" 1>&6
+@@ -18194,7 +18196,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18198: checking for $ac_word" >&5
++echo "configure:18200: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18238,19 +18240,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for freetype2 > 6.1.0""... $ac_c" 1>&6
+-echo "configure:18242: checking for freetype2 > 6.1.0" >&5
++echo "configure:18244: checking for freetype2 > 6.1.0" >&5
+ 
+         if $PKG_CONFIG --exists "freetype2 > 6.1.0" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking FT2_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18249: checking FT2_CFLAGS" >&5
++echo "configure:18251: checking FT2_CFLAGS" >&5
+             FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2 > 6.1.0"`
+             echo "$ac_t""$FT2_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking FT2_LIBS""... $ac_c" 1>&6
+-echo "configure:18254: checking FT2_LIBS" >&5
++echo "configure:18256: checking FT2_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             FT2_LIBS="`$PKG_CONFIG --libs \"freetype2 > 6.1.0\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$FT2_LIBS" 1>&6
+@@ -18314,7 +18316,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18318: checking for $ac_word" >&5
++echo "configure:18320: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18358,19 +18360,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gnome-vfs-2.0 >= $GNOMEVFS_VERSION gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION""... $ac_c" 1>&6
+-echo "configure:18362: checking for gnome-vfs-2.0 >= $GNOMEVFS_VERSION gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION" >&5
++echo "configure:18364: checking for gnome-vfs-2.0 >= $GNOMEVFS_VERSION gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "gnome-vfs-2.0 >= $GNOMEVFS_VERSION gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GNOMEVFS_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18369: checking MOZ_GNOMEVFS_CFLAGS" >&5
++echo "configure:18371: checking MOZ_GNOMEVFS_CFLAGS" >&5
+             MOZ_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= $GNOMEVFS_VERSION gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION"`
+             echo "$ac_t""$MOZ_GNOMEVFS_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GNOMEVFS_LIBS""... $ac_c" 1>&6
+-echo "configure:18374: checking MOZ_GNOMEVFS_LIBS" >&5
++echo "configure:18376: checking MOZ_GNOMEVFS_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GNOMEVFS_LIBS="`$PKG_CONFIG --libs \"gnome-vfs-2.0 >= $GNOMEVFS_VERSION gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GNOMEVFS_LIBS" 1>&6
+@@ -18442,7 +18444,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18446: checking for $ac_word" >&5
++echo "configure:18448: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18486,19 +18488,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gtk+-2.0 >= 2.14""... $ac_c" 1>&6
+-echo "configure:18490: checking for gtk+-2.0 >= 2.14" >&5
++echo "configure:18492: checking for gtk+-2.0 >= 2.14" >&5
+ 
+         if $PKG_CONFIG --exists "gtk+-2.0 >= 2.14" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking _GTKCHECK_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18497: checking _GTKCHECK_CFLAGS" >&5
++echo "configure:18499: checking _GTKCHECK_CFLAGS" >&5
+             _GTKCHECK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.14"`
+             echo "$ac_t""$_GTKCHECK_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking _GTKCHECK_LIBS""... $ac_c" 1>&6
+-echo "configure:18502: checking _GTKCHECK_LIBS" >&5
++echo "configure:18504: checking _GTKCHECK_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             _GTKCHECK_LIBS="`$PKG_CONFIG --libs \"gtk+-2.0 >= 2.14\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$_GTKCHECK_LIBS" 1>&6
+@@ -18533,7 +18535,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18537: checking for $ac_word" >&5
++echo "configure:18539: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18577,19 +18579,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gio-2.0 >= $GIO_VERSION""... $ac_c" 1>&6
+-echo "configure:18581: checking for gio-2.0 >= $GIO_VERSION" >&5
++echo "configure:18583: checking for gio-2.0 >= $GIO_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "gio-2.0 >= $GIO_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GIO_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18588: checking MOZ_GIO_CFLAGS" >&5
++echo "configure:18590: checking MOZ_GIO_CFLAGS" >&5
+             MOZ_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GIO_VERSION"`
+             echo "$ac_t""$MOZ_GIO_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GIO_LIBS""... $ac_c" 1>&6
+-echo "configure:18593: checking MOZ_GIO_LIBS" >&5
++echo "configure:18595: checking MOZ_GIO_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GIO_LIBS="`$PKG_CONFIG --libs \"gio-2.0 >= $GIO_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GIO_LIBS" 1>&6
+@@ -18661,7 +18663,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18665: checking for $ac_word" >&5
++echo "configure:18667: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18705,19 +18707,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gconf-2.0 >= $GCONF_VERSION gobject-2.0 ""... $ac_c" 1>&6
+-echo "configure:18709: checking for gconf-2.0 >= $GCONF_VERSION gobject-2.0 " >&5
++echo "configure:18711: checking for gconf-2.0 >= $GCONF_VERSION gobject-2.0 " >&5
+ 
+         if $PKG_CONFIG --exists "gconf-2.0 >= $GCONF_VERSION gobject-2.0 " ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GCONF_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18716: checking MOZ_GCONF_CFLAGS" >&5
++echo "configure:18718: checking MOZ_GCONF_CFLAGS" >&5
+             MOZ_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= $GCONF_VERSION gobject-2.0 "`
+             echo "$ac_t""$MOZ_GCONF_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GCONF_LIBS""... $ac_c" 1>&6
+-echo "configure:18721: checking MOZ_GCONF_LIBS" >&5
++echo "configure:18723: checking MOZ_GCONF_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GCONF_LIBS="`$PKG_CONFIG --libs \"gconf-2.0 >= $GCONF_VERSION gobject-2.0 \" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GCONF_LIBS" 1>&6
+@@ -18798,7 +18800,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18802: checking for $ac_word" >&5
++echo "configure:18804: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18842,19 +18844,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libproxy-1.0""... $ac_c" 1>&6
+-echo "configure:18846: checking for libproxy-1.0" >&5
++echo "configure:18848: checking for libproxy-1.0" >&5
+ 
+         if $PKG_CONFIG --exists "libproxy-1.0" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_LIBPROXY_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18853: checking MOZ_LIBPROXY_CFLAGS" >&5
++echo "configure:18855: checking MOZ_LIBPROXY_CFLAGS" >&5
+             MOZ_LIBPROXY_CFLAGS=`$PKG_CONFIG --cflags "libproxy-1.0"`
+             echo "$ac_t""$MOZ_LIBPROXY_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_LIBPROXY_LIBS""... $ac_c" 1>&6
+-echo "configure:18858: checking MOZ_LIBPROXY_LIBS" >&5
++echo "configure:18860: checking MOZ_LIBPROXY_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_LIBPROXY_LIBS="`$PKG_CONFIG --libs \"libproxy-1.0\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_LIBPROXY_LIBS" 1>&6
+@@ -18927,7 +18929,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:18931: checking for $ac_word" >&5
++echo "configure:18933: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -18971,19 +18973,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libgnomeui-2.0 >= $GNOMEUI_VERSION""... $ac_c" 1>&6
+-echo "configure:18975: checking for libgnomeui-2.0 >= $GNOMEUI_VERSION" >&5
++echo "configure:18977: checking for libgnomeui-2.0 >= $GNOMEUI_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "libgnomeui-2.0 >= $GNOMEUI_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GNOMEUI_CFLAGS""... $ac_c" 1>&6
+-echo "configure:18982: checking MOZ_GNOMEUI_CFLAGS" >&5
++echo "configure:18984: checking MOZ_GNOMEUI_CFLAGS" >&5
+             MOZ_GNOMEUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= $GNOMEUI_VERSION"`
+             echo "$ac_t""$MOZ_GNOMEUI_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GNOMEUI_LIBS""... $ac_c" 1>&6
+-echo "configure:18987: checking MOZ_GNOMEUI_LIBS" >&5
++echo "configure:18989: checking MOZ_GNOMEUI_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GNOMEUI_LIBS="`$PKG_CONFIG --libs \"libgnomeui-2.0 >= $GNOMEUI_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GNOMEUI_LIBS" 1>&6
+@@ -19062,7 +19064,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:19066: checking for $ac_word" >&5
++echo "configure:19068: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -19106,19 +19108,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for dbus-1 >= $DBUS_VERSION""... $ac_c" 1>&6
+-echo "configure:19110: checking for dbus-1 >= $DBUS_VERSION" >&5
++echo "configure:19112: checking for dbus-1 >= $DBUS_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "dbus-1 >= $DBUS_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_DBUS_CFLAGS""... $ac_c" 1>&6
+-echo "configure:19117: checking MOZ_DBUS_CFLAGS" >&5
++echo "configure:19119: checking MOZ_DBUS_CFLAGS" >&5
+             MOZ_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= $DBUS_VERSION"`
+             echo "$ac_t""$MOZ_DBUS_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_DBUS_LIBS""... $ac_c" 1>&6
+-echo "configure:19122: checking MOZ_DBUS_LIBS" >&5
++echo "configure:19124: checking MOZ_DBUS_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_DBUS_LIBS="`$PKG_CONFIG --libs \"dbus-1 >= $DBUS_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_DBUS_LIBS" 1>&6
+@@ -19153,7 +19155,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:19157: checking for $ac_word" >&5
++echo "configure:19159: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -19197,19 +19199,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for dbus-glib-1 >= $DBUS_VERSION""... $ac_c" 1>&6
+-echo "configure:19201: checking for dbus-glib-1 >= $DBUS_VERSION" >&5
++echo "configure:19203: checking for dbus-glib-1 >= $DBUS_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "dbus-glib-1 >= $DBUS_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_DBUS_GLIB_CFLAGS""... $ac_c" 1>&6
+-echo "configure:19208: checking MOZ_DBUS_GLIB_CFLAGS" >&5
++echo "configure:19210: checking MOZ_DBUS_GLIB_CFLAGS" >&5
+             MOZ_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_VERSION"`
+             echo "$ac_t""$MOZ_DBUS_GLIB_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_DBUS_GLIB_LIBS""... $ac_c" 1>&6
+-echo "configure:19213: checking MOZ_DBUS_GLIB_LIBS" >&5
++echo "configure:19215: checking MOZ_DBUS_GLIB_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_DBUS_GLIB_LIBS="`$PKG_CONFIG --libs \"dbus-glib-1 >= $DBUS_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_DBUS_GLIB_LIBS" 1>&6
+@@ -19675,7 +19677,7 @@
+     MOZ_CUBEB=1
+ 
+         echo $ac_n "checking __attribute__ ((aligned ())) support""... $ac_c" 1>&6
+-echo "configure:19679: checking __attribute__ ((aligned ())) support" >&5
++echo "configure:19681: checking __attribute__ ((aligned ())) support" >&5
+ if eval "test \"`echo '$''{'ac_cv_c_attribute_aligned'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -19685,14 +19687,14 @@
+          for ac_cv_c_attr_align_try in 64 32 16 8; do
+            echo "trying $ac_cv_c_attr_align_try"
+            cat > conftest.$ac_ext <<EOF
+-#line 19689 "configure"
++#line 19691 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ static char c __attribute__ ((aligned(${ac_cv_c_attr_align_try}))) = 0; return c;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:19696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:19698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_c_attribute_aligned="${ac_cv_c_attr_align_try}"
+ else
+@@ -19915,7 +19917,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:19919: checking for $ac_word" >&5
++echo "configure:19921: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -19959,19 +19961,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for vpx >= 1.0.0""... $ac_c" 1>&6
+-echo "configure:19963: checking for vpx >= 1.0.0" >&5
++echo "configure:19965: checking for vpx >= 1.0.0" >&5
+ 
+         if $PKG_CONFIG --exists "vpx >= 1.0.0" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_LIBVPX_CFLAGS""... $ac_c" 1>&6
+-echo "configure:19970: checking MOZ_LIBVPX_CFLAGS" >&5
++echo "configure:19972: checking MOZ_LIBVPX_CFLAGS" >&5
+             MOZ_LIBVPX_CFLAGS=`$PKG_CONFIG --cflags "vpx >= 1.0.0"`
+             echo "$ac_t""$MOZ_LIBVPX_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_LIBVPX_LIBS""... $ac_c" 1>&6
+-echo "configure:19975: checking MOZ_LIBVPX_LIBS" >&5
++echo "configure:19977: checking MOZ_LIBVPX_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_LIBVPX_LIBS="`$PKG_CONFIG --libs \"vpx >= 1.0.0\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_LIBVPX_LIBS" 1>&6
+@@ -20003,12 +20005,12 @@
+ 
+            ac_safe=`echo "vpx/vpx_decoder.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for vpx/vpx_decoder.h""... $ac_c" 1>&6
+-echo "configure:20007: checking for vpx/vpx_decoder.h" >&5
++echo "configure:20009: checking for vpx/vpx_decoder.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 20012 "configure"
++#line 20014 "configure"
+ #include "confdefs.h"
+ 
+ #include <vpx/vpx_decoder.h>
+@@ -20016,7 +20018,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:20020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:20022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -20039,7 +20041,7 @@
+ 
+         _SAVE_LIBS=$LIBS
+         echo $ac_n "checking for vpx_codec_dec_init_ver in -lvpx""... $ac_c" 1>&6
+-echo "configure:20043: checking for vpx_codec_dec_init_ver in -lvpx" >&5
++echo "configure:20045: checking for vpx_codec_dec_init_ver in -lvpx" >&5
+ ac_lib_var=`echo vpx'_'vpx_codec_dec_init_ver | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -20047,7 +20049,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lvpx  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 20051 "configure"
++#line 20053 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -20058,7 +20060,7 @@
+ vpx_codec_dec_init_ver()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:20062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:20064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -20310,7 +20312,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20314: checking for $ac_word" >&5
++echo "configure:20316: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -20354,19 +20356,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for alsa""... $ac_c" 1>&6
+-echo "configure:20358: checking for alsa" >&5
++echo "configure:20360: checking for alsa" >&5
+ 
+         if $PKG_CONFIG --exists "alsa" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_ALSA_CFLAGS""... $ac_c" 1>&6
+-echo "configure:20365: checking MOZ_ALSA_CFLAGS" >&5
++echo "configure:20367: checking MOZ_ALSA_CFLAGS" >&5
+             MOZ_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa"`
+             echo "$ac_t""$MOZ_ALSA_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_ALSA_LIBS""... $ac_c" 1>&6
+-echo "configure:20370: checking MOZ_ALSA_LIBS" >&5
++echo "configure:20372: checking MOZ_ALSA_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_ALSA_LIBS="`$PKG_CONFIG --libs \"alsa\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_ALSA_LIBS" 1>&6
+@@ -20430,7 +20432,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20434: checking for $ac_word" >&5
++echo "configure:20436: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -20474,19 +20476,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libpulse""... $ac_c" 1>&6
+-echo "configure:20478: checking for libpulse" >&5
++echo "configure:20480: checking for libpulse" >&5
+ 
+         if $PKG_CONFIG --exists "libpulse" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_PULSEAUDIO_CFLAGS""... $ac_c" 1>&6
+-echo "configure:20485: checking MOZ_PULSEAUDIO_CFLAGS" >&5
++echo "configure:20487: checking MOZ_PULSEAUDIO_CFLAGS" >&5
+             MOZ_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse"`
+             echo "$ac_t""$MOZ_PULSEAUDIO_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_PULSEAUDIO_LIBS""... $ac_c" 1>&6
+-echo "configure:20490: checking MOZ_PULSEAUDIO_LIBS" >&5
++echo "configure:20492: checking MOZ_PULSEAUDIO_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_PULSEAUDIO_LIBS="`$PKG_CONFIG --libs \"libpulse\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_PULSEAUDIO_LIBS" 1>&6
+@@ -20550,7 +20552,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20554: checking for $ac_word" >&5
++echo "configure:20556: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -20596,7 +20598,7 @@
+         echo $ac_n "checking for gstreamer-$GST_API_VERSION >= $GST_VERSION
+                       gstreamer-app-$GST_API_VERSION
+                       gstreamer-plugins-base-$GST_API_VERSION""... $ac_c" 1>&6
+-echo "configure:20600: checking for gstreamer-$GST_API_VERSION >= $GST_VERSION
++echo "configure:20602: checking for gstreamer-$GST_API_VERSION >= $GST_VERSION
+                       gstreamer-app-$GST_API_VERSION
+                       gstreamer-plugins-base-$GST_API_VERSION" >&5
+ 
+@@ -20607,14 +20609,14 @@
+             succeeded=yes
+ 
+             echo $ac_n "checking GSTREAMER_CFLAGS""... $ac_c" 1>&6
+-echo "configure:20611: checking GSTREAMER_CFLAGS" >&5
++echo "configure:20613: checking GSTREAMER_CFLAGS" >&5
+             GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_API_VERSION >= $GST_VERSION
+                       gstreamer-app-$GST_API_VERSION
+                       gstreamer-plugins-base-$GST_API_VERSION"`
+             echo "$ac_t""$GSTREAMER_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking GSTREAMER_LIBS""... $ac_c" 1>&6
+-echo "configure:20618: checking GSTREAMER_LIBS" >&5
++echo "configure:20620: checking GSTREAMER_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             GSTREAMER_LIBS="`$PKG_CONFIG --libs \"gstreamer-$GST_API_VERSION >= $GST_VERSION
+                       gstreamer-app-$GST_API_VERSION
+@@ -20651,14 +20653,14 @@
+        _SAVE_LDFLAGS=$LDFLAGS
+        LDFLAGS="$LDFLAGS $GSTREAMER_LIBS -lgstvideo-$GST_API_VERSION"
+        cat > conftest.$ac_ext <<EOF
+-#line 20655 "configure"
++#line 20657 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:20662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:20664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   _HAVE_LIBGSTVIDEO=1
+ else
+@@ -20777,7 +20779,7 @@
+  # Extract the first word of "java", so it can be a program name with args.
+ set dummy java; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20781: checking for $ac_word" >&5
++echo "configure:20783: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_JAVA'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -20826,7 +20828,7 @@
+  # Extract the first word of "javac", so it can be a program name with args.
+ set dummy javac; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20830: checking for $ac_word" >&5
++echo "configure:20832: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_JAVAC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -20875,7 +20877,7 @@
+  # Extract the first word of "javah", so it can be a program name with args.
+ set dummy javah; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20879: checking for $ac_word" >&5
++echo "configure:20881: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_JAVAH'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -20924,7 +20926,7 @@
+  # Extract the first word of "jar", so it can be a program name with args.
+ set dummy jar; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:20928: checking for $ac_word" >&5
++echo "configure:20930: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_JAR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -21105,12 +21107,12 @@
+     Linux)
+            ac_safe=`echo "linux/joystick.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for linux/joystick.h""... $ac_c" 1>&6
+-echo "configure:21109: checking for linux/joystick.h" >&5
++echo "configure:21111: checking for linux/joystick.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 21114 "configure"
++#line 21116 "configure"
+ #include "confdefs.h"
+ 
+ #include <linux/joystick.h>
+@@ -21118,7 +21120,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:21122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:21124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -21209,7 +21211,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:21213: checking for $ac_word" >&5
++echo "configure:21215: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -21253,19 +21255,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for gthread-2.0""... $ac_c" 1>&6
+-echo "configure:21257: checking for gthread-2.0" >&5
++echo "configure:21259: checking for gthread-2.0" >&5
+ 
+         if $PKG_CONFIG --exists "gthread-2.0" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_GTHREAD_CFLAGS""... $ac_c" 1>&6
+-echo "configure:21264: checking MOZ_GTHREAD_CFLAGS" >&5
++echo "configure:21266: checking MOZ_GTHREAD_CFLAGS" >&5
+             MOZ_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
+             echo "$ac_t""$MOZ_GTHREAD_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_GTHREAD_LIBS""... $ac_c" 1>&6
+-echo "configure:21269: checking MOZ_GTHREAD_LIBS" >&5
++echo "configure:21271: checking MOZ_GTHREAD_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_GTHREAD_LIBS="`$PKG_CONFIG --libs \"gthread-2.0\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_GTHREAD_LIBS" 1>&6
+@@ -21594,7 +21596,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:21598: checking for $ac_word" >&5
++echo "configure:21600: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_MAKENSISU'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -21652,7 +21654,7 @@
+           MAKENSISU_MINOR_VER=`echo $MAKENSISU_VER | $AWK -F\. '{ print $2 }'`
+       fi
+       echo $ac_n "checking for Unicode NSIS with major version == $REQ_NSIS_MAJOR_VER and minor version >= $MIN_NSIS_MINOR_VER""... $ac_c" 1>&6
+-echo "configure:21656: checking for Unicode NSIS with major version == $REQ_NSIS_MAJOR_VER and minor version >= $MIN_NSIS_MINOR_VER" >&5
++echo "configure:21658: checking for Unicode NSIS with major version == $REQ_NSIS_MAJOR_VER and minor version >= $MIN_NSIS_MINOR_VER" >&5
+       if test "$MAKENSISU_VER" = "" || \
+          test ! "$MAKENSISU_MAJOR_VER" = "$REQ_NSIS_MAJOR_VER" -o \
+               ! "$MAKENSISU_MINOR_VER" -ge $MIN_NSIS_MINOR_VER; then
+@@ -21700,13 +21702,13 @@
+ fi
+ 
+ echo $ac_n "checking for tar archiver""... $ac_c" 1>&6
+-echo "configure:21704: checking for tar archiver" >&5
++echo "configure:21706: checking for tar archiver" >&5
+ for ac_prog in gnutar gtar tar
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:21710: checking for $ac_word" >&5
++echo "configure:21712: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -21743,13 +21745,13 @@
+ 
+ 
+ echo $ac_n "checking for wget""... $ac_c" 1>&6
+-echo "configure:21747: checking for wget" >&5
++echo "configure:21749: checking for wget" >&5
+ for ac_prog in wget
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:21753: checking for $ac_word" >&5
++echo "configure:21755: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -22082,7 +22084,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:22086: checking for $ac_word" >&5
++echo "configure:22088: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -22126,19 +22128,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for sqlite3 >= $SQLITE_VERSION""... $ac_c" 1>&6
+-echo "configure:22130: checking for sqlite3 >= $SQLITE_VERSION" >&5
++echo "configure:22132: checking for sqlite3 >= $SQLITE_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "sqlite3 >= $SQLITE_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking SQLITE_CFLAGS""... $ac_c" 1>&6
+-echo "configure:22137: checking SQLITE_CFLAGS" >&5
++echo "configure:22139: checking SQLITE_CFLAGS" >&5
+             SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_VERSION"`
+             echo "$ac_t""$SQLITE_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking SQLITE_LIBS""... $ac_c" 1>&6
+-echo "configure:22142: checking SQLITE_LIBS" >&5
++echo "configure:22144: checking SQLITE_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             SQLITE_LIBS="`$PKG_CONFIG --libs \"sqlite3 >= $SQLITE_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$SQLITE_LIBS" 1>&6
+@@ -22169,7 +22171,7 @@
+ 
+ 
+                         echo $ac_n "checking for SQLITE_SECURE_DELETE support in system SQLite""... $ac_c" 1>&6
+-echo "configure:22173: checking for SQLITE_SECURE_DELETE support in system SQLite" >&5
++echo "configure:22175: checking for SQLITE_SECURE_DELETE support in system SQLite" >&5
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$CFLAGS $SQLITE_CFLAGS"
+     _SAVE_LIBS="$LIBS"
+@@ -22183,7 +22185,7 @@
+         
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 22187 "configure"
++#line 22189 "configure"
+ #include "confdefs.h"
+ 
+             #include "sqlite3.h"
+@@ -22192,7 +22194,7 @@
+               return !sqlite3_compileoption_used("SQLITE_SECURE_DELETE");
+             }
+ EOF
+-if { (eval echo configure:22196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:22198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_sqlite_secure_delete=yes
+ else
+@@ -22215,7 +22217,7 @@
+     fi
+ 
+                         echo $ac_n "checking for SQLITE_THREADSAFE support in system SQLite""... $ac_c" 1>&6
+-echo "configure:22219: checking for SQLITE_THREADSAFE support in system SQLite" >&5
++echo "configure:22221: checking for SQLITE_THREADSAFE support in system SQLite" >&5
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$CFLAGS $SQLITE_CFLAGS"
+     _SAVE_LIBS="$LIBS"
+@@ -22229,7 +22231,7 @@
+         
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 22233 "configure"
++#line 22235 "configure"
+ #include "confdefs.h"
+ 
+             #include "sqlite3.h"
+@@ -22238,7 +22240,7 @@
+               return !sqlite3_compileoption_used("SQLITE_THREADSAFE=1");
+             }
+ EOF
+-if { (eval echo configure:22242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:22244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_sqlite_threadsafe=yes
+ else
+@@ -22261,7 +22263,7 @@
+     fi
+ 
+                         echo $ac_n "checking for SQLITE_ENABLE_FTS3 support in system SQLite""... $ac_c" 1>&6
+-echo "configure:22265: checking for SQLITE_ENABLE_FTS3 support in system SQLite" >&5
++echo "configure:22267: checking for SQLITE_ENABLE_FTS3 support in system SQLite" >&5
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$CFLAGS $SQLITE_CFLAGS"
+     _SAVE_LIBS="$LIBS"
+@@ -22275,7 +22277,7 @@
+         
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 22279 "configure"
++#line 22281 "configure"
+ #include "confdefs.h"
+ 
+             #include "sqlite3.h"
+@@ -22284,7 +22286,7 @@
+               return !sqlite3_compileoption_used("SQLITE_ENABLE_FTS3");
+             }
+ EOF
+-if { (eval echo configure:22288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:22290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_sqlite_enable_fts3=yes
+ else
+@@ -22307,7 +22309,7 @@
+     fi
+ 
+                         echo $ac_n "checking for SQLITE_ENABLE_UNLOCK_NOTIFY support in system SQLite""... $ac_c" 1>&6
+-echo "configure:22311: checking for SQLITE_ENABLE_UNLOCK_NOTIFY support in system SQLite" >&5
++echo "configure:22313: checking for SQLITE_ENABLE_UNLOCK_NOTIFY support in system SQLite" >&5
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$CFLAGS $SQLITE_CFLAGS"
+     _SAVE_LIBS="$LIBS"
+@@ -22321,7 +22323,7 @@
+         
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 22325 "configure"
++#line 22327 "configure"
+ #include "confdefs.h"
+ 
+             #include "sqlite3.h"
+@@ -22330,7 +22332,7 @@
+               return !sqlite3_compileoption_used("SQLITE_ENABLE_UNLOCK_NOTIFY");
+             }
+ EOF
+-if { (eval echo configure:22334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:22336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_sqlite_enable_unlock_notify=yes
+ else
+@@ -22465,7 +22467,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:22469: checking for $ac_word" >&5
++echo "configure:22471: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -22509,19 +22511,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for conic""... $ac_c" 1>&6
+-echo "configure:22513: checking for conic" >&5
++echo "configure:22515: checking for conic" >&5
+ 
+         if $PKG_CONFIG --exists "conic" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBCONIC_CFLAGS""... $ac_c" 1>&6
+-echo "configure:22520: checking LIBCONIC_CFLAGS" >&5
++echo "configure:22522: checking LIBCONIC_CFLAGS" >&5
+             LIBCONIC_CFLAGS=`$PKG_CONFIG --cflags "conic"`
+             echo "$ac_t""$LIBCONIC_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBCONIC_LIBS""... $ac_c" 1>&6
+-echo "configure:22525: checking LIBCONIC_LIBS" >&5
++echo "configure:22527: checking LIBCONIC_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBCONIC_LIBS="`$PKG_CONFIG --libs \"conic\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBCONIC_LIBS" 1>&6
+@@ -22613,12 +22615,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:22617: checking for $ac_hdr" >&5
++echo "configure:22619: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 22622 "configure"
++#line 22624 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -22626,7 +22628,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:22630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:22632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -22656,7 +22658,7 @@
+   done
+ 
+       echo $ac_n "checking for XCompositeRedirectWindow in -lXcomposite""... $ac_c" 1>&6
+-echo "configure:22660: checking for XCompositeRedirectWindow in -lXcomposite" >&5
++echo "configure:22662: checking for XCompositeRedirectWindow in -lXcomposite" >&5
+ ac_lib_var=`echo Xcomposite'_'XCompositeRedirectWindow | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -22664,7 +22666,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lXcomposite $XLIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 22668 "configure"
++#line 22670 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -22675,7 +22677,7 @@
+ XCompositeRedirectWindow()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:22679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:22681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -22705,7 +22707,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:22709: checking for $ac_word" >&5
++echo "configure:22711: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -22749,19 +22751,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libhildonmime""... $ac_c" 1>&6
+-echo "configure:22753: checking for libhildonmime" >&5
++echo "configure:22755: checking for libhildonmime" >&5
+ 
+         if $PKG_CONFIG --exists "libhildonmime" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBHILDONMIME_CFLAGS""... $ac_c" 1>&6
+-echo "configure:22760: checking LIBHILDONMIME_CFLAGS" >&5
++echo "configure:22762: checking LIBHILDONMIME_CFLAGS" >&5
+             LIBHILDONMIME_CFLAGS=`$PKG_CONFIG --cflags "libhildonmime"`
+             echo "$ac_t""$LIBHILDONMIME_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBHILDONMIME_LIBS""... $ac_c" 1>&6
+-echo "configure:22765: checking LIBHILDONMIME_LIBS" >&5
++echo "configure:22767: checking LIBHILDONMIME_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBHILDONMIME_LIBS="`$PKG_CONFIG --libs \"libhildonmime\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBHILDONMIME_LIBS" 1>&6
+@@ -22803,7 +22805,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:22807: checking for $ac_word" >&5
++echo "configure:22809: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -22847,19 +22849,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libosso""... $ac_c" 1>&6
+-echo "configure:22851: checking for libosso" >&5
++echo "configure:22853: checking for libosso" >&5
+ 
+         if $PKG_CONFIG --exists "libosso" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBOSSO_CFLAGS""... $ac_c" 1>&6
+-echo "configure:22858: checking LIBOSSO_CFLAGS" >&5
++echo "configure:22860: checking LIBOSSO_CFLAGS" >&5
+             LIBOSSO_CFLAGS=`$PKG_CONFIG --cflags "libosso"`
+             echo "$ac_t""$LIBOSSO_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBOSSO_LIBS""... $ac_c" 1>&6
+-echo "configure:22863: checking LIBOSSO_LIBS" >&5
++echo "configure:22865: checking LIBOSSO_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBOSSO_LIBS="`$PKG_CONFIG --libs \"libosso\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBOSSO_LIBS" 1>&6
+@@ -22900,7 +22902,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:22904: checking for $ac_word" >&5
++echo "configure:22906: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -22944,19 +22946,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for hildon-fm-2""... $ac_c" 1>&6
+-echo "configure:22948: checking for hildon-fm-2" >&5
++echo "configure:22950: checking for hildon-fm-2" >&5
+ 
+         if $PKG_CONFIG --exists "hildon-fm-2" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBHILDONFM_CFLAGS""... $ac_c" 1>&6
+-echo "configure:22955: checking LIBHILDONFM_CFLAGS" >&5
++echo "configure:22957: checking LIBHILDONFM_CFLAGS" >&5
+             LIBHILDONFM_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2"`
+             echo "$ac_t""$LIBHILDONFM_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBHILDONFM_LIBS""... $ac_c" 1>&6
+-echo "configure:22960: checking LIBHILDONFM_LIBS" >&5
++echo "configure:22962: checking LIBHILDONFM_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBHILDONFM_LIBS="`$PKG_CONFIG --libs \"hildon-fm-2\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBHILDONFM_LIBS" 1>&6
+@@ -23000,7 +23002,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:23004: checking for $ac_word" >&5
++echo "configure:23006: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -23044,19 +23046,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for ContentManager QtSparql""... $ac_c" 1>&6
+-echo "configure:23048: checking for ContentManager QtSparql" >&5
++echo "configure:23050: checking for ContentManager QtSparql" >&5
+ 
+         if $PKG_CONFIG --exists "ContentManager QtSparql" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBCONTENTMANAGER_CFLAGS""... $ac_c" 1>&6
+-echo "configure:23055: checking LIBCONTENTMANAGER_CFLAGS" >&5
++echo "configure:23057: checking LIBCONTENTMANAGER_CFLAGS" >&5
+             LIBCONTENTMANAGER_CFLAGS=`$PKG_CONFIG --cflags "ContentManager QtSparql"`
+             echo "$ac_t""$LIBCONTENTMANAGER_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBCONTENTMANAGER_LIBS""... $ac_c" 1>&6
+-echo "configure:23060: checking LIBCONTENTMANAGER_LIBS" >&5
++echo "configure:23062: checking LIBCONTENTMANAGER_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBCONTENTMANAGER_LIBS="`$PKG_CONFIG --libs \"ContentManager QtSparql\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBCONTENTMANAGER_LIBS" 1>&6
+@@ -23122,7 +23124,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:23126: checking for $ac_word" >&5
++echo "configure:23128: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -23166,19 +23168,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for contentaction-0.1""... $ac_c" 1>&6
+-echo "configure:23170: checking for contentaction-0.1" >&5
++echo "configure:23172: checking for contentaction-0.1" >&5
+ 
+         if $PKG_CONFIG --exists "contentaction-0.1" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBCONTENTACTION_CFLAGS""... $ac_c" 1>&6
+-echo "configure:23177: checking LIBCONTENTACTION_CFLAGS" >&5
++echo "configure:23179: checking LIBCONTENTACTION_CFLAGS" >&5
+             LIBCONTENTACTION_CFLAGS=`$PKG_CONFIG --cflags "contentaction-0.1"`
+             echo "$ac_t""$LIBCONTENTACTION_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBCONTENTACTION_LIBS""... $ac_c" 1>&6
+-echo "configure:23182: checking LIBCONTENTACTION_LIBS" >&5
++echo "configure:23184: checking LIBCONTENTACTION_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBCONTENTACTION_LIBS="`$PKG_CONFIG --libs \"contentaction-0.1\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBCONTENTACTION_LIBS" 1>&6
+@@ -23242,7 +23244,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:23246: checking for $ac_word" >&5
++echo "configure:23248: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -23286,19 +23288,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for meegotouchcore""... $ac_c" 1>&6
+-echo "configure:23290: checking for meegotouchcore" >&5
++echo "configure:23292: checking for meegotouchcore" >&5
+ 
+         if $PKG_CONFIG --exists "meegotouchcore" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_MEEGOTOUCH_CFLAGS""... $ac_c" 1>&6
+-echo "configure:23297: checking MOZ_MEEGOTOUCH_CFLAGS" >&5
++echo "configure:23299: checking MOZ_MEEGOTOUCH_CFLAGS" >&5
+             MOZ_MEEGOTOUCH_CFLAGS=`$PKG_CONFIG --cflags "meegotouchcore"`
+             echo "$ac_t""$MOZ_MEEGOTOUCH_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_MEEGOTOUCH_LIBS""... $ac_c" 1>&6
+-echo "configure:23302: checking MOZ_MEEGOTOUCH_LIBS" >&5
++echo "configure:23304: checking MOZ_MEEGOTOUCH_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_MEEGOTOUCH_LIBS="`$PKG_CONFIG --libs \"meegotouchcore\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_MEEGOTOUCH_LIBS" 1>&6
+@@ -23349,7 +23351,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:23353: checking for $ac_word" >&5
++echo "configure:23355: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -23393,19 +23395,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for liblocation""... $ac_c" 1>&6
+-echo "configure:23397: checking for liblocation" >&5
++echo "configure:23399: checking for liblocation" >&5
+ 
+         if $PKG_CONFIG --exists "liblocation" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBLOCATION_CFLAGS""... $ac_c" 1>&6
+-echo "configure:23404: checking LIBLOCATION_CFLAGS" >&5
++echo "configure:23406: checking LIBLOCATION_CFLAGS" >&5
+             LIBLOCATION_CFLAGS=`$PKG_CONFIG --cflags "liblocation"`
+             echo "$ac_t""$LIBLOCATION_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBLOCATION_LIBS""... $ac_c" 1>&6
+-echo "configure:23409: checking LIBLOCATION_LIBS" >&5
++echo "configure:23411: checking LIBLOCATION_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBLOCATION_LIBS="`$PKG_CONFIG --libs \"liblocation\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBLOCATION_LIBS" 1>&6
+@@ -23456,7 +23458,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:23460: checking for $ac_word" >&5
++echo "configure:23462: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -23500,19 +23502,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for ShareUiInterface-maemo-meegotouch >= 0.3.31 mdatauri""... $ac_c" 1>&6
+-echo "configure:23504: checking for ShareUiInterface-maemo-meegotouch >= 0.3.31 mdatauri" >&5
++echo "configure:23506: checking for ShareUiInterface-maemo-meegotouch >= 0.3.31 mdatauri" >&5
+ 
+         if $PKG_CONFIG --exists "ShareUiInterface-maemo-meegotouch >= 0.3.31 mdatauri" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking LIBMEEGOTOUCHSHARE_CFLAGS""... $ac_c" 1>&6
+-echo "configure:23511: checking LIBMEEGOTOUCHSHARE_CFLAGS" >&5
++echo "configure:23513: checking LIBMEEGOTOUCHSHARE_CFLAGS" >&5
+             LIBMEEGOTOUCHSHARE_CFLAGS=`$PKG_CONFIG --cflags "ShareUiInterface-maemo-meegotouch >= 0.3.31 mdatauri"`
+             echo "$ac_t""$LIBMEEGOTOUCHSHARE_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking LIBMEEGOTOUCHSHARE_LIBS""... $ac_c" 1>&6
+-echo "configure:23516: checking LIBMEEGOTOUCHSHARE_LIBS" >&5
++echo "configure:23518: checking LIBMEEGOTOUCHSHARE_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             LIBMEEGOTOUCHSHARE_LIBS="`$PKG_CONFIG --libs \"ShareUiInterface-maemo-meegotouch >= 0.3.31 mdatauri\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$LIBMEEGOTOUCHSHARE_LIBS" 1>&6
+@@ -23642,18 +23644,18 @@
+ 
+ if test -n "$MOZ_DEBUG"; then
+     echo $ac_n "checking for valid debug flags""... $ac_c" 1>&6
+-echo "configure:23646: checking for valid debug flags" >&5
++echo "configure:23648: checking for valid debug flags" >&5
+     _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $MOZ_DEBUG_FLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 23650 "configure"
++#line 23652 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:23657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:23659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _results=yes
+ else
+@@ -23750,18 +23752,18 @@
+ if test "$COMPILE_ENVIRONMENT"; then
+ if test -n "$MOZ_OPTIMIZE"; then
+     echo $ac_n "checking for valid optimization flags""... $ac_c" 1>&6
+-echo "configure:23754: checking for valid optimization flags" >&5
++echo "configure:23756: checking for valid optimization flags" >&5
+     _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 23758 "configure"
++#line 23760 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:23765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:23767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _results=yes
+ else
+@@ -24056,12 +24058,12 @@
+ 
+         if test -n "$MACOSX_DEPLOYMENT_TARGET"; then
+         echo $ac_n "checking how to do weak dynamic linking""... $ac_c" 1>&6
+-echo "configure:24060: checking how to do weak dynamic linking" >&5
++echo "configure:24062: checking how to do weak dynamic linking" >&5
+ if eval "test \"`echo '$''{'ac_cv_weak_dynamic_linking'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo 'extern void foo() __attribute__((weak_import));int bar() { if (foo) foo(); return 0; }' > conftest.c
+-             if { ac_try='${CC-cc} -o conftest${DLL_SUFFIX} $CFLAGS -dynamiclib $LDFLAGS -Wl,-U,_foo conftest.c $LIBS 1>&5'; { (eval echo configure:24065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++             if { ac_try='${CC-cc} -o conftest${DLL_SUFFIX} $CFLAGS -dynamiclib $LDFLAGS -Wl,-U,_foo conftest.c $LIBS 1>&5'; { (eval echo configure:24067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+                 test -s conftest${DLL_SUFFIX}; then
+                                                                                      if otool -l conftest${DLL_SUFFIX} 2> /dev/null | grep "LC_DYLD_INFO_ONLY" > /dev/null; then
+                      _CLASSIC_INFO=
+@@ -24105,12 +24107,12 @@
+     for ac_func in mallctl nallocm
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:24109: checking for $ac_func" >&5
++echo "configure:24111: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 24114 "configure"
++#line 24116 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -24133,7 +24135,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:24137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:24139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -24215,7 +24217,7 @@
+     fi
+   else
+     echo $ac_n "checking size of int *""... $ac_c" 1>&6
+-echo "configure:24219: checking size of int *" >&5
++echo "configure:24221: checking size of int *" >&5
+ if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -24223,7 +24225,7 @@
+   ac_cv_sizeof_int_p=4
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 24227 "configure"
++#line 24229 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main()
+@@ -24234,7 +24236,7 @@
+   return(0);
+ }
+ EOF
+-if { (eval echo configure:24238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:24240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_sizeof_int_p=`cat conftestval`
+ else
+@@ -24575,7 +24577,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:24579: checking for $ac_word" >&5
++echo "configure:24581: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_CCACHE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -24792,12 +24794,12 @@
+ 
+ if test -n "$USE_ELF_HACK"; then
+                                         echo $ac_n "checking whether linker creates PT_GNU_RELRO segments""... $ac_c" 1>&6
+-echo "configure:24796: checking whether linker creates PT_GNU_RELRO segments" >&5
++echo "configure:24798: checking whether linker creates PT_GNU_RELRO segments" >&5
+ if eval "test \"`echo '$''{'LINK_WITH_PT_GNU_RELRO'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo "int main() {return 0;}" > conftest.${ac_ext}
+-         if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.${ac_ext} $LIBS 1>&2'; { (eval echo configure:24801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++         if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.${ac_ext} $LIBS 1>&2'; { (eval echo configure:24803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+             test -s conftest${ac_exeext}; then
+             if ${TOOLCHAIN_PREFIX}readelf -l conftest${ac_exeext} | grep GNU_RELRO > /dev/null; then
+                 LINK_WITH_PT_GNU_RELRO=yes
+@@ -24814,18 +24816,18 @@
+     if test "$LINK_WITH_PT_GNU_RELRO" = yes; then
+         if test "$USE_ELF_HACK" = F; then
+             echo $ac_n "checking for -z norelro option to ld""... $ac_c" 1>&6
+-echo "configure:24818: checking for -z norelro option to ld" >&5
++echo "configure:24820: checking for -z norelro option to ld" >&5
+             _SAVE_LDFLAGS=$LDFLAGS
+             LDFLAGS="$LDFLAGS -Wl,-z,norelro"
+             cat > conftest.$ac_ext <<EOF
+-#line 24822 "configure"
++#line 24824 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:24829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:24831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   echo "$ac_t""yes" 1>&6
+                         NSPR_LDFLAGS="$NSPR_LDFLAGS -Wl,-z,norelro"
+@@ -25069,12 +25071,12 @@
+     for ac_func in __cxa_demangle
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:25073: checking for $ac_func" >&5
++echo "configure:25075: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 25078 "configure"
++#line 25080 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -25100,7 +25102,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:25106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -25154,12 +25156,12 @@
+ if test -z "$SKIP_LIBRARY_CHECKS"; then
+        ac_safe=`echo "unwind.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for unwind.h""... $ac_c" 1>&6
+-echo "configure:25158: checking for unwind.h" >&5
++echo "configure:25160: checking for unwind.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 25163 "configure"
++#line 25165 "configure"
+ #include "confdefs.h"
+ 
+ #include <unwind.h>
+@@ -25167,7 +25169,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:25173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -25184,12 +25186,12 @@
+     for ac_func in _Unwind_Backtrace
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:25188: checking for $ac_func" >&5
++echo "configure:25190: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 25193 "configure"
++#line 25195 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -25212,7 +25214,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:25218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -25392,7 +25394,7 @@
+ # Compiler Options
+ 
+ echo $ac_n "checking for -pipe support""... $ac_c" 1>&6
+-echo "configure:25396: checking for -pipe support" >&5
++echo "configure:25398: checking for -pipe support" >&5
+ if test -n "$GNU_CC" -a -n "$GNU_CXX"; then
+         CFLAGS="$CFLAGS -pipe"
+     CXXFLAGS="$CXXFLAGS -pipe"
+@@ -25406,16 +25408,16 @@
+ CFLAGS="$CFLAGS -fprofile-generate -fprofile-correction"
+ 
+ echo $ac_n "checking whether C compiler supports -fprofile-generate""... $ac_c" 1>&6
+-echo "configure:25410: checking whether C compiler supports -fprofile-generate" >&5
++echo "configure:25412: checking whether C compiler supports -fprofile-generate" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 25412 "configure"
++#line 25414 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:25421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+    PROFILE_GEN_CFLAGS="-fprofile-generate"
+                  result="yes" 
+@@ -25466,12 +25468,12 @@
+ _SAVE_CXXFLAGS=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
+ echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6
+-echo "configure:25470: checking for correct overload resolution with const and templates" >&5
++echo "configure:25472: checking for correct overload resolution with const and templates" >&5
+ if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 25475 "configure"
++#line 25477 "configure"
+ #include "confdefs.h"
+ 
+                       template <class T>
+@@ -25501,7 +25503,7 @@
+                     
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:25507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_nscap_nonconst_opeq_bug="no"
+ else
+@@ -25546,20 +25548,20 @@
+ 
+ 
+ echo $ac_n "checking what kind of list files are supported by the linker""... $ac_c" 1>&6
+-echo "configure:25550: checking what kind of list files are supported by the linker" >&5
++echo "configure:25552: checking what kind of list files are supported by the linker" >&5
+ if eval "test \"`echo '$''{'EXPAND_LIBS_LIST_STYLE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo "int main() {return 0;}" > conftest.${ac_ext}
+-     if { ac_try='${CC-cc} -o conftest.${OBJ_SUFFIX} -c $CFLAGS $CPPFLAGS conftest.${ac_ext} 1>&5'; { (eval echo configure:25555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest.${OBJ_SUFFIX}; then
++     if { ac_try='${CC-cc} -o conftest.${OBJ_SUFFIX} -c $CFLAGS $CPPFLAGS conftest.${ac_ext} 1>&5'; { (eval echo configure:25557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest.${OBJ_SUFFIX}; then
+          echo "INPUT(conftest.${OBJ_SUFFIX})" > conftest.list
+-         if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.list $LIBS 1>&5'; { (eval echo configure:25557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
++         if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.list $LIBS 1>&5'; { (eval echo configure:25559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
+              EXPAND_LIBS_LIST_STYLE=linkerscript
+          else
+              echo "conftest.${OBJ_SUFFIX}" > conftest.list
+-                                                                 if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,-filelist,conftest.list $LIBS 1>&5'; { (eval echo configure:25561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
++                                                                 if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,-filelist,conftest.list $LIBS 1>&5'; { (eval echo configure:25563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
+                  EXPAND_LIBS_LIST_STYLE=filelist
+-             elif { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS @conftest.list $LIBS 1>&5'; { (eval echo configure:25563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
++             elif { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS @conftest.list $LIBS 1>&5'; { (eval echo configure:25565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
+                  EXPAND_LIBS_LIST_STYLE=list
+              else
+                  EXPAND_LIBS_LIST_STYLE=none
+@@ -25579,7 +25581,7 @@
+ 
+ if test "$GCC_USE_GNU_LD"; then
+     echo $ac_n "checking what kind of ordering can be done with the linker""... $ac_c" 1>&6
+-echo "configure:25583: checking what kind of ordering can be done with the linker" >&5
++echo "configure:25585: checking what kind of ordering can be done with the linker" >&5
+ if eval "test \"`echo '$''{'EXPAND_LIBS_ORDER_STYLE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -25587,14 +25589,14 @@
+          _SAVE_LDFLAGS="$LDFLAGS"
+          LDFLAGS="${LDFLAGS} -Wl,--section-ordering-file,conftest.order"
+          cat > conftest.$ac_ext <<EOF
+-#line 25591 "configure"
++#line 25593 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:25600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   EXPAND_LIBS_ORDER_STYLE=section-ordering-file
+ else
+@@ -25606,7 +25608,7 @@
+ rm -f conftest*
+          LDFLAGS="$_SAVE_LDFLAGS"
+          if test -z "$EXPAND_LIBS_ORDER_STYLE"; then
+-             if { ac_try='${CC-cc} ${DSO_LDOPTS} ${LDFLAGS} -o ${DLL_PREFIX}conftest${DLL_SUFFIX} -Wl'; { (eval echo configure:25610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
++             if { ac_try='${CC-cc} ${DSO_LDOPTS} ${LDFLAGS} -o ${DLL_PREFIX}conftest${DLL_SUFFIX} -Wl'; { (eval echo configure:25612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+                  EXPAND_LIBS_ORDER_STYLE=linkerscript
+              else
+                  EXPAND_LIBS_ORDER_STYLE=none
+@@ -25696,7 +25698,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:25700: checking for $ac_word" >&5
++echo "configure:25702: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -25740,19 +25742,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for glib-2.0 >= 1.3.7 gobject-2.0""... $ac_c" 1>&6
+-echo "configure:25744: checking for glib-2.0 >= 1.3.7 gobject-2.0" >&5
++echo "configure:25746: checking for glib-2.0 >= 1.3.7 gobject-2.0" >&5
+ 
+         if $PKG_CONFIG --exists "glib-2.0 >= 1.3.7 gobject-2.0" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking GLIB_CFLAGS""... $ac_c" 1>&6
+-echo "configure:25751: checking GLIB_CFLAGS" >&5
++echo "configure:25753: checking GLIB_CFLAGS" >&5
+             GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 1.3.7 gobject-2.0"`
+             echo "$ac_t""$GLIB_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking GLIB_LIBS""... $ac_c" 1>&6
+-echo "configure:25756: checking GLIB_LIBS" >&5
++echo "configure:25758: checking GLIB_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             GLIB_LIBS="`$PKG_CONFIG --libs \"glib-2.0 >= 1.3.7 gobject-2.0\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$GLIB_LIBS" 1>&6
+@@ -25824,7 +25826,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:25828: checking for $ac_word" >&5
++echo "configure:25830: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -25868,19 +25870,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for freetype2 >= 6.1.0""... $ac_c" 1>&6
+-echo "configure:25872: checking for freetype2 >= 6.1.0" >&5
++echo "configure:25874: checking for freetype2 >= 6.1.0" >&5
+ 
+         if $PKG_CONFIG --exists "freetype2 >= 6.1.0" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking FT2_CFLAGS""... $ac_c" 1>&6
+-echo "configure:25879: checking FT2_CFLAGS" >&5
++echo "configure:25881: checking FT2_CFLAGS" >&5
+             FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 6.1.0"`
+             echo "$ac_t""$FT2_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking FT2_LIBS""... $ac_c" 1>&6
+-echo "configure:25884: checking FT2_LIBS" >&5
++echo "configure:25886: checking FT2_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             FT2_LIBS="`$PKG_CONFIG --libs \"freetype2 >= 6.1.0\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$FT2_LIBS" 1>&6
+@@ -25917,12 +25919,12 @@
+             CFLAGS="$CFLAGS $FT2_CFLAGS"
+ 
+             echo $ac_n "checking for FT_Bitmap_Size.y_ppem""... $ac_c" 1>&6
+-echo "configure:25921: checking for FT_Bitmap_Size.y_ppem" >&5
++echo "configure:25923: checking for FT_Bitmap_Size.y_ppem" >&5
+ if eval "test \"`echo '$''{'ac_cv_member_FT_Bitmap_Size_y_ppem'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 25926 "configure"
++#line 25928 "configure"
+ #include "confdefs.h"
+ #include <ft2build.h>
+                                  #include FT_FREETYPE_H
+@@ -25932,7 +25934,7 @@
+                                  return 1
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:25938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_member_FT_Bitmap_Size_y_ppem=yes
+ else
+@@ -25961,12 +25963,12 @@
+             for ac_func in FT_GlyphSlot_Embolden FT_Load_Sfnt_Table FT_Select_Size
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:25965: checking for $ac_func" >&5
++echo "configure:25967: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 25970 "configure"
++#line 25972 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -25989,7 +25991,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:25993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:25995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -26027,12 +26029,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:26031: checking for $ac_hdr" >&5
++echo "configure:26033: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 26036 "configure"
++#line 26038 "configure"
+ #include "confdefs.h"
+ #include <fontconfig/fontconfig.h>
+ #include <$ac_hdr>
+@@ -26040,7 +26042,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:26044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:26046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -26086,7 +26088,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:26090: checking for $ac_word" >&5
++echo "configure:26092: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -26130,19 +26132,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for fontconfig""... $ac_c" 1>&6
+-echo "configure:26134: checking for fontconfig" >&5
++echo "configure:26136: checking for fontconfig" >&5
+ 
+         if $PKG_CONFIG --exists "fontconfig" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking _FONTCONFIG_CFLAGS""... $ac_c" 1>&6
+-echo "configure:26141: checking _FONTCONFIG_CFLAGS" >&5
++echo "configure:26143: checking _FONTCONFIG_CFLAGS" >&5
+             _FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig"`
+             echo "$ac_t""$_FONTCONFIG_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking _FONTCONFIG_LIBS""... $ac_c" 1>&6
+-echo "configure:26146: checking _FONTCONFIG_LIBS" >&5
++echo "configure:26148: checking _FONTCONFIG_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             _FONTCONFIG_LIBS="`$PKG_CONFIG --libs \"fontconfig\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$_FONTCONFIG_LIBS" 1>&6
+@@ -26240,7 +26242,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:26244: checking for $ac_word" >&5
++echo "configure:26246: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -26284,19 +26286,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for pixman-1 >= 0.19.2""... $ac_c" 1>&6
+-echo "configure:26288: checking for pixman-1 >= 0.19.2" >&5
++echo "configure:26290: checking for pixman-1 >= 0.19.2" >&5
+ 
+         if $PKG_CONFIG --exists "pixman-1 >= 0.19.2" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking PIXMAN_CFLAGS""... $ac_c" 1>&6
+-echo "configure:26295: checking PIXMAN_CFLAGS" >&5
++echo "configure:26297: checking PIXMAN_CFLAGS" >&5
+             PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1 >= 0.19.2"`
+             echo "$ac_t""$PIXMAN_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking PIXMAN_LIBS""... $ac_c" 1>&6
+-echo "configure:26300: checking PIXMAN_LIBS" >&5
++echo "configure:26302: checking PIXMAN_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             PIXMAN_LIBS="`$PKG_CONFIG --libs \"pixman-1 >= 0.19.2\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$PIXMAN_LIBS" 1>&6
+@@ -26336,12 +26338,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:26340: checking for $ac_hdr" >&5
++echo "configure:26342: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 26345 "configure"
++#line 26347 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -26349,7 +26351,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:26353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:26355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -26433,12 +26435,12 @@
+ 
+            ac_safe=`echo "d3d9.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for d3d9.h""... $ac_c" 1>&6
+-echo "configure:26437: checking for d3d9.h" >&5
++echo "configure:26439: checking for d3d9.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 26442 "configure"
++#line 26444 "configure"
+ #include "confdefs.h"
+ 
+ #include <d3d9.h>
+@@ -26446,7 +26448,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:26450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:26452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -26470,12 +26472,12 @@
+                 if test -n "$WIN32_D2D_SURFACE_FEATURE"; then
+              ac_safe=`echo "d3d10.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for d3d10.h""... $ac_c" 1>&6
+-echo "configure:26474: checking for d3d10.h" >&5
++echo "configure:26476: checking for d3d10.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 26479 "configure"
++#line 26481 "configure"
+ #include "confdefs.h"
+ 
+ #include <d3d10.h>
+@@ -26483,7 +26485,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:26487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:26489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -26559,7 +26561,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:26563: checking for $ac_word" >&5
++echo "configure:26565: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -26603,19 +26605,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for cairo >= $CAIRO_VERSION""... $ac_c" 1>&6
+-echo "configure:26607: checking for cairo >= $CAIRO_VERSION" >&5
++echo "configure:26609: checking for cairo >= $CAIRO_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "cairo >= $CAIRO_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking CAIRO_CFLAGS""... $ac_c" 1>&6
+-echo "configure:26614: checking CAIRO_CFLAGS" >&5
++echo "configure:26616: checking CAIRO_CFLAGS" >&5
+             CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_VERSION"`
+             echo "$ac_t""$CAIRO_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking CAIRO_LIBS""... $ac_c" 1>&6
+-echo "configure:26619: checking CAIRO_LIBS" >&5
++echo "configure:26621: checking CAIRO_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             CAIRO_LIBS="`$PKG_CONFIG --libs \"cairo >= $CAIRO_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$CAIRO_LIBS" 1>&6
+@@ -26652,7 +26654,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:26656: checking for $ac_word" >&5
++echo "configure:26658: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -26696,19 +26698,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for cairo-tee >= $CAIRO_VERSION""... $ac_c" 1>&6
+-echo "configure:26700: checking for cairo-tee >= $CAIRO_VERSION" >&5
++echo "configure:26702: checking for cairo-tee >= $CAIRO_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "cairo-tee >= $CAIRO_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking CAIRO_TEE_CFLAGS""... $ac_c" 1>&6
+-echo "configure:26707: checking CAIRO_TEE_CFLAGS" >&5
++echo "configure:26709: checking CAIRO_TEE_CFLAGS" >&5
+             CAIRO_TEE_CFLAGS=`$PKG_CONFIG --cflags "cairo-tee >= $CAIRO_VERSION"`
+             echo "$ac_t""$CAIRO_TEE_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking CAIRO_TEE_LIBS""... $ac_c" 1>&6
+-echo "configure:26712: checking CAIRO_TEE_LIBS" >&5
++echo "configure:26714: checking CAIRO_TEE_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             CAIRO_TEE_LIBS="`$PKG_CONFIG --libs \"cairo-tee >= $CAIRO_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$CAIRO_TEE_LIBS" 1>&6
+@@ -26744,7 +26746,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:26748: checking for $ac_word" >&5
++echo "configure:26750: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -26788,19 +26790,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for cairo-xlib-xrender >= $CAIRO_VERSION""... $ac_c" 1>&6
+-echo "configure:26792: checking for cairo-xlib-xrender >= $CAIRO_VERSION" >&5
++echo "configure:26794: checking for cairo-xlib-xrender >= $CAIRO_VERSION" >&5
+ 
+         if $PKG_CONFIG --exists "cairo-xlib-xrender >= $CAIRO_VERSION" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking CAIRO_XRENDER_CFLAGS""... $ac_c" 1>&6
+-echo "configure:26799: checking CAIRO_XRENDER_CFLAGS" >&5
++echo "configure:26801: checking CAIRO_XRENDER_CFLAGS" >&5
+             CAIRO_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "cairo-xlib-xrender >= $CAIRO_VERSION"`
+             echo "$ac_t""$CAIRO_XRENDER_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking CAIRO_XRENDER_LIBS""... $ac_c" 1>&6
+-echo "configure:26804: checking CAIRO_XRENDER_LIBS" >&5
++echo "configure:26806: checking CAIRO_XRENDER_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             CAIRO_XRENDER_LIBS="`$PKG_CONFIG --libs \"cairo-xlib-xrender >= $CAIRO_VERSION\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$CAIRO_XRENDER_LIBS" 1>&6
+@@ -27692,9 +27694,9 @@
+ 
+ 
+ echo $ac_n "checking for posix_fallocate""... $ac_c" 1>&6
+-echo "configure:27696: checking for posix_fallocate" >&5
++echo "configure:27698: checking for posix_fallocate" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 27698 "configure"
++#line 27700 "configure"
+ #include "confdefs.h"
+ #define _XOPEN_SOURCE 600
+   #include <fcntl.h>
+@@ -27702,7 +27704,7 @@
+ posix_fallocate(0, 0, 0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:27706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:27708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv___posix_fallocate=true
+ else
+@@ -27734,7 +27736,7 @@
+                 _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $XCFLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 27738 "configure"
++#line 27740 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdio.h>
+@@ -27753,7 +27755,7 @@
+     
+ ; return 0; }
+ EOF
+-if { (eval echo configure:27757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:27759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -27773,12 +27775,12 @@
+ if test "$MOZ_GL_DEFAULT_PROVIDER" = "GLX"; then
+        ac_safe=`echo "GL/glx.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for GL/glx.h""... $ac_c" 1>&6
+-echo "configure:27777: checking for GL/glx.h" >&5
++echo "configure:27779: checking for GL/glx.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 27782 "configure"
++#line 27784 "configure"
+ #include "confdefs.h"
+ 
+ #include <GL/glx.h>
+@@ -27786,7 +27788,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:27790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:27792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -28138,6 +28140,7 @@
+     (''' HAVE_64BIT_OS ''', r''' $HAVE_64BIT_OS ''')
+     (''' MOZ_OS2_HIGH_MEMORY ''', r''' $MOZ_OS2_HIGH_MEMORY ''')
+     (''' MOZ_VALGRIND ''', r''' $MOZ_VALGRIND ''')
++    (''' MOZILLA_SYMBOLVERSION ''', r''' $MOZILLA_SYMBOLVERSION ''')
+     (''' AIX_OBJMODEL ''', r''' $AIX_OBJMODEL ''')
+     (''' MOZ_LINKER ''', r''' $MOZ_LINKER ''')
+     (''' NO_LD_ARCHIVE_FLAGS ''', r''' $NO_LD_ARCHIVE_FLAGS ''')
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/configure.in seamonkey-2.21-esr1.1/comm-release/mozilla/configure.in
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/configure.in	2013-09-16 22:26:27.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/configure.in	2013-11-29 03:13:30.463604102 +0400
+@@ -1803,6 +1803,7 @@
+ dnl Get mozilla version from central milestone file
+ MOZILLA_VERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir`
+ MOZILLA_UAVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -uaversion`
++MOZILLA_SYMBOLVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -symbolversion`
+ 
+ dnl Get version of various core apps from the version files.
+ FIREFOX_VERSION=`cat $_topsrcdir/browser/config/version.txt`
+@@ -1814,6 +1815,7 @@
+ AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZILLA_VERSION")
+ AC_DEFINE_UNQUOTED(MOZILLA_VERSION_U,$MOZILLA_VERSION)
+ AC_DEFINE_UNQUOTED(MOZILLA_UAVERSION,"$MOZILLA_UAVERSION")
++AC_SUBST(MOZILLA_SYMBOLVERSION)
+ 
+ MOZ_DOING_LTO(lto_is_enabled)
+ 
+@@ -3826,7 +3828,7 @@
+     _USE_SYSTEM_NSPR=1 )
+ 
+ if test -n "$_USE_SYSTEM_NSPR"; then
+-    AM_PATH_NSPR(4.9.6, [MOZ_NATIVE_NSPR=1], [AC_MSG_ERROR([your don't have NSPR installed or your version is too old])])
++    AM_PATH_NSPR(4.10.2, [MOZ_NATIVE_NSPR=1], [AC_MSG_ERROR([your don't have NSPR installed or your version is too old])])
+ fi
+ 
+ if test -n "$MOZ_NATIVE_NSPR"; then
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/Makefile.in seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/Makefile.in
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/Makefile.in	2013-11-29 02:20:03.340130011 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/Makefile.in	2013-11-29 03:13:30.463604102 +0400
+@@ -14,7 +14,7 @@
+ include $(DEPTH)/config/autoconf.mk
+ 
+ ifdef JS_STANDALONE
+-LIBRARY_NAME	= mozjs- at MOZJS_MAJOR_VERSION@. at MOZJS_MINOR_VERSION@@MOZJS_ALPHA@
++LIBRARY_NAME	= mozjs- at MOZILLA_SYMBOLVERSION@
+ else
+ LIBRARY_NAME	= mozjs
+ endif
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/Moz/Milestone.pm seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/config/Moz/Milestone.pm
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/Moz/Milestone.pm	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/config/Moz/Milestone.pm	2013-11-29 03:13:30.463604102 +0400
+@@ -139,6 +139,25 @@
+ }
+ 
+ #
++# Usage:  getMilestoneABWithNum($milestoneFile)
++# Returns the alpha and beta tag with its number (a1, a2, b3, ...)
++#
++sub getMilestoneABWithNum {
++  my $milestoneABNum;
++  if (defined($Moz::Milestone::milestone)) {
++    $milestoneABNum = $Moz::Milestone::milestone;
++  } else {
++    $milestoneABNum = $_[0];
++  }
++
++  if ($milestoneABNum =~ /([ab]\d+)/) {
++    return $1;
++  } else {
++    return "";
++  }
++}
++
++#
+ # build_file($template_file,$output_file)
+ #
+ sub build_file($$) {
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/milestone.pl seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/config/milestone.pl
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/milestone.pl	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/config/milestone.pl	2013-11-29 03:13:30.463604102 +0400
+@@ -21,6 +21,7 @@
+             $opt_debug
+             $opt_template
+             $opt_uaversion
++            $opt_symbolversion
+             $opt_help
+             );
+ 
+@@ -30,7 +31,7 @@
+ 
+ require "Moz/Milestone.pm";
+ 
+-&GetOptions('topsrcdir=s' => \$TOPSRCDIR, 'srcdir=s' => \$SRCDIR, 'objdir=s' => \$OBJDIR, 'debug', 'help', 'template', 'uaversion');
++&GetOptions('topsrcdir=s' => \$TOPSRCDIR, 'srcdir=s' => \$SRCDIR, 'objdir=s' => \$OBJDIR, 'debug', 'help', 'template', 'uaversion', 'symbolversion');
+ 
+ if (defined($opt_help)) {
+     &usage();
+@@ -75,13 +76,19 @@
+   # (bugs 572659 and 870868).
+   my $uaversion = Moz::Milestone::getMilestoneMajor($milestone) . ".0";
+   print "$uaversion\n";
++} elsif(defined($opt_symbolversion)) {
++  # Only expose major milestone and alpha version. Used for symbol versioning
++  # on Linux.
++  my $symbolversion = Moz::Milestone::getMilestoneMajor($milestone) .
++                      Moz::Milestone::getMilestoneABWithNum($milestone);
++  print "$symbolversion\n";
+ } else {
+   print "$milestone\n";
+ }
+ 
+ sub usage() {
+   print <<END
+-`milestone.pl [--topsrcdir TOPSRCDIR] [--objdir OBJDIR] [--srcdir SRCDIR] --template [file list] --uaversion`  # will build file list from .tmpl files
++`milestone.pl [--topsrcdir TOPSRCDIR] [--objdir OBJDIR] [--srcdir SRCDIR] --template [file list] --uaversion --symbolversion`  # will build file list from .tmpl files
+ END
+     ;
+ }
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/milestone.txt seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/config/milestone.txt
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/milestone.txt	2013-11-29 02:20:03.340130011 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/config/milestone.txt	2013-11-29 03:13:30.463604102 +0400
+@@ -10,4 +10,4 @@
+ # hardcoded milestones in the tree from these two files.
+ #--------------------------------------------------------
+ 
+-24.1.0
++24.1.1
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/configure seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/configure
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/configure	2013-09-16 22:27:16.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/configure	2013-11-29 03:13:30.467604076 +0400
+@@ -1583,6 +1583,7 @@
+ 
+ MOZILLA_VERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir`
+ MOZILLA_UAVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -uaversion`
++MOZILLA_SYMBOLVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -symbolversion`
+ 
+ cat >> confdefs.pytmp <<EOF
+     (''' MOZILLA_VERSION ''', r''' "$MOZILLA_VERSION" ''')
+@@ -1606,6 +1607,7 @@
+ EOF
+ 
+ 
++
+ # Separate version into components for use in shared object naming etc
+ 
+ MOZJS_MAJOR_VERSION=`echo $MOZILLA_VERSION | sed "s|\(^[0-9]*\)\.[0-9]*.*|\1|"`
+@@ -1665,13 +1667,13 @@
+     _SAVE_LDFLAGS="$LDFLAGS"
+ 
+     echo $ac_n "checking for host c compiler""... $ac_c" 1>&6
+-echo "configure:1669: checking for host c compiler" >&5
++echo "configure:1671: checking for host c compiler" >&5
+     for ac_prog in $HOST_CC gcc cc /usr/ucb/cc cl icc
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1675: checking for $ac_word" >&5
++echo "configure:1677: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1706,13 +1708,13 @@
+     fi
+     echo "$ac_t""$HOST_CC" 1>&6
+     echo $ac_n "checking for host c++ compiler""... $ac_c" 1>&6
+-echo "configure:1710: checking for host c++ compiler" >&5
++echo "configure:1712: checking for host c++ compiler" >&5
+     for ac_prog in $HOST_CXX $CCC c++ g++ gcc CC cxx cc++ cl icc
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1716: checking for $ac_word" >&5
++echo "configure:1718: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1764,7 +1766,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1768: checking for $ac_word" >&5
++echo "configure:1770: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_RANLIB'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1799,7 +1801,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1803: checking for $ac_word" >&5
++echo "configure:1805: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_AR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1834,16 +1836,16 @@
+     LDFLAGS="$HOST_LDFLAGS"
+ 
+     echo $ac_n "checking whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:1838: checking whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
++echo "configure:1840: checking whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
+     cat > conftest.$ac_ext <<EOF
+-#line 1840 "configure"
++#line 1842 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_prog_hostcc_works=1 echo "$ac_t""yes" 1>&6
+ else
+@@ -1858,16 +1860,16 @@
+     CFLAGS="$HOST_CXXFLAGS"
+ 
+     echo $ac_n "checking whether the host c++ compiler ($HOST_CXX $HOST_CXXFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:1862: checking whether the host c++ compiler ($HOST_CXX $HOST_CXXFLAGS $HOST_LDFLAGS) works" >&5
++echo "configure:1864: checking whether the host c++ compiler ($HOST_CXX $HOST_CXXFLAGS $HOST_LDFLAGS) works" >&5
+     cat > conftest.$ac_ext <<EOF
+-#line 1864 "configure"
++#line 1866 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_prog_hostcxx_works=1 echo "$ac_t""yes" 1>&6
+ else
+@@ -1887,7 +1889,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1891: checking for $ac_word" >&5
++echo "configure:1893: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1921,7 +1923,7 @@
+     # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1925: checking for $ac_word" >&5
++echo "configure:1927: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1951,7 +1953,7 @@
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1955: checking for $ac_word" >&5
++echo "configure:1957: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2002,7 +2004,7 @@
+       # Extract the first word of "cl", so it can be a program name with args.
+ set dummy cl; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2006: checking for $ac_word" >&5
++echo "configure:2008: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2034,7 +2036,7 @@
+ fi
+ 
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:2038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
++echo "configure:2040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -2045,12 +2047,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 2049 "configure"
++#line 2051 "configure"
+ #include "confdefs.h"
+ 
+ main(){return(0);}
+ EOF
+-if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -2076,12 +2078,12 @@
+   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:2080: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:2082: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+-echo "configure:2085: checking whether we are using GNU C" >&5
++echo "configure:2087: checking whether we are using GNU C" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2090,7 +2092,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gcc=yes
+ else
+   ac_cv_prog_gcc=no
+@@ -2109,7 +2111,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+-echo "configure:2113: checking whether ${CC-cc} accepts -g" >&5
++echo "configure:2115: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2145,7 +2147,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2149: checking for $ac_word" >&5
++echo "configure:2151: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2181,7 +2183,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2185: checking for $ac_word" >&5
++echo "configure:2187: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2213,7 +2215,7 @@
+ 
+ 
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:2217: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
++echo "configure:2219: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -2224,12 +2226,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 2228 "configure"
++#line 2230 "configure"
+ #include "confdefs.h"
+ 
+ int main(){return(0);}
+ EOF
+-if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cxx_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -2255,12 +2257,12 @@
+   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:2259: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:2261: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
+-echo "configure:2264: checking whether we are using GNU C++" >&5
++echo "configure:2266: checking whether we are using GNU C++" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2269,7 +2271,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gxx=yes
+ else
+   ac_cv_prog_gxx=no
+@@ -2288,7 +2290,7 @@
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=
+ echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
+-echo "configure:2292: checking whether ${CXX-g++} accepts -g" >&5
++echo "configure:2294: checking whether ${CXX-g++} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2329,7 +2331,7 @@
+    'void exit (int);'
+ do
+   cat > conftest.$ac_ext <<EOF
+-#line 2333 "configure"
++#line 2335 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ $ac_declaration
+@@ -2337,7 +2339,7 @@
+ exit (42);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -2347,14 +2349,14 @@
+ fi
+ rm -f conftest*
+   cat > conftest.$ac_ext <<EOF
+-#line 2351 "configure"
++#line 2353 "configure"
+ #include "confdefs.h"
+ $ac_declaration
+ int main() {
+ exit (42);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   break
+ else
+@@ -2376,7 +2378,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2380: checking for $ac_word" >&5
++echo "configure:2382: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2411,7 +2413,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2415: checking for $ac_word" >&5
++echo "configure:2417: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2446,7 +2448,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2450: checking for $ac_word" >&5
++echo "configure:2452: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2500,7 +2502,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2504: checking for $ac_word" >&5
++echo "configure:2506: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2535,7 +2537,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2539: checking for $ac_word" >&5
++echo "configure:2541: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2570,7 +2572,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2574: checking for $ac_word" >&5
++echo "configure:2576: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2613,7 +2615,7 @@
+     # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2617: checking for $ac_word" >&5
++echo "configure:2619: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2643,7 +2645,7 @@
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2647: checking for $ac_word" >&5
++echo "configure:2649: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2694,7 +2696,7 @@
+       # Extract the first word of "cl", so it can be a program name with args.
+ set dummy cl; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2698: checking for $ac_word" >&5
++echo "configure:2700: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2726,7 +2728,7 @@
+ fi
+ 
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:2730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
++echo "configure:2732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -2737,12 +2739,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 2741 "configure"
++#line 2743 "configure"
+ #include "confdefs.h"
+ 
+ main(){return(0);}
+ EOF
+-if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -2768,12 +2770,12 @@
+   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:2772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:2774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+-echo "configure:2777: checking whether we are using GNU C" >&5
++echo "configure:2779: checking whether we are using GNU C" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2782,7 +2784,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gcc=yes
+ else
+   ac_cv_prog_gcc=no
+@@ -2801,7 +2803,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+-echo "configure:2805: checking whether ${CC-cc} accepts -g" >&5
++echo "configure:2807: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2837,7 +2839,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2841: checking for $ac_word" >&5
++echo "configure:2843: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2869,7 +2871,7 @@
+ 
+ 
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:2873: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
++echo "configure:2875: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -2880,12 +2882,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 2884 "configure"
++#line 2886 "configure"
+ #include "confdefs.h"
+ 
+ int main(){return(0);}
+ EOF
+-if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cxx_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -2911,12 +2913,12 @@
+   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:2915: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:2917: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
+-echo "configure:2920: checking whether we are using GNU C++" >&5
++echo "configure:2922: checking whether we are using GNU C++" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2925,7 +2927,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gxx=yes
+ else
+   ac_cv_prog_gxx=no
+@@ -2944,7 +2946,7 @@
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=
+ echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
+-echo "configure:2948: checking whether ${CXX-g++} accepts -g" >&5
++echo "configure:2950: checking whether ${CXX-g++} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2985,7 +2987,7 @@
+    'void exit (int);'
+ do
+   cat > conftest.$ac_ext <<EOF
+-#line 2989 "configure"
++#line 2991 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ $ac_declaration
+@@ -2993,7 +2995,7 @@
+ exit (42);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:2999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -3003,14 +3005,14 @@
+ fi
+ rm -f conftest*
+   cat > conftest.$ac_ext <<EOF
+-#line 3007 "configure"
++#line 3009 "configure"
+ #include "confdefs.h"
+ $ac_declaration
+ int main() {
+ exit (42);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   break
+ else
+@@ -3029,7 +3031,7 @@
+     # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3033: checking for $ac_word" >&5
++echo "configure:3035: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3061,7 +3063,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3065: checking for $ac_word" >&5
++echo "configure:3067: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3115,7 +3117,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3119: checking for $ac_word" >&5
++echo "configure:3121: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3150,7 +3152,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3154: checking for $ac_word" >&5
++echo "configure:3156: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3185,7 +3187,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3189: checking for $ac_word" >&5
++echo "configure:3191: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3220,7 +3222,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3224: checking for $ac_word" >&5
++echo "configure:3226: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3420,14 +3422,14 @@
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+         cat > conftest.$ac_ext <<EOF
+-#line 3424 "configure"
++#line 3426 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+  printf("Hello World\n"); 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -3445,14 +3447,14 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+         cat > conftest.$ac_ext <<EOF
+-#line 3449 "configure"
++#line 3451 "configure"
+ #include "confdefs.h"
+ #include <new.h>
+ int main() {
+  unsigned *test = new unsigned(42); 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -3555,9 +3557,9 @@
+         _W32API_MAJOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $1 }'`
+         _W32API_MINOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $2 }'`
+         echo $ac_n "checking for w32api version >= $W32API_VERSION""... $ac_c" 1>&6
+-echo "configure:3559: checking for w32api version >= $W32API_VERSION" >&5
++echo "configure:3561: checking for w32api version >= $W32API_VERSION" >&5
+         cat > conftest.$ac_ext <<EOF
+-#line 3561 "configure"
++#line 3563 "configure"
+ #include "confdefs.h"
+ #include <w32api.h>
+ int main() {
+@@ -3569,7 +3571,7 @@
+             
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+    res=yes 
+ else
+@@ -3585,7 +3587,7 @@
+         fi
+         # Check windres version
+         echo $ac_n "checking for windres version >= $WINDRES_VERSION""... $ac_c" 1>&6
+-echo "configure:3589: checking for windres version >= $WINDRES_VERSION" >&5
++echo "configure:3591: checking for windres version >= $WINDRES_VERSION" >&5
+         _WINDRES_VERSION=`${WINDRES} --version 2>&1 | grep -i windres 2>/dev/null | $AWK '{ print $3 }'`
+         echo "$ac_t""$_WINDRES_VERSION" 1>&6
+         _WINDRES_MAJOR_VERSION=`echo $_WINDRES_VERSION | $AWK -F\. '{ print $1 }'`
+@@ -3614,12 +3616,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:3618: checking for $ac_hdr" >&5
++echo "configure:3620: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 3623 "configure"
++#line 3625 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -3627,7 +3629,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -3658,7 +3660,7 @@
+ 
+   if test "$ac_cv_header_winsdkver_h" = "yes"; then
+                               echo $ac_n "checking for highest Windows version supported by this SDK""... $ac_c" 1>&6
+-echo "configure:3662: checking for highest Windows version supported by this SDK" >&5
++echo "configure:3664: checking for highest Windows version supported by this SDK" >&5
+ if eval "test \"`echo '$''{'ac_cv_winsdk_maxver'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3713,7 +3715,7 @@
+     # If the maximum version supported by this SDK is lower than the target
+     # version, error out
+     echo $ac_n "checking for Windows SDK being recent enough""... $ac_c" 1>&6
+-echo "configure:3717: checking for Windows SDK being recent enough" >&5
++echo "configure:3719: checking for Windows SDK being recent enough" >&5
+     if $PERL -e "exit(0x$MOZ_WINSDK_TARGETVER > $MOZ_WINSDK_MAXVER)"; then
+         echo "$ac_t"""yes"" 1>&6
+     else
+@@ -3740,7 +3742,7 @@
+ esac
+ 
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+-echo "configure:3744: checking how to run the C preprocessor" >&5
++echo "configure:3746: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -3755,13 +3757,13 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp.
+   cat > conftest.$ac_ext <<EOF
+-#line 3759 "configure"
++#line 3761 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:3767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -3772,13 +3774,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -E -traditional-cpp"
+   cat > conftest.$ac_ext <<EOF
+-#line 3776 "configure"
++#line 3778 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:3784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -3789,13 +3791,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -nologo -E"
+   cat > conftest.$ac_ext <<EOF
+-#line 3793 "configure"
++#line 3795 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:3801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -3820,7 +3822,7 @@
+ echo "$ac_t""$CPP" 1>&6
+ 
+ echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
+-echo "configure:3824: checking how to run the C++ preprocessor" >&5
++echo "configure:3826: checking how to run the C++ preprocessor" >&5
+ if test -z "$CXXCPP"; then
+ if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -3833,12 +3835,12 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+   CXXCPP="${CXX-g++} -E"
+   cat > conftest.$ac_ext <<EOF
+-#line 3837 "configure"
++#line 3839 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:3844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -3897,7 +3899,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3901: checking for $ac_word" >&5
++echo "configure:3903: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_SBCONF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3959,7 +3961,7 @@
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+-echo "configure:3963: checking for a BSD compatible install" >&5
++echo "configure:3965: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -4012,7 +4014,7 @@
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ 
+ echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
+-echo "configure:4016: checking whether ln -s works" >&5
++echo "configure:4018: checking whether ln -s works" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4034,13 +4036,13 @@
+ 
+ 
+ echo $ac_n "checking for tar archiver""... $ac_c" 1>&6
+-echo "configure:4038: checking for tar archiver" >&5
++echo "configure:4040: checking for tar archiver" >&5
+ for ac_prog in gnutar gtar tar
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4044: checking for $ac_word" >&5
++echo "configure:4046: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4078,7 +4080,7 @@
+ 
+ if test -z "$TINDERBOX_SKIP_PERL_VERSION_CHECK"; then
+ echo $ac_n "checking for minimum required perl version >= $PERL_VERSION""... $ac_c" 1>&6
+-echo "configure:4082: checking for minimum required perl version >= $PERL_VERSION" >&5
++echo "configure:4084: checking for minimum required perl version >= $PERL_VERSION" >&5
+ _perl_version=`PERL_VERSION=$PERL_VERSION $PERL -e 'print "$]"; if ($] >= $ENV{PERL_VERSION}) { exit(0); } else { exit(1); }' 2>&5`
+ _perl_res=$?
+ echo "$ac_t""$_perl_version" 1>&6
+@@ -4089,7 +4091,7 @@
+ fi
+ 
+ echo $ac_n "checking for full perl installation""... $ac_c" 1>&6
+-echo "configure:4093: checking for full perl installation" >&5
++echo "configure:4095: checking for full perl installation" >&5
+ _perl_archlib=`$PERL -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }' 2>&5`
+ _perl_res=$?
+ if test "$_perl_res" != 0; then
+@@ -4107,7 +4109,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4111: checking for $ac_word" >&5
++echo "configure:4113: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4207,7 +4209,7 @@
+ 
+ 
+ echo $ac_n "checking Python environment is Mozilla virtualenv""... $ac_c" 1>&6
+-echo "configure:4211: checking Python environment is Mozilla virtualenv" >&5
++echo "configure:4213: checking Python environment is Mozilla virtualenv" >&5
+ $PYTHON -c "import mozbuild.base"
+ if test "$?" != 0; then
+     { echo "configure: error: Python environment does not appear to be sane." 1>&2; exit 1; }
+@@ -4223,7 +4225,7 @@
+  # Extract the first word of "doxygen", so it can be a program name with args.
+ set dummy doxygen; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4227: checking for $ac_word" >&5
++echo "configure:4229: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_DOXYGEN'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4272,7 +4274,7 @@
+  # Extract the first word of "autoconf", so it can be a program name with args.
+ set dummy autoconf; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4276: checking for $ac_word" >&5
++echo "configure:4278: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_AUTOCONF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4321,7 +4323,7 @@
+  # Extract the first word of "xargs", so it can be a program name with args.
+ set dummy xargs; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4325: checking for $ac_word" >&5
++echo "configure:4327: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_XARGS'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4426,7 +4428,7 @@
+ 
+   
+   echo $ac_n "checking for valid compiler/Mac OS X SDK combination""... $ac_c" 1>&6
+-echo "configure:4430: checking for valid compiler/Mac OS X SDK combination" >&5
++echo "configure:4432: checking for valid compiler/Mac OS X SDK combination" >&5
+   ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ ac_cpp='$CXXCPP $CPPFLAGS'
+@@ -4435,7 +4437,7 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+   cat > conftest.$ac_ext <<EOF
+-#line 4439 "configure"
++#line 4441 "configure"
+ #include "confdefs.h"
+ #include <new>
+                  int main() { return 0; }
+@@ -4443,7 +4445,7 @@
+ result=yes
+ ; return 0; }
+ EOF
+-if { (eval echo configure:4447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:4449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   result=no
+ else
+@@ -4480,7 +4482,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4484: checking for $ac_word" >&5
++echo "configure:4486: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_GMAKE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4536,7 +4538,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:4540: checking for $ac_word" >&5
++echo "configure:4542: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_GMAKE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -4603,7 +4605,7 @@
+ # Uses ac_ vars as temps to allow command line to override cache and checks.
+ # --without-x overrides everything else, but does not touch the cache.
+ echo $ac_n "checking for X""... $ac_c" 1>&6
+-echo "configure:4607: checking for X" >&5
++echo "configure:4609: checking for X" >&5
+ 
+ # Check whether --with-x or --without-x was given.
+ if test "${with_x+set}" = set; then
+@@ -4665,12 +4667,12 @@
+ 
+   # First, try using that file with no special directory specified.
+ cat > conftest.$ac_ext <<EOF
+-#line 4669 "configure"
++#line 4671 "configure"
+ #include "confdefs.h"
+ #include <$x_direct_test_include>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:4674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:4676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -4739,14 +4741,14 @@
+   ac_save_LIBS="$LIBS"
+   LIBS="-l$x_direct_test_library $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 4743 "configure"
++#line 4745 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ ${x_direct_test_function}()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   LIBS="$ac_save_LIBS"
+ # We can link X programs with no special library path.
+@@ -4855,17 +4857,17 @@
+     case "`(uname -sr) 2>/dev/null`" in
+     "SunOS 5"*)
+       echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
+-echo "configure:4859: checking whether -R must be followed by a space" >&5
++echo "configure:4861: checking whether -R must be followed by a space" >&5
+       ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
+       cat > conftest.$ac_ext <<EOF
+-#line 4862 "configure"
++#line 4864 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_R_nospace=yes
+ else
+@@ -4881,14 +4883,14 @@
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+ 	cat > conftest.$ac_ext <<EOF
+-#line 4885 "configure"
++#line 4887 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_R_space=yes
+ else
+@@ -4920,7 +4922,7 @@
+     # libraries were built with DECnet support.  And karl at cs.umb.edu says
+     # the Alpha needs dnet_stub (dnet does not exist).
+     echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
+-echo "configure:4924: checking for dnet_ntoa in -ldnet" >&5
++echo "configure:4926: checking for dnet_ntoa in -ldnet" >&5
+ ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -4928,7 +4930,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-ldnet  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 4932 "configure"
++#line 4934 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -4939,7 +4941,7 @@
+ dnet_ntoa()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -4961,7 +4963,7 @@
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+       echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
+-echo "configure:4965: checking for dnet_ntoa in -ldnet_stub" >&5
++echo "configure:4967: checking for dnet_ntoa in -ldnet_stub" >&5
+ ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -4969,7 +4971,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-ldnet_stub  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 4973 "configure"
++#line 4975 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -4980,7 +4982,7 @@
+ dnet_ntoa()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5009,12 +5011,12 @@
+     # The nsl library prevents programs from opening the X display
+     # on Irix 5.2, according to dickey at clark.net.
+     echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
+-echo "configure:5013: checking for gethostbyname" >&5
++echo "configure:5015: checking for gethostbyname" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 5018 "configure"
++#line 5020 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname(); below.  */
+@@ -5037,7 +5039,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_gethostbyname=yes"
+ else
+@@ -5058,7 +5060,7 @@
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+       echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
+-echo "configure:5062: checking for gethostbyname in -lnsl" >&5
++echo "configure:5064: checking for gethostbyname in -lnsl" >&5
+ ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -5066,7 +5068,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lnsl  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 5070 "configure"
++#line 5072 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -5077,7 +5079,7 @@
+ gethostbyname()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5107,12 +5109,12 @@
+     # -lsocket must be given before -lnsl if both are needed.
+     # We assume that if connect needs -lnsl, so does gethostbyname.
+     echo $ac_n "checking for connect""... $ac_c" 1>&6
+-echo "configure:5111: checking for connect" >&5
++echo "configure:5113: checking for connect" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 5116 "configure"
++#line 5118 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect(); below.  */
+@@ -5135,7 +5137,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_connect=yes"
+ else
+@@ -5156,7 +5158,7 @@
+ 
+     if test $ac_cv_func_connect = no; then
+       echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
+-echo "configure:5160: checking for connect in -lsocket" >&5
++echo "configure:5162: checking for connect in -lsocket" >&5
+ ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -5164,7 +5166,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 5168 "configure"
++#line 5170 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -5175,7 +5177,7 @@
+ connect()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5199,12 +5201,12 @@
+ 
+     # gomez at mi.uni-erlangen.de says -lposix is necessary on A/UX.
+     echo $ac_n "checking for remove""... $ac_c" 1>&6
+-echo "configure:5203: checking for remove" >&5
++echo "configure:5205: checking for remove" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 5208 "configure"
++#line 5210 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove(); below.  */
+@@ -5227,7 +5229,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_remove=yes"
+ else
+@@ -5248,7 +5250,7 @@
+ 
+     if test $ac_cv_func_remove = no; then
+       echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
+-echo "configure:5252: checking for remove in -lposix" >&5
++echo "configure:5254: checking for remove in -lposix" >&5
+ ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -5256,7 +5258,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lposix  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 5260 "configure"
++#line 5262 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -5267,7 +5269,7 @@
+ remove()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5291,12 +5293,12 @@
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+     echo $ac_n "checking for shmat""... $ac_c" 1>&6
+-echo "configure:5295: checking for shmat" >&5
++echo "configure:5297: checking for shmat" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 5300 "configure"
++#line 5302 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat(); below.  */
+@@ -5319,7 +5321,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_shmat=yes"
+ else
+@@ -5340,7 +5342,7 @@
+ 
+     if test $ac_cv_func_shmat = no; then
+       echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
+-echo "configure:5344: checking for shmat in -lipc" >&5
++echo "configure:5346: checking for shmat in -lipc" >&5
+ ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -5348,7 +5350,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lipc  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 5352 "configure"
++#line 5354 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -5359,7 +5361,7 @@
+ shmat()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5392,7 +5394,7 @@
+   # libraries we check for below, so use a different variable.
+   #  --interran at uluru.Stanford.EDU, kb at cs.umb.edu.
+   echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
+-echo "configure:5396: checking for IceConnectionNumber in -lICE" >&5
++echo "configure:5398: checking for IceConnectionNumber in -lICE" >&5
+ ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -5400,7 +5402,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 5404 "configure"
++#line 5406 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -5411,7 +5413,7 @@
+ IceConnectionNumber()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5789,14 +5791,14 @@
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$arch_flag"
+     cat > conftest.$ac_ext <<EOF
+-#line 5793 "configure"
++#line 5795 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return sizeof(__thumb2__);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:5802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_THUMB2=1
+ else
+@@ -5868,16 +5870,16 @@
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$all_flags"
+     echo $ac_n "checking whether the chosen combination of compiler flags ($all_flags) works""... $ac_c" 1>&6
+-echo "configure:5872: checking whether the chosen combination of compiler flags ($all_flags) works" >&5
++echo "configure:5874: checking whether the chosen combination of compiler flags ($all_flags) works" >&5
+     cat > conftest.$ac_ext <<EOF
+-#line 5874 "configure"
++#line 5876 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:5883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   echo "$ac_t""yes" 1>&6
+ else
+@@ -5900,18 +5902,18 @@
+ 
+ if test "$CPU_ARCH" = "arm"; then
+   echo $ac_n "checking for ARM SIMD support in compiler""... $ac_c" 1>&6
+-echo "configure:5904: checking for ARM SIMD support in compiler" >&5
++echo "configure:5906: checking for ARM SIMD support in compiler" >&5
+   # We try to link so that this also fails when
+   # building with LTO.
+   cat > conftest.$ac_ext <<EOF
+-#line 5908 "configure"
++#line 5910 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ asm("uqadd8 r1, r1, r2");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   result="yes"
+ else
+@@ -5934,23 +5936,23 @@
+   fi
+ 
+   echo $ac_n "checking ARM version support in compiler""... $ac_c" 1>&6
+-echo "configure:5938: checking ARM version support in compiler" >&5
++echo "configure:5940: checking ARM version support in compiler" >&5
+     ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([0-9]*\).*/\1/p'`
+   echo "$ac_t"""$ARM_ARCH"" 1>&6
+ 
+   echo $ac_n "checking for ARM NEON support in compiler""... $ac_c" 1>&6
+-echo "configure:5943: checking for ARM NEON support in compiler" >&5
++echo "configure:5945: checking for ARM NEON support in compiler" >&5
+   # We try to link so that this also fails when
+   # building with LTO.
+   cat > conftest.$ac_ext <<EOF
+-#line 5947 "configure"
++#line 5949 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ asm(".fpu neon\n vadd.i8 d0, d0, d0");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   result="yes"
+ else
+@@ -6005,7 +6007,7 @@
+ '
+ 
+ echo $ac_n "checking that static assertion macros used in autoconf tests work""... $ac_c" 1>&6
+-echo "configure:6009: checking that static assertion macros used in autoconf tests work" >&5
++echo "configure:6011: checking that static assertion macros used in autoconf tests work" >&5
+ if eval "test \"`echo '$''{'ac_cv_static_assertion_macros_work'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6019,14 +6021,14 @@
+ 
+   ac_cv_static_assertion_macros_work="yes"
+   cat > conftest.$ac_ext <<EOF
+-#line 6023 "configure"
++#line 6025 "configure"
+ #include "confdefs.h"
+ $configure_static_assert_macros
+ int main() {
+ CONFIGURE_STATIC_ASSERT(1)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -6036,14 +6038,14 @@
+ fi
+ rm -f conftest*
+   cat > conftest.$ac_ext <<EOF
+-#line 6040 "configure"
++#line 6042 "configure"
+ #include "confdefs.h"
+ $configure_static_assert_macros
+ int main() {
+ CONFIGURE_STATIC_ASSERT(0)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_static_assertion_macros_work="no"
+ else
+@@ -6059,14 +6061,14 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+   cat > conftest.$ac_ext <<EOF
+-#line 6063 "configure"
++#line 6065 "configure"
+ #include "confdefs.h"
+ $configure_static_assert_macros
+ int main() {
+ CONFIGURE_STATIC_ASSERT(1)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -6076,14 +6078,14 @@
+ fi
+ rm -f conftest*
+   cat > conftest.$ac_ext <<EOF
+-#line 6080 "configure"
++#line 6082 "configure"
+ #include "confdefs.h"
+ $configure_static_assert_macros
+ int main() {
+ CONFIGURE_STATIC_ASSERT(0)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_static_assertion_macros_work="no"
+ else
+@@ -6246,18 +6248,18 @@
+     ASFLAGS="$ASFLAGS -fPIC"
+ 
+     echo $ac_n "checking for --build-id option to ld""... $ac_c" 1>&6
+-echo "configure:6250: checking for --build-id option to ld" >&5
++echo "configure:6252: checking for --build-id option to ld" >&5
+     _SAVE_LDFLAGS=$LDFLAGS
+     LDFLAGS="$LDFLAGS -Wl,--build-id"
+     cat > conftest.$ac_ext <<EOF
+-#line 6254 "configure"
++#line 6256 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   echo "$ac_t""yes" 1>&6
+ else
+@@ -6281,7 +6283,7 @@
+     _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wall -Wpointer-arith -Wdeclaration-after-statement"
+     
+     echo $ac_n "checking whether the C compiler supports -Werror=return-type""... $ac_c" 1>&6
+-echo "configure:6285: checking whether the C compiler supports -Werror=return-type" >&5
++echo "configure:6287: checking whether the C compiler supports -Werror=return-type" >&5
+ if eval "test \"`echo '$''{'ac_c_has_werror_return_type'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6297,14 +6299,14 @@
+             _SAVE_CFLAGS="$CFLAGS"
+             CFLAGS="$CFLAGS -Werror -Werror=return-type"
+             cat > conftest.$ac_ext <<EOF
+-#line 6301 "configure"
++#line 6303 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_c_has_werror_return_type="yes"
+ else
+@@ -6332,7 +6334,7 @@
+ 
+     
+     echo $ac_n "checking whether the C compiler supports -Wtype-limits""... $ac_c" 1>&6
+-echo "configure:6336: checking whether the C compiler supports -Wtype-limits" >&5
++echo "configure:6338: checking whether the C compiler supports -Wtype-limits" >&5
+ if eval "test \"`echo '$''{'ac_c_has_wtype_limits'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6348,14 +6350,14 @@
+             _SAVE_CFLAGS="$CFLAGS"
+             CFLAGS="$CFLAGS -Werror -Wtype-limits"
+             cat > conftest.$ac_ext <<EOF
+-#line 6352 "configure"
++#line 6354 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_c_has_wtype_limits="yes"
+ else
+@@ -6383,7 +6385,7 @@
+ 
+     
+     echo $ac_n "checking whether the C compiler supports -Wempty-body""... $ac_c" 1>&6
+-echo "configure:6387: checking whether the C compiler supports -Wempty-body" >&5
++echo "configure:6389: checking whether the C compiler supports -Wempty-body" >&5
+ if eval "test \"`echo '$''{'ac_c_has_wempty_body'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6399,14 +6401,14 @@
+             _SAVE_CFLAGS="$CFLAGS"
+             CFLAGS="$CFLAGS -Werror -Wempty-body"
+             cat > conftest.$ac_ext <<EOF
+-#line 6403 "configure"
++#line 6405 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_c_has_wempty_body="yes"
+ else
+@@ -6434,7 +6436,7 @@
+ 
+     
+     echo $ac_n "checking whether the C compiler supports -Wsign-compare""... $ac_c" 1>&6
+-echo "configure:6438: checking whether the C compiler supports -Wsign-compare" >&5
++echo "configure:6440: checking whether the C compiler supports -Wsign-compare" >&5
+ if eval "test \"`echo '$''{'ac_c_has_sign_compare'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6450,14 +6452,14 @@
+             _SAVE_CFLAGS="$CFLAGS"
+             CFLAGS="$CFLAGS -Werror -Wsign-compare"
+             cat > conftest.$ac_ext <<EOF
+-#line 6454 "configure"
++#line 6456 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_c_has_sign_compare="yes"
+ else
+@@ -6542,7 +6544,7 @@
+     _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wall -Wpointer-arith -Woverloaded-virtual"
+     
+     echo $ac_n "checking whether the C++ compiler supports -Werror=return-type""... $ac_c" 1>&6
+-echo "configure:6546: checking whether the C++ compiler supports -Werror=return-type" >&5
++echo "configure:6548: checking whether the C++ compiler supports -Werror=return-type" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_werror_return_type'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6558,14 +6560,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Werror=return-type"
+             cat > conftest.$ac_ext <<EOF
+-#line 6562 "configure"
++#line 6564 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_werror_return_type="yes"
+ else
+@@ -6593,7 +6595,7 @@
+ 
+     
+     echo $ac_n "checking whether the C++ compiler supports -Wtype-limits""... $ac_c" 1>&6
+-echo "configure:6597: checking whether the C++ compiler supports -Wtype-limits" >&5
++echo "configure:6599: checking whether the C++ compiler supports -Wtype-limits" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_wtype_limits'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6609,14 +6611,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Wtype-limits"
+             cat > conftest.$ac_ext <<EOF
+-#line 6613 "configure"
++#line 6615 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_wtype_limits="yes"
+ else
+@@ -6644,7 +6646,7 @@
+ 
+     
+     echo $ac_n "checking whether the C++ compiler supports -Wempty-body""... $ac_c" 1>&6
+-echo "configure:6648: checking whether the C++ compiler supports -Wempty-body" >&5
++echo "configure:6650: checking whether the C++ compiler supports -Wempty-body" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_wempty_body'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6660,14 +6662,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Wempty-body"
+             cat > conftest.$ac_ext <<EOF
+-#line 6664 "configure"
++#line 6666 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_wempty_body="yes"
+ else
+@@ -6695,7 +6697,7 @@
+ 
+     
+     echo $ac_n "checking whether the C++ compiler supports -Werror=conversion-null""... $ac_c" 1>&6
+-echo "configure:6699: checking whether the C++ compiler supports -Werror=conversion-null" >&5
++echo "configure:6701: checking whether the C++ compiler supports -Werror=conversion-null" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_werror_conversion_null'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6711,14 +6713,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Werror=conversion-null"
+             cat > conftest.$ac_ext <<EOF
+-#line 6715 "configure"
++#line 6717 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_werror_conversion_null="yes"
+ else
+@@ -6746,7 +6748,7 @@
+ 
+     
+     echo $ac_n "checking whether the C++ compiler supports -Wsign-compare""... $ac_c" 1>&6
+-echo "configure:6750: checking whether the C++ compiler supports -Wsign-compare" >&5
++echo "configure:6752: checking whether the C++ compiler supports -Wsign-compare" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_sign_compare'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6762,14 +6764,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Wsign-compare"
+             cat > conftest.$ac_ext <<EOF
+-#line 6766 "configure"
++#line 6768 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_sign_compare="yes"
+ else
+@@ -6801,7 +6803,7 @@
+     #
+     
+     echo $ac_n "checking whether the C++ compiler supports -Wno-invalid-offsetof""... $ac_c" 1>&6
+-echo "configure:6805: checking whether the C++ compiler supports -Wno-invalid-offsetof" >&5
++echo "configure:6807: checking whether the C++ compiler supports -Wno-invalid-offsetof" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_wno_invalid_offsetof'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6817,14 +6819,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Winvalid-offsetof"
+             cat > conftest.$ac_ext <<EOF
+-#line 6821 "configure"
++#line 6823 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_wno_invalid_offsetof="yes"
+ else
+@@ -6876,7 +6878,7 @@
+         _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wno-c++0x-extensions"
+         
+     echo $ac_n "checking whether the C++ compiler supports -Wno-extended-offsetof""... $ac_c" 1>&6
+-echo "configure:6880: checking whether the C++ compiler supports -Wno-extended-offsetof" >&5
++echo "configure:6882: checking whether the C++ compiler supports -Wno-extended-offsetof" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_wno_extended_offsetof'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6892,14 +6894,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Wextended-offsetof"
+             cat > conftest.$ac_ext <<EOF
+-#line 6896 "configure"
++#line 6898 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:6905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_wno_extended_offsetof="yes"
+ else
+@@ -6937,7 +6939,7 @@
+ if test "$COMPILE_ENVIRONMENT"; then
+ if test "$GNU_CC"; then
+   echo $ac_n "checking whether ld has archive extraction flags""... $ac_c" 1>&6
+-echo "configure:6941: checking whether ld has archive extraction flags" >&5
++echo "configure:6943: checking whether ld has archive extraction flags" >&5
+   if eval "test \"`echo '$''{'ac_cv_mkshlib_force_and_unforce'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -6954,14 +6956,14 @@
+       LDFLAGS=$force
+       LIBS=$unforce
+       cat > conftest.$ac_ext <<EOF
+-#line 6958 "configure"
++#line 6960 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_mkshlib_force_and_unforce=$line; break
+ else
+@@ -6996,16 +6998,16 @@
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking for 64-bit OS""... $ac_c" 1>&6
+-echo "configure:7000: checking for 64-bit OS" >&5
++echo "configure:7002: checking for 64-bit OS" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 7002 "configure"
++#line 7004 "configure"
+ #include "confdefs.h"
+ $configure_static_assert_macros
+ int main() {
+ CONFIGURE_STATIC_ASSERT(sizeof(void*) == 8)
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:7011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   result="yes"
+ else
+@@ -7126,7 +7128,7 @@
+ esac
+ 
+ echo $ac_n "checking for custom <stdint.h> implementation""... $ac_c" 1>&6
+-echo "configure:7130: checking for custom <stdint.h> implementation" >&5
++echo "configure:7132: checking for custom <stdint.h> implementation" >&5
+ if test "$MOZ_CUSTOM_STDINT_H"; then
+   cat >> confdefs.pytmp <<EOF
+     (''' MOZ_CUSTOM_STDINT_H ''', r''' "$MOZ_CUSTOM_STDINT_H" ''')
+@@ -7194,9 +7196,9 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+             echo $ac_n "checking for IBM XLC/C++ compiler version >= 9.0.0.7""... $ac_c" 1>&6
+-echo "configure:7198: checking for IBM XLC/C++ compiler version >= 9.0.0.7" >&5
++echo "configure:7200: checking for IBM XLC/C++ compiler version >= 9.0.0.7" >&5
+             cat > conftest.$ac_ext <<EOF
+-#line 7200 "configure"
++#line 7202 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -7205,7 +7207,7 @@
+                  #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:7211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _BAD_COMPILER=
+ else
+@@ -7243,12 +7245,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:7247: checking for $ac_hdr" >&5
++echo "configure:7249: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 7252 "configure"
++#line 7254 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -7256,7 +7258,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:7262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -7313,17 +7315,17 @@
+     # builds.
+     _SAVE_LDFLAGS=$LDFLAGS
+      echo $ac_n "checking for -framework ExceptionHandling""... $ac_c" 1>&6
+-echo "configure:7317: checking for -framework ExceptionHandling" >&5
++echo "configure:7319: checking for -framework ExceptionHandling" >&5
+     LDFLAGS="$LDFLAGS -framework ExceptionHandling"
+     cat > conftest.$ac_ext <<EOF
+-#line 7320 "configure"
++#line 7322 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:7329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_have_framework_exceptionhandling="yes"
+ else
+@@ -7345,18 +7347,18 @@
+         echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."
+     else
+                 echo $ac_n "checking for -dead_strip option to ld""... $ac_c" 1>&6
+-echo "configure:7349: checking for -dead_strip option to ld" >&5
++echo "configure:7351: checking for -dead_strip option to ld" >&5
+         _SAVE_LDFLAGS=$LDFLAGS
+         LDFLAGS="$LDFLAGS -Wl,-dead_strip"
+         cat > conftest.$ac_ext <<EOF
+-#line 7353 "configure"
++#line 7355 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:7362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   _HAVE_DEAD_STRIP=1
+ else
+@@ -7519,7 +7521,7 @@
+         # warnings are useless on mingw.
+         
+     echo $ac_n "checking whether the C compiler supports -Wno-format""... $ac_c" 1>&6
+-echo "configure:7523: checking whether the C compiler supports -Wno-format" >&5
++echo "configure:7525: checking whether the C compiler supports -Wno-format" >&5
+ if eval "test \"`echo '$''{'ac_c_has_wno_format'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -7535,14 +7537,14 @@
+             _SAVE_CFLAGS="$CFLAGS"
+             CFLAGS="$CFLAGS -Werror -Wformat"
+             cat > conftest.$ac_ext <<EOF
+-#line 7539 "configure"
++#line 7541 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:7548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_c_has_wno_format="yes"
+ else
+@@ -7570,7 +7572,7 @@
+ 
+         
+     echo $ac_n "checking whether the C++ compiler supports -Wno-format""... $ac_c" 1>&6
+-echo "configure:7574: checking whether the C++ compiler supports -Wno-format" >&5
++echo "configure:7576: checking whether the C++ compiler supports -Wno-format" >&5
+ if eval "test \"`echo '$''{'ac_cxx_has_wno_format'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -7586,14 +7588,14 @@
+             _SAVE_CXXFLAGS="$CXXFLAGS"
+             CXXFLAGS="$CXXFLAGS -Werror -Wformat"
+             cat > conftest.$ac_ext <<EOF
+-#line 7590 "configure"
++#line 7592 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return(0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:7599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cxx_has_wno_format="yes"
+ else
+@@ -7949,19 +7951,19 @@
+     _DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"
+ 
+     echo $ac_n "checking for __declspec(dllexport)""... $ac_c" 1>&6
+-echo "configure:7953: checking for __declspec(dllexport)" >&5
++echo "configure:7955: checking for __declspec(dllexport)" >&5
+ if eval "test \"`echo '$''{'ac_os2_declspec'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 7958 "configure"
++#line 7960 "configure"
+ #include "confdefs.h"
+ __declspec(dllexport) void ac_os2_declspec(void) {}
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:7965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:7967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_os2_declspec="yes"
+ else
+@@ -8013,14 +8015,14 @@
+            _SAVE_LDFLAGS=$LDFLAGS
+            LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"
+            cat > conftest.$ac_ext <<EOF
+-#line 8017 "configure"
++#line 8019 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -8048,7 +8050,7 @@
+        CC_VERSION=`$CC -V 2>&1 | grep '^cc:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
+        CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
+        echo $ac_n "checking for Sun C++ compiler version >= 5.9""... $ac_c" 1>&6
+-echo "configure:8052: checking for Sun C++ compiler version >= 5.9" >&5
++echo "configure:8054: checking for Sun C++ compiler version >= 5.9" >&5
+        
+        ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -8058,7 +8060,7 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+        cat > conftest.$ac_ext <<EOF
+-#line 8062 "configure"
++#line 8064 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -8067,7 +8069,7 @@
+            #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _BAD_COMPILER=
+ else
+@@ -8084,7 +8086,7 @@
+            _res="yes"
+        fi
+        cat > conftest.$ac_ext <<EOF
+-#line 8088 "configure"
++#line 8090 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -8093,7 +8095,7 @@
+            #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _ABOVE_SS12U1=
+ else
+@@ -8509,7 +8511,7 @@
+ 
+ if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -a -z "$MOZ_DISABLE_ICF"; then
+     echo $ac_n "checking whether the linker supports Identical Code Folding""... $ac_c" 1>&6
+-echo "configure:8513: checking whether the linker supports Identical Code Folding" >&5
++echo "configure:8515: checking whether the linker supports Identical Code Folding" >&5
+ if eval "test \"`echo '$''{'LD_SUPPORTS_ICF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -8518,7 +8520,7 @@
+               'int main() {return foo() - bar();}' > conftest.${ac_ext}
+         # If the linker supports ICF, foo and bar symbols will have
+         # the same address
+-        if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,--icf=safe -ffunction-sections conftest.${ac_ext} $LIBS 1>&2'; { (eval echo configure:8522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++        if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,--icf=safe -ffunction-sections conftest.${ac_ext} $LIBS 1>&2'; { (eval echo configure:8524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+            test -s conftest${ac_exeext} &&
+            objdump -t conftest${ac_exeext} | awk '{a[$6] = $1} END {if (a["foo"] && (a["foo"] != a["bar"])) { exit 1 }}'; then
+             LD_SUPPORTS_ICF=yes
+@@ -8533,14 +8535,14 @@
+         _SAVE_LDFLAGS="$LDFLAGS -Wl,--icf=safe"
+         LDFLAGS="$LDFLAGS -Wl,--icf=safe -Wl,--print-icf-sections"
+         cat > conftest.$ac_ext <<EOF
+-#line 8537 "configure"
++#line 8539 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   LD_PRINT_ICF_SECTIONS=-Wl,--print-icf-sections
+ else
+@@ -8558,15 +8560,15 @@
+ 
+ if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -a -n "$MOZ_DEBUG_FLAGS"; then
+       echo $ac_n "checking whether removing dead symbols breaks debugging""... $ac_c" 1>&6
+-echo "configure:8562: checking whether removing dead symbols breaks debugging" >&5
++echo "configure:8564: checking whether removing dead symbols breaks debugging" >&5
+ if eval "test \"`echo '$''{'GC_SECTIONS_BREAKS_DEBUG_RANGES'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo 'int foo() {return 42;}' \
+              'int bar() {return 1;}' \
+              'int main() {return foo();}' > conftest.${ac_ext}
+-        if { ac_try='${CC-cc} -o conftest.${ac_objext} $CFLAGS $MOZ_DEBUG_FLAGS -c conftest.${ac_ext} 1>&2'; { (eval echo configure:8569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+-           { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS $MOZ_DEBUG_FLAGS -Wl,--gc-sections conftest.${ac_objext} $LIBS 1>&2'; { (eval echo configure:8570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++        if { ac_try='${CC-cc} -o conftest.${ac_objext} $CFLAGS $MOZ_DEBUG_FLAGS -c conftest.${ac_ext} 1>&2'; { (eval echo configure:8571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
++           { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS $MOZ_DEBUG_FLAGS -Wl,--gc-sections conftest.${ac_objext} $LIBS 1>&2'; { (eval echo configure:8572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } &&
+            test -s conftest${ac_exeext} -a -s conftest.${ac_objext}; then
+             if test "`$PYTHON "$_topsrcdir"/build/autoconf/check_debug_ranges.py conftest.${ac_objext} conftest.${ac_ext}`" = \
+                     "`$PYTHON "$_topsrcdir"/build/autoconf/check_debug_ranges.py conftest${ac_exeext} conftest.${ac_ext}`"; then
+@@ -8589,12 +8591,12 @@
+ 
+ if test -z "$SKIP_COMPILER_CHECKS"; then
+ echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
+-echo "configure:8593: checking for ANSI C header files" >&5
++echo "configure:8595: checking for ANSI C header files" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8598 "configure"
++#line 8600 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -8602,7 +8604,7 @@
+ #include <float.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:8606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:8608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -8619,7 +8621,7 @@
+ if test $ac_cv_header_stdc = yes; then
+   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat > conftest.$ac_ext <<EOF
+-#line 8623 "configure"
++#line 8625 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ EOF
+@@ -8637,7 +8639,7 @@
+ if test $ac_cv_header_stdc = yes; then
+   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat > conftest.$ac_ext <<EOF
+-#line 8641 "configure"
++#line 8643 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ EOF
+@@ -8658,7 +8660,7 @@
+   :
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8662 "configure"
++#line 8664 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+@@ -8669,7 +8671,7 @@
+ exit (0); }
+ 
+ EOF
+-if { (eval echo configure:8673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:8675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   :
+ else
+@@ -8696,12 +8698,12 @@
+ fi
+ 
+ echo $ac_n "checking for working const""... $ac_c" 1>&6
+-echo "configure:8700: checking for working const" >&5
++echo "configure:8702: checking for working const" >&5
+ if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8705 "configure"
++#line 8707 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -8750,7 +8752,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_c_const=yes
+ else
+@@ -8774,12 +8776,12 @@
+ fi
+ 
+ echo $ac_n "checking for mode_t""... $ac_c" 1>&6
+-echo "configure:8778: checking for mode_t" >&5
++echo "configure:8780: checking for mode_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8783 "configure"
++#line 8785 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8810,12 +8812,12 @@
+ fi
+ 
+ echo $ac_n "checking for off_t""... $ac_c" 1>&6
+-echo "configure:8814: checking for off_t" >&5
++echo "configure:8816: checking for off_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8819 "configure"
++#line 8821 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8846,12 +8848,12 @@
+ fi
+ 
+ echo $ac_n "checking for pid_t""... $ac_c" 1>&6
+-echo "configure:8850: checking for pid_t" >&5
++echo "configure:8852: checking for pid_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8855 "configure"
++#line 8857 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8882,12 +8884,12 @@
+ fi
+ 
+ echo $ac_n "checking for size_t""... $ac_c" 1>&6
+-echo "configure:8886: checking for size_t" >&5
++echo "configure:8888: checking for size_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8891 "configure"
++#line 8893 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8925,12 +8927,12 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking for __stdcall""... $ac_c" 1>&6
+-echo "configure:8929: checking for __stdcall" >&5
++echo "configure:8931: checking for __stdcall" >&5
+ if eval "test \"`echo '$''{'ac_cv___stdcall'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8934 "configure"
++#line 8936 "configure"
+ #include "confdefs.h"
+ template <typename Method> struct foo;
+                   template <> struct foo<void (*)()> {};
+@@ -8939,7 +8941,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv___stdcall=true
+ else
+@@ -8971,12 +8973,12 @@
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
+-echo "configure:8975: checking for ssize_t" >&5
++echo "configure:8977: checking for ssize_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 8980 "configure"
++#line 8982 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -8984,7 +8986,7 @@
+ ssize_t foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:8988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:8990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_type_ssize_t=true
+ else
+@@ -9009,12 +9011,12 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
+-echo "configure:9013: checking for st_blksize in struct stat" >&5
++echo "configure:9015: checking for st_blksize in struct stat" >&5
+ if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9018 "configure"
++#line 9020 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -9022,7 +9024,7 @@
+ struct stat s; s.st_blksize;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_struct_st_blksize=yes
+ else
+@@ -9046,12 +9048,12 @@
+ fi
+ 
+ echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6
+-echo "configure:9050: checking for siginfo_t" >&5
++echo "configure:9052: checking for siginfo_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9055 "configure"
++#line 9057 "configure"
+ #include "confdefs.h"
+ #define _POSIX_C_SOURCE 199506L
+                   #include <signal.h>
+@@ -9059,7 +9061,7 @@
+ siginfo_t* info;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_siginfo_t=true
+ else
+@@ -9086,7 +9088,7 @@
+ 
+ 
+ echo $ac_n "checking for the size of void*""... $ac_c" 1>&6
+-echo "configure:9090: checking for the size of void*" >&5
++echo "configure:9092: checking for the size of void*" >&5
+ if eval "test \"`echo '$''{'moz_cv_size_of_JS_BYTES_PER_WORD'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9094,7 +9096,7 @@
+   moz_cv_size_of_JS_BYTES_PER_WORD=
+   for size in 4 8; do
+     cat > conftest.$ac_ext <<EOF
+-#line 9098 "configure"
++#line 9100 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -9104,7 +9106,7 @@
+                    
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   moz_cv_size_of_JS_BYTES_PER_WORD=$size; break
+ else
+@@ -9152,12 +9154,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:9156: checking for $ac_hdr" >&5
++echo "configure:9158: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 9161 "configure"
++#line 9163 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -9165,7 +9167,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -9208,12 +9210,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:9212: checking for $ac_hdr" >&5
++echo "configure:9214: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 9217 "configure"
++#line 9219 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <$ac_hdr>
+@@ -9221,7 +9223,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -9264,12 +9266,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:9268: checking for $ac_hdr" >&5
++echo "configure:9270: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 9273 "configure"
++#line 9275 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -9277,7 +9279,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -9317,12 +9319,12 @@
+ fi
+ 
+ echo $ac_n "checking for uint""... $ac_c" 1>&6
+-echo "configure:9321: checking for uint" >&5
++echo "configure:9323: checking for uint" >&5
+ if eval "test \"`echo '$''{'ac_cv_uint'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9326 "configure"
++#line 9328 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -9330,7 +9332,7 @@
+ uint foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_uint=true
+ else
+@@ -9355,12 +9357,12 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ echo $ac_n "checking for uint_t""... $ac_c" 1>&6
+-echo "configure:9359: checking for uint_t" >&5
++echo "configure:9361: checking for uint_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_uint_t'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9364 "configure"
++#line 9366 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+                   #include <sys/types.h>
+@@ -9368,7 +9370,7 @@
+ uint_t foo = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_uint_t=true
+ else
+@@ -9402,12 +9404,12 @@
+ 
+ 
+ echo $ac_n "checking for uname.domainname""... $ac_c" 1>&6
+-echo "configure:9406: checking for uname.domainname" >&5
++echo "configure:9408: checking for uname.domainname" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_uname_domainname_field'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9411 "configure"
++#line 9413 "configure"
+ #include "confdefs.h"
+ #include <sys/utsname.h>
+ int main() {
+@@ -9415,7 +9417,7 @@
+             (void)uname(res);  if (res != 0) { domain = res->domainname; } 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_have_uname_domainname_field=true
+ else
+@@ -9442,12 +9444,12 @@
+ fi
+ 
+ echo $ac_n "checking for uname.__domainname""... $ac_c" 1>&6
+-echo "configure:9446: checking for uname.__domainname" >&5
++echo "configure:9448: checking for uname.__domainname" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_uname_us_domainname_field'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9451 "configure"
++#line 9453 "configure"
+ #include "confdefs.h"
+ #include <sys/utsname.h>
+ int main() {
+@@ -9455,7 +9457,7 @@
+             (void)uname(res);  if (res != 0) { domain = res->__domainname; } 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_have_uname_us_domainname_field=true
+ else
+@@ -9495,19 +9497,19 @@
+     USE_CXX11=
+ 
+     echo $ac_n "checking for gcc c++0x headers bug without rtti""... $ac_c" 1>&6
+-echo "configure:9499: checking for gcc c++0x headers bug without rtti" >&5
++echo "configure:9501: checking for gcc c++0x headers bug without rtti" >&5
+ if eval "test \"`echo '$''{'ac_cv_cxx0x_headers_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9504 "configure"
++#line 9506 "configure"
+ #include "confdefs.h"
+ #include <memory>
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_cxx0x_headers_bug="no"
+ else
+@@ -9524,19 +9526,19 @@
+     if test "$CLANG_CXX" -a "$ac_cv_cxx0x_headers_bug" = "yes"; then
+         CXXFLAGS="$CXXFLAGS -I$_topsrcdir/build/unix/headers"
+         echo $ac_n "checking whether workaround for gcc c++0x headers conflict with clang works""... $ac_c" 1>&6
+-echo "configure:9528: checking whether workaround for gcc c++0x headers conflict with clang works" >&5
++echo "configure:9530: checking whether workaround for gcc c++0x headers conflict with clang works" >&5
+ if eval "test \"`echo '$''{'ac_cv_cxx0x_clang_workaround'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9533 "configure"
++#line 9535 "configure"
+ #include "confdefs.h"
+ #include <memory>
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_cxx0x_clang_workaround="yes"
+ else
+@@ -9570,7 +9572,7 @@
+ 
+ if test "$GNU_CC"; then
+   echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
+-echo "configure:9574: checking for visibility(hidden) attribute" >&5
++echo "configure:9576: checking for visibility(hidden) attribute" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9598,7 +9600,7 @@
+ 
+ 
+     echo $ac_n "checking for visibility(default) attribute""... $ac_c" 1>&6
+-echo "configure:9602: checking for visibility(default) attribute" >&5
++echo "configure:9604: checking for visibility(default) attribute" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_default'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9626,7 +9628,7 @@
+ 
+ 
+       echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
+-echo "configure:9630: checking for visibility pragma support" >&5
++echo "configure:9632: checking for visibility pragma support" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9651,7 +9653,7 @@
+ echo "$ac_t""$ac_cv_visibility_pragma" 1>&6
+       if test "$ac_cv_visibility_pragma" = "yes"; then
+         echo $ac_n "checking For gcc visibility bug with class-level attributes (GCC bug 26905)""... $ac_c" 1>&6
+-echo "configure:9655: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5
++echo "configure:9657: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_visibility_class_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9679,7 +9681,7 @@
+ echo "$ac_t""$ac_cv_have_visibility_class_bug" 1>&6
+ 
+         echo $ac_n "checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)""... $ac_c" 1>&6
+-echo "configure:9683: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5
++echo "configure:9685: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_visibility_builtin_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -9731,7 +9733,7 @@
+ if test "$GNU_CC"; then
+ 
+ echo $ac_n "checking for gcc PR49911""... $ac_c" 1>&6
+-echo "configure:9735: checking for gcc PR49911" >&5
++echo "configure:9737: checking for gcc PR49911" >&5
+ ac_have_gcc_pr49911="no"
+ 
+ ac_ext=C
+@@ -9748,7 +9750,7 @@
+   true
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9752 "configure"
++#line 9754 "configure"
+ #include "confdefs.h"
+ 
+ extern "C" void abort(void);
+@@ -9789,7 +9791,7 @@
+ }
+ 
+ EOF
+-if { (eval echo configure:9793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   true
+ else
+@@ -9822,7 +9824,7 @@
+ 
+ 
+ echo $ac_n "checking for gcc pr39608""... $ac_c" 1>&6
+-echo "configure:9826: checking for gcc pr39608" >&5
++echo "configure:9828: checking for gcc pr39608" >&5
+ ac_have_gcc_pr39608="yes"
+ 
+ ac_ext=C
+@@ -9834,7 +9836,7 @@
+ 
+ 
+ cat > conftest.$ac_ext <<EOF
+-#line 9838 "configure"
++#line 9840 "configure"
+ #include "confdefs.h"
+ 
+ typedef void (*FuncType)();
+@@ -9852,7 +9854,7 @@
+ true
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_have_gcc_pr39608="no"
+ else
+@@ -9882,7 +9884,7 @@
+     # cannot do enough code gen for now to make this test work correctly.
+     
+ echo $ac_n "checking for llvm pr8927""... $ac_c" 1>&6
+-echo "configure:9886: checking for llvm pr8927" >&5
++echo "configure:9888: checking for llvm pr8927" >&5
+ ac_have_llvm_pr8927="no"
+ 
+ ac_ext=c
+@@ -9899,7 +9901,7 @@
+   true
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9903 "configure"
++#line 9905 "configure"
+ #include "confdefs.h"
+ 
+ struct foobar {
+@@ -9922,7 +9924,7 @@
+ }
+ 
+ EOF
+-if { (eval echo configure:9926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   true
+ else
+@@ -9961,12 +9963,12 @@
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
+-echo "configure:9965: checking for $ac_hdr that defines DIR" >&5
++echo "configure:9967: checking for $ac_hdr that defines DIR" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 9970 "configure"
++#line 9972 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <$ac_hdr>
+@@ -9974,7 +9976,7 @@
+ DIR *dirp = 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:9978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:9980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_dirent_$ac_safe=yes"
+ else
+@@ -10002,7 +10004,7 @@
+ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
+ if test $ac_header_dirent = dirent.h; then
+ echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
+-echo "configure:10006: checking for opendir in -ldir" >&5
++echo "configure:10008: checking for opendir in -ldir" >&5
+ ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -10010,7 +10012,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-ldir  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10014 "configure"
++#line 10016 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10021,7 +10023,7 @@
+ opendir()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -10043,7 +10045,7 @@
+ 
+ else
+ echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
+-echo "configure:10047: checking for opendir in -lx" >&5
++echo "configure:10049: checking for opendir in -lx" >&5
+ ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -10051,7 +10053,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lx  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10055 "configure"
++#line 10057 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10062,7 +10064,7 @@
+ opendir()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -10096,12 +10098,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:10100: checking for $ac_hdr" >&5
++echo "configure:10102: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10105 "configure"
++#line 10107 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -10109,7 +10111,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10144,12 +10146,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:10148: checking for $ac_hdr" >&5
++echo "configure:10150: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10153 "configure"
++#line 10155 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -10157,7 +10159,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10191,12 +10193,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:10195: checking for $ac_hdr" >&5
++echo "configure:10197: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10200 "configure"
++#line 10202 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -10204,7 +10206,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10237,12 +10239,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:10241: checking for $ac_hdr" >&5
++echo "configure:10243: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10246 "configure"
++#line 10248 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -10250,7 +10252,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10290,12 +10292,12 @@
+ NEW_H=new.h
+    ac_safe=`echo "new" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for new""... $ac_c" 1>&6
+-echo "configure:10294: checking for new" >&5
++echo "configure:10296: checking for new" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10299 "configure"
++#line 10301 "configure"
+ #include "confdefs.h"
+ 
+ #include <new>
+@@ -10303,7 +10305,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10347,12 +10349,12 @@
+ if test "x$enable_dtrace" = "xyes"; then
+      ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6
+-echo "configure:10351: checking for sys/sdt.h" >&5
++echo "configure:10353: checking for sys/sdt.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10356 "configure"
++#line 10358 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/sdt.h>
+@@ -10360,7 +10362,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10402,12 +10404,12 @@
+   do
+        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:10406: checking for $ac_hdr" >&5
++echo "configure:10408: checking for $ac_hdr" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10411 "configure"
++#line 10413 "configure"
+ #include "confdefs.h"
+ 
+ #include <$ac_hdr>
+@@ -10415,7 +10417,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10467,12 +10469,12 @@
+ 
+    ac_safe=`echo "linux/perf_event.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for linux/perf_event.h""... $ac_c" 1>&6
+-echo "configure:10471: checking for linux/perf_event.h" >&5
++echo "configure:10473: checking for linux/perf_event.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10476 "configure"
++#line 10478 "configure"
+ #include "confdefs.h"
+ 
+ #include <linux/perf_event.h>
+@@ -10480,7 +10482,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10495,19 +10497,19 @@
+   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+     echo "$ac_t""yes" 1>&6
+     echo $ac_n "checking for perf_event_open system call""... $ac_c" 1>&6
+-echo "configure:10499: checking for perf_event_open system call" >&5
++echo "configure:10501: checking for perf_event_open system call" >&5
+ if eval "test \"`echo '$''{'ac_cv_perf_event_open'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10504 "configure"
++#line 10506 "configure"
+ #include "confdefs.h"
+ #include <asm/unistd.h>
+ int main() {
+ return sizeof(__NR_perf_event_open);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_perf_event_open=yes
+ else
+@@ -10543,7 +10545,7 @@
+ 	;;
+ *)
+ 	echo $ac_n "checking for gethostbyname_r in -lc_r""... $ac_c" 1>&6
+-echo "configure:10547: checking for gethostbyname_r in -lc_r" >&5
++echo "configure:10549: checking for gethostbyname_r in -lc_r" >&5
+ ac_lib_var=`echo c_r'_'gethostbyname_r | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -10551,7 +10553,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lc_r  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10555 "configure"
++#line 10557 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10562,7 +10564,7 @@
+ gethostbyname_r()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -10603,14 +10605,14 @@
+ *)
+     
+ echo $ac_n "checking for library containing dlopen""... $ac_c" 1>&6
+-echo "configure:10607: checking for library containing dlopen" >&5
++echo "configure:10609: checking for library containing dlopen" >&5
+ if eval "test \"`echo '$''{'ac_cv_search_dlopen'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_func_search_save_LIBS="$LIBS"
+ ac_cv_search_dlopen="no"
+ cat > conftest.$ac_ext <<EOF
+-#line 10614 "configure"
++#line 10616 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10621,7 +10623,7 @@
+ dlopen()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_search_dlopen="none required"
+ else
+@@ -10632,7 +10634,7 @@
+ test "$ac_cv_search_dlopen" = "no" && for i in dl; do
+ LIBS="-l$i  $ac_func_search_save_LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10636 "configure"
++#line 10638 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10643,7 +10645,7 @@
+ dlopen()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_search_dlopen="-l$i"
+ break
+@@ -10661,12 +10663,12 @@
+   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
+      ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+-echo "configure:10665: checking for dlfcn.h" >&5
++echo "configure:10667: checking for dlfcn.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 10670 "configure"
++#line 10672 "configure"
+ #include "confdefs.h"
+ 
+ #include <dlfcn.h>
+@@ -10674,7 +10676,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:10680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -10711,12 +10713,12 @@
+ for ac_func in dladdr
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:10715: checking for $ac_func" >&5
++echo "configure:10717: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 10720 "configure"
++#line 10722 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -10739,7 +10741,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -10773,7 +10775,7 @@
+     case $target in
+     *-aix*)
+ 	echo $ac_n "checking for demangle in -lC_r""... $ac_c" 1>&6
+-echo "configure:10777: checking for demangle in -lC_r" >&5
++echo "configure:10779: checking for demangle in -lC_r" >&5
+ ac_lib_var=`echo C_r'_'demangle | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -10781,7 +10783,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lC_r  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10785 "configure"
++#line 10787 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10792,7 +10794,7 @@
+ demangle()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -10825,7 +10827,7 @@
+ 	;;
+      *)
+ 	echo $ac_n "checking for demangle in -lC""... $ac_c" 1>&6
+-echo "configure:10829: checking for demangle in -lC" >&5
++echo "configure:10831: checking for demangle in -lC" >&5
+ ac_lib_var=`echo C'_'demangle | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -10833,7 +10835,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lC  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10837 "configure"
++#line 10839 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10844,7 +10846,7 @@
+ demangle()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -10883,7 +10885,7 @@
+     ;;
+ *)
+     echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
+-echo "configure:10887: checking for socket in -lsocket" >&5
++echo "configure:10889: checking for socket in -lsocket" >&5
+ ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -10891,7 +10893,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lsocket  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 10895 "configure"
++#line 10897 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -10902,7 +10904,7 @@
+ socket()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:10906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:10908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -10941,7 +10943,7 @@
+ *)
+     
+ echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
+-echo "configure:10945: checking for pthread_create in -lpthreads" >&5
++echo "configure:10947: checking for pthread_create in -lpthreads" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -10964,7 +10966,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:10968: checking for pthread_create in -lpthread" >&5
++echo "configure:10970: checking for pthread_create in -lpthread" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -10987,7 +10989,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
+-echo "configure:10991: checking for pthread_create in -lc_r" >&5
++echo "configure:10993: checking for pthread_create in -lc_r" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -11010,7 +11012,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
+-echo "configure:11014: checking for pthread_create in -lc" >&5
++echo "configure:11016: checking for pthread_create in -lc" >&5
+ echo "
+     #include <pthread.h>
+     #include <stdlib.h>
+@@ -11069,7 +11071,7 @@
+ 				rm -f conftest*
+ 	ac_cv_have_dash_pthread=no
+ 	echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
+-echo "configure:11073: checking whether ${CC-cc} accepts -pthread" >&5
++echo "configure:11075: checking whether ${CC-cc} accepts -pthread" >&5
+ 	echo 'int main() { return 0; }' | cat > conftest.c
+ 	${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
+ 	if test $? -eq 0; then
+@@ -11092,7 +11094,7 @@
+ 			    ac_cv_have_dash_pthreads=no
+     if test "$ac_cv_have_dash_pthread" = "no"; then
+ 	    echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
+-echo "configure:11096: checking whether ${CC-cc} accepts -pthreads" >&5
++echo "configure:11098: checking whether ${CC-cc} accepts -pthreads" >&5
+     	echo 'int main() { return 0; }' | cat > conftest.c
+ 	    ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
+     	if test $? -eq 0; then
+@@ -11197,13 +11199,13 @@
+ 
+ if test $ac_cv_prog_gcc = yes; then
+     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
+-echo "configure:11201: checking whether ${CC-cc} needs -traditional" >&5
++echo "configure:11203: checking whether ${CC-cc} needs -traditional" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+     ac_pattern="Autoconf.*'x'"
+   cat > conftest.$ac_ext <<EOF
+-#line 11207 "configure"
++#line 11209 "configure"
+ #include "confdefs.h"
+ #include <sgtty.h>
+ Autoconf TIOCGETP
+@@ -11221,7 +11223,7 @@
+ 
+   if test $ac_cv_prog_gcc_traditional = no; then
+     cat > conftest.$ac_ext <<EOF
+-#line 11225 "configure"
++#line 11227 "configure"
+ #include "confdefs.h"
+ #include <termio.h>
+ Autoconf TCGETA
+@@ -11243,7 +11245,7 @@
+ fi
+ 
+ echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
+-echo "configure:11247: checking for 8-bit clean memcmp" >&5
++echo "configure:11249: checking for 8-bit clean memcmp" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -11251,7 +11253,7 @@
+   ac_cv_func_memcmp_clean=no
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11255 "configure"
++#line 11257 "configure"
+ #include "confdefs.h"
+ 
+ main()
+@@ -11261,7 +11263,7 @@
+ }
+ 
+ EOF
+-if { (eval echo configure:11265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:11267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_func_memcmp_clean=yes
+ else
+@@ -11283,12 +11285,12 @@
+                 stat64 statvfs statvfs64 strerror strtok_r truncate64
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:11287: checking for $ac_func" >&5
++echo "configure:11289: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11292 "configure"
++#line 11294 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -11311,7 +11313,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -11349,19 +11351,19 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking for wcrtomb""... $ac_c" 1>&6
+-echo "configure:11353: checking for wcrtomb" >&5
++echo "configure:11355: checking for wcrtomb" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_wcrtomb'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11358 "configure"
++#line 11360 "configure"
+ #include "confdefs.h"
+ #include <wchar.h>
+ int main() {
+ mbstate_t ps={0};wcrtomb(0,'f',&ps);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_have_wcrtomb="yes"
+ else
+@@ -11384,19 +11386,19 @@
+ 
+ fi
+ echo $ac_n "checking for mbrtowc""... $ac_c" 1>&6
+-echo "configure:11388: checking for mbrtowc" >&5
++echo "configure:11390: checking for mbrtowc" >&5
+ if eval "test \"`echo '$''{'ac_cv_have_mbrtowc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11393 "configure"
++#line 11395 "configure"
+ #include "confdefs.h"
+ #include <wchar.h>
+ int main() {
+ mbstate_t ps={0};mbrtowc(0,0,0,&ps);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_have_mbrtowc="yes"
+ else
+@@ -11428,12 +11430,12 @@
+ fi
+ 
+ echo $ac_n "checking for res_ninit()""... $ac_c" 1>&6
+-echo "configure:11432: checking for res_ninit()" >&5
++echo "configure:11434: checking for res_ninit()" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_res_ninit'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11437 "configure"
++#line 11439 "configure"
+ #include "confdefs.h"
+ 
+         #ifdef linux
+@@ -11445,7 +11447,7 @@
+ int foo = res_ninit(&_res);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_func_res_ninit=yes
+ else
+@@ -11478,12 +11480,12 @@
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6
+-echo "configure:11482: checking for gnu_get_libc_version()" >&5
++echo "configure:11484: checking for gnu_get_libc_version()" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11487 "configure"
++#line 11489 "configure"
+ #include "confdefs.h"
+ 
+         #ifdef HAVE_GNU_LIBC_VERSION_H
+@@ -11494,7 +11496,7 @@
+ const char *glibc_version = gnu_get_libc_version();
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_func_gnu_get_libc_version=yes
+ else
+@@ -11528,7 +11530,7 @@
+ 
+ 
+ echo $ac_n "checking for an implementation of va_copy()""... $ac_c" 1>&6
+-echo "configure:11532: checking for an implementation of va_copy()" >&5
++echo "configure:11534: checking for an implementation of va_copy()" >&5
+ if eval "test \"`echo '$''{'ac_cv_va_copy'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -11538,7 +11540,7 @@
+     
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11542 "configure"
++#line 11544 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdarg.h>
+@@ -11552,7 +11554,7 @@
+         }
+         int main() { f (0, 42); return 0; }
+ EOF
+-if { (eval echo configure:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:11558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_va_copy=yes
+ else
+@@ -11569,7 +11571,7 @@
+ 
+ echo "$ac_t""$ac_cv_va_copy" 1>&6
+ echo $ac_n "checking for an implementation of __va_copy()""... $ac_c" 1>&6
+-echo "configure:11573: checking for an implementation of __va_copy()" >&5
++echo "configure:11575: checking for an implementation of __va_copy()" >&5
+ if eval "test \"`echo '$''{'ac_cv___va_copy'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -11579,7 +11581,7 @@
+     
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11583 "configure"
++#line 11585 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdarg.h>
+@@ -11593,7 +11595,7 @@
+         }
+         int main() { f (0, 42); return 0; }
+ EOF
+-if { (eval echo configure:11597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:11599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv___va_copy=yes
+ else
+@@ -11610,7 +11612,7 @@
+ 
+ echo "$ac_t""$ac_cv___va_copy" 1>&6
+ echo $ac_n "checking whether va_lists can be copied by value""... $ac_c" 1>&6
+-echo "configure:11614: checking whether va_lists can be copied by value" >&5
++echo "configure:11616: checking whether va_lists can be copied by value" >&5
+ if eval "test \"`echo '$''{'ac_cv_va_val_copy'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -11620,7 +11622,7 @@
+     
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11624 "configure"
++#line 11626 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdarg.h>
+@@ -11634,7 +11636,7 @@
+         }
+         int main() { f (0, 42); return 0; }
+ EOF
+-if { (eval echo configure:11638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:11640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_va_val_copy=yes
+ else
+@@ -11704,12 +11706,12 @@
+ if test "$GNU_CC"; then
+   if test "$CPU_ARCH" = "arm" ; then
+     echo $ac_n "checking for ARM EABI""... $ac_c" 1>&6
+-echo "configure:11708: checking for ARM EABI" >&5
++echo "configure:11710: checking for ARM EABI" >&5
+ if eval "test \"`echo '$''{'ac_cv_gcc_arm_eabi'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11713 "configure"
++#line 11715 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+@@ -11722,7 +11724,7 @@
+                         
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_gcc_arm_eabi="yes"
+ else
+@@ -11747,12 +11749,12 @@
+ fi
+ 
+ echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6
+-echo "configure:11751: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
++echo "configure:11753: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
+ if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11756 "configure"
++#line 11758 "configure"
+ #include "confdefs.h"
+ class X {
+                                  public: int go(const X&) {return 3;}
+@@ -11768,7 +11770,7 @@
+ X x; Y y; y.jo(x);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_cpp_ambiguity_resolving_using=yes
+ else
+@@ -11792,7 +11794,7 @@
+ fi
+ 
+ echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6
+-echo "configure:11796: checking for C++ dynamic_cast to void*" >&5
++echo "configure:11798: checking for C++ dynamic_cast to void*" >&5
+ if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -11800,7 +11802,7 @@
+   ac_cv_cpp_dynamic_cast_void_ptr=no
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11804 "configure"
++#line 11806 "configure"
+ #include "confdefs.h"
+ class X { int i; public: virtual ~X() { } };
+                             class Y { int j; public: virtual ~Y() { } };
+@@ -11816,7 +11818,7 @@
+                                            ((void*)&mdo == dynamic_cast<void*>(suby))));
+                             }
+ EOF
+-if { (eval echo configure:11820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_cpp_dynamic_cast_void_ptr=yes
+ else
+@@ -11843,19 +11845,19 @@
+ 
+ 
+ echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6
+-echo "configure:11847: checking whether C++ requires implementation of unused virtual methods" >&5
++echo "configure:11849: checking whether C++ requires implementation of unused virtual methods" >&5
+ if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11852 "configure"
++#line 11854 "configure"
+ #include "confdefs.h"
+ class X {private: virtual void never_called();};
+ int main() {
+ X x;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_cpp_unused_required=no
+ else
+@@ -11881,12 +11883,12 @@
+ 
+ 
+ echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6
+-echo "configure:11885: checking for trouble comparing to zero near std::operator!=()" >&5
++echo "configure:11887: checking for trouble comparing to zero near std::operator!=()" >&5
+ if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11890 "configure"
++#line 11892 "configure"
+ #include "confdefs.h"
+ #include <algorithm>
+                                 template <class T> class Foo {};
+@@ -11897,7 +11899,7 @@
+ Foo<int> f; return (0 != f);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_trouble_comparing_to_zero=no
+ else
+@@ -11927,19 +11929,19 @@
+ _SAVE_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $DSO_PIC_CFLAGS $DSO_LDOPTS $MOZ_OPTIMIZE_LDFLAGS"
+ echo $ac_n "checking for __thread keyword for TLS variables""... $ac_c" 1>&6
+-echo "configure:11931: checking for __thread keyword for TLS variables" >&5
++echo "configure:11933: checking for __thread keyword for TLS variables" >&5
+ if eval "test \"`echo '$''{'ac_cv_thread_keyword'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11936 "configure"
++#line 11938 "configure"
+ #include "confdefs.h"
+ __thread bool tlsIsMainThread = false;
+ int main() {
+ return tlsIsMainThread;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:11945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv_thread_keyword=yes
+ else
+@@ -11977,19 +11979,19 @@
+ 
+ 
+ echo $ac_n "checking for __attribute__((always_inline))""... $ac_c" 1>&6
+-echo "configure:11981: checking for __attribute__((always_inline))" >&5
++echo "configure:11983: checking for __attribute__((always_inline))" >&5
+ if eval "test \"`echo '$''{'ac_cv_attribute_always_inline'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 11986 "configure"
++#line 11988 "configure"
+ #include "confdefs.h"
+ inline void f(void) __attribute__((always_inline));
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:11993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:11995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_attribute_always_inline=yes
+ else
+@@ -12004,19 +12006,19 @@
+ echo "$ac_t""$ac_cv_attribute_always_inline" 1>&6
+ 
+ echo $ac_n "checking for __attribute__((malloc))""... $ac_c" 1>&6
+-echo "configure:12008: checking for __attribute__((malloc))" >&5
++echo "configure:12010: checking for __attribute__((malloc))" >&5
+ if eval "test \"`echo '$''{'ac_cv_attribute_malloc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 12013 "configure"
++#line 12015 "configure"
+ #include "confdefs.h"
+ void* f(int) __attribute__((malloc));
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_attribute_malloc=yes
+ else
+@@ -12031,19 +12033,19 @@
+ echo "$ac_t""$ac_cv_attribute_malloc" 1>&6
+ 
+ echo $ac_n "checking for __attribute__((warn_unused_result))""... $ac_c" 1>&6
+-echo "configure:12035: checking for __attribute__((warn_unused_result))" >&5
++echo "configure:12037: checking for __attribute__((warn_unused_result))" >&5
+ if eval "test \"`echo '$''{'ac_cv_attribute_warn_unused'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 12040 "configure"
++#line 12042 "configure"
+ #include "confdefs.h"
+ int f(void) __attribute__((warn_unused_result));
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_attribute_warn_unused=yes
+ else
+@@ -12067,19 +12069,19 @@
+ 
+ 
+ echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
+-echo "configure:12071: checking for LC_MESSAGES" >&5
++echo "configure:12073: checking for LC_MESSAGES" >&5
+ if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 12076 "configure"
++#line 12078 "configure"
+ #include "confdefs.h"
+ #include <locale.h>
+ int main() {
+ int category = LC_MESSAGES;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_i18n_lc_messages=yes
+ else
+@@ -12105,12 +12107,12 @@
+ for ac_func in localeconv
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:12109: checking for $ac_func" >&5
++echo "configure:12111: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 12114 "configure"
++#line 12116 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -12133,7 +12135,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -12354,7 +12356,7 @@
+ 	# Extract the first word of "nspr-config", so it can be a program name with args.
+ set dummy nspr-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:12358: checking for $ac_word" >&5
++echo "configure:12360: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_NSPR_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -12389,7 +12391,7 @@
+ 
+ 	min_nspr_version=$NSPR_MINVER
+ 	echo $ac_n "checking for NSPR - version >= $min_nspr_version""... $ac_c" 1>&6
+-echo "configure:12393: checking for NSPR - version >= $min_nspr_version" >&5
++echo "configure:12395: checking for NSPR - version >= $min_nspr_version" >&5
+ 
+ 	no_nspr=""
+ 	if test "$NSPR_CONFIG" != "no"; then
+@@ -12452,7 +12454,7 @@
+     _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $NSPR_CFLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 12456 "configure"
++#line 12458 "configure"
+ #include "confdefs.h"
+ #include "prlog.h"
+ int main() {
+@@ -12461,7 +12463,7 @@
+                  #endif
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_NSPR=1
+ else
+@@ -12503,7 +12505,7 @@
+         MOZ_NATIVE_ZLIB=
+     else
+         echo $ac_n "checking for gzread in -lz""... $ac_c" 1>&6
+-echo "configure:12507: checking for gzread in -lz" >&5
++echo "configure:12509: checking for gzread in -lz" >&5
+ ac_lib_var=`echo z'_'gzread | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -12511,7 +12513,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lz  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 12515 "configure"
++#line 12517 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -12522,7 +12524,7 @@
+ gzread()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:12528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -12546,7 +12548,7 @@
+         if test "$MOZ_NATIVE_ZLIB" = 1; then
+             MOZZLIBNUM=`echo $MOZZLIB | awk -F. '{printf "0x%x\n", ((($1 * 16 + $2) * 16) + $3) * 16 + $4}'`
+             cat > conftest.$ac_ext <<EOF
+-#line 12550 "configure"
++#line 12552 "configure"
+ #include "confdefs.h"
+  #include <stdio.h>
+                              #include <string.h>
+@@ -12557,7 +12559,7 @@
+                              #endif 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_NATIVE_ZLIB=1
+ else
+@@ -12603,7 +12605,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:12607: checking for $ac_word" >&5
++echo "configure:12609: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -12647,19 +12649,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libffi > 3.0.9""... $ac_c" 1>&6
+-echo "configure:12651: checking for libffi > 3.0.9" >&5
++echo "configure:12653: checking for libffi > 3.0.9" >&5
+ 
+         if $PKG_CONFIG --exists "libffi > 3.0.9" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_FFI_CFLAGS""... $ac_c" 1>&6
+-echo "configure:12658: checking MOZ_FFI_CFLAGS" >&5
++echo "configure:12660: checking MOZ_FFI_CFLAGS" >&5
+             MOZ_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi > 3.0.9"`
+             echo "$ac_t""$MOZ_FFI_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_FFI_LIBS""... $ac_c" 1>&6
+-echo "configure:12663: checking MOZ_FFI_LIBS" >&5
++echo "configure:12665: checking MOZ_FFI_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_FFI_LIBS="`$PKG_CONFIG --libs \"libffi > 3.0.9\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_FFI_LIBS" 1>&6
+@@ -12695,7 +12697,7 @@
+     # Extract the first word of "pkg-config", so it can be a program name with args.
+ set dummy pkg-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:12699: checking for $ac_word" >&5
++echo "configure:12701: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -12739,19 +12741,19 @@
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+         echo $ac_n "checking for libffi >= 3.0.9""... $ac_c" 1>&6
+-echo "configure:12743: checking for libffi >= 3.0.9" >&5
++echo "configure:12745: checking for libffi >= 3.0.9" >&5
+ 
+         if $PKG_CONFIG --exists "libffi >= 3.0.9" ; then
+             echo "$ac_t""yes" 1>&6
+             succeeded=yes
+ 
+             echo $ac_n "checking MOZ_FFI_CFLAGS""... $ac_c" 1>&6
+-echo "configure:12750: checking MOZ_FFI_CFLAGS" >&5
++echo "configure:12752: checking MOZ_FFI_CFLAGS" >&5
+             MOZ_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0.9"`
+             echo "$ac_t""$MOZ_FFI_CFLAGS" 1>&6
+ 
+             echo $ac_n "checking MOZ_FFI_LIBS""... $ac_c" 1>&6
+-echo "configure:12755: checking MOZ_FFI_LIBS" >&5
++echo "configure:12757: checking MOZ_FFI_LIBS" >&5
+             ## Remove evil flags like -Wl,--export-dynamic
+             MOZ_FFI_LIBS="`$PKG_CONFIG --libs \"libffi >= 3.0.9\" |sed s/-Wl,--export-dynamic//g`"
+             echo "$ac_t""$MOZ_FFI_LIBS" 1>&6
+@@ -12886,18 +12888,18 @@
+ 
+ if test -n "$MOZ_DEBUG"; then
+     echo $ac_n "checking for valid debug flags""... $ac_c" 1>&6
+-echo "configure:12890: checking for valid debug flags" >&5
++echo "configure:12892: checking for valid debug flags" >&5
+     _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $MOZ_DEBUG_FLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 12894 "configure"
++#line 12896 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _results=yes
+ else
+@@ -12979,18 +12981,18 @@
+ if test "$COMPILE_ENVIRONMENT"; then
+ if test -n "$MOZ_OPTIMIZE"; then
+     echo $ac_n "checking for valid optimization flags""... $ac_c" 1>&6
+-echo "configure:12983: checking for valid optimization flags" >&5
++echo "configure:12985: checking for valid optimization flags" >&5
+     _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 12987 "configure"
++#line 12989 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:12994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:12996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _results=yes
+ else
+@@ -13199,7 +13201,7 @@
+     fi
+   else
+     echo $ac_n "checking size of int *""... $ac_c" 1>&6
+-echo "configure:13203: checking size of int *" >&5
++echo "configure:13205: checking size of int *" >&5
+ if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -13207,7 +13209,7 @@
+   ac_cv_sizeof_int_p=4
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 13211 "configure"
++#line 13213 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int main()
+@@ -13218,7 +13220,7 @@
+   return(0);
+ }
+ EOF
+-if { (eval echo configure:13222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   ac_cv_sizeof_int_p=`cat conftestval`
+ else
+@@ -13522,12 +13524,12 @@
+ if test -n "$MOZ_VALGRIND"; then
+        ac_safe=`echo "valgrind/valgrind.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for valgrind/valgrind.h""... $ac_c" 1>&6
+-echo "configure:13526: checking for valgrind/valgrind.h" >&5
++echo "configure:13528: checking for valgrind/valgrind.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 13531 "configure"
++#line 13533 "configure"
+ #include "confdefs.h"
+ 
+ #include <valgrind/valgrind.h>
+@@ -13535,7 +13537,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:13539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:13541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -13844,7 +13846,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:13848: checking for $ac_word" >&5
++echo "configure:13850: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_CCACHE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -14033,12 +14035,12 @@
+     for ac_func in __cxa_demangle
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:14037: checking for $ac_func" >&5
++echo "configure:14039: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14042 "configure"
++#line 14044 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -14064,7 +14066,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -14118,12 +14120,12 @@
+ if test -z "$SKIP_LIBRARY_CHECKS"; then
+        ac_safe=`echo "unwind.h" | sed 'y%./+-%__p_%'`
+   echo $ac_n "checking for unwind.h""... $ac_c" 1>&6
+-echo "configure:14122: checking for unwind.h" >&5
++echo "configure:14124: checking for unwind.h" >&5
+   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+    cat > conftest.$ac_ext <<EOF
+-#line 14127 "configure"
++#line 14129 "configure"
+ #include "confdefs.h"
+ 
+ #include <unwind.h>
+@@ -14131,7 +14133,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+@@ -14148,12 +14150,12 @@
+     for ac_func in _Unwind_Backtrace
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:14152: checking for $ac_func" >&5
++echo "configure:14154: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14157 "configure"
++#line 14159 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -14176,7 +14178,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -14247,7 +14249,7 @@
+ # Compiler Options
+ 
+ echo $ac_n "checking for -pipe support""... $ac_c" 1>&6
+-echo "configure:14251: checking for -pipe support" >&5
++echo "configure:14253: checking for -pipe support" >&5
+ if test -n "$GNU_CC" -a -n "$GNU_CXX"; then
+         CFLAGS="$CFLAGS -pipe"
+     CXXFLAGS="$CXXFLAGS -pipe"
+@@ -14261,16 +14263,16 @@
+ CFLAGS="$CFLAGS -fprofile-generate -fprofile-correction"
+ 
+ echo $ac_n "checking whether C compiler supports -fprofile-generate""... $ac_c" 1>&6
+-echo "configure:14265: checking whether C compiler supports -fprofile-generate" >&5
++echo "configure:14267: checking whether C compiler supports -fprofile-generate" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 14267 "configure"
++#line 14269 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+    PROFILE_GEN_CFLAGS="-fprofile-generate"
+                  result="yes" 
+@@ -14321,12 +14323,12 @@
+ _SAVE_CXXFLAGS=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
+ echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6
+-echo "configure:14325: checking for correct overload resolution with const and templates" >&5
++echo "configure:14327: checking for correct overload resolution with const and templates" >&5
+ if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14330 "configure"
++#line 14332 "configure"
+ #include "confdefs.h"
+ 
+                       template <class T>
+@@ -14356,7 +14358,7 @@
+                     
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_nscap_nonconst_opeq_bug="no"
+ else
+@@ -14382,19 +14384,19 @@
+ fi
+ 
+ echo $ac_n "checking for tm_zone tm_gmtoff in struct tm""... $ac_c" 1>&6
+-echo "configure:14386: checking for tm_zone tm_gmtoff in struct tm" >&5
++echo "configure:14388: checking for tm_zone tm_gmtoff in struct tm" >&5
+ if eval "test \"`echo '$''{'ac_cv_struct_tm_zone_tm_gmtoff'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 14391 "configure"
++#line 14393 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int main() {
+ struct tm tm; tm.tm_zone = 0; tm.tm_gmtoff = 1;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   ac_cv_struct_tm_zone_tm_gmtoff="yes"
+ else
+@@ -14436,20 +14438,20 @@
+ 
+ 
+ echo $ac_n "checking what kind of list files are supported by the linker""... $ac_c" 1>&6
+-echo "configure:14440: checking what kind of list files are supported by the linker" >&5
++echo "configure:14442: checking what kind of list files are supported by the linker" >&5
+ if eval "test \"`echo '$''{'EXPAND_LIBS_LIST_STYLE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   echo "int main() {return 0;}" > conftest.${ac_ext}
+-     if { ac_try='${CC-cc} -o conftest.${OBJ_SUFFIX} -c $CFLAGS $CPPFLAGS conftest.${ac_ext} 1>&5'; { (eval echo configure:14445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest.${OBJ_SUFFIX}; then
++     if { ac_try='${CC-cc} -o conftest.${OBJ_SUFFIX} -c $CFLAGS $CPPFLAGS conftest.${ac_ext} 1>&5'; { (eval echo configure:14447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest.${OBJ_SUFFIX}; then
+          echo "INPUT(conftest.${OBJ_SUFFIX})" > conftest.list
+-         if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.list $LIBS 1>&5'; { (eval echo configure:14447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
++         if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.list $LIBS 1>&5'; { (eval echo configure:14449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
+              EXPAND_LIBS_LIST_STYLE=linkerscript
+          else
+              echo "conftest.${OBJ_SUFFIX}" > conftest.list
+-                                                                 if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,-filelist,conftest.list $LIBS 1>&5'; { (eval echo configure:14451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
++                                                                 if { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS -Wl,-filelist,conftest.list $LIBS 1>&5'; { (eval echo configure:14453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
+                  EXPAND_LIBS_LIST_STYLE=filelist
+-             elif { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS @conftest.list $LIBS 1>&5'; { (eval echo configure:14453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
++             elif { ac_try='${CC-cc} -o conftest${ac_exeext} $LDFLAGS @conftest.list $LIBS 1>&5'; { (eval echo configure:14455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } && test -s conftest${ac_exeext}; then
+                  EXPAND_LIBS_LIST_STYLE=list
+              else
+                  EXPAND_LIBS_LIST_STYLE=none
+@@ -14469,7 +14471,7 @@
+ 
+ if test "$GCC_USE_GNU_LD"; then
+     echo $ac_n "checking what kind of ordering can be done with the linker""... $ac_c" 1>&6
+-echo "configure:14473: checking what kind of ordering can be done with the linker" >&5
++echo "configure:14475: checking what kind of ordering can be done with the linker" >&5
+ if eval "test \"`echo '$''{'EXPAND_LIBS_ORDER_STYLE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -14477,14 +14479,14 @@
+          _SAVE_LDFLAGS="$LDFLAGS"
+          LDFLAGS="${LDFLAGS} -Wl,--section-ordering-file,conftest.order"
+          cat > conftest.$ac_ext <<EOF
+-#line 14481 "configure"
++#line 14483 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   EXPAND_LIBS_ORDER_STYLE=section-ordering-file
+ else
+@@ -14496,7 +14498,7 @@
+ rm -f conftest*
+          LDFLAGS="$_SAVE_LDFLAGS"
+          if test -z "$EXPAND_LIBS_ORDER_STYLE"; then
+-             if { ac_try='${CC-cc} ${DSO_LDOPTS} ${LDFLAGS} -o ${DLL_PREFIX}conftest${DLL_SUFFIX} -Wl'; { (eval echo configure:14500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
++             if { ac_try='${CC-cc} ${DSO_LDOPTS} ${LDFLAGS} -o ${DLL_PREFIX}conftest${DLL_SUFFIX} -Wl'; { (eval echo configure:14502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+                  EXPAND_LIBS_ORDER_STYLE=linkerscript
+              else
+                  EXPAND_LIBS_ORDER_STYLE=none
+@@ -14570,7 +14572,7 @@
+ if test -z "$SKIP_LIBRARY_CHECKS" -a -z "$NO_EDITLINE"; then
+   if test -n "$JS_WANT_READLINE"; then
+     echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
+-echo "configure:14574: checking for readline in -lreadline" >&5
++echo "configure:14576: checking for readline in -lreadline" >&5
+ ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -14578,7 +14580,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lreadline  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 14582 "configure"
++#line 14584 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -14589,7 +14591,7 @@
+ readline()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -14834,9 +14836,9 @@
+ 
+ 
+ echo $ac_n "checking for posix_fallocate""... $ac_c" 1>&6
+-echo "configure:14838: checking for posix_fallocate" >&5
++echo "configure:14840: checking for posix_fallocate" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 14840 "configure"
++#line 14842 "configure"
+ #include "confdefs.h"
+ #define _XOPEN_SOURCE 600
+   #include <fcntl.h>
+@@ -14844,7 +14846,7 @@
+ posix_fallocate(0, 0, 0);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:14850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   ac_cv___posix_fallocate=true
+ else
+@@ -14873,7 +14875,7 @@
+                 _SAVE_CFLAGS=$CFLAGS
+     CFLAGS="$CFLAGS $XCFLAGS"
+     cat > conftest.$ac_ext <<EOF
+-#line 14877 "configure"
++#line 14879 "configure"
+ #include "confdefs.h"
+ 
+         #include <stdio.h>
+@@ -14891,7 +14893,7 @@
+     
+ ; return 0; }
+ EOF
+-if { (eval echo configure:14895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:14897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+@@ -15125,12 +15127,12 @@
+ for ac_func in setlocale
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:15129: checking for $ac_func" >&5
++echo "configure:15131: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 15134 "configure"
++#line 15136 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -15153,7 +15155,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -15183,12 +15185,12 @@
+ for ac_func in localeconv
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:15187: checking for $ac_func" >&5
++echo "configure:15189: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 15192 "configure"
++#line 15194 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -15211,7 +15213,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:15215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:15217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -15391,6 +15393,7 @@
+     (''' ANDROID_NDK ''', r''' $ANDROID_NDK ''')
+     (''' ANDROID_TOOLCHAIN ''', r''' $ANDROID_TOOLCHAIN ''')
+     (''' ANDROID_PLATFORM ''', r''' $ANDROID_PLATFORM ''')
++    (''' MOZILLA_SYMBOLVERSION ''', r''' $MOZILLA_SYMBOLVERSION ''')
+     (''' JS_SHELL_NAME ''', r''' $JS_SHELL_NAME ''')
+     (''' JS_CONFIG_NAME ''', r''' $JS_CONFIG_NAME ''')
+     (''' MOZJS_MAJOR_VERSION ''', r''' $MOZJS_MAJOR_VERSION ''')
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/configure.in seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/configure.in
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/configure.in	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/js/src/configure.in	2013-11-29 03:13:30.468604069 +0400
+@@ -222,10 +222,12 @@
+ dnl ==============================================================
+ MOZILLA_VERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir`
+ MOZILLA_UAVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -uaversion`
++MOZILLA_SYMBOLVERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir -symbolversion`
+ 
+ AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZILLA_VERSION")
+ AC_DEFINE_UNQUOTED(MOZILLA_VERSION_U,$MOZILLA_VERSION)
+ AC_DEFINE_UNQUOTED(MOZILLA_UAVERSION,"$MOZILLA_UAVERSION")
++AC_SUBST(MOZILLA_SYMBOLVERSION)
+ 
+ # Separate version into components for use in shared object naming etc
+ changequote(,)
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/TAG-INFO seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/TAG-INFO
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/TAG-INFO	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/TAG-INFO	2013-11-29 03:13:30.468604069 +0400
+@@ -1 +1 @@
+-NSPR_4_10_RTM
++NSPR_4_10_2_RTM
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/configure seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/configure
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/configure	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/configure	2013-11-29 03:13:30.469604063 +0400
+@@ -736,7 +736,7 @@
+ 
+ MOD_MAJOR_VERSION=4
+ MOD_MINOR_VERSION=10
+-MOD_PATCH_VERSION=0
++MOD_PATCH_VERSION=2
+ NSPR_MODNAME=nspr20
+ _HAVE_PTHREADS=
+ USE_PTHREADS=
+@@ -1315,7 +1315,7 @@
+     # Extract the first word of "$WHOAMI whoami", so it can be a program name with args.
+ set dummy $WHOAMI whoami; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1323: checking for $ac_word" >&5
++echo "configure:1319: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1387,13 +1387,13 @@
+     _SAVE_LDFLAGS="$LDFLAGS"
+ 
+     echo $ac_n "checking for $host compiler""... $ac_c" 1>&6
+-echo "configure:1395: checking for $host compiler" >&5
++echo "configure:1391: checking for $host compiler" >&5
+     for ac_prog in $HOST_CC gcc cc /usr/ucb/cc
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1401: checking for $ac_word" >&5
++echo "configure:1397: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1439,16 +1439,16 @@
+     LDFLAGS="$HOST_LDFLAGS"
+ 
+     echo $ac_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:1447: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
++echo "configure:1443: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
+     cat > conftest.$ac_ext <<EOF
+-#line 1449 "configure"
++#line 1445 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:1452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   echo "$ac_t""yes" 1>&6
+ else
+@@ -1483,7 +1483,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1491: checking for $ac_word" >&5
++echo "configure:1487: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1517,7 +1517,7 @@
+     # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1525: checking for $ac_word" >&5
++echo "configure:1521: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1547,7 +1547,7 @@
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1555: checking for $ac_word" >&5
++echo "configure:1551: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1598,7 +1598,7 @@
+       # Extract the first word of "cl", so it can be a program name with args.
+ set dummy cl; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1606: checking for $ac_word" >&5
++echo "configure:1602: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1630,7 +1630,7 @@
+ fi
+ 
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:1638: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
++echo "configure:1634: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -1641,12 +1641,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 1649 "configure"
++#line 1645 "configure"
+ #include "confdefs.h"
+ 
+ main(){return(0);}
+ EOF
+-if { (eval echo configure:1654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -1672,12 +1672,12 @@
+   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:1680: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:1676: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+-echo "configure:1685: checking whether we are using GNU C" >&5
++echo "configure:1681: checking whether we are using GNU C" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1686,7 +1686,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gcc=yes
+ else
+   ac_cv_prog_gcc=no
+@@ -1705,7 +1705,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+-echo "configure:1713: checking whether ${CC-cc} accepts -g" >&5
++echo "configure:1709: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1742,7 +1742,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1750: checking for $ac_word" >&5
++echo "configure:1746: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1778,7 +1778,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1786: checking for $ac_word" >&5
++echo "configure:1782: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1810,7 +1810,7 @@
+ 
+ 
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:1818: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
++echo "configure:1814: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -1821,12 +1821,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 1829 "configure"
++#line 1825 "configure"
+ #include "confdefs.h"
+ 
+ int main(){return(0);}
+ EOF
+-if { (eval echo configure:1834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cxx_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -1852,12 +1852,12 @@
+   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:1860: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:1856: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
+-echo "configure:1865: checking whether we are using GNU C++" >&5
++echo "configure:1861: checking whether we are using GNU C++" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1866,7 +1866,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gxx=yes
+ else
+   ac_cv_prog_gxx=no
+@@ -1885,7 +1885,7 @@
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=
+ echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
+-echo "configure:1893: checking whether ${CXX-g++} accepts -g" >&5
++echo "configure:1889: checking whether ${CXX-g++} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1930,7 +1930,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1938: checking for $ac_word" >&5
++echo "configure:1934: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1965,7 +1965,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1973: checking for $ac_word" >&5
++echo "configure:1969: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2000,7 +2000,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2008: checking for $ac_word" >&5
++echo "configure:2004: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2035,7 +2035,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2043: checking for $ac_word" >&5
++echo "configure:2039: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2070,7 +2070,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2078: checking for $ac_word" >&5
++echo "configure:2074: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2105,7 +2105,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2113: checking for $ac_word" >&5
++echo "configure:2109: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2140,7 +2140,7 @@
+     # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2148: checking for $ac_word" >&5
++echo "configure:2144: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2170,7 +2170,7 @@
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2178: checking for $ac_word" >&5
++echo "configure:2174: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2221,7 +2221,7 @@
+       # Extract the first word of "cl", so it can be a program name with args.
+ set dummy cl; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2229: checking for $ac_word" >&5
++echo "configure:2225: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2253,7 +2253,7 @@
+ fi
+ 
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:2261: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
++echo "configure:2257: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -2264,12 +2264,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 2272 "configure"
++#line 2268 "configure"
+ #include "confdefs.h"
+ 
+ main(){return(0);}
+ EOF
+-if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -2295,12 +2295,12 @@
+   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:2303: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:2299: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cc_cross
+ 
+ echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+-echo "configure:2308: checking whether we are using GNU C" >&5
++echo "configure:2304: checking whether we are using GNU C" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2309,7 +2309,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gcc=yes
+ else
+   ac_cv_prog_gcc=no
+@@ -2328,7 +2328,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+-echo "configure:2336: checking whether ${CC-cc} accepts -g" >&5
++echo "configure:2332: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2368,7 +2368,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2376: checking for $ac_word" >&5
++echo "configure:2372: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2400,7 +2400,7 @@
+ 
+ 
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+-echo "configure:2408: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
++echo "configure:2404: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+ 
+ ac_ext=C
+ # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+@@ -2411,12 +2411,12 @@
+ 
+ cat > conftest.$ac_ext << EOF
+ 
+-#line 2419 "configure"
++#line 2415 "configure"
+ #include "confdefs.h"
+ 
+ int main(){return(0);}
+ EOF
+-if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cxx_works=yes
+   # If we can't run a trivial program, we are probably using a cross compiler.
+   if (./conftest; exit) 2>/dev/null; then
+@@ -2442,12 +2442,12 @@
+   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
+ fi
+ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+-echo "configure:2450: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
++echo "configure:2446: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+ echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
+ cross_compiling=$ac_cv_prog_cxx_cross
+ 
+ echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
+-echo "configure:2455: checking whether we are using GNU C++" >&5
++echo "configure:2451: checking whether we are using GNU C++" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2456,7 +2456,7 @@
+   yes;
+ #endif
+ EOF
+-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
++if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+   ac_cv_prog_gxx=yes
+ else
+   ac_cv_prog_gxx=no
+@@ -2475,7 +2475,7 @@
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=
+ echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
+-echo "configure:2483: checking whether ${CXX-g++} accepts -g" >&5
++echo "configure:2479: checking whether ${CXX-g++} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2509,7 +2509,7 @@
+         fi
+     fi
+     echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+-echo "configure:2517: checking how to run the C preprocessor" >&5
++echo "configure:2513: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -2524,13 +2524,13 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp.
+   cat > conftest.$ac_ext <<EOF
+-#line 2532 "configure"
++#line 2528 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:2538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -2541,13 +2541,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -E -traditional-cpp"
+   cat > conftest.$ac_ext <<EOF
+-#line 2549 "configure"
++#line 2545 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:2555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:2551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -2558,13 +2558,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -nologo -E"
+   cat > conftest.$ac_ext <<EOF
+-#line 2566 "configure"
++#line 2562 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:2568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -2591,7 +2591,7 @@
+     # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2599: checking for $ac_word" >&5
++echo "configure:2595: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2623,7 +2623,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2631: checking for $ac_word" >&5
++echo "configure:2627: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2664,7 +2664,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2672: checking for $ac_word" >&5
++echo "configure:2668: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2705,7 +2705,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2713: checking for $ac_word" >&5
++echo "configure:2709: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2746,7 +2746,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2754: checking for $ac_word" >&5
++echo "configure:2750: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2787,7 +2787,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:2795: checking for $ac_word" >&5
++echo "configure:2791: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_WINDRES'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2855,7 +2855,7 @@
+ fi
+ 
+ echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
+-echo "configure:2863: checking for gcc -pipe support" >&5
++echo "configure:2859: checking for gcc -pipe support" >&5
+ if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
+     echo '#include <stdio.h>' > dummy-hello.c
+     echo 'int main() { printf("Hello World\n"); return 0; }' >> dummy-hello.c
+@@ -2870,14 +2870,14 @@
+         _SAVE_CFLAGS=$CFLAGS
+         CFLAGS="$CFLAGS -pipe"
+         cat > conftest.$ac_ext <<EOF
+-#line 2878 "configure"
++#line 2874 "configure"
+ #include "confdefs.h"
+  #include <stdio.h> 
+ int main() {
+ printf("Hello World\n");
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:2881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   _res_gcc_pipe="yes"
+ else
+@@ -2907,16 +2907,16 @@
+ CFLAGS="$CFLAGS -fprofile-generate -fprofile-correction"
+ 
+ echo $ac_n "checking whether C compiler supports -fprofile-generate""... $ac_c" 1>&6
+-echo "configure:2915: checking whether C compiler supports -fprofile-generate" >&5
++echo "configure:2911: checking whether C compiler supports -fprofile-generate" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 2917 "configure"
++#line 2913 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:2920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+    PROFILE_GEN_CFLAGS="-fprofile-generate"
+                  result="yes" 
+@@ -2939,7 +2939,7 @@
+ 
+ if test "$GNU_CC"; then
+     echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
+-echo "configure:2947: checking for visibility(hidden) attribute" >&5
++echo "configure:2943: checking for visibility(hidden) attribute" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2963,7 +2963,7 @@
+ EOF
+ 
+         echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
+-echo "configure:2971: checking for visibility pragma support" >&5
++echo "configure:2967: checking for visibility pragma support" >&5
+ if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3016,7 +3016,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:3024: checking for $ac_word" >&5
++echo "configure:3020: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -3338,14 +3338,14 @@
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$arch_flag"
+     cat > conftest.$ac_ext <<EOF
+-#line 3346 "configure"
++#line 3342 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return sizeof(__thumb2__);
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   MOZ_THUMB2=1
+ else
+@@ -3407,16 +3407,16 @@
+     _SAVE_CFLAGS="$CFLAGS"
+     CFLAGS="$all_flags"
+     echo $ac_n "checking whether the chosen combination of compiler flags ($all_flags) works""... $ac_c" 1>&6
+-echo "configure:3415: checking whether the chosen combination of compiler flags ($all_flags) works" >&5
++echo "configure:3411: checking whether the chosen combination of compiler flags ($all_flags) works" >&5
+     cat > conftest.$ac_ext <<EOF
+-#line 3417 "configure"
++#line 3413 "configure"
+ #include "confdefs.h"
+ 
+ int main() {
+ return 0;
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+   rm -rf conftest*
+   echo "$ac_t""yes" 1>&6
+ else
+@@ -3473,17 +3473,17 @@
+     DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
+     ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6
+-echo "configure:3481: checking for sys/atomic_op.h" >&5
++echo "configure:3477: checking for sys/atomic_op.h" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 3486 "configure"
++#line 3482 "configure"
+ #include "confdefs.h"
+ #include <sys/atomic_op.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:3487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -3640,7 +3640,7 @@
+         _DEBUG_FLAGS='-gdwarf-2 -O0'
+         MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
+         echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6
+-echo "configure:3648: checking for gethostbyaddr in -lbind" >&5
++echo "configure:3644: checking for gethostbyaddr in -lbind" >&5
+ ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -3648,7 +3648,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lbind  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 3656 "configure"
++#line 3652 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -3659,7 +3659,7 @@
+ gethostbyaddr()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -3868,17 +3868,17 @@
+     fi
+     ac_safe=`echo "crt_externs.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for crt_externs.h""... $ac_c" 1>&6
+-echo "configure:3876: checking for crt_externs.h" >&5
++echo "configure:3872: checking for crt_externs.h" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 3881 "configure"
++#line 3877 "configure"
+ #include "confdefs.h"
+ #include <crt_externs.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:3882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -4618,6 +4618,12 @@
+         PROFILE_USE_CFLAGS="-GL -wd4624 -wd4952"
+         PROFILE_USE_LDFLAGS="-LTCG:PGUPDATE"
+ 
++        if test "$MSC_VER" -ge "1800"; then
++                                                CFLAGS="$CFLAGS -FS"
++                                    PROFILE_GEN_CFLAGS="$PROFILE_GEN_CFLAGS -Gw"
++            PROFILE_USE_CFLAGS="$PROFILE_USE_CFLAGS -Gw"
++        fi
++
+         if test -z "$MOZ_OPTIMIZE"; then
+             CFLAGS="$CFLAGS -Od"
+         fi
+@@ -4922,17 +4928,17 @@
+         _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000"
+         ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6
+-echo "configure:4930: checking for machine/builtins.h" >&5
++echo "configure:4932: checking for machine/builtins.h" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 4935 "configure"
++#line 4937 "configure"
+ #include "confdefs.h"
+ #include <machine/builtins.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:4940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:4942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -5491,7 +5497,7 @@
+     ;;
+ *)
+     echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
+-echo "configure:5499: checking for dlopen in -ldl" >&5
++echo "configure:5501: checking for dlopen in -ldl" >&5
+ ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -5499,7 +5505,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-ldl  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 5507 "configure"
++#line 5509 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -5510,7 +5516,7 @@
+ dlopen()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -5527,17 +5533,17 @@
+   echo "$ac_t""yes" 1>&6
+   ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+-echo "configure:5535: checking for dlfcn.h" >&5
++echo "configure:5537: checking for dlfcn.h" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 5540 "configure"
++#line 5542 "configure"
+ #include "confdefs.h"
+ #include <dlfcn.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:5545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:5547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -5570,13 +5576,13 @@
+ 
+ if test $ac_cv_prog_gcc = yes; then
+     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
+-echo "configure:5578: checking whether ${CC-cc} needs -traditional" >&5
++echo "configure:5580: checking whether ${CC-cc} needs -traditional" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+     ac_pattern="Autoconf.*'x'"
+   cat > conftest.$ac_ext <<EOF
+-#line 5584 "configure"
++#line 5586 "configure"
+ #include "confdefs.h"
+ #include <sgtty.h>
+ Autoconf TIOCGETP
+@@ -5594,7 +5600,7 @@
+ 
+   if test $ac_cv_prog_gcc_traditional = no; then
+     cat > conftest.$ac_ext <<EOF
+-#line 5602 "configure"
++#line 5604 "configure"
+ #include "confdefs.h"
+ #include <termio.h>
+ Autoconf TCGETA
+@@ -5620,12 +5626,12 @@
+ for ac_func in dladdr gettid lchown setpriority strerror syscall
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:5628: checking for $ac_func" >&5
++echo "configure:5630: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 5633 "configure"
++#line 5635 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func(); below.  */
+@@ -5648,7 +5654,7 @@
+ 
+ ; return 0; }
+ EOF
+-if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -5700,7 +5706,7 @@
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:5708: checking for $ac_word" >&5
++echo "configure:5710: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_CCACHE'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -5759,7 +5765,7 @@
+ if test -z "$GNU_CC"; then
+ 
+     echo $ac_n "checking for +Olit support""... $ac_c" 1>&6
+-echo "configure:5767: checking for +Olit support" >&5
++echo "configure:5769: checking for +Olit support" >&5
+ if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -5801,7 +5807,7 @@
+ *)
+     
+ echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
+-echo "configure:5809: checking for pthread_create in -lpthreads" >&5
++echo "configure:5811: checking for pthread_create in -lpthreads" >&5
+ echo "
+     #include <pthread.h> 
+     void *foo(void *v) { return v; } 
+@@ -5823,7 +5829,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:5831: checking for pthread_create in -lpthread" >&5
++echo "configure:5833: checking for pthread_create in -lpthread" >&5
+ echo "
+     #include <pthread.h> 
+     void *foo(void *v) { return v; } 
+@@ -5845,7 +5851,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
+-echo "configure:5853: checking for pthread_create in -lc_r" >&5
++echo "configure:5855: checking for pthread_create in -lc_r" >&5
+ echo "
+     #include <pthread.h> 
+     void *foo(void *v) { return v; } 
+@@ -5867,7 +5873,7 @@
+         echo "$ac_t""no" 1>&6
+         
+ echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
+-echo "configure:5875: checking for pthread_create in -lc" >&5
++echo "configure:5877: checking for pthread_create in -lc" >&5
+ echo "
+     #include <pthread.h> 
+     void *foo(void *v) { return v; } 
+@@ -5985,7 +5991,7 @@
+       rm -f conftest*
+    ac_cv_have_dash_pthread=no
+    echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
+-echo "configure:5993: checking whether ${CC-cc} accepts -pthread" >&5
++echo "configure:5995: checking whether ${CC-cc} accepts -pthread" >&5
+    echo 'int main() { return 0; }' | cat > conftest.c
+    ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
+    if test $? -eq 0; then
+@@ -6008,7 +6014,7 @@
+ 			    ac_cv_have_dash_pthreads=no
+     if test "$ac_cv_have_dash_pthread" = "no"; then
+ 	    echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
+-echo "configure:6016: checking whether ${CC-cc} accepts -pthreads" >&5
++echo "configure:6018: checking whether ${CC-cc} accepts -pthreads" >&5
+     	echo 'int main() { return 0; }' | cat > conftest.c
+ 	    ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
+     	if test $? -eq 0; then
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/configure.in seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/configure.in
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/configure.in	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/configure.in	2013-11-29 03:13:30.469604063 +0400
+@@ -15,7 +15,7 @@
+ dnl ========================================================
+ MOD_MAJOR_VERSION=4
+ MOD_MINOR_VERSION=10
+-MOD_PATCH_VERSION=0
++MOD_PATCH_VERSION=2
+ NSPR_MODNAME=nspr20
+ _HAVE_PTHREADS=
+ USE_PTHREADS=
+@@ -1956,6 +1956,17 @@
+         PROFILE_USE_CFLAGS="-GL -wd4624 -wd4952"
+         PROFILE_USE_LDFLAGS="-LTCG:PGUPDATE"
+ 
++        if test "$MSC_VER" -ge "1800"; then
++            dnl Visual C++ 2013 requires -FS when parallel building with
++            dnl make -jN. If not specified, compiler sometimes emits C1041
++            dnl error.
++            CFLAGS="$CFLAGS -FS"
++            dnl -Gw can benefit when using linker optimization on PGO.
++            dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
++            PROFILE_GEN_CFLAGS="$PROFILE_GEN_CFLAGS -Gw"
++            PROFILE_USE_CFLAGS="$PROFILE_USE_CFLAGS -Gw"
++        fi
++
+         if test -z "$MOZ_OPTIMIZE"; then
+             CFLAGS="$CFLAGS -Od"
+         fi
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/lib/ds/plarena.c seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/lib/ds/plarena.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/lib/ds/plarena.c	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/lib/ds/plarena.c	2013-11-29 03:13:30.469604063 +0400
+@@ -153,7 +153,7 @@
+     {
+         a = pool->current;
+         do {
+-            if ( a->avail +nb <= a->limit )  {
++            if ( nb <= a->limit - a->avail )  {
+                 pool->current = a;
+                 rp = (char *)a->avail;
+                 a->avail += nb;
+@@ -171,7 +171,7 @@
+             return(0);
+ 
+         for ( a = arena_freelist, p = NULL; a != NULL ; p = a, a = a->next ) {
+-            if ( a->base +nb <= a->limit )  {
++            if ( nb <= a->limit - a->base )  {
+                 if ( p == NULL )
+                     arena_freelist = a->next;
+                 else
+@@ -196,8 +196,12 @@
+     /* attempt to allocate from the heap */ 
+     {  
+         PRUint32 sz = PR_MAX(pool->arenasize, nb);
++        if (PR_UINT32_MAX - sz < sizeof *a + pool->mask) {
++            a = NULL;
++        } else {
+         sz += sizeof *a + pool->mask;  /* header and alignment slop */
+         a = (PLArena*)PR_MALLOC(sz);
++        }
+         if ( NULL != a )  {
+             a->limit = (PRUword)a + sz;
+             a->base = a->avail = (PRUword)PL_ARENA_ALIGN(pool, a + 1);
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/include/prinit.h seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/include/prinit.h
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/include/prinit.h	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/include/prinit.h	2013-11-29 03:13:30.470604059 +0400
+@@ -31,10 +31,10 @@
+ ** The format of the version string is
+ **     "<major version>.<minor version>[.<patch level>] [<Beta>]"
+ */
+-#define PR_VERSION  "4.10"
++#define PR_VERSION  "4.10.2"
+ #define PR_VMAJOR   4
+ #define PR_VMINOR   10
+-#define PR_VPATCH   0
++#define PR_VPATCH   2
+ #define PR_BETA     PR_FALSE
+ 
+ /*
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/src/md/unix/unix_errors.c seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/src/md/unix/unix_errors.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/src/md/unix/unix_errors.c	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/src/md/unix/unix_errors.c	2013-11-29 03:13:30.470604059 +0400
+@@ -528,9 +528,6 @@
+     PRErrorCode prError;
+ 
+     switch (err) {
+-        case EACCES:
+-            prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
+-            break;
+ #if defined(UNIXWARE)
+         /*
+          * On some platforms, if we connect to a port on the local host 
+@@ -541,12 +538,6 @@
+             prError = PR_CONNECT_REFUSED_ERROR;
+             break;
+ #endif
+-        case ELOOP:
+-            prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
+-            break;
+-        case ENOENT:
+-            prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
+-            break;
+         case ENXIO:
+             prError = PR_IO_ERROR;
+             break;
+@@ -565,17 +556,6 @@
+         case EINVAL:
+             prError = PR_SOCKET_ADDRESS_IS_BOUND_ERROR;
+             break;
+-        /*
+-         * UNIX domain sockets are not supported in NSPR
+-         */
+-        case EIO:
+-        case EISDIR:
+-        case ELOOP:
+-        case ENOENT:
+-        case ENOTDIR:
+-        case EROFS:
+-            prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
+-            break;
+         default:
+             _MD_unix_map_default_error(err);
+             return;
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/src/md/windows/w95sock.c seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/src/md/windows/w95sock.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/src/md/windows/w95sock.c	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/src/md/windows/w95sock.c	2013-11-29 03:13:30.470604059 +0400
+@@ -21,60 +21,6 @@
+ 
+ /* --- SOCKET IO --------------------------------------------------------- */
+ 
+-/*
+- * we only want to call WSAIoctl() on Vista and later
+- * so don't pay for it at build time (and avoid including winsock2.h)
+- */
+-
+-/* from ws2def.h */
+-#define IOC_IN                      0x80000000      /* copy in parameters */
+-#define IOC_VENDOR                  0x18000000
+-#define _WSAIOW(x,y)                (IOC_IN|(x)|(y))
+-/* from MSWSockDef.h */
+-#define SIO_SET_COMPATIBILITY_MODE  _WSAIOW(IOC_VENDOR,300)
+-
+-typedef enum _WSA_COMPATIBILITY_BEHAVIOR_ID {
+-    WsaBehaviorAll = 0,
+-    WsaBehaviorReceiveBuffering,
+-    WsaBehaviorAutoTuning
+-} WSA_COMPATIBILITY_BEHAVIOR_ID, *PWSA_COMPATIBILITY_BEHAVIOR_ID;
+-
+-/* from sdkddkver.h */
+-#define NTDDI_WIN6              0x06000000  /* Windows Vista */
+-
+-/* from winsock2.h */
+-#define WSAEVENT                HANDLE
+-
+-#define WSAOVERLAPPED           OVERLAPPED
+-typedef struct _OVERLAPPED *    LPWSAOVERLAPPED;
+-
+-typedef void (CALLBACK * LPWSAOVERLAPPED_COMPLETION_ROUTINE)(
+-    IN DWORD dwError,
+-    IN DWORD cbTransferred,
+-    IN LPWSAOVERLAPPED lpOverlapped,
+-    IN DWORD dwFlags
+-);
+-
+-typedef int (__stdcall * WSAIOCTLPROC) (
+-    SOCKET s,
+-    DWORD dwIoControlCode,
+-    LPVOID lpvInBuffer,
+-    DWORD cbInBuffer,
+-    LPVOID lpvOutBuffer,
+-    DWORD cbOutBuffer,
+-    LPDWORD lpcbBytesReturned,
+-    LPWSAOVERLAPPED lpOverlapped,
+-    LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
+-);
+-
+-typedef struct _WSA_COMPATIBILITY_MODE {
+-    WSA_COMPATIBILITY_BEHAVIOR_ID BehaviorId;
+-    ULONG TargetOsVersion;
+-} WSA_COMPATIBILITY_MODE, *PWSA_COMPATIBILITY_MODE;
+-
+-static HMODULE libWinsock2 = NULL;
+-static WSAIOCTLPROC wsaioctlProc = NULL;
+-static PRBool socketSetCompatMode = PR_FALSE;
+ static PRBool socketFixInet6RcvBuf = PR_FALSE;
+ 
+ void _PR_MD_InitSockets(void)
+@@ -85,21 +31,7 @@
+     osvi.dwOSVersionInfoSize = sizeof(osvi);
+     GetVersionEx(&osvi);
+ 
+-    /* if Vista or later... */
+-    if (osvi.dwMajorVersion >= 6)
+-    {
+-        libWinsock2 = LoadLibraryW(L"Ws2_32.dll");
+-        if (libWinsock2)
+-        {
+-            wsaioctlProc = (WSAIOCTLPROC)GetProcAddress(libWinsock2, 
+-                                                        "WSAIoctl");
+-            if (wsaioctlProc)
+-            {
+-                socketSetCompatMode = PR_TRUE;
+-            }
+-        }
+-    }
+-    else if (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1)
++    if (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1)
+     {
+         /* if Windows XP (32-bit) */
+         socketFixInet6RcvBuf = PR_TRUE;
+@@ -108,13 +40,7 @@
+ 
+ void _PR_MD_CleanupSockets(void)
+ {
+-    socketSetCompatMode = PR_FALSE;
+-    wsaioctlProc = NULL;
+-    if (libWinsock2)
+-    {
+-        FreeLibrary(libWinsock2);
+-        libWinsock2 = NULL;
+-    }
++    socketFixInet6RcvBuf = PR_FALSE;
+ }
+ 
+ PROsfd
+@@ -141,29 +67,6 @@
+         return -1;
+     }
+ 
+-    if ((af == AF_INET || af == AF_INET6) && 
+-        type == SOCK_STREAM && socketSetCompatMode)
+-    {
+-        WSA_COMPATIBILITY_MODE mode;
+-        char dummy[4];
+-        int ret_dummy;
+-
+-        mode.BehaviorId = WsaBehaviorAutoTuning;
+-        mode.TargetOsVersion = NTDDI_WIN6;
+-        if (wsaioctlProc(sock, SIO_SET_COMPATIBILITY_MODE,  
+-                         (char *)&mode, sizeof(mode),
+-                         dummy, 4, &ret_dummy, 0, NULL) == SOCKET_ERROR)
+-        {
+-            int err = WSAGetLastError();
+-            PR_LOG(_pr_io_lm, PR_LOG_DEBUG, ("WSAIoctl() failed with %d", err));
+-
+-            /* SIO_SET_COMPATIBILITY_MODE may not be supported.
+-            ** If the call to WSAIoctl() fails with WSAEOPNOTSUPP,
+-            ** don't close the socket.
+-            */ 
+-        }
+-    }
+-
+     if (af == AF_INET6 && socketFixInet6RcvBuf)
+     {
+         int bufsize;
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/src/pthreads/ptio.c seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/src/pthreads/ptio.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/src/pthreads/ptio.c	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/src/pthreads/ptio.c	2013-11-29 03:13:30.470604059 +0400
+@@ -4586,7 +4586,7 @@
+ 
+     if (!_pr_initialized) _PR_ImplicitInitialization();
+     fd = pt_SetMethods(osfd, PR_DESC_SOCKET_UDP, PR_FALSE, PR_TRUE);
+-    if (NULL != fd) close(osfd);
++    if (NULL == fd) close(osfd);
+     return fd;
+ }  /* PR_ImportUDPSocket */
+ 
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/tests/vercheck.c seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/tests/vercheck.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/nsprpub/pr/tests/vercheck.c	2013-09-16 22:26:54.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/nsprpub/pr/tests/vercheck.c	2013-11-29 03:13:30.471604054 +0400
+@@ -20,9 +20,9 @@
+ #include <stdlib.h>
+ 
+ /*
+- * This release (4.10) is backward compatible with the
++ * This release (4.10.2) is backward compatible with the
+  * 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x, 4.7.x,
+- * 4.8.x, and 4.9.x releases.
++ * 4.8.x, 4.9.x, 4.10, and 4.10.1 releases.
+  * It, of course, is compatible with itself.
+  */
+ static char *compatible_version[] = {
+@@ -37,6 +37,7 @@
+     "4.8.6", "4.8.7", "4.8.8", "4.8.9",
+     "4.9", "4.9.1", "4.9.2", "4.9.3", "4.9.4", "4.9.5",
+     "4.9.6",
++    "4.10", "4.10.1",
+     PR_VERSION
+ };
+ 
+@@ -52,7 +53,7 @@
+     "3.0", "3.0.1",
+     "3.1", "3.1.1", "3.1.2", "3.1.3",
+     "3.5", "3.5.1",
+-    "4.10.1",
++    "4.10.3",
+     "4.11", "4.11.1",
+     "10.0", "11.1", "12.14.20"
+ };
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/TAG-INFO seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/TAG-INFO
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/TAG-INFO	2013-11-29 02:20:03.352129901 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/TAG-INFO	2013-11-29 03:13:30.471604054 +0400
+@@ -1 +1 @@
+-NSS_3_15_2_RTM
++NSS_3_15_3_RTM
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/coreconf/coreconf.dep seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/coreconf/coreconf.dep
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/coreconf/coreconf.dep	2013-11-29 02:20:03.354129883 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/coreconf/coreconf.dep	2013-11-29 03:13:30.471604054 +0400
+@@ -10,3 +10,4 @@
+  */
+ 
+ #error "Do not include this header file."
++
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certhigh/certvfy.c seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/certhigh/certvfy.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certhigh/certvfy.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/certhigh/certvfy.c	2013-11-29 03:13:30.471604054 +0400
+@@ -1312,7 +1312,7 @@
+ 	PORT_SetError(SEC_ERROR_UNTRUSTED_CERT);
+ 	LOG_ERROR_OR_EXIT(log,cert,0,flags);
+     } else if (trusted) {
+-	goto winner;
++	goto done;
+     }
+ 
+ 
+@@ -1340,7 +1340,10 @@
+ 	}
+     }
+ 
+-winner:
++done:
++    if (log && log->head) {
++      return SECFailure;
++    }
+     return(SECSuccess);
+ 
+ loser:
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/nss/nss.h seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/nss/nss.h
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/nss/nss.h	2013-11-29 02:20:03.362129811 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/nss/nss.h	2013-11-29 03:13:30.471604054 +0400
+@@ -33,10 +33,10 @@
+  * The format of the version string should be
+  *     "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
+  */
+-#define NSS_VERSION  "3.15.2" _NSS_ECC_STRING _NSS_CUSTOMIZED
++#define NSS_VERSION  "3.15.3" _NSS_ECC_STRING _NSS_CUSTOMIZED
+ #define NSS_VMAJOR   3
+ #define NSS_VMINOR   15
+-#define NSS_VPATCH   2
++#define NSS_VPATCH   3
+ #define NSS_VBUILD   0
+ #define NSS_BETA     PR_FALSE
+ 
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/softoken/softkver.h seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/softoken/softkver.h
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/softoken/softkver.h	2013-11-29 02:20:03.364129793 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/softoken/softkver.h	2013-11-29 03:13:30.471604054 +0400
+@@ -25,10 +25,10 @@
+  * The format of the version string should be
+  *     "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
+  */
+-#define SOFTOKEN_VERSION  "3.15.2" SOFTOKEN_ECC_STRING
++#define SOFTOKEN_VERSION  "3.15.3" SOFTOKEN_ECC_STRING
+ #define SOFTOKEN_VMAJOR   3
+ #define SOFTOKEN_VMINOR   15
+-#define SOFTOKEN_VPATCH   2
++#define SOFTOKEN_VPATCH   3
+ #define SOFTOKEN_VBUILD   0
+ #define SOFTOKEN_BETA     PR_FALSE
+ 
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c	2013-11-29 02:20:03.366129775 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c	2013-11-29 03:13:30.473604043 +0400
+@@ -110,31 +110,31 @@
+  { TLS_RSA_WITH_AES_256_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ 
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,        SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,    SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, SSL_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_RC4_128_SHA,          SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,        SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_RC4_128_SHA,          SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+  { TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_DHE_DSS_WITH_RC4_128_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_DHE_RSA_WITH_AES_128_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+  { TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+  { TLS_DHE_DSS_WITH_AES_128_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_DHE_DSS_WITH_RC4_128_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDH_RSA_WITH_RC4_128_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_ECDH_ECDSA_WITH_RC4_128_SHA,         SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_RSA_WITH_RC4_128_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_ECDSA_WITH_RC4_128_SHA,         SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+  { TLS_RSA_WITH_SEED_CBC_SHA,               SSL_ALLOWED, PR_FALSE, PR_FALSE},
+  { TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
+- { SSL_RSA_WITH_RC4_128_SHA,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+- { SSL_RSA_WITH_RC4_128_MD5,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+  { TLS_RSA_WITH_AES_128_CBC_SHA,            SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+  { TLS_RSA_WITH_AES_128_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { SSL_RSA_WITH_RC4_128_SHA,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { SSL_RSA_WITH_RC4_128_MD5,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ 
+ #ifdef NSS_ENABLE_ECC
+  { TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
+@@ -593,8 +593,9 @@
+ }
+ 
+ static PRBool
+-ssl3_CipherSuiteAllowedForVersion(ssl3CipherSuite cipherSuite,
+-				  SSL3ProtocolVersion version)
++ssl3_CipherSuiteAllowedForVersionRange(
++    ssl3CipherSuite cipherSuite,
++    const SSLVersionRange *vrange)
+ {
+     switch (cipherSuite) {
+     /* See RFC 4346 A.5. Export cipher suites must not be used in TLS 1.1 or
+@@ -611,7 +612,7 @@
+      *   SSL_DH_ANON_EXPORT_WITH_RC4_40_MD5:     never implemented
+      *   SSL_DH_ANON_EXPORT_WITH_DES40_CBC_SHA:  never implemented
+      */
+-	return version <= SSL_LIBRARY_VERSION_TLS_1_0;
++	return vrange->min <= SSL_LIBRARY_VERSION_TLS_1_0;
+     case TLS_DHE_RSA_WITH_AES_256_CBC_SHA256:
+     case TLS_RSA_WITH_AES_256_CBC_SHA256:
+     case TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256:
+@@ -623,7 +624,7 @@
+     case TLS_RSA_WITH_AES_128_CBC_SHA256:
+     case TLS_RSA_WITH_AES_128_GCM_SHA256:
+     case TLS_RSA_WITH_NULL_SHA256:
+-	return version >= SSL_LIBRARY_VERSION_TLS_1_2;
++	return vrange->max >= SSL_LIBRARY_VERSION_TLS_1_2;
+     default:
+ 	return PR_TRUE;
+     }
+@@ -766,7 +767,8 @@
+ }
+ 
+ 
+-/* return PR_TRUE if suite matches policy and enabled state */
++/* return PR_TRUE if suite matches policy, enabled state and is applicable to
++ * the given version range. */
+ /* It would be a REALLY BAD THING (tm) if we ever permitted the use
+ ** of a cipher that was NOT_ALLOWED.  So, if this is ever called with
+ ** policy == SSL_NOT_ALLOWED, report no match.
+@@ -774,7 +776,8 @@
+ /* adjust suite enabled to the availability of a token that can do the
+  * cipher suite. */
+ static PRBool
+-config_match(ssl3CipherSuiteCfg *suite, int policy, PRBool enabled)
++config_match(ssl3CipherSuiteCfg *suite, int policy, PRBool enabled,
++	     const SSLVersionRange *vrange)
+ {
+     PORT_Assert(policy != SSL_NOT_ALLOWED && enabled != PR_FALSE);
+     if (policy == SSL_NOT_ALLOWED || !enabled)
+@@ -782,10 +785,13 @@
+     return (PRBool)(suite->enabled &&
+                     suite->isPresent &&
+ 	            suite->policy != SSL_NOT_ALLOWED &&
+-		    suite->policy <= policy);
++		    suite->policy <= policy &&
++		    ssl3_CipherSuiteAllowedForVersionRange(
++                        suite->cipher_suite, vrange));
+ }
+ 
+-/* return number of cipher suites that match policy and enabled state */
++/* return number of cipher suites that match policy, enabled state and are
++ * applicable for the configured protocol version range. */
+ /* called from ssl3_SendClientHello and ssl3_ConstructV2CipherSpecsHack */
+ static int
+ count_cipher_suites(sslSocket *ss, int policy, PRBool enabled)
+@@ -796,7 +802,7 @@
+     	return 0;
+     }
+     for (i = 0; i < ssl_V3_SUITES_IMPLEMENTED; i++) {
+-	if (config_match(&ss->cipherSuites[i], policy, enabled))
++	if (config_match(&ss->cipherSuites[i], policy, enabled, &ss->vrange))
+ 	    count++;
+     }
+     if (count <= 0) {
+@@ -813,6 +819,11 @@
+ Null_Cipher(void *ctx, unsigned char *output, int *outputLen, int maxOutputLen,
+ 	    const unsigned char *input, int inputLen)
+ {
++    if (inputLen > maxOutputLen) {
++        *outputLen = 0;  /* Match PK11_CipherOp in setting outputLen */
++        PORT_SetError(SEC_ERROR_OUTPUT_LEN);
++        return SECFailure;
++    }
+     *outputLen = inputLen;
+     if (input != output)
+ 	PORT_Memcpy(output, input, inputLen);
+@@ -5089,7 +5100,7 @@
+     }
+     for (i = 0; i < ssl_V3_SUITES_IMPLEMENTED; i++) {
+ 	ssl3CipherSuiteCfg *suite = &ss->cipherSuites[i];
+-	if (config_match(suite, ss->ssl3.policy, PR_TRUE)) {
++	if (config_match(suite, ss->ssl3.policy, PR_TRUE, &ss->vrange)) {
+ 	    actual_count++;
+ 	    if (actual_count > num_suites) {
+ 		/* set error card removal/insertion error */
+@@ -6124,16 +6135,20 @@
+     for (i = 0; i < ssl_V3_SUITES_IMPLEMENTED; i++) {
+ 	ssl3CipherSuiteCfg *suite = &ss->cipherSuites[i];
+ 	if (temp == suite->cipher_suite) {
+-	    if (!config_match(suite, ss->ssl3.policy, PR_TRUE)) {
+-		break;	/* failure */
+-	    }
+-	    if (!ssl3_CipherSuiteAllowedForVersion(suite->cipher_suite,
+-						   ss->version)) {
++	    SSLVersionRange vrange = {ss->version, ss->version};
++	    if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) {
++		/* config_match already checks whether the cipher suite is
++		 * acceptable for the version, but the check is repeated here
++		 * in order to give a more precise error code. */
++		if (!ssl3_CipherSuiteAllowedForVersionRange(temp, &vrange)) {
+ 		desc    = handshake_failure;
+ 		errCode = SSL_ERROR_CIPHER_DISALLOWED_FOR_VERSION;
+ 		goto alert_loser;
+ 	    }
+ 	
++		break;	/* failure */
++	    }
++	
+ 	    suite_found = PR_TRUE;
+ 	    break;	/* success */
+ 	}
+@@ -7521,6 +7536,9 @@
+     */
+     if (sid) do {
+ 	ssl3CipherSuiteCfg *suite;
++#ifdef PARANOID
++	SSLVersionRange vrange = {ss->version, ss->version};
++#endif
+ 
+ 	/* Check that the cached compression method is still enabled. */
+ 	if (!compressionEnabled(ss, sid->u.ssl3.compression))
+@@ -7549,7 +7567,7 @@
+ 	 * The product policy won't change during the process lifetime.  
+ 	 * Implemented ("isPresent") shouldn't change for servers.
+ 	 */
+-	if (!config_match(suite, ss->ssl3.policy, PR_TRUE))
++	if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange))
+ 	    break;
+ #else
+ 	if (!suite->enabled)
+@@ -7597,9 +7615,8 @@
+     */
+     for (j = 0; j < ssl_V3_SUITES_IMPLEMENTED; j++) {
+ 	ssl3CipherSuiteCfg *suite = &ss->cipherSuites[j];
+-	if (!config_match(suite, ss->ssl3.policy, PR_TRUE) ||
+-	    !ssl3_CipherSuiteAllowedForVersion(suite->cipher_suite,
+-					       ss->version)) {
++	SSLVersionRange vrange = {ss->version, ss->version};
++	if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) {
+ 	    continue;
+ 	}
+ 	for (i = 0; i + 1 < suites.len; i += 2) {
+@@ -8131,9 +8148,8 @@
+     */
+     for (j = 0; j < ssl_V3_SUITES_IMPLEMENTED; j++) {
+ 	ssl3CipherSuiteCfg *suite = &ss->cipherSuites[j];
+-	if (!config_match(suite, ss->ssl3.policy, PR_TRUE) ||
+-	    !ssl3_CipherSuiteAllowedForVersion(suite->cipher_suite,
+-					       ss->version)) {
++	SSLVersionRange vrange = {ss->version, ss->version};
++	if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) {
+ 	    continue;
+ 	}
+ 	for (i = 0; i+2 < suite_length; i += 3) {
+@@ -11569,7 +11585,7 @@
+     /* ssl3_config_match_init was called by the caller of this function. */
+     for (i = 0; i < ssl_V3_SUITES_IMPLEMENTED; i++) {
+ 	ssl3CipherSuiteCfg *suite = &ss->cipherSuites[i];
+-	if (config_match(suite, SSL_ALLOWED, PR_TRUE)) {
++	if (config_match(suite, SSL_ALLOWED, PR_TRUE, &ss->vrange)) {
+ 	    if (cs != NULL) {
+ 		*cs++ = 0x00;
+ 		*cs++ = (suite->cipher_suite >> 8) & 0xFF;
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslenum.c seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/ssl/sslenum.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslenum.c	2013-11-29 02:20:03.367129766 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/ssl/sslenum.c	2013-11-29 03:13:30.473604043 +0400
+@@ -57,31 +57,31 @@
+ 
+     /* 128-bit */
+ #ifdef NSS_ENABLE_ECC
+-    TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
+     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
+-    TLS_ECDHE_RSA_WITH_RC4_128_SHA,
++    TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
+     TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
++    TLS_ECDHE_RSA_WITH_RC4_128_SHA,
+ #endif /* NSS_ENABLE_ECC */
+     TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,
+     TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,
+-    TLS_DHE_DSS_WITH_RC4_128_SHA,
+     TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
+     TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
+     TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
++    TLS_DHE_DSS_WITH_RC4_128_SHA,
+ #ifdef NSS_ENABLE_ECC
+-    TLS_ECDH_RSA_WITH_RC4_128_SHA,
+     TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,
+-    TLS_ECDH_ECDSA_WITH_RC4_128_SHA,
++    TLS_ECDH_RSA_WITH_RC4_128_SHA,
+     TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,
++    TLS_ECDH_ECDSA_WITH_RC4_128_SHA,
+ #endif /* NSS_ENABLE_ECC */
+     TLS_RSA_WITH_SEED_CBC_SHA,
+     TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,
+-    SSL_RSA_WITH_RC4_128_SHA,
+-    SSL_RSA_WITH_RC4_128_MD5,
+     TLS_RSA_WITH_AES_128_CBC_SHA,
+     TLS_RSA_WITH_AES_128_CBC_SHA256,
++    SSL_RSA_WITH_RC4_128_SHA,
++    SSL_RSA_WITH_RC4_128_MD5,
+ 
+     /* 112-bit 3DES */
+ #ifdef NSS_ENABLE_ECC
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/nssutil.h seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/util/nssutil.h
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/nssutil.h	2013-11-29 02:20:03.369129746 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/util/nssutil.h	2013-11-29 03:13:30.473604043 +0400
+@@ -19,10 +19,10 @@
+  * The format of the version string should be
+  *     "<major version>.<minor version>[.<patch level>[.<build number>]][ <Beta>]"
+  */
+-#define NSSUTIL_VERSION  "3.15.2"
++#define NSSUTIL_VERSION  "3.15.3"
+ #define NSSUTIL_VMAJOR   3
+ #define NSSUTIL_VMINOR   15
+-#define NSSUTIL_VPATCH   2
++#define NSSUTIL_VPATCH   3
+ #define NSSUTIL_VBUILD   0
+ #define NSSUTIL_BETA     PR_FALSE
+ 
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/secport.c seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/util/secport.c
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/secport.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/security/nss/lib/util/secport.c	2013-11-29 03:13:30.473604043 +0400
+@@ -69,13 +69,22 @@
+ PORTCharConversionFunc ucs2Utf8ConvertFunc;
+ PORTCharConversionWSwapFunc  ucs2AsciiConvertFunc;
+ 
++/* NSPR memory allocation functions (PR_Malloc, PR_Calloc, and PR_Realloc)
++ * use the PRUint32 type for the size parameter. Before we pass a size_t or
++ * unsigned long size to these functions, we need to ensure it is <= half of
++ * the maximum PRUint32 value to avoid truncation and catch a negative size.
++ */
++#define MAX_SIZE (PR_UINT32_MAX >> 1)
++
+ void *
+ PORT_Alloc(size_t bytes)
+ {
+-    void *rv;
++    void *rv = NULL;
+ 
++    if (bytes <= MAX_SIZE) {
+     /* Always allocate a non-zero amount of bytes */
+-    rv = (void *)PR_Malloc(bytes ? bytes : 1);
++	rv = PR_Malloc(bytes ? bytes : 1);
++    }
+     if (!rv) {
+ 	++port_allocFailures;
+ 	PORT_SetError(SEC_ERROR_NO_MEMORY);
+@@ -86,9 +95,11 @@
+ void *
+ PORT_Realloc(void *oldptr, size_t bytes)
+ {
+-    void *rv;
++    void *rv = NULL;
+ 
+-    rv = (void *)PR_Realloc(oldptr, bytes);
++    if (bytes <= MAX_SIZE) {
++	rv = PR_Realloc(oldptr, bytes);
++    }
+     if (!rv) {
+ 	++port_allocFailures;
+ 	PORT_SetError(SEC_ERROR_NO_MEMORY);
+@@ -99,10 +110,12 @@
+ void *
+ PORT_ZAlloc(size_t bytes)
+ {
+-    void *rv;
++    void *rv = NULL;
+ 
++    if (bytes <= MAX_SIZE) {
+     /* Always allocate a non-zero amount of bytes */
+-    rv = (void *)PR_Calloc(1, bytes ? bytes : 1);
++	rv = PR_Calloc(1, bytes ? bytes : 1);
++    }
+     if (!rv) {
+ 	++port_allocFailures;
+ 	PORT_SetError(SEC_ERROR_NO_MEMORY);
+@@ -209,6 +222,10 @@
+ {
+     PORTArenaPool *pool;
+     
++    if (chunksize > MAX_SIZE) {
++	PORT_SetError(SEC_ERROR_NO_MEMORY);
++	return NULL;
++    }
+     pool = PORT_ZNew(PORTArenaPool);
+     if (!pool) {
+ 	return NULL;
+@@ -224,8 +241,6 @@
+     return(&pool->arena);
+ }
+ 
+-#define MAX_SIZE 0x7fffffffUL
+-
+ void *
+ PORT_ArenaAlloc(PLArenaPool *arena, size_t size)
+ {
+@@ -330,6 +345,11 @@
+     PORTArenaPool *pool = (PORTArenaPool *)arena;
+     PORT_Assert(newsize >= oldsize);
+     
++    if (newsize > MAX_SIZE) {
++	PORT_SetError(SEC_ERROR_NO_MEMORY);
++	return NULL;
++    }
++
+     if (ARENAPOOL_MAGIC == pool->magic ) {
+ 	PZ_Lock(pool->lock);
+ 	/* Do we do a THREADMARK check here? */
+diff -Nrbu seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/library/Makefile.in seamonkey-2.21-esr1.1/comm-release/mozilla/toolkit/library/Makefile.in
+--- seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/library/Makefile.in	2013-09-16 22:27:00.000000000 +0400
++++ seamonkey-2.21-esr1.1/comm-release/mozilla/toolkit/library/Makefile.in	2013-11-29 03:13:30.473604043 +0400
+@@ -121,7 +121,7 @@
+ 
+ symverscript: symverscript.in
+ 	$(PYTHON) $(topsrcdir)/config/Preprocessor.py \
+-		-DVERSION="$(LIBRARY_NAME)$(MOZILLA_VERSION)" $< > $@
++		-DVERSION="$(LIBRARY_NAME)$(MOZILLA_SYMBOLVERSION)" $< > $@
+ 
+ EXTRA_DEPS += symverscript
+ endif
diff --git a/seamonkey-2.21-esr1.0.patch b/seamonkey-2.21-esr1.0.patch
new file mode 100644
index 0000000..325bfeb
--- /dev/null
+++ b/seamonkey-2.21-esr1.0.patch
@@ -0,0 +1,19231 @@
+diff -Nrbu seamonkey-2.21/comm-release/calendar/base/modules/OAuth2.jsm seamonkey-2.21-esr1.0/comm-release/calendar/base/modules/OAuth2.jsm
+--- seamonkey-2.21/comm-release/calendar/base/modules/OAuth2.jsm	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/base/modules/OAuth2.jsm	2013-11-29 02:20:03.258130427 +0400
+@@ -88,8 +88,12 @@
+             _active: true,
+             iconURI: "",
+             cancelled: function() {
+-                if (!this._active)
++                if (!this._active) {
+                     return;
++                }
++
++                this.account.finishAuthorizationRequest();
++                this.account.onAuthorizationFailed();
+             },
+ 
+             loaded: function (aWindow, aWebProgress) {
+@@ -150,12 +154,18 @@
+         this._browserRequest._listener._cleanUp();
+       delete this._browserRequest;
+     },
++
+     onAuthorizationReceived: function(aData) {
+       this.log.info("authorization received" + aData);
+       let results = parseURLData(aData);
+       this.requestAccessToken(results.code, OAuth2.CODE_AUTHORIZATION);
+     },
+ 
++    onAuthorizationFailed: function() {
++        this.connecting = false;
++        this.connectFailureCallback();
++    },
++
+     requestAccessToken: function requestAccessToken(aCode, aType) {
+ 
+         let params = [
+diff -Nrbu seamonkey-2.21/comm-release/calendar/base/modules/calAuthUtils.jsm seamonkey-2.21-esr1.0/comm-release/calendar/base/modules/calAuthUtils.jsm
+--- seamonkey-2.21/comm-release/calendar/base/modules/calAuthUtils.jsm	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/base/modules/calAuthUtils.jsm	2013-11-29 02:20:03.284130582 +0400
+@@ -95,7 +95,9 @@
+                 Services.logins.addLogin(newLoginInfo);
+             }
+         } catch (exc) {
+-            cal.ASSERT(false, exc);
++            // Only show the message if its not an abort, which can happen if
++            // the user canceled the master password dialog
++            cal.ASSERT(exc.result == Components.results.NS_ERROR_ABORT, exc);
+         }
+     },
+ 
+diff -Nrbu seamonkey-2.21/comm-release/calendar/base/modules/calItipUtils.jsm seamonkey-2.21-esr1.0/comm-release/calendar/base/modules/calItipUtils.jsm
+--- seamonkey-2.21/comm-release/calendar/base/modules/calItipUtils.jsm	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/base/modules/calItipUtils.jsm	2013-11-29 02:20:03.284130585 +0400
+@@ -1206,7 +1206,15 @@
+                                             let firstFoundItem = this.mFoundItems.length && this.mFoundItems[0];
+                                             let foundAttendee = firstFoundItem.getAttendeeById(att.id);
+ 
+-                                            if (foundAttendee.participationStatus == "NEEDS-ACTION") {
++                                            // If the the user hasn't responded to the invitation yet and we
++                                            // are viewing the current representation of the item, show the
++                                            // accept/decline buttons. This means newer events will show the
++                                            // "Update" button and older events will show the "already
++                                            // processed" text.
++                                            if (foundAttendee.participationStatus == "NEEDS-ACTION" &&
++                                                (item.calendar.getProperty("itip.disableRevisionChecks") ||
++                                                 cal.itip.compare(itipItemItem, item) == 0)) {
++
+                                                 actionMethod = "REQUEST:NEEDS-ACTION";
+                                                 operations.push(function(opListener, partStat) {
+                                                     let changedItem = firstFoundItem.clone();
+diff -Nrbu seamonkey-2.21/comm-release/calendar/lightning/themes/osx/lightning.css seamonkey-2.21-esr1.0/comm-release/calendar/lightning/themes/osx/lightning.css
+--- seamonkey-2.21/comm-release/calendar/lightning/themes/osx/lightning.css	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/lightning/themes/osx/lightning.css	2013-11-29 02:20:03.284130585 +0400
+@@ -179,6 +179,13 @@
+   width: 3px;
+ }
+ 
++#calsidebar_splitter[state="collapsed"] {
++  min-width: 5px;
++  width: 5px;
++  -moz-margin-start: 1px;
++  background: url("chrome://global/skin/splitter/dimple.png") transparent no-repeat center;
++}
++
+ #today-splitter {
+   -moz-border-start: 1px solid #8B8B8B;
+   -moz-margin-end: -2px;
+diff -Nrbu seamonkey-2.21/comm-release/calendar/providers/caldav/calDavCalendar.js seamonkey-2.21-esr1.0/comm-release/calendar/providers/caldav/calDavCalendar.js
+--- seamonkey-2.21/comm-release/calendar/providers/caldav/calDavCalendar.js	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/providers/caldav/calDavCalendar.js	2013-11-29 02:20:03.285130566 +0400
+@@ -4,6 +4,7 @@
+ 
+ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
+ Components.utils.import("resource://gre/modules/Services.jsm");
++Components.utils.import("resource://gre/modules/Timer.jsm");
+ 
+ Components.utils.import("resource://calendar/modules/calUtils.jsm");
+ Components.utils.import("resource://calendar/modules/calXMLUtils.jsm");
+@@ -21,6 +22,8 @@
+ const davNS = "DAV:"
+ const caldavNS = "urn:ietf:params:xml:ns:caldav";
+ const calservNS = "http://calendarserver.org/ns/";
++const MIME_TEXT_CALENDAR = "text/calendar; charset=utf-8";
++const MIME_TEXT_XML = "text/xml; charset=utf-8";
+ 
+ const cICL = Components.interfaces.calIChangeLog;
+ const cIOL = Components.interfaces.calIOperationListener;
+@@ -320,18 +323,32 @@
+         this.ensureMetaData();
+     },
+ 
+-    prepHttpChannel: function(aUri, aUploadData, aContentType, aNotificationCallbacks, aExisting) {
+-        let channel = cal.prepHttpChannel.apply(cal, arguments);
+-
+-        // Google does its CalDAV v2 authentication via OAuth. Since there is
+-        // no builtin OAuth support, we have to inject the tokens here.
+-        if (aUri && aUri.host == "apidata.googleusercontent.com" &&
+-            this.oauth && this.oauth.accessToken) {
+-            let hdr = "Bearer " + this.oauth.accessToken;
++    sendHttpRequest: function(aUri, aUploadData, aContentType, aExisting, aSetupChannelFunc, aFailureFunc, aUseStreamLoader=true) {
++        let usesGoogleOAuth = (aUri && aUri.host == "apidata.googleusercontent.com" &&
++                               this.oauth && this.oauth.accessToken);
++        let self = this;
++        function authSuccess() {
++            let channel = cal.prepHttpChannel(aUri, aUploadData, aContentType, self, aExisting);
++            if (usesGoogleOAuth) {
++                let hdr = "Bearer " + self.oauth.accessToken;
+             channel.setRequestHeader("Authorization", hdr, false);
+         }
++            let listener = aSetupChannelFunc(channel);
++            if (aUseStreamLoader) {
++                let loader = cal.createStreamLoader();
++                loader.init(listener);
++                listener = loader;
++            }
++            channel.asyncOpen(listener, channel);
++        }
+ 
+-        return channel;
++        if (usesGoogleOAuth && this.oauth.tokenExpires < (new Date()).getTime()) {
++            // The token has expired, we need to reauthenticate first
++            this.oauth.connect(authSuccess, aFailureFunc, true, true);
++        } else {
++            // Either not Google OAuth, or the token is still valid.
++            authSuccess();
++        }
+     },
+ 
+     //
+@@ -561,26 +578,22 @@
+      * @param aIgnoreEtag flag to indicate ignoring of Etag
+      */
+     doAdoptItem: function caldav_doAdoptItem(aItem, aListener, aIgnoreEtag) {
++        let notifyListener = (status, detail, pure=false) => {
++            let method = pure ? "notifyPureOperationComplete" : "notifyOperationComplete";
++            this[method](aListener, status, cIOL.ADD, aItem.id, detail);
++        };
+         if (aItem.id == null && aItem.isMutable) {
+             aItem.id = cal.getUUID();
+         }
+ 
+         if (aItem.id == null) {
+-            this.notifyOperationComplete(aListener,
+-                                         Components.results.NS_ERROR_FAILURE,
+-                                         cIOL.ADD,
+-                                         aItem.id,
++            return notifyListener(Components.results.NS_ERROR_FAILURE,
+                                          "Can't set ID on non-mutable item to addItem");
+-            return;
+         }
+ 
+         if (!isItemSupported(aItem, this)) {
+-            this.notifyOperationComplete(aListener,
+-                                         Components.results.NS_ERROR_FAILURE,
+-                                         cIOL.ADD,
+-                                         aItem.id,
++            return notifyListener(Components.results.NS_ERROR_FAILURE,
+                                          "Server does not support item type");
+-            return;
+         }
+ 
+         let parentItem = aItem.parentItem;
+@@ -645,24 +658,19 @@
+                 }
+ 
+                 // Finally, notify listener.
+-                thisCalendar.notifyPureOperationComplete(aListener,
+-                                                         listenerStatus,
+-                                                         cIOL.ADD,
+-                                                         parentItem.id,
+-                                                         listenerDetail);
++                notifyListener(listenerStatus, listenerDetail, true);
+             }
+         };
+ 
+-        let httpchannel = this.prepHttpChannel(itemUri,
+-                                               serializedItem,
+-                                               "text/calendar; charset=utf-8",
+-                                               this);
+-
++        this.sendHttpRequest(itemUri, serializedItem, MIME_TEXT_CALENDAR, null, (channel) => {
+         if (!aIgnoreEtag) {
+-            httpchannel.setRequestHeader("If-None-Match", "*", false);
++                channel.setRequestHeader("If-None-Match", "*", false);
+         }
+-
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, addListener);
++            return addListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                           "Error preparing http channel");
++        });
+     },
+ 
+     /**
+@@ -685,13 +693,13 @@
+      * @param aIgnoreEtag ignore item etag
+      */
+     doModifyItem: function caldav_doModifyItem(aNewItem, aOldItem, aListener, aIgnoreEtag){
++        let notifyListener = (status, detail, pure=false) => {
++            let method = pure ? "notifyPureOperationComplete" : "notifyOperationComplete";
++            this[method](aListener, status, cIOL.MODIFY, aNewItem.id, detail);
++        };
+         if (aNewItem.id == null) {
+-            this.notifyOperationComplete(aListener,
+-                                         Components.results.NS_ERROR_FAILURE,
+-                                         cIOL.MODIFY,
+-                                         aItem.id,
++            return notifyListener(Components.results.NS_ERROR_FAILURE,
+                                          "ID for modifyItem doesn't exist or is null");
+-            return;
+         }
+ 
+         let wasInboxItem = this.mItemInfoCache[aNewItem.id].isInboxItem;
+@@ -770,27 +778,21 @@
+                     thisCalendar.reportDavError(calIErrors.DAV_PUT_ERROR, listenerStatus, listenerDetail);
+                 }
+ 
+-                // Finally, notify listener.
+-                thisCalendar.notifyPureOperationComplete(aListener,
+-                                                         listenerStatus,
+-                                                         cIOL.MODIFY,
+-                                                         aNewItem.id,
+-                                                         listenerDetail);
++                notifyListener(listenerStatus, listenerDetail, true);
+             }
+         };
+ 
+-        let httpchannel = this.prepHttpChannel(eventUri,
+-                                               modifiedItemICS,
+-                                               "text/calendar; charset=utf-8",
+-                                               this);
+-
++        this.sendHttpRequest(eventUri, modifiedItemICS, MIME_TEXT_CALENDAR, null, (channel) => {
+         if (!aIgnoreEtag) {
+-            httpchannel.setRequestHeader("If-Match",
++                channel.setRequestHeader("If-Match",
+                                          this.mItemInfoCache[aNewItem.id].etag,
+                                          false);
+         }
+-
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, modListener);
++            return modListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                           "Error preparing http channel");
++        });
+     },
+ 
+     /**
+@@ -814,13 +816,14 @@
+      * @param aUri        uri of item to delete
+      * */
+     doDeleteItem: function caldav_doDeleteItem(aItem, aListener, aIgnoreEtag, aFromInbox, aUri){
++        let notifyListener = (status, detail, pure=false) => {
++            let method = pure ? "notifyPureOperationComplete" : "notifyOperationComplete";
++            this[method](aListener, status, cIOL.DELETE, aItem.id, detail);
++        };
++
+         if (aItem.id == null) {
+-            this.notifyOperationComplete(aListener,
+-                                         Components.results.NS_ERROR_FAILURE,
+-                                         cIOL.DELETE,
+-                                         aItem.id,
++            return notifyListener(Components.results.NS_ERROR_FAILURE,
+                                          "ID doesn't exist for deleteItem");
+-            return;
+         }
+ 
+         var eventUri;
+@@ -833,13 +836,9 @@
+         }
+ 
+         if (eventUri.path == this.calendarUri.path) {
+-            this.notifyOperationComplete(aListener,
+-                                         Components.results.NS_ERROR_FAILURE,
+-                                         Components.interfaces.calIOperationListener.DELETE,
+-                                         aItem.id,
++            return notifyListener(Components.results.NS_ERROR_FAILURE,
+                                          "eventUri and calendarUri paths are the same, " +
+                                          "will not go on to delete entire calendar");
+-            return;
+         }
+ 
+         var thisCalendar = this;
+@@ -883,13 +882,14 @@
+                 } else if (responseStatus == 412 || responseStatus == 409) {
+                     // item has either been modified or deleted by someone else check to see which
+                     cal.LOG("CalDAV: Item has been modified on server, checking if it has been deleted");
+-                    let httpchannel2 = thisCalendar.prepHttpChannel(eventUri,
+-                                                                    null,
+-                                                                    null,
+-                                                                    thisCalendar);
+-                    httpchannel2.requestMethod = "HEAD";
+-                    cal.sendHttpRequest(cal.createStreamLoader(), httpchannel2, delListener2);
+-                    return;
++                    thisCalendar.sendHttpRequest(eventUri, null, null, null, (channel) => {
++                        channel.requestMethod = "HEAD";
++                        return delListener2;
++                    }, () => {
++                        notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                                       "Error preparing http channel");
++                    });
++                    return
+                 } else if (responseStatus >= 500 && responseStatus <= 510) {
+                     listenerStatus = Components.results.NS_ERROR_NOT_AVAILABLE;
+                     listenerDetail = "Server Replied with " + responseStatus;
+@@ -908,11 +908,7 @@
+                 }
+ 
+                 // Finally, notify listener.
+-                thisCalendar.notifyPureOperationComplete(aListener,
+-                                                         listenerStatus,
+-                                                         cIOL.DELETE,
+-                                                         aItem.id,
+-                                                         listenerDetail);
++                notifyListener(listenerStatus, listenerDetail);
+             }
+         };
+ 
+@@ -949,11 +945,7 @@
+                 }
+ 
+                 // Finally, notify listener.
+-                thisCalendar.notifyPureOperationComplete(aListener,
+-                                                         listenerStatus,
+-                                                         cIOL.DELETE,
+-                                                         aItem.id,
+-                                                         listenerDetail);
++                notifyListener(listenerstatus, listenerDetail, true);
+             }
+         };
+ 
+@@ -961,15 +953,18 @@
+             cal.LOG("CalDAV: Deleting " + eventUri.spec);
+         }
+ 
+-        let httpchannel = this.prepHttpChannel(eventUri, null, null, this);
++        this.sendHttpRequest(eventUri, null, null, null, (channel) => {
+         if (!aIgnoreEtag) {
+             let etag = this.mItemInfoCache[aItem.id].etag;
+             cal.LOG("CalDAV: Will only delete if matches etag " + etag);
+-            httpchannel.setRequestHeader("If-Match", etag, false);
++                channel.setRequestHeader("If-Match", etag, false);
+         }
+-        httpchannel.requestMethod = "DELETE";
+-
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, delListener);
++            channel.requestMethod = "DELETE";
++            return delListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                           "Error preparing http channel");
++        });
+     },
+ 
+     /**
+@@ -1286,6 +1281,12 @@
+     },
+ 
+     safeRefresh: function caldav_safeRefresh(aChangeLogListener) {
++        let notifyListener = (status) => {
++            if (this.isCached && aChangeLogListener) {
++                aChangeLogListener.onResult({ status: status }, status);
++            }
++        };
++
+         if (!this.mACLEntry) {
+             let thisCalendar = this;
+             let opListener = {
+@@ -1310,7 +1311,7 @@
+             // we can't risk several calendars doing this simultaneously so
+             // we'll force the renegotiation in a sync query, using OPTIONS to keep
+             // it quick
+-            let headchannel = this.prepHttpChannel(this.makeUri(), null, null, this);
++            let headchannel = cal.prepHttpChannel(this.makeUri(), null, null, this);
+             headchannel.requestMethod = "OPTIONS";
+             headchannel.open();
+             headchannel.QueryInterface(Components.interfaces.nsIHttpChannel);
+@@ -1321,10 +1322,7 @@
+             }
+             catch (e) {
+                 cal.WARN("CalDAV: Exception: " + e);
+-                if (aChangeLogListener) {
+-                    aChangeLogListener.onResult({ status: Components.results.NS_ERROR_FAILURE },
+-                                                Components.results.NS_ERROR_FAILURE);
+-                }
++                notifyListener(Components.results.NS_ERROR_FAILURE);
+             }
+         }
+ 
+@@ -1349,12 +1347,6 @@
+         if (this.verboseLogging()) {
+             cal.LOG("CalDAV: send(" + this.makeUri().spec + "): " + queryXml);
+         }
+-        let httpchannel = this.prepHttpChannel(this.makeUri(),
+-                                               queryXml,
+-                                               "text/xml; charset=utf-8",
+-                                               this);
+-        httpchannel.setRequestHeader("Depth", "0", false);
+-        httpchannel.requestMethod = "PROPFIND";
+ 
+         var streamListener = {};
+         streamListener.onStreamComplete =
+@@ -1366,21 +1358,13 @@
+             } catch (ex) {
+                 cal.LOG("CalDAV: Error without status on checking ctag for calendar " +
+                         thisCalendar.name);
+-                if (thisCalendar.isCached && aChangeLogListener) {
+-                    aChangeLogListener.onResult({ status: Components.results.NS_OK },
+-                                                Components.results.NS_OK);
+-                }
+-                return;
++                return notifyListener(Components.results.NS_OK);
+             }
+ 
+             if (request.responseStatus == 404) {
+                 cal.LOG("CalDAV: Disabling calendar " + thisCalendar.name +
+                         " due to 404");
+-                if (thisCalendar.isCached && aChangeLogListener) {
+-                    aChangeLogListener.onResult({ status: Components.results.NS_ERROR_FAILURE },
+-                                                Components.results.NS_ERROR_FAILURE);
+-                }
+-                return;
++                return notifyListener(Components.results.NS_ERROR_FAILURE);
+             } else if (request.responseStatus == 207 && thisCalendar.mDisabled) {
+                 // Looks like the calendar is there again, check its resource
+                 // type first.
+@@ -1401,11 +1385,7 @@
+             } catch (ex) {
+                 cal.LOG("CalDAV: Failed to get ctag from server for calendar " +
+                         thisCalendar.name);
+-                if (thisCalendar.isCached && aChangeLogListener) {
+-                    aChangeLogListener.onResult({ status: Components.results.NS_OK },
+-                                                Components.results.NS_OK);
+-                }
+-                return;
++                return notifyListener(Components.results.NS_OK);
+             }
+ 
+             let ctag = caldavXPathFirst(multistatus, "/D:multistatus/D:response/D:propstat/D:prop/CS:getctag/text()");
+@@ -1426,18 +1406,23 @@
+                             "calendar " + thisCalendar.name);
+                 }
+ 
+-                if (thisCalendar.isCached && aChangeLogListener) {
+-                    aChangeLogListener.onResult({ status: Components.results.NS_OK },
+-                                                Components.results.NS_OK);
+-                }
++                // Notify the listener, but don't return just yet...
++                notifyListener(Components.results.NS_OK);
+ 
+-                // we may still need to poll the inbox
++                // ...we may still need to poll the inbox
+                 if (thisCalendar.firstInRealm()) {
+                     thisCalendar.pollInbox();
+                 }
+             }
+         };
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++
++        this.sendHttpRequest(this.makeUri(), queryXml, MIME_TEXT_XML, null, (channel) => {
++            channel.setRequestHeader("Depth", "0", false);
++            channel.requestMethod = "PROPFIND";
++            return streamListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE);
++        });
+     },
+ 
+     refresh: function caldav_refresh() {
+@@ -1505,16 +1490,16 @@
+             cal.LOG("CalDAV: send(" + requestUri.spec + "): " + queryXml);
+         }
+ 
+-        let httpchannel = this.prepHttpChannel(requestUri,
+-                                               queryXml,
+-                                               "text/xml; charset=utf-8",
+-                                               this);
+-        httpchannel.requestMethod = "PROPFIND";
+-        httpchannel.setRequestHeader("Depth", "1", false);
+-
+-        // Submit the request
+-        let streamListener = new etagsHandler(this, aUri, aChangeLogListener);
+-        httpchannel.asyncOpen(streamListener, httpchannel);
++        this.sendHttpRequest(requestUri, queryXml, MIME_TEXT_XML, null, (channel) => {
++            channel.requestMethod = "PROPFIND";
++            channel.setRequestHeader("Depth", "1", false);
++            return new etagsHandler(this, aUri, aChangeLogListener);
++        }, () => {
++            if (aChangeLogListener && this.isCached) {
++                aChangeLogListener.onResult({ status: Components.results.NS_ERROR_NOT_AVAILABLE },
++                                            Components.results.NS_ERROR_NOT_AVAILABLE);
++            }
++        }, false);
+     },
+ 
+     /**
+@@ -1550,6 +1535,26 @@
+             self.setProperty("auto-enabled", "true");
+             self.completeCheckServerInfo(aChangeLogListener, Components.results.NS_ERROR_FAILURE);
+         }
++        function connect() {
++            // Use the async prompter to avoid multiple master password prompts
++            let promptlistener = {
++                onPromptStart: function() {
++                    // Usually this function should be synchronous. The OAuth
++                    // connection itself is asynchronous, but if a master
++                    // password is prompted it will block on that.
++                    this.onPromptAuthAvailable();
++                    return true;
++                },
++
++                onPromptAuthAvailable: function() {
++                    self.oauth.connect(authSuccess, authFailed, true);
++                },
++                onPromptCanceled: authFailed
++            };
++            let asyncprompter = Components.classes["@mozilla.org/messenger/msgAsyncPrompter;1"]
++                                          .getService(Components.interfaces.nsIMsgAsyncPrompter);
++            asyncprompter.queueAsyncAuthPrompt(self.uri.spec, false, promptlistener);
++        }
+         if (this.mUri.host == "apidata.googleusercontent.com") {
+             if (!this.oauth) {
+                 this.oauth = new OAuth2(OAUTH_BASE_URI, OAUTH_SCOPE,
+@@ -1561,17 +1566,25 @@
+                     get: function getRefreshToken() {
+                         if (!this.mRefreshToken) {
+                             var pass = { value: null };
++                            try {
+                             cal.auth.passwordManagerGet(sessionId, pass, sessionId, pwMgrId);
++                            } catch (e if e.result == Components.results.NS_ERROR_ABORT) {
++                                // User might have cancelled the master password prompt, thats ok
++                            }
+                             this.mRefreshToken = pass.value;
+                         }
+                         return this.mRefreshToken;
+                     },
+                     set: function setRefreshToken(val) {
++                        try {
+                         if (!val) {
+                             cal.auth.passwordManagerRemove(sessionId, sessionId, pwMgrId);
+                         } else {
+                             cal.auth.passwordManagerSave(sessionId, val, sessionId, pwMgrId);
+                         }
++                        } catch (e if e.result == Components.results.NS_ERROR_ABORT) {
++                            // User might have cancelled the master password prompt, thats ok
++                        }
+                         return (this.mRefreshToken = val);
+                     },
+                     enumerable: true
+@@ -1581,7 +1594,20 @@
+             if (this.oauth.accessToken) {
+                 authSuccess();
+             } else {
+-                this.oauth.connect(authSuccess, authFailed, true);
++                // bug 901329: If the calendar window isn't loaded yet the
++                // master password prompt will show just the buttons and
++                // possibly hang. If we postpone until the window is loaded,
++                // all is well.
++                function postpone() {
++                    let win = cal.getCalendarWindow();
++                    if (!win || win.document.readyState != "complete") {
++                        setTimeout(postpone, 0);
++                    } else {
++                        connect();
++                    }
++                }
++
++                setTimeout(postpone, 0);
+             }
+         } else {
+             authSuccess();
+@@ -1621,13 +1647,6 @@
+         if (this.verboseLogging()) {
+             cal.LOG("CalDAV: send: " + queryXml);
+         }
+-        let httpchannel = this.prepHttpChannel(this.makeUri(),
+-                                               queryXml,
+-                                               "text/xml; charset=utf-8",
+-                                               this);
+-        httpchannel.setRequestHeader("Depth", "0", false);
+-        httpchannel.requestMethod = "PROPFIND";
+-
+         var streamListener = {};
+ 
+         streamListener.onStreamComplete =
+@@ -1793,7 +1812,15 @@
+             thisCalendar.setCalHomeSet(true);
+             thisCalendar.checkServerCaps(aChangeLogListener);
+         };
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++
++        this.sendHttpRequest(this.makeUri(), queryXml, MIME_TEXT_XML, null, (channel) => {
++            channel.setRequestHeader("Depth", "0", false);
++            channel.requestMethod = "PROPFIND";
++            return streamListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                           "Error preparing http channel");
++        });
+     },
+ 
+     /**
+@@ -1810,9 +1837,6 @@
+         let homeSet = this.makeUri(null, this.mCalHomeSet);
+         var thisCalendar = this;
+ 
+-        let httpchannel = this.prepHttpChannel(homeSet, null, null, this);
+-
+-        httpchannel.requestMethod = "OPTIONS";
+         if (this.verboseLogging()) {
+             cal.LOG("CalDAV: send: OPTIONS " + homeSet.spec);
+         }
+@@ -1892,7 +1916,13 @@
+             }
+         };
+ 
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++        this.sendHttpRequest(homeSet, null, null, null, (channel) => {
++            channel.requestMethod = "OPTIONS";
++            return streamListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                           "Error preparing http channel");
++        });
+     },
+ 
+     /**
+@@ -1928,14 +1958,6 @@
+         if (this.verboseLogging()) {
+             cal.LOG("CalDAV: send: " + homeSet.spec + "\n"  + queryXml);
+         }
+-        let httpchannel = this.prepHttpChannel(homeSet,
+-                                               queryXml,
+-                                               "text/xml; charset=utf-8",
+-                                               this);
+-
+-        httpchannel.setRequestHeader("Depth", "0", false);
+-        httpchannel.requestMethod = "PROPFIND";
+-
+         var streamListener = {};
+         streamListener.onStreamComplete =
+             function findInOutboxes_oSC(aLoader, aContext, aStatus,
+@@ -1977,7 +1999,13 @@
+             thisCalendar.checkPrincipalsNameSpace(nsList, aChangeLogListener);
+         };
+ 
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++        this.sendHttpRequest(homeSet, queryXml, MIME_TEXT_XML, null, (channel) => {
++            channel.setRequestHeader("Depth", "0", false);
++            channel.requestMethod = "PROPFIND";
++            return streamListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE);
++        });
+     },
+ 
+     /**
+@@ -2056,18 +2084,6 @@
+             cal.LOG("CalDAV: send: " + queryMethod + " " + requestUri.spec + "\n" + queryXml);
+         }
+ 
+-        let httpchannel = this.prepHttpChannel(requestUri,
+-                                               queryXml,
+-                                               "text/xml; charset=utf-8",
+-                                               this);
+-
+-        httpchannel.requestMethod = queryMethod;
+-        if (queryDepth == 0) {
+-            // Set header, doing this for Depth: 1 is not needed since thats the
+-            // default.
+-            httpchannel.setRequestHeader("Depth", "0", false);
+-        }
+-
+         var streamListener = {};
+         streamListener.onStreamComplete =
+             function caldav_cPNS_oSC(aLoader, aContext, aStatus,
+@@ -2164,8 +2180,17 @@
+                 thisCalendar.completeCheckServerInfo(aChangeLogListener);
+             }
+         };
+-
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++        this.sendHttpRequest(this.makeUri(), queryXml, MIME_TEXT_XML, null, (channel) => {
++            if (queryDepth == 0) {
++                // Set header, doing this for Depth: 1 is not needed since thats the
++                // default.
++                channel.setRequestHeader("Depth", "0", false);
++            }
++            channel.requestMethod = queryMethod;
++            return streamListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE);
++        });
+     },
+ 
+     /**
+@@ -2330,14 +2355,6 @@
+                     ",Recipient=" + mailto_aCalId + "): " + fbQuery);
+         }
+ 
+-        let httpchannel = this.prepHttpChannel(this.makeUri(null, this.outboxUrl),
+-                                               fbQuery,
+-                                               "text/calendar; charset=utf-8",
+-                                               this);
+-        httpchannel.requestMethod = "POST";
+-        httpchannel.setRequestHeader("Originator", organizer, false);
+-        httpchannel.setRequestHeader("Recipient", mailto_aCalId, false);
+-
+         var streamListener = {};
+ 
+         streamListener.onStreamComplete =
+@@ -2438,7 +2455,16 @@
+             }
+         };
+ 
+-        cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++        let fbUri = this.makeUri(null, this.outboxUrl);
++        this.sendHttpRequest(fbUri, fbQuery, MIME_TEXT_CALENDAR, null, (channel) => {
++            channel.requestMethod = "POST";
++            channel.setRequestHeader("Originator", organizer, false);
++            channel.setRequestHeader("Recipient", mailto_aCalId, false);
++            return streamListener;
++        }, () => {
++            notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                           "Error preparing http channel");
++        });
+     },
+ 
+     /**
+@@ -2648,18 +2674,6 @@
+             var methodProp = getIcsService().createIcalProperty("METHOD");
+             methodProp.value = aItipItem.responseMethod;
+             serializer.addProperty(methodProp);
+-            var uploadData = serializer.serializeToString();
+-            let requestUri = this.makeUri(null, this.outboxUrl);
+-
+-            let httpchannel = this.prepHttpChannel(requestUri,
+-                                                   uploadData,
+-                                                   "text/calendar; charset=utf-8",
+-                                                   this);
+-            httpchannel.requestMethod = "POST";
+-            httpchannel.setRequestHeader("Originator", this.calendarUserAddress, false);
+-            for each (var recipient in aRecipients) {
+-                httpchannel.setRequestHeader("Recipient", recipient.id, true);
+-            }
+ 
+             var thisCalendar = this;
+             var streamListener = {
+@@ -2738,7 +2752,19 @@
+             if (this.verboseLogging()) {
+                 cal.LOG("CalDAV: send(" + requestUri.spec + "): " + uploadData);
+             }
+-            cal.sendHttpRequest(cal.createStreamLoader(), httpchannel, streamListener);
++            let uploadData = serializer.serializeToString();
++            let requestUri = this.makeUri(null, this.outboxUrl);
++            this.sendHttpRequest(requestUri, uploadData, MIME_TEXT_CALENDAR, null, (channel) => {
++                channel.requestMethod = "POST";
++                channel.setRequestHeader("Originator", this.calendarUserAddress, false);
++                for each (var recipient in aRecipients) {
++                    channel.setRequestHeader("Recipient", recipient.id, true);
++                }
++                return streamListener;
++            }, () => {
++                notifyListener(Components.results.NS_ERROR_NOT_AVAILABLE,
++                               "Error preparing http channel");
++            });
+         }
+     },
+ 
+@@ -2773,7 +2799,7 @@
+             uploadContent = aOldChannel.getRequestHeader("Content-Type");
+         }
+ 
+-        this.prepHttpChannel(null,
++        cal.prepHttpChannel(null,
+                              uploadData,
+                              uploadContent,
+                              this,
+@@ -2805,6 +2831,9 @@
+         copyHeader("Recipient");
+         copyHeader("If-None-Match");
+         copyHeader("If-Match");
++        if (aNewChannel.URI.host == "apidata.googleusercontent.com") {
++            copyHeader("Authorization");
++        }
+ 
+         aNewChannel.requestMethod = aOldChannel.requestMethod;
+ 
+diff -Nrbu seamonkey-2.21/comm-release/calendar/providers/caldav/calDavRequestHandlers.js seamonkey-2.21-esr1.0/comm-release/calendar/providers/caldav/calDavRequestHandlers.js
+--- seamonkey-2.21/comm-release/calendar/providers/caldav/calDavRequestHandlers.js	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/providers/caldav/calDavRequestHandlers.js	2013-11-29 02:20:03.285130566 +0400
+@@ -339,6 +339,7 @@
+           xmlHeader +
+           '<sync-collection xmlns="DAV:">' +
+             syncTokenString +
++            '<sync-level>1</sync-level>' +
+             '<prop>' +
+               '<getcontenttype/>' +
+               '<getetag/>' +
+@@ -351,14 +352,22 @@
+             cal.LOG("CalDAV: send(" + requestUri.spec + "): " + queryXml);
+         }
+         cal.LOG("CalDAV: webdav-sync Token: " + this.calendar.mWebdavSyncToken);
+-        let httpchannel = this.calendar.prepHttpChannel(requestUri,
+-                                                        queryXml,
+-                                                        "text/xml; charset=utf-8",
+-                                                        this.calendar);
+-        httpchannel.setRequestHeader("Depth", "1", false);
+-        httpchannel.requestMethod = "REPORT";
+-        // Submit the request
+-        httpchannel.asyncOpen(this, httpchannel);
++        this.calendar.sendHttpRequest(requestUri, queryXml, MIME_TEXT_XML, null, (channel) => {
++            // The depth header adheres to an older version of the webdav-sync
++            // spec and has been replaced by the <sync-level> tag above.
++            // Unfortunately some servers still depend on the depth header,
++            // therefore we send both (yuck).
++            channel.setRequestHeader("Depth", "1", false);
++
++            channel.requestMethod = "REPORT";
++            return this;
++        }, () => {
++            // Something went wrong with the OAuth token, notify failure
++            if (this.calendar.isCached && this.changeLogListener) {
++                this.changeLogListener.onResult({ status: Components.results.NS_ERROR_NOT_AVAILABLE },
++                                                Components.results.NS_ERROR_NOT_AVAILABLE);
++            }
++        }, false);
+     },
+ 
+     /**
+@@ -690,14 +699,17 @@
+         if (this.calendar.verboseLogging()) {
+             cal.LOG("CalDAV: send(" + requestUri.spec + "): " + queryXml);
+         }
+-        let httpchannel = this.calendar.prepHttpChannel(requestUri,
+-                                                        queryXml,
+-                                                        "text/xml; charset=utf-8",
+-                                                        this.calendar);
+-        httpchannel.setRequestHeader("Depth", "1", false);
+-        httpchannel.requestMethod = "REPORT";
+-        // Submit the request
+-        httpchannel.asyncOpen(this, httpchannel);
++        this.calendar.sendHttpRequest(requestUri, queryXml, MIME_TEXT_XML, null, (channel) => {
++            channel.requestMethod = "REPORT";
++            channel.setRequestHeader("Depth", "1", false);
++            return this;
++        }, () => {
++            // Something went wrong with the OAuth token, notify failure
++            if (this.calendar.isCached && this.changeLogListener) {
++                this.changeLogListener.onResult({ status: Components.results.NS_ERROR_NOT_AVAILABLE },
++                                                Components.results.NS_ERROR_NOT_AVAILABLE);
++            }
++        }, false);
+     },
+ 
+     /**
+diff -Nrbu seamonkey-2.21/comm-release/calendar/sunbird/config/version.txt seamonkey-2.21-esr1.0/comm-release/calendar/sunbird/config/version.txt
+--- seamonkey-2.21/comm-release/calendar/sunbird/config/version.txt	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/calendar/sunbird/config/version.txt	2013-11-29 02:20:03.286130544 +0400
+@@ -1 +1 @@
+-2.6b3
++2.6.2
+diff -Nrbu seamonkey-2.21/comm-release/mail/app/blocklist.xml seamonkey-2.21-esr1.0/comm-release/mail/app/blocklist.xml
+--- seamonkey-2.21/comm-release/mail/app/blocklist.xml	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/app/blocklist.xml	2013-11-29 02:16:20.396143776 +0400
+@@ -1,5 +1,5 @@
+ <?xml version="1.0"?>
+-<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist" lastupdate="1379114379000">
++<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist" lastupdate="1378508419000">
+   <emItems>
+       <emItem  blockID="i350" id="sqlmoz at facebook.com">
+                         <versionRange  minVersion="0" maxVersion="*" severity="3">
+@@ -19,10 +19,6 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i404" id="{a9bb9fa0-4122-4c75-bd9a-bc27db3f9155}">
+-                        <versionRange  minVersion="0" maxVersion="*" severity="1">
+-                    </versionRange>
+-                  </emItem>
+       <emItem  blockID="i8" id="{B13721C7-F507-4982-B2E5-502A71474FED}">
+                         <versionRange  minVersion=" " severity="1">
+                     </versionRange>
+@@ -187,8 +183,8 @@
+                         <versionRange  minVersion="0.1" maxVersion="14.4.0" severity="1">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i449" id="gystqfr at ylgga.com">
+-                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++      <emItem  blockID="i93" id="{68b8676b-99a5-46d1-b390-22411d8bcd61}">
++                        <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
+       <emItem  blockID="i142" id="{a3a5c777-f583-4fef-9380-ab4add1bc2a8}">
+@@ -370,7 +366,7 @@
+                         <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i448" id="{0134af61-7a0c-4649-aeca-90d776060cb3}">
++      <emItem  blockID="i404" id="{a9bb9fa0-4122-4c75-bd9a-bc27db3f9155}">
+                         <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+                   </emItem>
+@@ -528,10 +524,6 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i93" id="{68b8676b-99a5-46d1-b390-22411d8bcd61}">
+-                        <versionRange  minVersion="0" maxVersion="*">
+-                    </versionRange>
+-                  </emItem>
+       <emItem  blockID="i439" id="{d2cf9842-af95-48cd-b873-bfbb48cd7f5e}">
+                         <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+diff -Nrbu seamonkey-2.21/comm-release/mail/base/content/folderDisplay.js seamonkey-2.21-esr1.0/comm-release/mail/base/content/folderDisplay.js
+--- seamonkey-2.21/comm-release/mail/base/content/folderDisplay.js	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/base/content/folderDisplay.js	2013-11-29 02:20:03.286130544 +0400
+@@ -2056,7 +2056,8 @@
+     if (this.selectedCount == 0)
+       return false;
+     return this.selectedMessages.every(function(msg) {
+-      return getIdentityForHeader(msg).archiveEnabled;
++      let identity = getIdentityForHeader(msg);
++      return Boolean(identity && identity.archiveEnabled);
+     });
+   },
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mail/base/content/tabmail.xml seamonkey-2.21-esr1.0/comm-release/mail/base/content/tabmail.xml
+--- seamonkey-2.21/comm-release/mail/base/content/tabmail.xml	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/base/content/tabmail.xml	2013-11-29 02:20:03.287130523 +0400
+@@ -2555,9 +2555,11 @@
+            extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image">
+     <handlers>
+       <handler event="click" button="0"><![CDATA[
+-        var bindingParent = document.getBindingParent(this);
+-        if (bindingParent) {
+-          var tabbedBrowser = document.getElementById('tabmail');
++        let bindingParent = document.getBindingParent(this);
++        if (!bindingParent)
++          return;
++
++        let tabbedBrowser = document.getElementById("tabmail");
+           if (bindingParent.localName == "tab") {
+             /* The only sequence in which a second click event (i.e. dblclik)
+              * can be dispatched on an in-tab close button is when it is shown
+@@ -2575,6 +2577,7 @@
+ 
+             tabbedBrowser.removeTabByNode(bindingParent);
+             tabbedBrowser._blockDblClick = true;
++          let tabContainer = tabbedBrowser.tabContainer;
+ 
+             /* XXXmano hack (see bug 343628):
+              * Since we're removing the event target, if the user
+@@ -2584,9 +2587,9 @@
+              * In this context, we're manually blocking the dblclick event
+              * (see onTabBarDblClick).
+              */
+-            var clickedOnce = false;
+-            function enableDblClick(event) {
+-              var target = event.originalTarget;
++          let clickedOnce = false;
++          let enableDblClick = function enableDblClick(event) {
++            let target = event.originalTarget;
+               if (target.className == "tab-close-button")
+                 target._ignoredClick = true;
+               if (!clickedOnce) {
+@@ -2600,7 +2603,6 @@
+           }
+           else // "tabs"
+             tabbedBrowser.removeCurrentTab();
+-        }
+       ]]></handler>
+       <handler event="dblclick" button="0" phase="capturing">
+         // for the one-close-button case
+diff -Nrbu seamonkey-2.21/comm-release/mail/base/modules/mailInstrumentation.js seamonkey-2.21-esr1.0/comm-release/mail/base/modules/mailInstrumentation.js
+--- seamonkey-2.21/comm-release/mail/base/modules/mailInstrumentation.js	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/base/modules/mailInstrumentation.js	2013-11-29 02:20:03.287130523 +0400
+@@ -17,6 +17,7 @@
+ const nsIMFNService = Ci.nsIMsgFolderNotificationService;
+ 
+ Cu.import("resource:///modules/IOUtils.js");
++Cu.import("resource:///modules/errUtils.js");
+ Cu.import("resource://gre/modules/Services.jsm");
+ Cu.import("resource:///modules/mailServices.js");
+ 
+@@ -56,8 +57,9 @@
+     // check if there are at least two accounts - one is local folders account
+     if (Services.prefs.getCharPref("mail.accountmanager.accounts").contains(',', 1)) {
+       mailInstrumentationManager.addEvent("accountAdded", true);
+-      this._removeObserver("mail.accountmanager.accounts",
+-                           this._accountsChanged);
++      mailInstrumentationManager._removeObserver(
++        "mail.accountmanager.accounts",
++        mailInstrumentationManager._accountsChanged);
+ 
+     }
+   },
+@@ -92,15 +94,15 @@
+    * Writes the state object to disk.
+    */
+   _postStateObject: function minst_postStateObject() {
+-    // This will throw an exception if no account is set up, so we
+-    // wrap the whole thing.
++    // Getting defaultAccount will throw an exception if no account is set up,
++    // so we wrap the whole thing.
+     try {
+-      if (!this._currentState.userEmailHash.length) {
+-        let email = MailServices.accounts.defaultAccount.defaultIdentity.email;
+-        this._currentState.userEmailHash = this._hashEmailAddress(email);
++      if (!this._currentState.userEmailHash) {
++        let identity = MailServices.accounts.defaultAccount.defaultIdentity;
++        if (identity) // When we have only a feed account, there is no identity.
++          this._currentState.userEmailHash = this._hashEmailAddress(identity.email);
+       }
+       let data = JSON.stringify(this._currentState);
+-      dump("data to post = " + data + "\n");
+       // post data only if state changed since last write.
+       if (data == this._lastStateString)
+         return;
+diff -Nrbu seamonkey-2.21/comm-release/mail/components/addrbook/content/abCardOverlay.js seamonkey-2.21-esr1.0/comm-release/mail/components/addrbook/content/abCardOverlay.js
+--- seamonkey-2.21/comm-release/mail/components/addrbook/content/abCardOverlay.js	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/components/addrbook/content/abCardOverlay.js	2013-11-29 02:20:03.287130523 +0400
+@@ -1125,6 +1125,10 @@
+     if (!file)
+       return false;
+ 
++    // If the local file has been removed/renamed, keep the current photo as is
++    if (!file.exists() || !file.isFile())
++      return true;
++
+     var photoURI = Services.io.newFileURI(file).spec;
+ 
+     var file = storePhoto(photoURI);
+diff -Nrbu seamonkey-2.21/comm-release/mail/components/compose/content/MsgComposeCommands.js seamonkey-2.21-esr1.0/comm-release/mail/components/compose/content/MsgComposeCommands.js
+--- seamonkey-2.21/comm-release/mail/components/compose/content/MsgComposeCommands.js	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/components/compose/content/MsgComposeCommands.js	2013-11-29 02:20:03.288130506 +0400
+@@ -4143,10 +4143,14 @@
+  */
+ function hideIrrelevantAddressingOptions(aAccountKey)
+ {
+-  let hideNews = MailServices.accounts.getAccount(aAccountKey)
+-                                      .incomingServer.type != "nntp";
+-  // If we are not posting from a News (NNTP) account
+-  // hide the Newsgroup recipient type in all the menulists.
++  let hideNews = true;
++  for (let account in fixIterator(MailServices.accounts.accounts,
++                                  Components.interfaces.nsIMsgAccount)) {
++    if (account.incomingServer.type == "nntp")
++      hideNews = false;
++  }
++  // If there is no News (NNTP) account existing then
++  // hide the Newsgroup and Followup-To recipient type in all the menulists.
+   let addrWidget = document.getElementById("addressingWidget");
+   // Only really touch the News related items we know about.
+   let newsTypes = addrWidget
+diff -Nrbu seamonkey-2.21/comm-release/mail/config/version.txt seamonkey-2.21-esr1.0/comm-release/mail/config/version.txt
+--- seamonkey-2.21/comm-release/mail/config/version.txt	2013-09-16 22:20:08.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/config/version.txt	2013-11-29 02:20:03.288130506 +0400
+@@ -1 +1 @@
+-24.0
++24.1.0
+diff -Nrbu seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-address-widgets.js seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-address-widgets.js
+--- seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-address-widgets.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-address-widgets.js	2013-11-29 02:20:03.288130506 +0400
+@@ -25,30 +25,9 @@
+   // up for this test.
+   let server = MailServices.accounts.FindServer("tinderbox", "tinderbox", "pop3");
+   accountPOP3 = MailServices.accounts.FindAccountForServer(server);
+-
+-  // There may be pre-existing accounts from other tests.
+-  originalAccountCount = MailServices.accounts.allServers.length;
+-
+-  // Create a NNTP server
+-  let nntpServer = MailServices.accounts
+-    .createIncomingServer(null, "example.nntp.invalid", "nntp")
+-    .QueryInterface(Components.interfaces.nsINntpIncomingServer);
+-
+-  identity = MailServices.accounts.createIdentity();
+-  identity.email = "tinderbox2 at example.invalid";
+-
+-  accountNNTP = MailServices.accounts.createAccount();
+-  accountNNTP.incomingServer = nntpServer;
+-  accountNNTP.addIdentity(identity);
+-  // Now there should be 1 more account.
+-  assert_equals(MailServices.accounts.allServers.length, originalAccountCount + 1);
+ };
+ 
+ function teardownModule(module) {
+-  // Remove our test accounts to leave the profile clean.
+-  MailServices.accounts.removeAccount(accountNNTP);
+-  // There should be only the original accounts left.
+-  assert_equals(MailServices.accounts.allServers.length, originalAccountCount);
+ }
+ 
+ /**
+@@ -71,56 +50,101 @@
+ }
+ 
+ /**
+- * For a POP3 account, no News related address types should be enabled.
++ * With only a POP3 account, no News related address types should be enabled.
+  */
+-function allowed_mail_types() {
++function check_mail_address_types() {
+   check_address_types_state(["addr_to", "addr_cc", "addr_reply", "addr_bcc"]);
+ }
+ 
+ /**
+- * On a NNTP account, all address types should be enabled.
++ * With a NNTP account, all address types should be enabled.
+  */
+-function allowed_nntp_types() {
++function check_nntp_address_types() {
+   check_address_types_state(["addr_to", "addr_cc", "addr_reply", "addr_bcc",
+                              "addr_newsgroups", "addr_followup"]);
+ }
+ 
++function add_NNTP_account() {
++  // There may be pre-existing accounts from other tests.
++  originalAccountCount = MailServices.accounts.allServers.length;
++
++  // Create a NNTP server
++  let nntpServer = MailServices.accounts
++    .createIncomingServer(null, "example.nntp.invalid", "nntp")
++    .QueryInterface(Components.interfaces.nsINntpIncomingServer);
++
++  identity = MailServices.accounts.createIdentity();
++  identity.email = "tinderbox2 at example.invalid";
++
++  accountNNTP = MailServices.accounts.createAccount();
++  accountNNTP.incomingServer = nntpServer;
++  accountNNTP.addIdentity(identity);
++  // Now there should be 1 more account.
++  assert_equals(MailServices.accounts.allServers.length, originalAccountCount + 1);
++}
++
++function remove_NNTP_account() {
++  // Remove our NNTP account to leave the profile clean.
++  MailServices.accounts.removeAccount(accountNNTP);
++  // There should be only the original accounts left.
++  assert_equals(MailServices.accounts.allServers.length, originalAccountCount);
++}
++
+ /**
+- * Bug 399446
++ * Bug 399446 & bug 922614
+  * Test that the allowed address types depend on the account type
+  * we are sending from.
+  */
+ function test_address_types() {
+-  // Open compose window on each account individually.
++  // Be sure there is no NNTP account yet.
++  for (let account in fixIterator(MailServices.accounts.accounts,
++                                  Components.interfaces.nsIMsgAccount)) {
++    assert_not_equals(account.incomingServer.type, "nntp",
++                      "There is a NNTP account existing unexpectedly");
++  }
++
++  // Open compose window on the existing POP3 account.
+   be_in_folder(accountPOP3.incomingServer.rootFolder);
+   cwc = open_compose_new_mail();
+-  allowed_mail_types();
++  check_mail_address_types();
+   close_compose_window(cwc);
+ 
++  add_NNTP_account();
++
++  // From now on, we should always get all possible address types offered,
++  // regardless of which account is used of composing (bug 922614).
+   be_in_folder(accountNNTP.incomingServer.rootFolder);
+   cwc = open_compose_new_mail();
+-  allowed_nntp_types();
++  check_nntp_address_types();
+   close_compose_window(cwc);
+ 
+   // Now try the same accounts but choosing them in the From dropdown
+   // inside compose window.
+   be_in_folder(accountPOP3.incomingServer.rootFolder);
+   cwc = open_compose_new_mail();
+-  allowed_mail_types();
++  check_nntp_address_types();
+ 
+   let NNTPidentity = accountNNTP.defaultIdentity.key;
+   cwc.click_menus_in_sequence(cwc.e("msgIdentityPopup"), [ { value: NNTPidentity } ]);
+-  allowed_nntp_types();
++  check_nntp_address_types();
+ 
+   // In a News account, choose "Newsgroup:" as the address type.
+   cwc.click_menus_in_sequence(cwc.e("addressCol1#1").menupopup,
+                               [ { value: "addr_newsgroups" } ]);
+-  allowed_nntp_types();
++  check_nntp_address_types();
+ 
+   // And switch back to the POP3 account.
+   let POP3identity = accountPOP3.defaultIdentity.key;
+   cwc.click_menus_in_sequence(cwc.e("msgIdentityPopup"), [ { value: POP3identity } ]);
+-  allowed_mail_types();
++  check_nntp_address_types();
++
++  close_compose_window(cwc);
+ 
++  remove_NNTP_account();
++
++  // Now the NNTP account is lost, so we should be back to mail only addressees.
++  be_in_folder(accountPOP3.incomingServer.rootFolder);
++  cwc = open_compose_new_mail();
++  check_mail_address_types();
+   close_compose_window(cwc);
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-forwarded-eml-actions.js seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-forwarded-eml-actions.js
+--- seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-forwarded-eml-actions.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-forwarded-eml-actions.js	2013-11-29 02:20:03.288130506 +0400
+@@ -95,6 +95,7 @@
+   plan_for_new_window("mail:messageWindow");
+   mc.click(mc.eid("attachmentName"));
+   let msgWin = wait_for_new_window("mail:messageWindow");
++  wait_for_message_display_completion(msgWin, false);
+ 
+   plan_for_new_window("msgcompose");
+   msgWin.keypress(null, hotkeyToHit, hotkeyModifiers);
+diff -Nrbu seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-reply-addresses.js seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-reply-addresses.js
+--- seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-reply-addresses.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-reply-addresses.js	2013-11-29 02:20:03.289130491 +0400
+@@ -19,9 +19,11 @@
+ var folder;
+ var i = 0;
+ 
+-const myEmail1 = "me at example.com";
++const myEmail = "me at example.com";
+ const myEmail2 = "otherme at example.com";
+ 
++var identity;
++
+ Cu.import("resource:///modules/mailServices.js");
+ 
+ function setupModule(module) {
+@@ -39,9 +41,9 @@
+                   .QueryInterface(Ci.nsIMsgLocalMailFolder)
+                   .createLocalSubfolder("Msgs4Reply");
+ 
+-  let identity1 = acctMgr.createIdentity();
+-  identity1.email = myEmail1;
+-  account.addIdentity(identity1);
++  identity = acctMgr.createIdentity();
++  identity.email = myEmail;
++  account.addIdentity(identity);
+ 
+   let identity2 = acctMgr.createIdentity();
+   identity2.email = myEmail2;
+@@ -51,6 +53,21 @@
+   // out of context what the expected results should be.
+ }
+ 
++/**
++ * Helper to open a reply, check the fields are as expected, and close the
++ * reply window.
++ * @param aReplyFunction which reply function to call
++ * @param aExpectedFields the fields expected
++ */
++function checkReply(aReplyFunction, aExpectedFields) {
++  let rwc = aReplyFunction();
++  checkToAddresses(rwc, aExpectedFields);
++  close_compose_window(rwc);
++}
++
++/**
++ * Helper to check that the reply window has the expected address fields.
++ */
+ function checkToAddresses(replyWinController, expectedFields) {
+   let addressingWidgetItems = replyWinController.window.document
+     .querySelectorAll("#addressingWidget .addressingWidgetItem");
+@@ -101,13 +118,36 @@
+ }
+ 
+ /**
++ * Helper to set an auto-Cc list for an identity.
++ */
++function useAutoCc(aIdentity, aCcList) {
++  aIdentity.doCc = true;
++  aIdentity.doCcList = aCcList;
++}
++
++/**
++ * Helper to stop using auto-Cc for an identity.
++ */
++function stopUsingAutoCc(aIdentity) {
++  aIdentity.doCc = false;
++  aIdentity.doCcList = "";
++}
++
++/**
++ * Helper to ensure autoCc is turned off.
++ */
++function ensureNoAutoCc(aIdentity) {
++  aIdentity.doCc = false;
++}
++
++/**
+  * Tests that addresses get set properly when doing a normal reply.
+  */
+ function testToCcReply() {
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "Mr Burns <mrburns at example.com>, workers at example.com, " +
+-        myEmail1,
++        myEmail,
+     cc: "Lisa <lisa at example.com>",
+     subject: "testToCcReply - normal mail with to and cc (me in To)"
+   });
+@@ -117,11 +157,24 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply,
++      // To: From
++    {"addr_to": ["Homer <homer at example.com>"]}
++  );
+ 
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply,
+   // To: From
+-  checkToAddresses(rwc, {"addr_to": ["Homer <homer at example.com>"]});
+-  close_compose_window(rwc);
++    // Cc: identity Cc list, including self.
++    {
++      "addr_to": ["Homer <homer at example.com>"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -131,7 +184,7 @@
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "Mr Burns <mrburns at example.com>, workers at example.com, " +
+-        myEmail1,
++        myEmail,
+     cc: "Lisa <lisa at example.com>",
+     subject: "testToCcReplyAll - normal mail with to and cc (me in To)"
+   });
+@@ -141,9 +194,9 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
+-
+-  checkToAddresses(rwc,
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
+     // To: From + Tos without me.
+     // Cc: original Ccs
+     {
+@@ -153,7 +206,22 @@
+     "addr_cc": ["Lisa <lisa at example.com>"]
+     }
+   );
+-  close_compose_window(rwc);
++
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: From + Tos without me.
++    // Cc: original Ccs + auto-Ccs
++    {
++      "addr_to": ["Homer <homer at example.com>",
++                  "Mr Burns <mrburns at example.com>",
++                  "workers at example.com"],
++      "addr_cc": ["Lisa <lisa at example.com>",
++                  myEmail,
++                  "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -164,7 +232,7 @@
+   let msg0 = create_message({
+     from: "Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= <hideaki at example.com>",
+     to: "Mr Burns <mrburns at example.com>, =?UTF-8?B?w4VrZQ==?= <ake at example.com>, " +
+-        "=?KOI8-R?Q?=E9=D7=C1=CE?= <ivan at example.com>, " + myEmail1,
++        "=?KOI8-R?Q?=E9=D7=C1=CE?= <ivan at example.com>, " + myEmail,
+     cc: "=?Big5?B?pP2oca1e?= <xiuying at example.com>",
+     subject: "testToCcReplyAllInternational - non-ascii people mail with to and cc (me in To)",
+     clobberHeaders: { 'Content-Transfer-Encoding': 'quoted-printable' },
+@@ -179,9 +247,9 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
+-
+-  checkToAddresses(rwc,
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
+     // To: From + Tos without me.
+     // Cc: original Ccs
+     {
+@@ -192,7 +260,21 @@
+     "addr_cc": ["王秀英 <xiuying at example.com>"]
+     }
+   );
+-  close_compose_window(rwc);
++
++  useAutoCc(identity, "Åsa <asa at example.com>");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: From + Tos without me.
++    // Cc: original Ccs + auto-Ccs
++    {
++      "addr_to": ["Hideaki / 吉藤英明 <hideaki at example.com>",
++                  "Mr Burns <mrburns at example.com>",
++                  "Åke <ake at example.com>",
++                  "Иван <ivan at example.com>"],
++      "addr_cc": ["王秀英 <xiuying at example.com>", "Åsa <asa at example.com>"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -203,7 +285,7 @@
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "workers at example.com",
+-    cc: "Lisa <lisa at example.com>, " + myEmail1,
++    cc: "Lisa <lisa at example.com>, " + myEmail,
+     subject: "testToCcReplyWhenReplyToSet - to/cc mail with reply-to set (me in Cc)",
+     clobberHeaders: {
+       "Reply-To": "marge at example.com"
+@@ -215,11 +297,24 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply,
++    // To: reply-to
++    {"addr_to": ["marge at example.com"]}
++  );
+ 
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply,
+   // To: reply-to
+-  checkToAddresses(rwc, {"addr_to": ["marge at example.com"]});
+-  close_compose_window(rwc);
++    // Cc: auto-Ccs
++    {
++      "addr_to": ["marge at example.com"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -230,7 +325,7 @@
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "workers at example.com",
+-    cc: "Lisa <lisa at example.com>, " + myEmail1,
++    cc: "Lisa <lisa at example.com>, " + myEmail,
+     subject: "testToCcReplyAllWhenReplyToSet - to/cc mail with reply-to set (me in Cc)",
+     clobberHeaders: {
+       "Reply-To": "marge at example.com"
+@@ -242,9 +337,9 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
+-
+-  checkToAddresses(rwc,
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
+     // To: Reply-To + Tos
+     // Cc: original Ccs without me.
+     {
+@@ -253,7 +348,19 @@
+     "addr_cc": ["Lisa <lisa at example.com>"]
+     }
+   );
+-  close_compose_window(rwc);
++
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: Reply-To + Tos
++    // Cc: original Ccs + auto-Ccs (which includes me!)
++    {
++      "addr_to": ["marge at example.com",
++                  "workers at example.com"],
++      "addr_cc": ["Lisa <lisa at example.com>", myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -263,7 +370,7 @@
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "workers-list at example.com",
+-    cc: "Lisa <lisa at example.com>, " + myEmail1,
++    cc: "Lisa <lisa at example.com>, " + myEmail,
+     subject: "testReplyToList - mailing list message (me in Cc)",
+     clobberHeaders: {
+       "List-Post": "<mailto:workers-list at example.com>"
+@@ -275,10 +382,24 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_list();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_list,
++    // To: the list
++    {"addr_to": ["workers-list at example.com"]}
++  );
+ 
+-  checkToAddresses(rwc, {"addr_to": ["workers-list at example.com"]});
+-  close_compose_window(rwc);
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_list,
++    // To: the list
++    // Cc: auto-Ccs
++    {
++      "addr_to": ["workers-list at example.com"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -289,7 +410,7 @@
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "workers-list at example.com",
+-    cc: "Lisa <lisa at example.com>, " + myEmail1,
++    cc: "Lisa <lisa at example.com>, " + myEmail,
+     subject: "testReplySenderForListPost - mailing list message (me in Cc)",
+     clobberHeaders: {
+       "List-Post": "<mailto:workers-list at example.com>"
+@@ -301,11 +422,24 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply,
++    // To: From
++    {"addr_to": ["Homer <homer at example.com>"]}
++  );
+ 
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply,
+   // To: From
+-  checkToAddresses(rwc, {"addr_to": ["Homer <homer at example.com>"]});
+-  close_compose_window(rwc);
++    // Cc: auto-Ccs
++    {
++      "addr_to": ["Homer <homer at example.com>"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -315,7 +449,7 @@
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+     to: "workers-list at example.com",
+-    cc: "Lisa <lisa at example.com>, " + myEmail1,
++    cc: "Lisa <lisa at example.com>, " + myEmail,
+     subject: "testReplyToAllForListPost - mailing list message (me in Cc)",
+     clobberHeaders: {
+       "List-Post": "<mailto:workers-list at example.com>"
+@@ -327,17 +461,28 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
+-
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
+   // To: From + original To
+   // Cc: original CC without me
+-  checkToAddresses(rwc,
+     {
+     "addr_to": ["Homer <homer at example.com>", "workers-list at example.com"],
+     "addr_cc": ["Lisa <lisa at example.com>"]
+     }
+   );
+-  close_compose_window(rwc);
++
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: From + original To
++    // Cc: original CC + auto-Ccs (including me!)
++    {
++    "addr_to": ["Homer <homer at example.com>", "workers-list at example.com"],
++    "addr_cc": ["Lisa <lisa at example.com>", myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -347,7 +492,7 @@
+ function testReplyToListWhenReplyToSet() {
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+-    to: "workers-list at example.com, " + myEmail1,
++    to: "workers-list at example.com, " + myEmail,
+     cc: "Lisa <lisa at example.com>",
+     subject: "testReplyToListWhenReplyToSet - mailing list message w/ cc, reply-to (me in To)",
+     clobberHeaders: {
+@@ -361,17 +506,28 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
+-
+-  // To: Reply-To, oringinal Tos
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: Reply-To, original Tos
+   // Cc: original Cc
+-  checkToAddresses(rwc,
+     {
+     "addr_to": ["marge at example.com", "workers-list at example.com"],
+     "addr_cc": ["Lisa <lisa at example.com>"]
+     }
+   );
+-  close_compose_window(rwc);
++
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: Reply-To, original Tos
++    // Cc: original Cc + auto-Ccs
++    {
++      "addr_to": ["marge at example.com", "workers-list at example.com"],
++      "addr_cc": ["Lisa <lisa at example.com>", myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -396,22 +552,35 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply,
++    // To: Mail-Reply-To
++    {"addr_to": ["Homer S. <homer at example.com>"]}
++  );
+ 
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply,
+   // To: Mail-Reply-To
+-  checkToAddresses(rwc, {"addr_to": ["Homer S. <homer at example.com>"]});
+-  close_compose_window(rwc);
++    // Cc: auto-Ccs
++    {
++      "addr_to": ["Homer S. <homer at example.com>"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+  * Test that addresses get set properly Mail-Followup-To. Mail-Followup-To
+- * should be the default recipent list for reply-all, if present.
++ * should be the default recipient list for reply-all, if present.
+  * @see http://cr.yp.to/proto/replyto.html
+  */
+ function testMailFollowupTo() {
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+-    to: "workers-list at example.com, " + myEmail1,
++    to: "workers-list at example.com, " + myEmail,
+     cc: "Lisa <lisa at example.com>",
+     subject: "testMailFollowupTo - mail with Mail-Followup-To header",
+     clobberHeaders: {
+@@ -426,11 +595,24 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
++     // To: Mail-Followup-To
++    {"addr_to": ["workers-list at example.com"]}
++  );
+ 
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
+   // To: Mail-Followup-To
+-  checkToAddresses(rwc, {"addr_to": ["workers-list at example.com"]});
+-  close_compose_window(rwc);
++    // Cc: auto-Ccs
++    {
++      "addr_to": ["workers-list at example.com"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -438,7 +620,7 @@
+  */
+ function testReplyToSelfReply() {
+   let msg0 = create_message({
+-    from: myEmail1,
++    from: myEmail,
+     to: "Bart <bart at example.com>, Maggie <maggie at example.com>",
+     cc: "Lisa <lisa at example.com>",
+     subject: "testReplyToSelfReply - reply to self",
+@@ -452,12 +634,26 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply,
++    // To: original To
++    {
++      "addr_to": ["Bart <bart at example.com>", "Maggie <maggie at example.com>"]
++    }
++  );
+ 
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply,
+   // To: original To
+-  checkToAddresses(rwc, {"addr_to": ["Bart <bart at example.com>",
+-                                     "Maggie <maggie at example.com>"]});
+-  close_compose_window(rwc);
++    // Cc: auto-Ccs
++    {
++      "addr_to": ["Bart <bart at example.com>", "Maggie <maggie at example.com>"],
++      "addr_cc": [myEmail, "smithers at example.com"]
++    }
++  );
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -466,7 +662,7 @@
+  */
+ function testReplyToSelfReplyAll() {
+   let msg0 = create_message({
+-    from: myEmail1,
++    from: myEmail,
+     to: "Bart <bart at example.com>, Maggie <maggie at example.com>",
+     cc: "Lisa <lisa at example.com>",
+     subject: "testReplyToSelfReplyAll - reply to self",
+@@ -480,9 +676,9 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
+-
+-  checkToAddresses(rwc,
++  ensureNoAutoCc(identity);
++  checkReply(
++     open_compose_with_reply_to_all,
+     // To: original To
+     // Cc: original Cc
+     // Bcc: original Bcc
+@@ -493,7 +689,51 @@
+     "addr_bcc": ["Moe <moe at example.com>"]
+     }
+   );
+-  close_compose_window(rwc);
++
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: original To
++    // Cc: original Cc (auto-Ccs would have been included here already)
++    // Bcc: original Bcc
++    {
++      "addr_to": ["Bart <bart at example.com>",
++                  "Maggie <maggie at example.com>"],
++      "addr_cc": ["Lisa <lisa at example.com>"],
++      "addr_bcc": ["Moe <moe at example.com>"]
++    }
++  );
++  stopUsingAutoCc(identity);
++}
++
++/**
++ * Tests that a reply to an other identity isn't treated as a reply to self
++ * followup.
++ */
++function testReplyToOtherIdentity() {
++  let msg0 = create_message({
++    from: myEmail,
++    to: myEmail2 + ", barney at example.com",
++    cc: "Lisa <lisa at example.com>",
++    subject: "testReplyToOtherIdentity - reply to other identity"
++  });
++  add_message_to_folder(folder, msg0);
++
++  be_in_folder(folder);
++  let msg = select_click_row(i++);
++  assert_selected_and_displayed(mc, msg);
++
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: from + to (except me)
++    // Cc: original Cc
++    // 
++    {
++      "addr_to": [myEmail, "barney at example.com"],
++      "addr_cc": ["Lisa <lisa at example.com>"]
++    }
++  );
+ }
+ 
+ /**
+@@ -514,17 +754,29 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
++  ensureNoAutoCc(identity);
++  checkReply(
++     open_compose_with_reply_to_all,
++    // To: From, original To
++    // Newsgroups: original Ccs
++    {
++      "addr_to": ["Homer <homer at example.com>", "test1-list at example.org"],
++      "addr_newsgroups": ["example.test1", "example.test2"]
++    }
++  );
+ 
+-  checkToAddresses(rwc,
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++     open_compose_with_reply_to_all,
+     // To: From, original To
+     // Newsgroups: original Ccs
+     {
+     "addr_to": ["Homer <homer at example.com>", "test1-list at example.org"],
++      "addr_cc": [myEmail, "smithers at example.com"],
+     "addr_newsgroups": ["example.test1", "example.test2"]
+     }
+   );
+-  close_compose_window(rwc);
++  stopUsingAutoCc(identity);
+ }
+ 
+ /**
+@@ -534,7 +786,7 @@
+ function testNewsgroupsReplyAllFollowupTo() {
+   let msg0 = create_message({
+     from: "Homer <homer at example.com>",
+-    to: "test1-list at example.org",
++    to: "test1-list at example.org, " + myEmail,
+     subject: "testNewsgroupsReplyAllFollowupTo - Followup-To set",
+     clobberHeaders: {
+       "Newsgroups": "example.test1, example.test2",
+@@ -547,15 +799,29 @@
+   let msg = select_click_row(i++);
+   assert_selected_and_displayed(mc, msg);
+ 
+-  let rwc = open_compose_with_reply_to_all();
++  ensureNoAutoCc(identity);
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: From + original To (except me)
++    // Newsgroups: <Followup-To>
++    {
++      "addr_to": ["Homer <homer at example.com>", "test1-list at example.org"],
++      "addr_newsgroups": ["example.test2"]
++    }
++  );
+ 
+-  checkToAddresses(rwc,
++  useAutoCc(identity, myEmail + ", smithers at example.com");
++  checkReply(
++    open_compose_with_reply_to_all,
++    // To: From + original To (except me)
++    // Cc: auto-Ccs
+     // Newsgroups: <Followup-To>
+     {
+     "addr_to": ["Homer <homer at example.com>", "test1-list at example.org"],
++      "addr_cc": [myEmail, "smithers at example.com"],
+     "addr_newsgroups": ["example.test2"]
+     }
+   );
+-  close_compose_window(rwc);
++  stopUsingAutoCc(identity);
+ }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-send-button.js seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-send-button.js
+--- seamonkey-2.21/comm-release/mail/test/mozmill/composition/test-send-button.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/composition/test-send-button.js	2013-11-29 02:20:03.289130491 +0400
+@@ -121,9 +121,12 @@
+ 
+   // Open Contacts sidebar and use our contact.
+   cwc.window.toggleAddressPicker();
+-  let sidebar = cwc.window.document.getElementById("sidebar");
+-  cwc.waitForElement(new elib.ID(sidebar.contentDocument, "ccButton"));
++
++  let sidebar = cwc.e("sidebar");
++  wait_for_frame_load(sidebar,
++    "chrome://messenger/content/addressbook/abContactsPanel.xul");
+   sidebar.contentDocument.getElementById("ccButton").click();
++
+   // The recipient is filled in, Send must be enabled.
+   check_send_commands_state(cwc, true);
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mail/test/mozmill/folder-display/test-opening-messages.js seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/folder-display/test-opening-messages.js
+--- seamonkey-2.21/comm-release/mail/test/mozmill/folder-display/test-opening-messages.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/folder-display/test-opening-messages.js	2013-11-29 02:20:03.289130491 +0400
+@@ -168,11 +168,13 @@
+   let messagesBoxHeight = mc.e("messagesBox").boxObject.height;
+   let displayDeckHeight = mc.e("displayDeck").boxObject.height;
+   let messagePaneBoxWrapperHeight = mc.e("messagepaneboxwrapper").boxObject.height;
++  let notificationBoxHeight = mc.e("msg-footer-notification-box").boxObject.height;
+ 
+-  assert_equals(messagesBoxHeight, displayDeckHeight + messagePaneBoxWrapperHeight,
++  assert_equals(messagesBoxHeight, displayDeckHeight + messagePaneBoxWrapperHeight + notificationBoxHeight,
+       "messanges box height (" + messagesBoxHeight +
+       ") not equal to the sum of displayDeck height (" + displayDeckHeight +
+       ") and message pane box wrapper height (" + messagePaneBoxWrapperHeight +
++      ") and message notification box height (" + notificationBoxHeight +
+       ")");
+ }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mail/test/mozmill/message-header/test-header-toolbar.js seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/message-header/test-header-toolbar.js
+--- seamonkey-2.21/comm-release/mail/test/mozmill/message-header/test-header-toolbar.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/test/mozmill/message-header/test-header-toolbar.js	2013-11-29 02:20:03.289130491 +0400
+@@ -18,6 +18,8 @@
+ 
+ var folder;
+ var gCDHelper ;
++var originalPaneLayout;
++const kPaneLayout = "mail.pane_config.dynamic";
+ 
+ function setupModule(module) {
+   let fdh = collector.getModule('folder-display-helpers');
+@@ -54,6 +56,18 @@
+   add_message_to_folder(folder, msg);
+ }
+ 
++function setWideView() {
++  originalPaneLayout = Services.prefs.getIntPref(kPaneLayout);
++  Services.prefs.setIntPref(kPaneLayout, 1);
++}
++
++function restoreOriginalPaneLayout() {
++  Services.prefs.setIntPref(kPaneLayout, originalPaneLayout);
++}
++
++function teardownModule(module) {
++  restoreOriginalPaneLayout();
++}
+ 
+ /**
+  *  Make sure that opening the header toolbar customization dialog
+@@ -133,6 +147,9 @@
+  */
+ function test_customize_header_toolbar_reorder_buttons()
+ {
++  // To avoid undrawn buttons on the toolbar, change pane layout to wide view.
++  setWideView();
++
+   let curMessage = select_message_in_folder(0);
+ 
+   // Restore the default buttons to get defined starting conditions.
+@@ -172,6 +189,8 @@
+   assert_equals(hdrToolbar.getAttribute("currentset"), hdrBarDefaultSet);
+   close_window(msgc);
+ 
++  restoreOriginalPaneLayout();
++
+   // Leave the toolbar in the default state.
+   gCDHelper.restoreDefaultButtons(mc);
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mail/themes/linux/mail/folderPane.css seamonkey-2.21-esr1.0/comm-release/mail/themes/linux/mail/folderPane.css
+--- seamonkey-2.21/comm-release/mail/themes/linux/mail/folderPane.css	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/themes/linux/mail/folderPane.css	2013-11-29 02:20:03.289130491 +0400
+@@ -200,6 +200,24 @@
+ 
+ /* ::::: All Servers ::::: */
+ 
++treechildren::-moz-tree-cell-text(folderNameCol, biffState-NewMail, isServer-true),
++treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
++treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
++  color: -moz-hyperlinktext;
++}
++
++treechildren::-moz-tree-cell-text(folderNameCol, biffState-NewMail, isServer-true, selected),
++treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected),
++treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true, selected) {
++  color: -moz-CellHighlightText;
++}
++
++treechildren::-moz-tree-cell-text(folderNameCol, biffState-NewMail, isServer-true, selected, focus),
++treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected, focus),
++treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true, selected, focus) {
++  color: HighlightText;
++}
++
+ treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
+   font-weight: bold;
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mail/themes/linux/mail/messageQuotes.css seamonkey-2.21-esr1.0/comm-release/mail/themes/linux/mail/messageQuotes.css
+--- seamonkey-2.21/comm-release/mail/themes/linux/mail/messageQuotes.css	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/themes/linux/mail/messageQuotes.css	2013-11-29 02:20:03.290130474 +0400
+@@ -14,9 +14,11 @@
+ 
+ /* ::::: signature ::::: */
+ 
+-.moz-txt-sig,
+-.moz-signature {
++ at media not print {
++  .moz-txt-sig,
++  pre.moz-signature {
+   opacity: 0.6;
++  }
+ }
+ 
+ /* ::::: Turn on borders and padding for quotes. ::::: */
+diff -Nrbu seamonkey-2.21/comm-release/mail/themes/osx/mail/messageBody.css seamonkey-2.21-esr1.0/comm-release/mail/themes/osx/mail/messageBody.css
+--- seamonkey-2.21/comm-release/mail/themes/osx/mail/messageBody.css	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/themes/osx/mail/messageBody.css	2013-11-29 02:20:03.290130474 +0400
+@@ -76,9 +76,11 @@
+ 
+ /* ::::: signature ::::: */
+ 
+-.moz-txt-sig,
+-.moz-signature {
++ at media not print {
++  .moz-txt-sig,
++  pre.moz-signature {
+   opacity: 0.6;
++  }
+ }
+ 
+ /* ::::: attached images ::::: */
+diff -Nrbu seamonkey-2.21/comm-release/mail/themes/windows/mail/folderPane.css seamonkey-2.21-esr1.0/comm-release/mail/themes/windows/mail/folderPane.css
+--- seamonkey-2.21/comm-release/mail/themes/windows/mail/folderPane.css	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/themes/windows/mail/folderPane.css	2013-11-29 02:20:03.290130474 +0400
+@@ -222,7 +222,7 @@
+ treechildren::-moz-tree-cell-text(folderNameCol, biffState-NewMail, isServer-true),
+ treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
+ treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
+-  color: -moz-hyperlinktext;
++  color: blue;
+ }
+ 
+ treechildren::-moz-tree-cell-text(folderNameCol, biffState-NewMail, isServer-true, selected),
+diff -Nrbu seamonkey-2.21/comm-release/mail/themes/windows/mail/messageQuotes.css seamonkey-2.21-esr1.0/comm-release/mail/themes/windows/mail/messageQuotes.css
+--- seamonkey-2.21/comm-release/mail/themes/windows/mail/messageQuotes.css	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mail/themes/windows/mail/messageQuotes.css	2013-11-29 02:20:03.290130474 +0400
+@@ -14,9 +14,11 @@
+ 
+ /* ::::: signature ::::: */
+ 
+-.moz-txt-sig,
+-.moz-signature {
++ at media not print {
++  .moz-txt-sig,
++  pre.moz-signature {
+   opacity: 0.6;
++  }
+ }
+ 
+ /* ::::: Turn on borders and padding for quotes. ::::: */
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/base/test/unit/test_hostnameUtils.js seamonkey-2.21-esr1.0/comm-release/mailnews/base/test/unit/test_hostnameUtils.js
+--- seamonkey-2.21/comm-release/mailnews/base/test/unit/test_hostnameUtils.js	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/base/test/unit/test_hostnameUtils.js	2013-11-29 02:20:03.290130474 +0400
+@@ -133,6 +133,8 @@
+     [ true,	"1.2.3.4.5" ],
+     [ true,	"very.log.sub.domain.name.invalid" ],
+     [ true,	"1234567890" ],
++    [ true,	"1234567890." ], // FQDN
++    [ true,	"server.company.invalid." ], // FQDN
+ 
+     [ false,	"" ],
+     [ false,	"server.badcompany!.invalid" ],
+@@ -141,7 +143,7 @@
+     [ false,	"server.badcompany-.invalid" ],
+     [ false,	"server.bad company.invalid" ],
+     [ false,	"server.b…dcompany.invalid" ],
+-    [ false,	"server.badcompany.invalid." ],
++    [ false,	".server.badcompany.invalid" ],
+     [ false,	"make-this-a-long-host-name-component-that-is-over-63-characters-long.invalid" ],
+     [ false,	"append-strings-to-make-this-a-too-long-host-name.that-is-really-over-255-characters-long.invalid." +
+                 "append-strings-to-make-this-a-too-long-host-name.that-is-really-over-255-characters-long.invalid." +
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/base/util/hostnameUtils.jsm seamonkey-2.21-esr1.0/comm-release/mailnews/base/util/hostnameUtils.jsm
+--- seamonkey-2.21/comm-release/mailnews/base/util/hostnameUtils.jsm	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/base/util/hostnameUtils.jsm	2013-11-29 02:20:03.290130474 +0400
+@@ -72,9 +72,22 @@
+ 
+    Host software MUST handle host names of up to 63 characters and
+    SHOULD handle host names of up to 255 characters.
++
++   RFC 1034:
++   Relative names are either taken relative to a well known origin, or to a
++   list of domains used as a search list.  Relative names appear mostly at
++   the user interface, where their interpretation varies from
++   implementation to implementation, and in master files, where they are
++   relative to a single origin domain name.  The most common interpretation
++   uses the root "." as either the single origin or as one of the members
++   of the search list, so a multi-label relative name is often one where
++   the trailing dot has been omitted to save typing.
++
++   Since a complete domain name ends with the root label, this leads to
++   a printed form which ends in a dot.
+   */
+ 
+-  const hostPattern = /^(([a-z0-9]|[a-z0-9][a-z0-9\-]{0,61}[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]{0,61}[a-z0-9])$/i;
++  const hostPattern = /^(([a-z0-9]|[a-z0-9][a-z0-9\-]{0,61}[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]{0,61}[a-z0-9])\.?$/i;
+   return ((aHostName.length <= 255) && hostPattern.test(aHostName)) ? aHostName : null;
+ }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/compose/src/nsMsgCompose.cpp seamonkey-2.21-esr1.0/comm-release/mailnews/compose/src/nsMsgCompose.cpp
+--- seamonkey-2.21/comm-release/mailnews/compose/src/nsMsgCompose.cpp	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/compose/src/nsMsgCompose.cpp	2013-11-29 02:20:03.291130458 +0400
+@@ -1709,7 +1709,7 @@
+ 
+   if (m_identity)
+   {
+-    /* Setup reply-to field */
++    // Setup reply-to field.
+     nsCString replyTo;
+     m_identity->GetReplyTo(replyTo);
+     if (!replyTo.IsEmpty())
+@@ -1725,7 +1725,7 @@
+       m_compFields->SetReplyTo(replyTo.get());
+     }
+ 
+-    /* Setup cc field */
++    // Setup auto-Cc field.
+     bool doCc;
+     m_identity->GetDoCc(&doCc);
+     if (doCc)
+@@ -1744,7 +1744,7 @@
+       m_compFields->SetCc(ccList.get());
+     }
+ 
+-    /* Setup bcc field */
++    // Setup auto-Bcc field.
+     bool doBcc;
+     m_identity->GetDoBcc(&doBcc);
+     if (doBcc)
+@@ -2596,7 +2596,8 @@
+           if (curIdentityEmail.Equals(fromEmailAddress))
+           {
+             isReplyToSelf = true;
+-            // For a true reply-to-self, none of your identities are in To or CC.
++            // For a true reply-to-self, none of your OTHER identities are
++            // in To or CC.
+             for (uint32_t j = 0; j < count; j++)
+             {
+               nsCOMPtr<nsIMsgIdentity> lookupIdentity2;
+@@ -2605,6 +2606,9 @@
+               if (NS_FAILED(rv))
+                 continue;
+ 
++              if (lookupIdentity == lookupIdentity2)
++                continue;
++
+               nsCString curIdentityEmail2;
+               lookupIdentity2->GetEmail(curIdentityEmail2);
+               if (toEmailAddresses.Find(curIdentityEmail2) != kNotFound ||
+@@ -2679,10 +2683,11 @@
+         }
+         else
+         {
+-          // handle Mail-Followup-To (http://cr.yp.to/proto/replyto.html)
+-
++          // Handle Mail-Followup-To (http://cr.yp.to/proto/replyto.html)
+           compFields->SetTo(mailFollowupTo);
+-          compFields->SetCc(EmptyString());
++          needToRemoveDup = true; // To remove possible self from To.
++
++          // If Cc is set a this point it's auto-Ccs, so we'll just keep those.
+         }
+ 
+         // Preserve BCC for the reply-to-self case (can be known if replying
+@@ -2774,40 +2779,29 @@
+       references += messageId;
+       compFields->SetReferences(NS_LossyConvertUTF16toASCII(references).get());
+ 
+-      // Remove my address from Reply fields.
+       nsAutoCString resultStr;
+ 
+       // Cast interface to concrete class that has direct field getters etc.
+       nsMsgCompFields* _compFields = static_cast<nsMsgCompFields*>(compFields.get());
+-      if (mIdentity)
+-      {
+-        nsCString email;
+-        mIdentity->GetEmail(email);
+-        // We need to remove dups for the Reply fields.
+-
+-        // If it's a reply to self, self should not be removed.
+-        if (NS_ConvertUTF16toUTF8(from).Find(email) == kNotFound) {
+-          parser->RemoveDuplicateAddresses(nsDependentCString(_compFields->GetTo()),
+-                                           email, resultStr);
+-          _compFields->SetTo(resultStr.get());
+-        }
+ 
+-        parser->RemoveDuplicateAddresses(nsDependentCString(_compFields->GetCc()),
+-                                         email, resultStr);
+-        _compFields->SetCc(resultStr.get());
+-      }
+-
+-      // Remove duplicate addresses between TO && CC
++      // Remove duplicate addresses between To && Cc.
+       if (needToRemoveDup)
+       {
+-        nsCString addressToBeRemoved(_compFields->GetTo());
+-        // Remove my own address if using Mail-Followup-To (see bug 325429)
++        nsCString addressesToRemoveFromCc;
+         if (mIdentity)
+         {
+           bool removeMyEmailInCc = true;
+           nsCString myEmail;
+           mIdentity->GetEmail(myEmail);
+ 
++          // Remove my own address from To, unless it's a reply to self.
++          if (!isReplyToSelf) {
++            parser->RemoveDuplicateAddresses(nsDependentCString(_compFields->GetTo()),
++                                             myEmail, resultStr);
++            _compFields->SetTo(resultStr.get());
++          }
++          addressesToRemoveFromCc.Assign(_compFields->GetTo());
++
+           // Remove own address from CC unless we want it in there
+           // through the automatic-CC-to-self (see bug 584962). There are
+           // three cases:
+@@ -2820,31 +2814,25 @@
+           mIdentity->GetDoCc(&automaticCc);
+           if (automaticCc)
+           {
+-            nsCString ccList, ccEmailAddresses;
+-            mIdentity->GetDoCcList(ccList);
+-            rv = parser->ExtractHeaderAddressMailboxes(ccList,
+-                                                       ccEmailAddresses);
++            nsCString autoCcList, autoCcEmailAddresses;
++            mIdentity->GetDoCcList(autoCcList); 
++            rv = parser->ExtractHeaderAddressMailboxes(autoCcList,
++                                                       autoCcEmailAddresses);
+             if (NS_SUCCEEDED(rv) &&
+-                ccEmailAddresses.Find(myEmail) != kNotFound)
++                autoCcEmailAddresses.Find(myEmail) != kNotFound)
++            {
+               removeMyEmailInCc = false;
+           }
+-
+-          if (removeMyEmailInCc)
+-          {
+-            addressToBeRemoved.AppendLiteral(", ");
+-            addressToBeRemoved.Append(myEmail);
+           }
+ 
+-          rv = parser->RemoveDuplicateAddresses(nsDependentCString(_compFields->GetTo()),
+-                                                myEmail, resultStr);
+-          if (NS_SUCCEEDED(rv))
++          if (removeMyEmailInCc)
+           {
+-            if (type == nsIMsgCompType::ReplyAll && !mailFollowupTo.IsEmpty())
+-              _compFields->SetTo(resultStr.get());
++            addressesToRemoveFromCc.AppendLiteral(", ");
++            addressesToRemoveFromCc.Append(myEmail);
+           }
+         }
+         rv = parser->RemoveDuplicateAddresses(nsDependentCString(_compFields->GetCc()),
+-                                              addressToBeRemoved, resultStr);
++                                              addressesToRemoveFromCc, resultStr);
+         if (NS_SUCCEEDED(rv))
+           _compFields->SetCc(resultStr.get());
+       }
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/compose/src/nsMsgSend.cpp seamonkey-2.21-esr1.0/comm-release/mailnews/compose/src/nsMsgSend.cpp
+--- seamonkey-2.21/comm-release/mailnews/compose/src/nsMsgSend.cpp	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/compose/src/nsMsgSend.cpp	2013-11-29 02:20:03.291130458 +0400
+@@ -3671,6 +3671,12 @@
+ 
+     if (mSendReport)
+     {
++      int32_t process;
++      if (NS_SUCCEEDED(mSendReport->GetCurrentProcess(&process)) && process == nsIMsgSendReport::process_Current)
++      {
++        // currentProcess isn't set yet, so we need another value.
++        mSendReport->SetCurrentProcess(nsIMsgSendReport::process_BuildMessage);
++      }
+       mSendReport->SetError(nsIMsgSendReport::process_Current, aFailureCode, false);
+       mSendReport->SetMessage(nsIMsgSendReport::process_Current, aErrorMsg, false);
+       mSendReport->DisplayReport(prompt, true, true, aResult);
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/compose/src/nsMsgSendReport.cpp seamonkey-2.21-esr1.0/comm-release/mailnews/compose/src/nsMsgSendReport.cpp
+--- seamonkey-2.21/comm-release/mailnews/compose/src/nsMsgSendReport.cpp	2013-09-16 22:20:09.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/compose/src/nsMsgSendReport.cpp	2013-11-29 02:20:03.292130443 +0400
+@@ -163,7 +163,13 @@
+     return NS_ERROR_ILLEGAL_VALUE;
+ 
+   if (process == process_Current)
++  {
++    if (mCurrentProcess == process_Current)
++      // We don't know what we're currently trying to do
++      return NS_ERROR_ILLEGAL_VALUE;
++
+     process = mCurrentProcess;
++  }
+ 
+   if (!mProcessReport[process])
+     return NS_ERROR_NOT_INITIALIZED;
+@@ -183,7 +189,13 @@
+     return NS_ERROR_ILLEGAL_VALUE;
+ 
+   if (process == process_Current)
++  {
++    if (mCurrentProcess == process_Current)
++      // We don't know what we're currently trying to do
++      return NS_ERROR_ILLEGAL_VALUE;
++
+     process = mCurrentProcess;
++  }
+ 
+   if (!mProcessReport[process])
+     return NS_ERROR_NOT_INITIALIZED;
+@@ -204,7 +216,13 @@
+     return NS_ERROR_ILLEGAL_VALUE;
+ 
+   if (process == process_Current)
++  {
++    if (mCurrentProcess == process_Current)
++      // We don't know what we're currently trying to do
++      return NS_ERROR_ILLEGAL_VALUE;
++
+     process = mCurrentProcess;
++  }
+ 
+   NS_IF_ADDREF(*_retval = mProcessReport[process]);
+   return NS_OK;
+@@ -215,6 +233,9 @@
+ {
+   NS_ENSURE_ARG_POINTER(_retval);
+ 
++  NS_ENSURE_TRUE(mCurrentProcess >= 0 && mCurrentProcess <= SEND_LAST_PROCESS,
++                 NS_ERROR_NOT_INITIALIZED);
++
+   nsresult currError = NS_OK;
+   mProcessReport[mCurrentProcess]->GetError(&currError);
+   *_retval = currError;
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/local/src/nsParseMailbox.cpp seamonkey-2.21-esr1.0/comm-release/mailnews/local/src/nsParseMailbox.cpp
+--- seamonkey-2.21/comm-release/mailnews/local/src/nsParseMailbox.cpp	2013-09-16 22:20:10.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/local/src/nsParseMailbox.cpp	2013-11-29 02:20:03.292130443 +0400
+@@ -874,7 +874,6 @@
+   {
+     header = (struct message_header*) list.ElementAt(i);
+     length += (header->length + 1); //+ for ","
+-    NS_ASSERTION(header->length == (int32_t)strlen(header->value), "header corrupted");
+   }
+ 
+   if (length > 0)
+@@ -1056,7 +1055,7 @@
+ SEARCH_NEWLINE:
+     // move past any non terminating characters, rewriting them if folding white space
+     // exists
+-    while (buf < buf_end && *buf != '\r' && *buf != '\n')
++    while (buf <= buf_end && *buf != '\r' && *buf != '\n')
+     {
+       if (writeOffset)
+         *(buf - writeOffset) = *buf;
+@@ -1101,6 +1100,8 @@
+ 
+       header->value = value;
+       header->length = buf - header->value - writeOffset;
++      if (header->length < 0)
++        header->length = 0;
+     }
+     if (*buf == '\r' || *buf == '\n')
+     {
+@@ -1215,8 +1216,6 @@
+     return NS_OK;
+   }
+ 
+-  NS_ASSERTION (header->length == (short) strlen(header->value), "subject corrupt while parsing message");
+-
+   key = (char *) header->value;  /* #### const evilness */
+ 
+   L = header->length;
+@@ -1441,7 +1440,6 @@
+       group in the summary list, and only being able to sort on the first
+         group rather than the whole list.  It's worth it. */
+         char * ch;
+-        NS_ASSERTION (recipient->length == (uint16_t) strlen(recipient->value), "invalid recipient");
+         ch = PL_strchr(recipient->value, ',');
+         if (ch)
+         {
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/local/test/unit/data/invalid_mozilla_keys.eml seamonkey-2.21-esr1.0/comm-release/mailnews/local/test/unit/data/invalid_mozilla_keys.eml
+--- seamonkey-2.21/comm-release/mailnews/local/test/unit/data/invalid_mozilla_keys.eml	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/local/test/unit/data/invalid_mozilla_keys.eml	2013-11-29 02:20:03.292130443 +0400
+@@ -0,0 +1,5 @@
++Date: Tue, 21 Jan 2012 11:44:20 +0000
++X-Mozilla-Keys:                               
++                                              
++
++This mail has invalid X-Mozilla-Keys header.
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/local/test/unit/test_nsIMsgParseMailMsgState.js seamonkey-2.21-esr1.0/comm-release/mailnews/local/test/unit/test_nsIMsgParseMailMsgState.js
+--- seamonkey-2.21/comm-release/mailnews/local/test/unit/test_nsIMsgParseMailMsgState.js	2013-09-16 22:20:10.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/local/test/unit/test_nsIMsgParseMailMsgState.js	2013-11-29 02:20:03.292130443 +0400
+@@ -11,6 +11,7 @@
+ 
+   test_parse_headers_without_crash("./data/mailformed_recipients.eml");
+   test_parse_headers_without_crash("./data/mailformed_subject.eml");
++  test_parse_headers_without_crash("./data/invalid_mozilla_keys.eml");
+ }
+ 
+ function test_parse_headers_without_crash(eml) {
+diff -Nrbu seamonkey-2.21/comm-release/mailnews/news/src/nsNntpIncomingServer.cpp seamonkey-2.21-esr1.0/comm-release/mailnews/news/src/nsNntpIncomingServer.cpp
+--- seamonkey-2.21/comm-release/mailnews/news/src/nsNntpIncomingServer.cpp	2013-09-16 22:20:10.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mailnews/news/src/nsNntpIncomingServer.cpp	2013-11-29 02:20:03.292130443 +0400
+@@ -73,7 +73,7 @@
+ 
+   bool LessThan(const nsCString &a, const nsCString &b) const
+   {
+-    return Compare(a, b, nsCaseInsensitiveCStringComparator());
++    return Compare(a, b, nsCaseInsensitiveCStringComparator()) < 0;
+   }
+ };
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/app/blocklist.xml seamonkey-2.21-esr1.0/comm-release/mozilla/browser/app/blocklist.xml
+--- seamonkey-2.21/comm-release/mozilla/browser/app/blocklist.xml	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/app/blocklist.xml	2013-11-29 02:20:03.293130431 +0400
+@@ -1,7 +1,9 @@
+ <?xml version="1.0"?>
+-<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist" lastupdate="1379114379000">
++<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist" lastupdate="1382113575000">
+   <emItems>
+-      <emItem  blockID="i350" id="sqlmoz at facebook.com">
++      <emItem  blockID="i454" id="sqlmoz at facebook.com">
++                        <versionRange  minVersion="0" maxVersion="*" severity="3">
++                    </versionRange>
+                         <versionRange  minVersion="0" maxVersion="*" severity="3">
+                     </versionRange>
+                   </emItem>
+@@ -180,6 +182,10 @@
+                         <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i450" id="{dff137ae-1ffd-11e3-8277-b8ac6f996f26}">
++                        <versionRange  minVersion="0" maxVersion="*" severity="3">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i111" os="WINNT" id="{C3949AC2-4B17-43ee-B4F1-D26B9D42404D}">
+                         <versionRange  minVersion="0" maxVersion="15.0.5" severity="1">
+                     </versionRange>
+@@ -339,8 +345,8 @@
+                   </emItem>
+       <emItem  blockID="i48" id="admin at youtubespeedup.com">
+                         </emItem>
+-      <emItem  blockID="i104" id="yasd at youasdr3.com">
+-                        <versionRange  minVersion="0" maxVersion="*">
++      <emItem  blockID="i218" id="ffxtlbr at claro.com">
++                        <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+                   </emItem>
+       <emItem  blockID="i79" id="GifBlock at facebook.com">
+@@ -391,6 +397,10 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i453" id="/^brasilescape.*\@facebook\.com$/">
++                        <versionRange  minVersion="0" maxVersion="*" severity="3">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i109" id="{392e123b-b691-4a5e-b52f-c4c1027e749c}">
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+@@ -425,6 +435,10 @@
+                         <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i461" id="{8E9E3331-D360-4f87-8803-52DE43566502}">
++                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i426" id="addlyrics at addlyrics.net">
+                         <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+@@ -437,8 +451,8 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i218" id="ffxtlbr at claro.com">
+-                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++      <emItem  blockID="i104" id="yasd at youasdr3.com">
++                        <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
+       <emItem  blockID="i10" id="{8CE11043-9A15-4207-A565-0C94C42D590D}">
+@@ -463,6 +477,10 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i460" id="{845cab51-d8d2-472f-8bd9-2b44642d97c2}">
++                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i6" id="{3f963a5b-e555-4543-90e2-c3908898db71}">
+                         <versionRange  minVersion=" " maxVersion="8.5">
+                     </versionRange>
+@@ -471,6 +489,10 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i451" id="{e44a1809-4d10-4ab8-b343-3326b64c7cdd}">
++                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i216" id="fdm_ffext at freedownloadmanager.org">
+                         <versionRange  minVersion="1.0" maxVersion="1.3.1">
+                       <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
+@@ -564,8 +586,8 @@
+                         <versionRange  minVersion="0" maxVersion="*">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i431" id="chinaescapeone at facebook.com">
+-                        <versionRange  minVersion="0" maxVersion="*" severity="3">
++      <emItem  blockID="i318" id="ffxtlbr at incredibar.com">
++                        <versionRange  minVersion="0" maxVersion="*" severity="1">
+                     </versionRange>
+                   </emItem>
+       <emItem  blockID="i312" id="extension21804 at extension21804.com">
+@@ -576,8 +598,8 @@
+                         <versionRange  minVersion="0" maxVersion="*" severity="3">
+                     </versionRange>
+                   </emItem>
+-      <emItem  blockID="i318" id="ffxtlbr at incredibar.com">
+-                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++      <emItem  blockID="i431" id="chinaescapeone at facebook.com">
++                        <versionRange  minVersion="0" maxVersion="*" severity="3">
+                     </versionRange>
+                   </emItem>
+       <emItem  blockID="i108" id="{28bfb930-7620-11e1-b0c4-0800200c9a66}">
+@@ -685,6 +707,10 @@
+                         <versionRange  minVersion="0" maxVersion="1.1.999" severity="1">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i452" id="{77beece6-3997-403a-92fa-0055bfcf88e5}">
++                        <versionRange  minVersion="0" maxVersion="*" severity="1">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i45" id="{22119944-ED35-4ab1-910B-E619EA06A115}">
+                         <versionRange  minVersion="0.1" maxVersion="7.6.1">
+                       <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
+@@ -720,6 +746,10 @@
+                         <versionRange  minVersion="0" maxVersion="*" severity="3">
+                     </versionRange>
+                   </emItem>
++      <emItem  blockID="i455" id="7d51fb17-b199-4d8f-894e-decaff4fc36a at a298838b-7f50-4c7c-9277-df6abbd42a0c.com">
++                        <versionRange  minVersion="0" maxVersion="*" severity="3">
++                    </versionRange>
++                  </emItem>
+       <emItem  blockID="i21" id="support at update-firefox.com">
+                         </emItem>
+       <emItem  blockID="i322" id="jid0-Y6TVIzs0r7r4xkOogmJPNAGFGBw at jetpack">
+@@ -1137,6 +1167,51 @@
+       <pluginItem  blockID="p428">
+                   <match name="filename" exp="np[dD]eployJava1\.dll" />                      <versionRange  severity="0" vulnerabilitystatus="2"></versionRange>
+                   </pluginItem>
++      <pluginItem  blockID="p456">
++                  <match name="filename" exp="npvlc\.dll" />                      <versionRange  minVersion="0" maxVersion="2.0.5" severity="0" vulnerabilitystatus="1"></versionRange>
++                  </pluginItem>
++      <pluginItem  blockID="p457">
++      <match name="name" exp="Java(\(TM\))? Plug-in ((1\.7\.0_(2[5-9]|3\d|4[0-4]))|(10\.4[0-4](\.[0-9]+)?))([^\d\._]|$)" />            <match name="filename" exp="libnpjp2\.so" />                                    <versionRange  severity="0" vulnerabilitystatus="1">
++                                <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
++                              <versionRange  minVersion="17.0" maxVersion="*" />
++                          </targetApplication>
++                  </versionRange>
++                  </pluginItem>
++      <pluginItem  blockID="p458">
++      <match name="name" exp="Java\(TM\) Platform SE 7 U(2[5-9]|3\d|4[0-4])(\s[^\d\._U]|$)" />            <match name="filename" exp="npjp2\.dll" />                                    <versionRange  severity="0" vulnerabilitystatus="1">
++                                <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
++                              <versionRange  minVersion="17.0" maxVersion="*" />
++                          </targetApplication>
++                  </versionRange>
++                  </pluginItem>
++      <pluginItem  blockID="p459">
++                  <match name="filename" exp="JavaAppletPlugin\.plugin" />                                    <versionRange  minVersion="Java 7 Update 25" maxVersion="Java 7 Update 44" severity="0" vulnerabilitystatus="1">
++                                <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
++                              <versionRange  minVersion="17.0" maxVersion="*" />
++                          </targetApplication>
++                  </versionRange>
++                  </pluginItem>
++      <pluginItem  blockID="p462">
++                  <match name="filename" exp="JavaAppletPlugin\.plugin" />                                    <versionRange  minVersion="Java 7 Update 45" maxVersion="Java 7 Update 45" severity="0" vulnerabilitystatus="2">
++                                <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
++                              <versionRange  minVersion="24.0" maxVersion="*" />
++                          </targetApplication>
++                  </versionRange>
++                  </pluginItem>
++      <pluginItem  blockID="p463">
++      <match name="name" exp="Java\(TM\) Platform SE 7 U45(\s[^\d\._U]|$)" />            <match name="filename" exp="npjp2\.dll" />                                    <versionRange  severity="0" vulnerabilitystatus="2">
++                                <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
++                              <versionRange  minVersion="24.0" maxVersion="*" />
++                          </targetApplication>
++                  </versionRange>
++                  </pluginItem>
++      <pluginItem  blockID="p464">
++      <match name="name" exp="Java(\(TM\))? Plug-in 10\.45(\.[0-9]+)?([^\d\._]|$)" />            <match name="filename" exp="libnpjp2\.so" />                                    <versionRange  severity="0" vulnerabilitystatus="2">
++                                <targetApplication  id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
++                              <versionRange  minVersion="24.0" maxVersion="*" />
++                          </targetApplication>
++                  </versionRange>
++                  </pluginItem>
+     </pluginItems>
+ 
+   <gfxItems>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/app/profile/firefox.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/app/profile/firefox.js
+--- seamonkey-2.21/comm-release/mozilla/browser/app/profile/firefox.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/app/profile/firefox.js	2013-11-29 02:20:03.293130431 +0400
+@@ -58,7 +58,7 @@
+ 
+ pref("extensions.hotfix.id", "firefox-hotfix at mozilla.org");
+ pref("extensions.hotfix.cert.checkAttributes", true);
+-pref("extensions.hotfix.certs.1.sha1Fingerprint", "CA:C4:7D:BF:63:4D:24:E9:DC:93:07:2F:E3:C8:EA:6D:C3:94:6E:89");
++pref("extensions.hotfix.certs.1.sha1Fingerprint", "91:53:98:0C:C1:86:DF:47:8F:35:22:9E:11:C9:A7:31:04:49:A1:AA");
+ 
+ // Disable add-ons that are not installed by the user in all scopes by default.
+ // See the SCOPE constants in AddonManager.jsm for values to use here.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/browser-fullZoom.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/browser-fullZoom.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/browser-fullZoom.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/browser-fullZoom.js	2013-11-29 02:20:03.293130431 +0400
+@@ -239,10 +239,6 @@
+     let browser = aBrowser || gBrowser.selectedBrowser;
+     this._ignorePendingZoomAccesses(browser);
+ 
+-    // Bug 691614 - zooming support for electrolysis
+-    if (gMultiProcessBrowser)
+-      return;
+-
+     if (!aURI || (aIsTabSwitch && !this.siteSpecific)) {
+       this._notifyOnLocationChange();
+       return;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug386835.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug386835.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug386835.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug386835.js	2013-11-29 02:20:03.293130431 +0400
+@@ -80,10 +80,10 @@
+     finishTestStarted = true;
+     yield FullZoomHelper.selectTabAndWaitForLocationChange(gTab1);
+     FullZoom.reset();
+-    gBrowser.removeTab(gTab1);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gTab1);
+     FullZoom.reset();
+-    gBrowser.removeTab(gTab2);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gTab2);
+     FullZoom.reset();
+-    gBrowser.removeTab(gTab3);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gTab3);
+   }).then(finish, FullZoomHelper.failAndContinue(finish));
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug416661.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug416661.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug416661.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug416661.js	2013-11-29 02:20:03.293130431 +0400
+@@ -22,12 +22,14 @@
+ }
+ 
+ function end_test_prefNotSet() {
++  Task.spawn(function () {
+   is(ZoomManager.zoom, zoomLevel, "the zoom level should have persisted");
+ 
+   // Reset the zoom so that other tests have a fresh zoom level
+   FullZoom.reset();
+-  gBrowser.removeCurrentTab();
++    yield FullZoomHelper.removeTabAndWaitForLocationChange();
+   finish();
++  });
+ }
+ 
+ function test() {
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug419612.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug419612.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug419612.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug419612.js	2013-11-29 02:20:03.293130431 +0400
+@@ -26,7 +26,7 @@
+ 
+     if (gPrefService.prefHasUserValue("browser.zoom.updateBackgroundTabs"))
+       gPrefService.clearUserPref("browser.zoom.updateBackgroundTabs");
+-    gBrowser.removeTab(tab1);
+-    gBrowser.removeTab(tab2);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(tab1);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(tab2);
+   }).then(finish, FullZoomHelper.failAndContinue(finish));
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug441778.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug441778.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug441778.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug441778.js	2013-11-29 02:20:03.294130423 +0400
+@@ -36,8 +36,8 @@
+         is(e.target.defaultView.location, TEST_IFRAME_URL, "got the load event for the iframe");
+         is(ZoomManager.zoom, zoomLevel, "zoom is retained after sub-document load");
+ 
+-        gBrowser.removeCurrentTab();
+-        deferred.resolve();
++        FullZoomHelper.removeTabAndWaitForLocationChange().
++          then(() => deferred.resolve());
+       }, true);
+       content.document.querySelector("iframe").src = TEST_IFRAME_URL;
+     });
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug555224.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug555224.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug555224.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug555224.js	2013-11-29 02:20:03.294130423 +0400
+@@ -5,13 +5,15 @@
+ var gTestTab, gBgTab, gTestZoom;
+ 
+ function testBackgroundLoad() {
++  Task.spawn(function () {
+   is(ZoomManager.zoom, gTestZoom, "opening a background tab should not change foreground zoom");
+ 
+-  gBrowser.removeTab(gBgTab);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gBgTab);
+ 
+   FullZoom.reset();
+-  gBrowser.removeTab(gTestTab);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gTestTab);
+   finish();
++  });
+ }
+ 
+ function testInitialZoom() {
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug559991.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug559991.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug559991.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug559991.js	2013-11-29 02:20:03.294130423 +0400
+@@ -26,7 +26,8 @@
+ // -------------
+ // Test clean-up
+ function endTest() {
+-  gBrowser.removeTab(tab);
++  Task.spawn(function () {
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(tab);
+ 
+   tab = null;
+ 
+@@ -37,4 +38,5 @@
+     gPrefService.clearUserPref("browser.zoom.siteSpecific");
+ 
+   finish();
++  });
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug575830.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug575830.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug575830.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug575830.js	2013-11-29 02:20:03.294130423 +0400
+@@ -8,10 +8,6 @@
+   const TEST_IMAGE = "http://example.org/browser/browser/base/content/test/moz.png";
+ 
+   waitForExplicitFinish();
+-  registerCleanupFunction(function cleanup() {
+-    gBrowser.removeTab(tab1);
+-    gBrowser.removeTab(tab2);
+-  });
+ 
+   Task.spawn(function () {
+     tab1 = gBrowser.addTab();
+@@ -30,5 +26,8 @@
+ 
+     yield FullZoomHelper.selectTabAndWaitForLocationChange(tab1);
+     is(ZoomManager.zoom, zoom, "zoom level for first tab should not have changed");
++
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(tab1);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(tab2);
+   }).then(finish, FullZoomHelper.failAndContinue(finish));
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug719271.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug719271.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_bug719271.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_bug719271.js	2013-11-29 02:20:03.294130423 +0400
+@@ -81,9 +81,9 @@
+ 
+     yield FullZoomHelper.selectTabAndWaitForLocationChange(gTab1);
+     FullZoom.reset();
+-    gBrowser.removeTab(gTab1);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gTab1);
+     yield FullZoomHelper.selectTabAndWaitForLocationChange(gTab2);
+     FullZoom.reset();
+-    gBrowser.removeTab(gTab2);
++    yield FullZoomHelper.removeTabAndWaitForLocationChange(gTab2);
+   }).then(finish, FullZoomHelper.failAndContinue(finish));
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_lastAccessedTab.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_lastAccessedTab.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_lastAccessedTab.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_lastAccessedTab.js	2013-11-29 02:20:03.294130423 +0400
+@@ -17,7 +17,9 @@
+   gBrowser.selectedTab = newTab;
+   let newTabAccessedDate = newTab.lastAccessed;
+   ok(newTabAccessedDate > 0, "Timestamp on the selected tab is more than 0.");
+-  ok(newTabAccessedDate <= Date.now(), "Timestamp less than or equal current Date.");
++  // Date.now is not guaranteed to be monotonic, so include one second of fudge.
++  let now = Date.now() + 1000;
++  ok(newTabAccessedDate <= now, "Timestamp less than or equal current Date: " + newTabAccessedDate + " <= " + now);
+   gBrowser.selectedTab = originalTab;
+   is(newTab.lastAccessed, newTabAccessedDate, "New tab's timestamp remains the same.");
+   gBrowser.removeTab(newTab);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_save_link-perwindowpb.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_save_link-perwindowpb.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/browser_save_link-perwindowpb.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/browser_save_link-perwindowpb.js	2013-11-29 02:20:03.294130423 +0400
+@@ -106,6 +106,9 @@
+ 
+   function onExamineResponse(subject) {
+     let channel = subject.QueryInterface(Ci.nsIHttpChannel);
++    if (channel.URI.spec != "http://mochi.test:8888/browser/browser/base/content/test/bug792517.sjs") {
++      return;
++    }
+     try {
+       let cookies = channel.getResponseHeader("set-cookie");
+       // From browser/base/content/test/bug792715.sjs, we receive a Set-Cookie
+@@ -117,6 +120,9 @@
+ 
+   function onModifyRequest(subject) {
+     let channel = subject.QueryInterface(Ci.nsIHttpChannel);
++    if (channel.URI.spec != "http://mochi.test:8888/browser/browser/base/content/test/bug792517.sjs") {
++      return;
++    }
+     try {
+       let cookies = channel.getRequestHeader("cookie");
+       // From browser/base/content/test/bug792715.sjs, we should never send a
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/base/content/test/head.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/head.js
+--- seamonkey-2.21/comm-release/mozilla/browser/base/content/test/head.js	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/base/content/test/head.js	2013-11-29 02:20:03.294130423 +0400
+@@ -293,13 +293,25 @@
+ let FullZoomHelper = {
+ 
+   selectTabAndWaitForLocationChange: function selectTabAndWaitForLocationChange(tab) {
+-    let deferred = Promise.defer();
+-    if (tab && gBrowser.selectedTab == tab) {
+-      deferred.resolve();
+-      return deferred.promise;
+-    }
+-    if (tab)
++    if (!tab)
++      throw new Error("tab must be given.");
++    if (gBrowser.selectedTab == tab)
++      return Promise.resolve();
+       gBrowser.selectedTab = tab;
++    return this.waitForLocationChange();
++  },
++
++  removeTabAndWaitForLocationChange: function removeTabAndWaitForLocationChange(tab) {
++    tab = tab || gBrowser.selectedTab;
++    let selected = gBrowser.selectedTab == tab;
++    gBrowser.removeTab(tab);
++    if (selected)
++      return this.waitForLocationChange();
++    return Promise.resolve();
++  },
++
++  waitForLocationChange: function waitForLocationChange() {
++    let deferred = Promise.defer();
+     Services.obs.addObserver(function obs() {
+       Services.obs.removeObserver(obs, "browser-fullZoom:locationChange");
+       deferred.resolve();
+@@ -319,7 +331,7 @@
+         deferred.resolve();
+     }, true);
+ 
+-    this.selectTabAndWaitForLocationChange(null).then(function () {
++    this.waitForLocationChange().then(function () {
+       didZoom = true;
+       if (didLoad)
+         deferred.resolve();
+@@ -371,7 +383,7 @@
+     else if (direction == this.FORWARD)
+       gBrowser.goForward();
+ 
+-    this.selectTabAndWaitForLocationChange(null).then(function () {
++    this.waitForLocationChange().then(function () {
+       didZoom = true;
+       if (didPs)
+         deferred.resolve();
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/branding/aurora/branding.nsi seamonkey-2.21-esr1.0/comm-release/mozilla/browser/branding/aurora/branding.nsi
+--- seamonkey-2.21/comm-release/mozilla/browser/branding/aurora/branding.nsi	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/branding/aurora/branding.nsi	2013-11-29 02:20:03.294130423 +0400
+@@ -19,7 +19,7 @@
+ 
+ # The installer's certificate name and issuer expected by the stub installer
+ !define CertNameDownload   "Mozilla Corporation"
+-!define CertIssuerDownload "Thawte Code Signing CA - G2"
++!define CertIssuerDownload "DigiCert Assured ID Code Signing CA-1"
+ 
+ # Dialog units are used so the UI displays correctly with the system's DPI
+ # settings.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/branding/nightly/branding.nsi seamonkey-2.21-esr1.0/comm-release/mozilla/browser/branding/nightly/branding.nsi
+--- seamonkey-2.21/comm-release/mozilla/browser/branding/nightly/branding.nsi	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/branding/nightly/branding.nsi	2013-11-29 02:20:03.294130423 +0400
+@@ -19,7 +19,7 @@
+ 
+ # The installer's certificate name and issuer expected by the stub installer
+ !define CertNameDownload   "Mozilla Corporation"
+-!define CertIssuerDownload "Thawte Code Signing CA - G2"
++!define CertIssuerDownload "DigiCert Assured ID Code Signing CA-1"
+ 
+ # Dialog units are used so the UI displays correctly with the system's DPI
+ # settings.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/branding/official/branding.nsi seamonkey-2.21-esr1.0/comm-release/mozilla/browser/branding/official/branding.nsi
+--- seamonkey-2.21/comm-release/mozilla/browser/branding/official/branding.nsi	2013-09-16 22:26:25.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/branding/official/branding.nsi	2013-11-29 02:20:03.295130418 +0400
+@@ -23,7 +23,7 @@
+ 
+ # The installer's certificate name and issuer expected by the stub installer
+ !define CertNameDownload   "Mozilla Corporation"
+-!define CertIssuerDownload "Thawte Code Signing CA - G2"
++!define CertIssuerDownload "DigiCert Assured ID Code Signing CA-1"
+ 
+ # Dialog units are used so the UI displays correctly with the system's DPI
+ # settings.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/config/version.txt seamonkey-2.21-esr1.0/comm-release/mozilla/browser/config/version.txt
+--- seamonkey-2.21/comm-release/mozilla/browser/config/version.txt	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/config/version.txt	2013-11-29 02:20:03.295130418 +0400
+@@ -1 +1 @@
+-24.0
++24.0esrpre
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/confvars.sh seamonkey-2.21-esr1.0/comm-release/mozilla/browser/confvars.sh
+--- seamonkey-2.21/comm-release/mozilla/browser/confvars.sh	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/confvars.sh	2013-11-29 02:16:20.480143223 +0400
+@@ -46,9 +46,9 @@
+ # This should usually be the same as the value MAR_CHANNEL_ID.
+ # If more than one ID is needed, then you should use a comma separated list
+ # of values.
+-ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-release
++ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-esr
+ # The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t "
+-MAR_CHANNEL_ID=firefox-mozilla-release
++MAR_CHANNEL_ID=firefox-mozilla-esr
+ MOZ_PROFILE_MIGRATOR=1
+ MOZ_EXTENSION_MANAGER=1
+ MOZ_APP_STATIC_INI=1
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/debugger/test/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/debugger/test/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/debugger/test/Makefile.in	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/debugger/test/Makefile.in	2013-11-29 02:20:03.295130418 +0400
+@@ -45,7 +45,6 @@
+ 	browser_dbg_propertyview-filter-06.js \
+ 	browser_dbg_propertyview-filter-07.js \
+ 	browser_dbg_propertyview-filter-08.js \
+-	browser_dbg_propertyview-reexpand.js \
+ 	$(filter disabled-temporarily--bug-782179, browser_dbg_reload-same-script.js) \
+ 	browser_dbg_reload-preferred-script.js \
+ 	browser_dbg_pane-collapse.js \
+@@ -156,6 +155,7 @@
+ 	browser_dbg_createChrome.js \
+ 	browser_dbg_propertyview-filter-02.js \
+ 	browser_dbg_propertyview-filter-03.js \
++	browser_dbg_propertyview-reexpand.js \
+ 	$(NULL)
+ endif
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/profiler/test/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/profiler/test/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/profiler/test/Makefile.in	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/profiler/test/Makefile.in	2013-11-29 02:20:03.295130418 +0400
+@@ -10,19 +10,21 @@
+ 
+ include $(DEPTH)/config/autoconf.mk
+ 
++# Disabled for intermittent failures.
++#		browser_profiler_run.js \
++#		browser_profiler_bug_855244_multiple_tabs.js \
++#		browser_profiler_controller.js \
++#		browser_profiler_bug_830664_multiple_profiles.js \
++#		browser_profiler_console_api.js \
++#		browser_profiler_console_api_named.js \
++#		browser_profiler_console_api_mixed.js \
++#		browser_profiler_console_api_content.js \
++
+ MOCHITEST_BROWSER_TESTS = \
+ 		browser_profiler_profiles.js \
+ 		browser_profiler_remote.js \
+ 		browser_profiler_bug_834878_source_buttons.js \
+ 		browser_profiler_cmd.js \
+-		browser_profiler_run.js \
+-		browser_profiler_controller.js \
+-		browser_profiler_bug_830664_multiple_profiles.js \
+-		browser_profiler_bug_855244_multiple_tabs.js \
+-		browser_profiler_console_api.js \
+-		browser_profiler_console_api_named.js \
+-		browser_profiler_console_api_mixed.js \
+-		browser_profiler_console_api_content.js \
+ 		head.js \
+ 		$(NULL)
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/NetworkPanel.jsm seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/NetworkPanel.jsm
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/NetworkPanel.jsm	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/NetworkPanel.jsm	2013-11-29 02:20:03.295130418 +0400
+@@ -686,9 +686,7 @@
+    */
+   update: function NP_update()
+   {
+-    // After the iframe's contentWindow is ready, the document object is set.
+-    // If the document object is not available yet nothing needs to be updated.
+-    if (!this.document || !this.document.getElementById("headUrl")) {
++    if (!this.document || this.document.readyState != "complete") {
+       return;
+     }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js	2013-11-29 02:20:03.295130418 +0400
+@@ -12,6 +12,11 @@
+ 
+ function test()
+ {
++  // This test is slightly more involved: it opens the web console, then the
++  // variables view for a given object, it updates a property in the view and
++  // checks the result. We can get a timeout with debug builds on slower machines.
++  requestLongerTimeout(2);
++
+   addTab("data:text/html;charset=utf8,<p>hello");
+   browser.addEventListener("load", function onLoad() {
+     browser.removeEventListener("load", onLoad, true);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_console_private_browsing.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_console_private_browsing.js
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_console_private_browsing.js	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_console_private_browsing.js	2013-11-29 02:20:03.295130418 +0400
+@@ -15,6 +15,10 @@
+   let privateWindow, privateBrowser, privateTab, privateContent;
+   let hud, expectedMessages, nonPrivateMessage;
+ 
++  // This test is slightly more involved: it opens the web console twice,
++  // a new private window once, and the browser console twice. We can get
++  // a timeout with debug builds on slower machines.
++  requestLongerTimeout(2);
+   start();
+ 
+   function start()
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js	2013-11-29 02:20:03.295130418 +0400
+@@ -19,7 +19,7 @@
+ let loadedTabCount = 0;
+ 
+ function test() {
+-  requestLongerTimeout(2);
++  requestLongerTimeout(3);
+ 
+   // Add two tabs in the main window.
+   addTabs(win1);
+@@ -45,6 +45,7 @@
+       tab.linkedBrowser.removeEventListener(aEvent.type, onLoad, true);
+ 
+       loadedTabCount++;
++      info("tabs loaded: " + loadedTabCount);
+       if (loadedTabCount >= 4) {
+         executeSoon(openConsoles);
+       }
+@@ -62,19 +63,12 @@
+       let window = hud.target.tab.linkedBrowser.contentWindow;
+       window.console.log("message for tab " + index);
+       consolesOpen++;
++      if (consolesOpen == 4) {
++        // Use executeSoon() to allow the promise to resolve.
++        executeSoon(closeConsoles);
++      }
+     }.bind(null, i));
+   }
+-
+-  waitForSuccess({
+-    timeout: 15000,
+-    name: "4 web consoles opened",
+-    validatorFn: function()
+-    {
+-      return consolesOpen == 4;
+-    },
+-    successFn: closeConsoles,
+-    failureFn: closeConsoles,
+-  });
+ }
+ 
+ function closeConsoles() {
+@@ -83,32 +77,25 @@
+   function onWebConsoleClose(aSubject, aTopic) {
+     if (aTopic == "web-console-destroyed") {
+       consolesClosed++;
++      info("consoles destroyed: " + consolesClosed);
++      if (consolesClosed == 4) {
++        // Use executeSoon() to allow all the observers to execute.
++        executeSoon(finishTest);
++      }
+     }
+   }
+ 
+   Services.obs.addObserver(onWebConsoleClose, "web-console-destroyed", false);
+ 
++  registerCleanupFunction(() => {
++    Services.obs.removeObserver(onWebConsoleClose, "web-console-destroyed");
++  });
++
+   win2.close();
+ 
+   win1.gBrowser.removeTab(openTabs[0]);
+   win1.gBrowser.removeTab(openTabs[1]);
+ 
+   openTabs = win1 = win2 = null;
+-
+-  function onTimeout() {
+-    Services.obs.removeObserver(onWebConsoleClose, "web-console-destroyed");
+-    executeSoon(finishTest);
+-  }
+-
+-  waitForSuccess({
+-    timeout: 10000,
+-    name: "4 web consoles closed",
+-    validatorFn: function()
+-    {
+-      return consolesClosed == 4;
+-    },
+-    successFn: onTimeout,
+-    failureFn: onTimeout,
+-  });
+ }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js
+--- seamonkey-2.21/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js	2013-11-29 02:20:03.296130411 +0400
+@@ -150,23 +150,17 @@
+ 
+   HUD.jsterm.execute("console.log(" + consoleTest + ")");
+ 
+-  waitForSuccess({
+-    name: "console.log message for test #" + cpos,
+-    validatorFn: function()
+-    {
+-      return HUD.outputNode.querySelector(".hud-log");
+-    },
+-    successFn: subtestNext,
+-    failureFn: testNext,
+-  });
+-
+-  yield;
++  waitForMessages({
++    webconsole: HUD,
++    messages: [{
++      name: "console API output is correct for inputValues[" + cpos + "]",
++      text: consoleOutput,
++      category: CATEGORY_WEBDEV,
++      severity: SEVERITY_LOG,
++    }],
++  }).then(subtestNext);
+ 
+-  let outputItem = HUD.outputNode.querySelector(".hud-log:last-child");
+-  ok(outputItem,
+-    "found the window.console output line for inputValues[" + cpos + "]");
+-  ok(outputItem.textContent.indexOf(consoleOutput) > -1,
+-    "console API output is correct for inputValues[" + cpos + "]");
++  yield undefined;
+ 
+   HUD.jsterm.clearOutput();
+ 
+@@ -175,24 +169,16 @@
+   HUD.jsterm.setInputValue("print(" + inputValue + ")");
+   HUD.jsterm.execute();
+ 
+-  waitForSuccess({
+-    name: "jsterm print() output for test #" + cpos,
+-    validatorFn: function()
+-    {
+-      return HUD.outputNode.querySelector(".webconsole-msg-output:last-child");
+-    },
+-    successFn: subtestNext,
+-    failureFn: testNext,
+-  });
+-
+-  yield;
++  waitForMessages({
++    webconsole: HUD,
++    messages: [{
++      name: "jsterm print() output is correct for inputValues[" + cpos + "]",
++      text: printOutput,
++      category: CATEGORY_OUTPUT,
++    }],
++  }).then(subtestNext);
+ 
+-  outputItem = HUD.outputNode.querySelector(".webconsole-msg-output:" +
+-                                            "last-child");
+-  ok(outputItem,
+-    "found the jsterm print() output line for inputValues[" + cpos + "]");
+-  ok(outputItem.textContent.indexOf(printOutput) > -1,
+-    "jsterm print() output is correct for inputValues[" + cpos + "]");
++  yield undefined;
+ 
+   // Test jsterm execution output.
+ 
+@@ -200,23 +186,21 @@
+   HUD.jsterm.setInputValue(inputValue);
+   HUD.jsterm.execute();
+ 
+-  waitForSuccess({
+-    name: "jsterm output for test #" + cpos,
+-    validatorFn: function()
+-    {
+-      return HUD.outputNode.querySelector(".webconsole-msg-output:last-child");
+-    },
+-    successFn: subtestNext,
+-    failureFn: testNext,
++  let outputItem;
++  waitForMessages({
++    webconsole: HUD,
++    messages: [{
++      name: "jsterm output is correct for inputValues[" + cpos + "]",
++      text: expectedOutput,
++      category: CATEGORY_OUTPUT,
++    }],
++  }).then(([result]) => {
++    outputItem = [...result.matched][0];
++    ok(outputItem, "found message element");
++    subtestNext();
+   });
+ 
+-  yield;
+-
+-  outputItem = HUD.outputNode.querySelector(".webconsole-msg-output:" +
+-                                            "last-child");
+-  ok(outputItem, "found the jsterm output line for inputValues[" + cpos + "]");
+-  ok(outputItem.textContent.indexOf(expectedOutput) > -1,
+-    "jsterm output is correct for inputValues[" + cpos + "]");
++  yield undefined;
+ 
+   let messageBody = outputItem.querySelector(".webconsole-msg-body");
+   ok(messageBody, "we have the message body for inputValues[" + cpos + "]");
+@@ -253,12 +237,12 @@
+   EventUtils.sendMouseEvent({ type: "click" }, messageBody, window);
+ 
+   if (showsVariablesView) {
+-    yield; // wait for the panel to open if we need to.
++    yield undefined; // wait for the panel to open if we need to.
+   }
+ 
+   testNext();
+ 
+-  yield;
++  yield undefined;
+ }
+ 
+ function testEnd() {
+@@ -289,4 +273,3 @@
+   addTab(TEST_URI);
+   browser.addEventListener("load", tabLoad, true);
+ }
+-
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/extensions/pdfjs/components/PdfRedirector.js seamonkey-2.21-esr1.0/comm-release/mozilla/browser/extensions/pdfjs/components/PdfRedirector.js
+--- seamonkey-2.21/comm-release/mozilla/browser/extensions/pdfjs/components/PdfRedirector.js	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/extensions/pdfjs/components/PdfRedirector.js	2013-11-29 02:20:03.296130411 +0400
+@@ -43,50 +43,30 @@
+ }
+ 
+ function getObjectUrl(window) {
+-  var url;
+-  var element = window.frameElement;
+-  var isOverlay = false;
+-  var params = {};
+-  if (element) {
++  // PlayPreview overlay "belongs" to the embed/object tag and consists of DIV
++  // and IFRAME. Starting from IFRAME and looking for first object tag.
++  var element = window.frameElement, containerElement;
++  if (!element) {
++    return null; // iframe tag
++  }
+     var tagName = element.nodeName;
+-    while (tagName != 'EMBED' && tagName != 'OBJECT') {
+-      // plugin overlay skipping until the target plugin is found
+-      isOverlay = true;
++  while (tagName !== 'EMBED' && tagName !== 'OBJECT') {
++    containerElement = element;
+       element = element.parentNode;
+-      if (!element)
+-        throw 'Plugin element is not found';
+-      tagName = element.nodeName;
++    if (!element) {
++      return null; // object tag was not found
+     }
+-    if (tagName == 'EMBED') {
+-      for (var i = 0; i < element.attributes.length; ++i) {
+-        params[element.attributes[i].localName] = element.attributes[i].value;
+-      }
+-      url = params.src;
+-    } else {
+-      for (var i = 0; i < element.childNodes.length; ++i) {
+-        var paramElement = element.childNodes[i];
+-        if (paramElement.nodeType != Ci.nsIDOMNode.ELEMENT_NODE ||
+-            paramElement.nodeName != 'PARAM') {
+-          continue;
++    tagName = element.nodeName;
+         }
+ 
+-        params[paramElement.getAttribute('name')] =
+-          paramElement.getAttribute('value');
++  // Checking if overlay is a proper PlayPreview overlay.
++  for (var i = 0; i < element.children.length; i++) {
++    if (element.children[i] === containerElement) {
++      return null; // invalid plugin element overlay
+       }
+-      var dataAttribute = element.getAttribute('data');
+-      url = dataAttribute || params.movie || params.src;
+     }
+-  }
+-  if (!url) {
+-    return url; // src is not specified
+-  }
+-
+-  var element = window.frameElement;
+-  // XXX base uri?
+-  var baseUri = !element ? null :
+-    Services.io.newURI(element.ownerDocument.location.href, null, null);
+ 
+-  return Services.io.newURI(url, null, baseUri).spec;
++  return element.srcURI.spec;
+ }
+ 
+ function PdfRedirector() {
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/defines.nsi.in seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/defines.nsi.in
+--- seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/defines.nsi.in	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/defines.nsi.in	2013-11-29 02:20:03.296130411 +0400
+@@ -21,7 +21,7 @@
+ !define NO_UNINSTALL_SURVEY
+ 
+ !define CERTIFICATE_NAME      "Mozilla Corporation"
+-!define CERTIFICATE_ISSUER    "Thawte Code Signing CA - G2"
++!define CERTIFICATE_ISSUER    "DigiCert Assured ID Code Signing CA-1"
+ 
+ # LSP_CATEGORIES is the permitted LSP categories for the application. Each LSP
+ # category value is ANDed together to set multiple permitted categories.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/installer.nsi seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/installer.nsi
+--- seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/installer.nsi	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/installer.nsi	2013-11-29 02:20:03.296130411 +0400
+@@ -341,7 +341,7 @@
+   ${AddDisabledDDEHandlerValues} "FirefoxHTML" "$2" "$8,1" \
+                                  "${AppRegName} Document" ""
+   ${AddDisabledDDEHandlerValues} "FirefoxURL" "$2" "$8,1" "${AppRegName} URL" \
+-                                 "delete"
++                                 "true"
+ 
+   ; For pre win8, the following keys should only be set if we can write to HKLM.
+   ; For post win8, the keys below get set in both HKLM and HKCU.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/maintenanceservice_installer.nsi seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/maintenanceservice_installer.nsi
+--- seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/maintenanceservice_installer.nsi	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/maintenanceservice_installer.nsi	2013-11-29 02:20:03.296130411 +0400
+@@ -212,7 +212,7 @@
+   ; These keys are used to bypass the installation dir is a valid installation
+   ; check from the service so that tests can be run.
+   ; WriteRegStr HKLM "${FallbackKey}\0" "name" "Mozilla Corporation"
+-  ; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "Thawte Code Signing CA - G2"
++  ; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "DigiCert Assured ID Code Signing CA-1"
+   ${If} ${RunningX64}
+     SetRegView lastused
+   ${EndIf}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/shared.nsh seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/shared.nsh
+--- seamonkey-2.21/comm-release/mozilla/browser/installer/windows/nsis/shared.nsh	2013-09-16 22:26:26.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/browser/installer/windows/nsis/shared.nsh	2013-11-29 02:20:03.296130411 +0400
+@@ -415,7 +415,7 @@
+                                  "${AppRegName} HTML Document" ""
+ 
+   ${AddDisabledDDEHandlerValues} "FirefoxURL" "$2" "$8,1" "${AppRegName} URL" \
+-                                 "delete"
++                                 "true"
+   Call RegisterCEH
+ 
+   ; An empty string is used for the 4th & 5th params because the following
+@@ -653,7 +653,7 @@
+   ${IsHandlerForInstallDir} "FirefoxURL" $R9
+   ${If} "$R9" == "true"
+     ${AddDisabledDDEHandlerValues} "FirefoxURL" "$2" "$8,1" \
+-                                   "${AppRegName} URL" "delete"
++                                   "${AppRegName} URL" "true"
+   ${EndIf}
+ 
+   ; An empty string is used for the 4th & 5th params because the following
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/config/milestone.txt seamonkey-2.21-esr1.0/comm-release/mozilla/config/milestone.txt
+--- seamonkey-2.21/comm-release/mozilla/config/milestone.txt	2013-09-16 22:26:27.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/config/milestone.txt	2013-11-29 02:20:03.296130411 +0400
+@@ -10,4 +10,4 @@
+ # hardcoded milestones in the tree from these two files.
+ #--------------------------------------------------------
+ 
+-24.0
++24.1.0
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/base/src/nsFrameLoader.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/content/base/src/nsFrameLoader.cpp
+--- seamonkey-2.21/comm-release/mozilla/content/base/src/nsFrameLoader.cpp	2013-09-16 22:26:27.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/base/src/nsFrameLoader.cpp	2013-11-29 02:20:03.297130402 +0400
+@@ -489,7 +489,8 @@
+   // Kick off the load...
+   bool tmpState = mNeedsAsyncDestroy;
+   mNeedsAsyncDestroy = true;
+-  rv = mDocShell->LoadURI(mURIToLoad, loadInfo, flags, false);
++  nsCOMPtr<nsIURI> uriToLoad = mURIToLoad;
++  rv = mDocShell->LoadURI(uriToLoad, loadInfo, flags, false);
+   mNeedsAsyncDestroy = tmpState;
+   mURIToLoad = nullptr;
+   NS_ENSURE_SUCCESS(rv, rv);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/base/src/nsObjectLoadingContent.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/content/base/src/nsObjectLoadingContent.cpp
+--- seamonkey-2.21/comm-release/mozilla/content/base/src/nsObjectLoadingContent.cpp	2013-09-16 22:26:27.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/base/src/nsObjectLoadingContent.cpp	2013-11-29 02:20:03.297130402 +0400
+@@ -1341,7 +1341,7 @@
+   *aContentPolicy = nsIContentPolicy::ACCEPT;
+   nsresult rv =
+     NS_CheckContentProcessPolicy(objectType,
+-                                 mURI,
++                                 mURI ? mURI : mBaseURI,
+                                  doc->NodePrincipal(),
+                                  static_cast<nsIImageLoadingContent*>(this),
+                                  mContentType,
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/events/src/nsEventListenerManager.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/content/events/src/nsEventListenerManager.cpp
+--- seamonkey-2.21/comm-release/mozilla/content/events/src/nsEventListenerManager.cpp	2013-09-16 22:26:28.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/events/src/nsEventListenerManager.cpp	2013-11-29 02:20:03.297130402 +0400
+@@ -888,7 +888,9 @@
+     JS::Rooted<JSObject*> boundHandler(cx);
+     JS::Rooted<JSObject*> scope(cx, listener->GetEventScope());
+     context->BindCompiledEventHandler(mTarget, scope, handler, &boundHandler);
+-    if (listener->EventName() == nsGkAtoms::onerror && win) {
++    if (!boundHandler) {
++      listener->ForgetHandler();
++    } else if (listener->EventName() == nsGkAtoms::onerror && win) {
+       nsRefPtr<OnErrorEventHandlerNonNull> handlerCallback =
+         new OnErrorEventHandlerNonNull(boundHandler);
+       listener->SetHandler(handlerCallback);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/html/content/src/HTMLTemplateElement.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/content/html/content/src/HTMLTemplateElement.cpp
+--- seamonkey-2.21/comm-release/mozilla/content/html/content/src/HTMLTemplateElement.cpp	2013-09-16 22:26:28.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/html/content/src/HTMLTemplateElement.cpp	2013-11-29 02:20:03.297130402 +0400
+@@ -66,9 +66,18 @@
+ NS_IMPL_ADDREF_INHERITED(HTMLTemplateElement, Element)
+ NS_IMPL_RELEASE_INHERITED(HTMLTemplateElement, Element)
+ 
+-NS_IMPL_CYCLE_COLLECTION_INHERITED_1(HTMLTemplateElement,
+-                                     nsGenericHTMLElement,
+-                                     mContent)
++NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(HTMLTemplateElement,
++                                                nsGenericHTMLElement)
++  if (tmp->mContent) {
++    tmp->mContent->SetHost(nullptr);
++    tmp->mContent = nullptr;
++  }
++NS_IMPL_CYCLE_COLLECTION_UNLINK_END
++
++NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(HTMLTemplateElement,
++                                                  nsGenericHTMLElement)
++  NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mContent)
++NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
+ 
+ // QueryInterface implementation for HTMLTemplateElement
+ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(HTMLTemplateElement)
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/html/content/test/test_fullscreen-api.html seamonkey-2.21-esr1.0/comm-release/mozilla/content/html/content/test/test_fullscreen-api.html
+--- seamonkey-2.21/comm-release/mozilla/content/html/content/test/test_fullscreen-api.html	2013-09-16 22:26:28.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/html/content/test/test_fullscreen-api.html	2013-11-29 02:20:03.298130393 +0400
+@@ -95,8 +95,8 @@
+   }
+ }
+ 
+-if (isOSXMtnLion) {
+-  todo(false, "Mountain Lion doesn't like this test (bug 802504)");
++if (isOSXLion || isOSXMtnLion) {
++  todo(false, "Can't reliably run full-screen tests on OS X (bug 900453 comment 18 & bug 802504)");
+ } else {
+   try {
+     window.fullScreen = true;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/xml/document/resources/XMLPrettyPrint.xml seamonkey-2.21-esr1.0/comm-release/mozilla/content/xml/document/resources/XMLPrettyPrint.xml
+--- seamonkey-2.21/comm-release/mozilla/content/xml/document/resources/XMLPrettyPrint.xml	2013-09-16 22:26:29.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/xml/document/resources/XMLPrettyPrint.xml	2013-11-29 02:20:03.298130393 +0400
+@@ -12,18 +12,6 @@
+       <html:span style="display: none;"><children/></html:span>
+     </content>
+ 
+-    <implementation implements="nsIObserver">
+-      <method name="observe">
+-        <parameter name="aSubject"/>
+-        <parameter name="aTopic"/>
+-        <parameter name="aData"/>
+-        <body>
+-          if (aTopic == "prettyprint-dom-created")
+-            document.getAnonymousNodes(this).item(0).appendChild(aSubject);
+-        </body>
+-      </method>
+-    </implementation>
+-
+     <handlers>
+       <handler event="click" button="0">
+       <![CDATA[
+@@ -43,6 +31,11 @@
+         }
+       ]]>
+       </handler>
++      <handler event="prettyprint-dom-created" allowuntrusted="false">
++        <![CDATA[
++          document.getAnonymousNodes(this).item(0).appendChild(event.detail);
++        ]]>
++      </handler>
+     </handlers>
+ 
+   </binding>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp
+--- seamonkey-2.21/comm-release/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp	2013-09-16 22:26:29.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp	2013-11-29 02:20:03.298130393 +0400
+@@ -21,6 +21,9 @@
+ #include "nsXBLService.h"
+ #include "nsIScriptSecurityManager.h"
+ #include "mozilla/Preferences.h"
++#include "nsVariant.h"
++#include "nsIDOMCustomEvent.h"
++#include "GeneratedEvents.h"
+ 
+ using namespace mozilla;
+ using namespace mozilla::dom;
+@@ -151,16 +154,23 @@
+                                   getter_AddRefs(unused), &ignored);
+     NS_ENSURE_SUCCESS(rv, rv);
+ 
+-    // Hand the result document to the binding
+-    nsCOMPtr<nsIObserver> binding;
+-    aDocument->BindingManager()->GetBindingImplementation(rootCont,
+-                                              NS_GET_IID(nsIObserver),
+-                                              (void**)getter_AddRefs(binding));
+-    NS_ASSERTION(binding, "Prettyprint binding doesn't implement nsIObserver");
+-    NS_ENSURE_TRUE(binding, NS_ERROR_UNEXPECTED);
+-    
+-    rv = binding->Observe(resultFragment, "prettyprint-dom-created",
+-                          EmptyString().get());
++    // Fire an event at the bound element to pass it |resultFragment|.
++    nsCOMPtr<nsIDOMEvent> domEvent;
++    rv = NS_NewDOMCustomEvent(getter_AddRefs(domEvent), rootCont,
++                              nullptr, nullptr);
++    NS_ENSURE_SUCCESS(rv, rv);
++    nsCOMPtr<nsIDOMCustomEvent> customEvent = do_QueryInterface(domEvent);
++    MOZ_ASSERT(customEvent);
++    nsCOMPtr<nsIWritableVariant> resultFragmentVariant = new nsVariant();
++    rv = resultFragmentVariant->SetAsISupports(resultFragment);
++    MOZ_ASSERT(NS_SUCCEEDED(rv));
++    rv = customEvent->InitCustomEvent(NS_LITERAL_STRING("prettyprint-dom-created"),
++                                      /* bubbles = */ false, /* cancelable = */ false,
++                                      /* detail = */ resultFragmentVariant);
++    NS_ENSURE_SUCCESS(rv, rv);
++    customEvent->SetTrusted(true);
++    bool dummy;
++    rv = rootCont->DispatchEvent(domEvent, &dummy);
+     NS_ENSURE_SUCCESS(rv, rv);
+ 
+     // Observe the document so we know when to switch to "normal" view
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.cpp
+--- seamonkey-2.21/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.cpp	2013-09-16 22:26:29.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.cpp	2013-11-29 02:20:03.298130393 +0400
+@@ -16,7 +16,8 @@
+ 
+ const int32_t txExecutionState::kMaxRecursionDepth = 20000;
+ 
+-nsresult txLoadedDocumentsHash::init(txXPathNode* aSourceDocument)
++void
++txLoadedDocumentsHash::init(txXPathNode* aSourceDocument)
+ {
+     Init(8);
+ 
+@@ -25,14 +26,7 @@
+     nsAutoString baseURI;
+     txXPathNodeUtils::getBaseURI(*mSourceDocument, baseURI);
+ 
+-    txLoadedDocumentEntry* entry = PutEntry(baseURI);
+-    if (!entry) {
+-        return NS_ERROR_FAILURE;
+-    }
+-
+-    entry->mDocument = mSourceDocument;
+-
+-    return NS_OK;
++    PutEntry(baseURI)->mDocument = mSourceDocument;
+ }
+ 
+ txLoadedDocumentsHash::~txLoadedDocumentsHash()
+@@ -41,6 +35,7 @@
+         return;
+     }
+ 
++    if (mSourceDocument) {
+     nsAutoString baseURI;
+     txXPathNodeUtils::getBaseURI(*mSourceDocument, baseURI);
+ 
+@@ -48,6 +43,7 @@
+     if (entry) {
+         delete entry->mDocument.forget();
+     }
++    }
+ }
+ 
+ txExecutionState::txExecutionState(txStylesheet* aStylesheet,
+@@ -124,14 +120,7 @@
+     mOutputHandler->startDocument();
+ 
+     // Set up loaded-documents-hash
+-    nsAutoPtr<txXPathNode> document(txXPathNodeUtils::getOwnerDocument(aNode));
+-    NS_ENSURE_TRUE(document, NS_ERROR_FAILURE);
+-
+-    rv = mLoadedDocuments.init(document);
+-    NS_ENSURE_SUCCESS(rv, rv);
+-
+-    // loaded-documents-hash owns this now
+-    document.forget();
++    mLoadedDocuments.init(txXPathNodeUtils::getOwnerDocument(aNode));
+ 
+     // Init members
+     rv = mKeyHash.init();
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.h seamonkey-2.21-esr1.0/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.h
+--- seamonkey-2.21/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.h	2013-09-16 22:26:29.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/content/xslt/src/xslt/txExecutionState.h	2013-11-29 02:20:03.298130393 +0400
+@@ -56,8 +56,12 @@
+ class txLoadedDocumentsHash : public nsTHashtable<txLoadedDocumentEntry>
+ {
+ public:
++     txLoadedDocumentsHash()
++        : mSourceDocument(nullptr)
++     {
++     }
+     ~txLoadedDocumentsHash();
+-    nsresult init(txXPathNode* aSourceDocument);
++    void init(txXPathNode* aSourceDocument);
+ 
+ private:
+     friend class txExecutionState;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/apps/tests/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/dom/apps/tests/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/dom/apps/tests/Makefile.in	2013-09-16 22:26:30.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/apps/tests/Makefile.in	2013-11-29 02:20:03.298130393 +0400
+@@ -18,6 +18,7 @@
+   file_cached_app.template.appcache \
+   file_hosted_app.template.webapp \
+   test_app_update.html \
++  test_bug_795164.html \
+   $(NULL)
+ 
+ ifdef MOZ_B2G
+@@ -26,6 +27,7 @@
+   file_packaged_app.template.webapp \
+   file_packaged_app.template.html \
+   test_packaged_app_install.html \
++  test_uninstall_errors.html \
+   $(NULL)
+ endif
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/apps/tests/test_bug_795164.html seamonkey-2.21-esr1.0/comm-release/mozilla/dom/apps/tests/test_bug_795164.html
+--- seamonkey-2.21/comm-release/mozilla/dom/apps/tests/test_bug_795164.html	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/apps/tests/test_bug_795164.html	2013-11-29 02:20:03.298130393 +0400
+@@ -0,0 +1,112 @@
++<!DOCTYPE HTML>
++<html>
++<!--
++https://bugzilla.mozilla.org/show_bug.cgi?id=795164
++-->
++<head>
++  <meta charset="utf-8">
++  <title>Test for Bug 795164</title>
++  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
++  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
++  <script type="application/javascript;version=1.7">
++
++  /** Test for Bug 795164 **/
++
++  SimpleTest.waitForExplicitFinish();
++
++  var url1 = 'http://test1.example.com/tests/dom/apps/tests/file_app.sjs?apptype=hosted&getmanifest=true';
++  var url2 = 'http://test2.example.com/tests/dom/apps/tests/file_app.sjs?apptype=hosted&getmanifest=true';
++
++  var gGenerator = runTest();
++  var launchableValue = undefined;
++
++  function go() {
++    SpecialPowers.pushPermissions(
++      [{ "type": "webapps-manage", "allow": 1, "context": document }],
++      function() { gGenerator.next() });
++  }
++
++  function continueTest() {
++    try { gGenerator.next(); }
++    catch (e) { dump("Got exception: " + e + "\n"); }
++  }
++
++  function mozAppsError() {
++    ok(false, "mozApps error: " + this.error.name);
++    finish();
++  }
++
++  function runTest() {
++    // Set up.
++    launchableValue = SpecialPowers.setAllAppsLaunchable(true);
++    SpecialPowers.autoConfirmAppInstall(continueTest);
++    yield undefined;
++
++    // Keeping track of the number of times `mozApps.mgmt.onuninstall` gets triggered
++    let uninstallCount = 0;
++
++    navigator.mozApps.mgmt.onuninstall = function() {
++      uninstallCount++;
++    };
++
++    let request = navigator.mozApps.install(url1);
++    request.onerror = mozAppsError;
++    request.onsuccess = continueTest;
++    yield undefined;
++    let app1 = request.result;
++    ok(app1, "App1 is non-null");
++
++    request = navigator.mozApps.install(url2);
++    request.onerror = mozAppsError;
++    request.onsuccess = continueTest;
++    yield undefined;
++    let app2 = request.result;
++    ok(app2, "App2 is non-null");
++
++    request = navigator.mozApps.mgmt.uninstall(app1);
++    request.onsuccess = function() {
++      ok(true, "Succeed to uninstall the app1 as expected");
++      continueTest();
++    };
++    request.onerror = function() {
++      ok(false, "Fail to uninstall the app1");
++      continueTest();
++    };
++    yield undefined;
++
++    request = navigator.mozApps.mgmt.uninstall(app2);
++    request.onsuccess = function() {
++      ok(true, "Succeed to uninstall the app2 as expected");
++      continueTest();
++    };
++    request.onerror = function() {
++      ok(false, "Fail to uninstall the app2");
++      continueTest();
++    };
++    yield undefined;
++
++    is(uninstallCount, 2, "mgmt.onuninstall got triggered only twice");
++
++    navigator.mozApps.mgmt.onuninstall = null;
++
++    // All done.
++    ok(true, "All done");
++    finish();
++  }
++
++  function finish() {
++    SpecialPowers.setAllAppsLaunchable(launchableValue);
++    SimpleTest.finish();
++  }
++  </script>
++</head>
++<body onload="go()">
++<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=795164">Mozilla Bug 795164</a>
++<p id="display"></p>
++<div id="content" style="display: none">
++
++</div>
++<pre id="test">
++</pre>
++</body>
++</html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/apps/tests/test_uninstall_errors.html seamonkey-2.21-esr1.0/comm-release/mozilla/dom/apps/tests/test_uninstall_errors.html
+--- seamonkey-2.21/comm-release/mozilla/dom/apps/tests/test_uninstall_errors.html	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/apps/tests/test_uninstall_errors.html	2013-11-29 02:20:03.298130393 +0400
+@@ -0,0 +1,112 @@
++<!DOCTYPE HTML>
++<html>
++<!--
++https://bugzilla.mozilla.org/show_bug.cgi?id=830258
++-->
++<head>
++  <meta charset="utf-8">
++  <title>Test for Bug 830258</title>
++  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
++  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
++  <script type="application/javascript;version=1.7">
++
++  /** Test for Bug 830258 **/
++
++  SimpleTest.waitForExplicitFinish();
++
++  var url1 = 'http://test1.example.com/tests/dom/apps/tests/file_app.sjs?apptype=hosted&getmanifest=true';
++  var url2 = 'http://test2.example.com/tests/dom/apps/tests/file_app.sjs?apptype=hosted&getmanifest=true';
++
++  var gGenerator = runTest();
++  var launchableValue = undefined;
++
++  function go() {
++    SpecialPowers.pushPermissions(
++      [{ "type": "webapps-manage", "allow": 1, "context": document }],
++      function() { gGenerator.next() });
++  }
++
++  function continueTest() {
++    try { gGenerator.next(); }
++    catch (e) { dump("Got exception: " + e + "\n"); }
++  }
++
++  function mozAppsError() {
++    ok(false, "mozApps error: " + this.error.name);
++    finish();
++  }
++
++  function runTest() {
++    // Set up.
++    launchableValue = SpecialPowers.setAllAppsLaunchable(true);
++    SpecialPowers.autoConfirmAppInstall(continueTest);
++    yield undefined;
++
++    let request = navigator.mozApps.install(url1);
++    request.onerror = mozAppsError;
++    request.onsuccess = continueTest;
++    yield undefined;
++    let app1 = request.result;
++    ok(app1, "App1 is non-null");
++
++    request = navigator.mozApps.install(url2);
++    request.onerror = mozAppsError;
++    request.onsuccess = continueTest;
++    yield undefined;
++    let app2 = request.result;
++    ok(app2, "App2 is non-null");
++
++    request = navigator.mozApps.mgmt.uninstall(app1);
++    request.onsuccess = function() {
++      ok(true, "Succeed to uninstall the app1 as expected");
++      continueTest();
++    };
++    request.onerror = function() {
++      ok(false, "Fail to uninstall the app1");
++      continueTest();
++    };
++    yield undefined;
++
++    request = navigator.mozApps.mgmt.uninstall(app1);
++    request.onsuccess = function() {
++      ok(false, "Shouldn't be able to uninstall the app1 again");
++      continueTest();
++    };
++    request.onerror = function() {
++      is(this.error.name, "NOT_INSTALLED", "Error name should be 'NOT_INSTALLED'");
++      continueTest();
++    };
++    yield undefined;
++
++    request = navigator.mozApps.mgmt.uninstall(app2);
++    request.onsuccess = function() {
++      ok(true, "Succeed to uninstall the app2 as expected");
++      continueTest();
++    };
++    request.onerror = function() {
++      ok(false, "Fail to uninstall the app2");
++      continueTest();
++    };
++    yield undefined;
++
++    // All done.
++    ok(true, "All done");
++    finish();
++  }
++
++  function finish() {
++    SpecialPowers.setAllAppsLaunchable(launchableValue);
++    SimpleTest.finish();
++  }
++  </script>
++</head>
++<body onload="go()">
++<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=830258">Mozilla Bug 830258</a>
++<p id="display"></p>
++<div id="content" style="display: none">
++
++</div>
++<pre id="test">
++</pre>
++</body>
++</html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/base/nsIJSEventListener.h seamonkey-2.21-esr1.0/comm-release/mozilla/dom/base/nsIJSEventListener.h
+--- seamonkey-2.21/comm-release/mozilla/dom/base/nsIJSEventListener.h	2013-09-16 22:26:30.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/base/nsIJSEventListener.h	2013-11-29 02:20:03.298130393 +0400
+@@ -209,6 +209,11 @@
+     return mHandler;
+   }
+ 
++  void ForgetHandler()
++  {
++    mHandler.ForgetHandler();
++  }
++
+   nsIAtom* EventName() const
+   {
+     return mEventName;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/bindings/Codegen.py seamonkey-2.21-esr1.0/comm-release/mozilla/dom/bindings/Codegen.py
+--- seamonkey-2.21/comm-release/mozilla/dom/bindings/Codegen.py	2013-09-16 22:26:30.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/bindings/Codegen.py	2013-11-29 02:20:03.300130375 +0400
+@@ -1570,7 +1570,8 @@
+                 accessor = ("genericLenientGetter" if attr.hasLenientThis()
+                             else "genericGetter")
+                 jitinfo = "&%s_getterinfo" % attr.identifier.name
+-            return "{ (JSPropertyOp)%s, %s }" % (accessor, jitinfo)
++            return "{ JS_CAST_NATIVE_TO(%s, JSPropertyOp), %s }" % \
++                   (accessor, jitinfo)
+ 
+         def setter(attr):
+             if attr.readonly and attr.getExtendedAttribute("PutForwards") is None:
+@@ -1582,7 +1583,8 @@
+                 accessor = ("genericLenientSetter" if attr.hasLenientThis()
+                             else "genericSetter")
+                 jitinfo = "&%s_setterinfo" % attr.identifier.name
+-            return "{ (JSStrictPropertyOp)%s, %s }" % (accessor, jitinfo)
++            return "{ JS_CAST_NATIVE_TO(%s, JSStrictPropertyOp), %s }" % \
++                   (accessor, jitinfo)
+ 
+         def specData(attr):
+             return (attr.identifier.name, flags(attr), getter(attr),
+@@ -1591,7 +1593,7 @@
+         return self.generatePrefableArray(
+             array, name,
+             '  { "%s", 0, %s, %s, %s}',
+-            '  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }',
++            '  JS_PS_END',
+             'JSPropertySpec',
+             PropertyDefiner.getControllingCondition, specData, doIdArrays)
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/conformancetest/moz.build seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/conformancetest/moz.build
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/conformancetest/moz.build	2013-09-16 22:26:30.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/conformancetest/moz.build	2013-11-29 02:20:03.300130375 +0400
+@@ -1,4 +1,3 @@
+-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
+ # THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT
+ 
+ DIRS += [
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/Makefile.in	2013-09-16 22:26:30.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/Makefile.in	2013-11-29 02:20:03.300130375 +0400
+@@ -12,8 +12,13 @@
+ MOCHITEST_FILES := \
+   test_Document-open.html.json \
+   test_addRange.html.json \
++  test_collapse.html.json \
++  test_collapseToStartEnd.html.json \
++  test_extend.html.json \
+   test_getSelection.html.json \
+   test_interfaces.html.json \
++  test_removeAllRanges.html.json \
++  test_selectAllChildren.html.json \
+   $(NULL)
+ 
+ include $(topsrcdir)/config/rules.mk
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/moz.build seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/moz.build
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/moz.build	2013-09-16 22:26:30.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/moz.build	2013-11-29 02:20:03.300130375 +0400
+@@ -1,4 +1,3 @@
+-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
+ # THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT
+ 
+ DIRS += [
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapse.html.json seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapse.html.json
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapse.html.json	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapse.html.json	2013-11-29 02:20:03.302130357 +0400
+@@ -0,0 +1,2008 @@
++{
++  "Range 0 [], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 0 [], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 0 [], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 0 [], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 0 [], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 0 [], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 0 [], point 33 [foreignDoc.head, 0]":true,
++  "Range 0 [], point 34 [foreignDoc.body, 1]":true,
++  "Range 0 [], point 54 [foreignDoc, 0]":true,
++  "Range 0 [], point 55 [foreignDoc, 1]":true,
++  "Range 0 [], point 56 [foreignComment, 2]":true,
++  "Range 0 [], point 57 [foreignTextNode, 0]":true,
++  "Range 0 [], point 58 [foreignTextNode, 36]":true,
++  "Range 0 [], point 59 [xmlDoc, -1]":true,
++  "Range 0 [], point 60 [xmlDoc, 0]":true,
++  "Range 0 [], point 61 [xmlDoc, 1]":true,
++  "Range 0 [], point 62 [xmlDoc, 5]":true,
++  "Range 0 [], point 63 [xmlComment, 0]":true,
++  "Range 0 [], point 64 [xmlComment, 4]":true,
++  "Range 0 [], point 65 [processingInstruction, 0]":true,
++  "Range 0 [], point 66 [processingInstruction, 5]":true,
++  "Range 0 [], point 67 [processingInstruction, 9]":true,
++  "Range 0 [], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 0 [], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 0 [], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 0 [], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 0 [], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 0 [], point 77 [detachedForeignComment, 0]":true,
++  "Range 0 [], point 78 [detachedForeignComment, 4]":true,
++  "Range 0 [], point 79 [detachedXmlComment, 2]":true,
++  "Range 0 [], point 81 [foreignDocfrag, 0]":true,
++  "Range 0 [], point 82 [xmlDocfrag, 0]":true,
++  "Range 0 [], point 86 [foreignDoctype, 0]":true,
++  "Range 0 [], point 87 [xmlDoctype, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 54 [foreignDoc, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 55 [foreignDoc, 1]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 56 [foreignComment, 2]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 59 [xmlDoc, -1]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc, 1]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 62 [xmlDoc, 5]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComment, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComment, 4]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [processingInstruction, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [processingInstruction, 5]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [processingInstruction, 9]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 54 [foreignDoc, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreignDoc, 1]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 56 [foreignComment, 2]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 59 [xmlDoc, -1]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc, 1]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 62 [xmlDoc, 5]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComment, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComment, 4]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [processingInstruction, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [processingInstruction, 5]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [processingInstruction, 9]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 54 [foreignDoc, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreignDoc, 1]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 56 [foreignComment, 2]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 59 [xmlDoc, -1]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc, 1]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 62 [xmlDoc, 5]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComment, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComment, 4]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [processingInstruction, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [processingInstruction, 5]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [processingInstruction, 9]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 33 [foreignDoc.head, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 34 [foreignDoc.body, 1]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 54 [foreignDoc, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreignDoc, 1]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 56 [foreignComment, 2]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 57 [foreignTextNode, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 58 [foreignTextNode, 36]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 59 [xmlDoc, -1]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc, 1]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 62 [xmlDoc, 5]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComment, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComment, 4]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [processingInstruction, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [processingInstruction, 5]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [processingInstruction, 9]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 77 [detachedForeignComment, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 78 [detachedForeignComment, 4]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 79 [detachedXmlComment, 2]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreignDocfrag, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocfrag, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreignDoctype, 0]":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoctype, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 54 [foreignDoc, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc, -1]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc, 5]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 54 [foreignDoc, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreignDoc, 1]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 56 [foreignComment, 2]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 59 [xmlDoc, -1]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc, 1]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 62 [xmlDoc, 5]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComment, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComment, 4]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [processingInstruction, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [processingInstruction, 5]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [processingInstruction, 9]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 54 [foreignDoc, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreignDoc, 1]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 56 [foreignComment, 2]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 59 [xmlDoc, -1]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc, 1]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 62 [xmlDoc, 5]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComment, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComment, 4]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [processingInstruction, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [processingInstruction, 5]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [processingInstruction, 9]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 33 [foreignDoc.head, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreignDoc.body, 1]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 54 [foreignDoc, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreignDoc, 1]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 56 [foreignComment, 2]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 57 [foreignTextNode, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 58 [foreignTextNode, 36]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 59 [xmlDoc, -1]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc, 1]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 62 [xmlDoc, 5]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComment, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComment, 4]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [processingInstruction, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [processingInstruction, 5]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [processingInstruction, 9]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detachedForeignComment, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detachedForeignComment, 4]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detachedXmlComment, 2]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreignDocfrag, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocfrag, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreignDoctype, 0]":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoctype, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 54 [foreignDoc, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 55 [foreignDoc, 1]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 56 [foreignComment, 2]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 59 [xmlDoc, -1]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 60 [xmlDoc, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 61 [xmlDoc, 1]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 62 [xmlDoc, 5]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 63 [xmlComment, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 64 [xmlComment, 4]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 65 [processingInstruction, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 66 [processingInstruction, 5]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 67 [processingInstruction, 9]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 54 [foreignDoc, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 55 [foreignDoc, 1]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 56 [foreignComment, 2]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 59 [xmlDoc, -1]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 60 [xmlDoc, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 61 [xmlDoc, 1]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 62 [xmlDoc, 5]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 63 [xmlComment, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 64 [xmlComment, 4]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 65 [processingInstruction, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 66 [processingInstruction, 5]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 67 [processingInstruction, 9]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 54 [foreignDoc, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 55 [foreignDoc, 1]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 56 [foreignComment, 2]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 59 [xmlDoc, -1]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 60 [xmlDoc, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 61 [xmlDoc, 1]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 62 [xmlDoc, 5]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 63 [xmlComment, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 64 [xmlComment, 4]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 65 [processingInstruction, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 66 [processingInstruction, 5]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 67 [processingInstruction, 9]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54 [foreignDoc, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55 [foreignDoc, 1]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56 [foreignComment, 2]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59 [xmlDoc, -1]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60 [xmlDoc, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 61 [xmlDoc, 1]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62 [xmlDoc, 5]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63 [xmlComment, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 64 [xmlComment, 4]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65 [processingInstruction, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 66 [processingInstruction, 5]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67 [processingInstruction, 9]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54 [foreignDoc, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55 [foreignDoc, 1]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56 [foreignComment, 2]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59 [xmlDoc, -1]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60 [xmlDoc, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 61 [xmlDoc, 1]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62 [xmlDoc, 5]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63 [xmlComment, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 64 [xmlComment, 4]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65 [processingInstruction, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 66 [processingInstruction, 5]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67 [processingInstruction, 9]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54 [foreignDoc, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55 [foreignDoc, 1]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56 [foreignComment, 2]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59 [xmlDoc, -1]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60 [xmlDoc, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 61 [xmlDoc, 1]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62 [xmlDoc, 5]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63 [xmlComment, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 64 [xmlComment, 4]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65 [processingInstruction, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 66 [processingInstruction, 5]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67 [processingInstruction, 9]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 54 [foreignDoc, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 55 [foreignDoc, 1]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 56 [foreignComment, 2]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 59 [xmlDoc, -1]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 60 [xmlDoc, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 61 [xmlDoc, 1]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 62 [xmlDoc, 5]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 63 [xmlComment, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 64 [xmlComment, 4]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 65 [processingInstruction, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 66 [processingInstruction, 5]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 67 [processingInstruction, 9]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 33 [foreignDoc.head, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 34 [foreignDoc.body, 1]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 54 [foreignDoc, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 55 [foreignDoc, 1]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 56 [foreignComment, 2]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 57 [foreignTextNode, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 58 [foreignTextNode, 36]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 59 [xmlDoc, -1]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 60 [xmlDoc, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 61 [xmlDoc, 1]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 62 [xmlDoc, 5]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 63 [xmlComment, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 64 [xmlComment, 4]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 65 [processingInstruction, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 66 [processingInstruction, 5]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 67 [processingInstruction, 9]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 77 [detachedForeignComment, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 78 [detachedForeignComment, 4]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 79 [detachedXmlComment, 2]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 81 [foreignDocfrag, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 82 [xmlDocfrag, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 86 [foreignDoctype, 0]":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], point 87 [xmlDoctype, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 33 [foreignDoc.head, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 34 [foreignDoc.body, 1]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 54 [foreignDoc, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 55 [foreignDoc, 1]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 56 [foreignComment, 2]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 57 [foreignTextNode, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 58 [foreignTextNode, 36]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 59 [xmlDoc, -1]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 60 [xmlDoc, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 61 [xmlDoc, 1]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 62 [xmlDoc, 5]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 63 [xmlComment, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 64 [xmlComment, 4]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 65 [processingInstruction, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 66 [processingInstruction, 5]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 67 [processingInstruction, 9]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 77 [detachedForeignComment, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 78 [detachedForeignComment, 4]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 79 [detachedXmlComment, 2]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 81 [foreignDocfrag, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 82 [xmlDocfrag, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 86 [foreignDoctype, 0]":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], point 87 [xmlDoctype, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 59 [xmlDoc, -1]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 62 [xmlDoc, 5]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruction, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruction, 5]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruction, 9]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 54 [foreignDoc, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 55 [foreignDoc, 1]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 56 [foreignComment, 2]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 59 [xmlDoc, -1]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 61 [xmlDoc, 1]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 62 [xmlDoc, 5]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 64 [xmlComment, 4]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruction, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 66 [processingInstruction, 5]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruction, 9]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 54 [foreignDoc, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 55 [foreignDoc, 1]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 56 [foreignComment, 2]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 59 [xmlDoc, -1]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 60 [xmlDoc, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 61 [xmlDoc, 1]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 62 [xmlDoc, 5]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 63 [xmlComment, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 64 [xmlComment, 4]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 65 [processingInstruction, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 66 [processingInstruction, 5]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 67 [processingInstruction, 9]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment, 2]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 61 [xmlDoc, 1]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 64 [xmlComment, 4]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInstruction, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 66 [processingInstruction, 5]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInstruction, 9]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment, 2]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 61 [xmlDoc, 1]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 64 [xmlComment, 4]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInstruction, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 66 [processingInstruction, 5]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInstruction, 9]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 54 [foreignDoc, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 56 [foreignComment, 2]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 57 [foreignTextNode, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 59 [xmlDoc, -1]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 62 [xmlDoc, 5]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0]":true,
++  "Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 54 [foreignDoc, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 55 [foreignDoc, 1]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 56 [foreignComment, 2]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 57 [foreignTextNode, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 59 [xmlDoc, -1]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 62 [xmlDoc, 5]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0]":true,
++  "Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruction, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruction, 5]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruction, 9]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruction, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruction, 5]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruction, 9]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 54 [foreignDoc, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc, -1]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc, 5]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 54 [foreignDoc, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreignDoc, 1]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreignComment, 2]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 59 [xmlDoc, -1]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc, 1]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 62 [xmlDoc, 5]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlComment, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlComment, 4]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [processingInstruction, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [processingInstruction, 5]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [processingInstruction, 9]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 54 [foreignDoc, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 55 [foreignDoc, 1]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode, 36]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruction, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruction, 5]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruction, 9]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0]":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 33 [foreignDoc.head, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 34 [foreignDoc.body, 1]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 54 [foreignDoc, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 55 [foreignDoc, 1]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 56 [foreignComment, 2]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode, 36]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 59 [xmlDoc, -1]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 60 [xmlDoc, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 61 [xmlDoc, 1]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 62 [xmlDoc, 5]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 63 [xmlComment, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 64 [xmlComment, 4]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 65 [processingInstruction, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 66 [processingInstruction, 5]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 67 [processingInstruction, 9]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 77 [detachedForeignComment, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 78 [detachedForeignComment, 4]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 79 [detachedXmlComment, 2]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 81 [foreignDocfrag, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 82 [xmlDocfrag, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0]":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 63 [xmlComment, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 64 [xmlComment, 4]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 65 [processingInstruction, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 66 [processingInstruction, 5]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 67 [processingInstruction, 9]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0]":true,
++  "Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 33 [foreignDoc.head, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 34 [foreignDoc.body, 1]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 54 [foreignDoc, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 55 [foreignDoc, 1]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 36]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 63 [xmlComment, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 64 [xmlComment, 4]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 65 [processingInstruction, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 66 [processingInstruction, 5]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 67 [processingInstruction, 9]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 77 [detachedForeignComment, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 78 [detachedForeignComment, 4]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 79 [detachedXmlComment, 2]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 81 [foreignDocfrag, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 54 [foreignDoc, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 55 [foreignDoc, 1]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 56 [foreignComment, 2]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 59 [xmlDoc, -1]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 60 [xmlDoc, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 61 [xmlDoc, 1]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 62 [xmlDoc, 5]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 63 [xmlComment, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 64 [xmlComment, 4]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 65 [processingInstruction, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 66 [processingInstruction, 5]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 67 [processingInstruction, 9]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [foreignDoc, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [foreignDoc, 1]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [foreignComment, 2]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xmlDoc, -1]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xmlDoc, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xmlDoc, 1]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xmlDoc, 5]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 63 [xmlComment, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 64 [xmlComment, 4]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 65 [processingInstruction, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 66 [processingInstruction, 5]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 67 [processingInstruction, 9]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 35 [document, 0, document, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 35 [document, 0, document, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 35 [document, 0, document, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 35 [document, 0, document, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 35 [document, 0, document, 1], point 54 [foreignDoc, 0]":true,
++  "Range 35 [document, 0, document, 1], point 55 [foreignDoc, 1]":true,
++  "Range 35 [document, 0, document, 1], point 56 [foreignComment, 2]":true,
++  "Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1]":true,
++  "Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0]":true,
++  "Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1]":true,
++  "Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5]":true,
++  "Range 35 [document, 0, document, 1], point 63 [xmlComment, 0]":true,
++  "Range 35 [document, 0, document, 1], point 64 [xmlComment, 4]":true,
++  "Range 35 [document, 0, document, 1], point 65 [processingInstruction, 0]":true,
++  "Range 35 [document, 0, document, 1], point 66 [processingInstruction, 5]":true,
++  "Range 35 [document, 0, document, 1], point 67 [processingInstruction, 9]":true,
++  "Range 35 [document, 0, document, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 35 [document, 0, document, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 35 [document, 0, document, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 35 [document, 0, document, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 35 [document, 0, document, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 35 [document, 0, document, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 35 [document, 0, document, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 35 [document, 0, document, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 35 [document, 0, document, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 36 [document, 0, document, 2], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 36 [document, 0, document, 2], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 36 [document, 0, document, 2], point 33 [foreignDoc.head, 0]":true,
++  "Range 36 [document, 0, document, 2], point 34 [foreignDoc.body, 1]":true,
++  "Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0]":true,
++  "Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1]":true,
++  "Range 36 [document, 0, document, 2], point 56 [foreignComment, 2]":true,
++  "Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0]":true,
++  "Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36]":true,
++  "Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1]":true,
++  "Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0]":true,
++  "Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1]":true,
++  "Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5]":true,
++  "Range 36 [document, 0, document, 2], point 63 [xmlComment, 0]":true,
++  "Range 36 [document, 0, document, 2], point 64 [xmlComment, 4]":true,
++  "Range 36 [document, 0, document, 2], point 65 [processingInstruction, 0]":true,
++  "Range 36 [document, 0, document, 2], point 66 [processingInstruction, 5]":true,
++  "Range 36 [document, 0, document, 2], point 67 [processingInstruction, 9]":true,
++  "Range 36 [document, 0, document, 2], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 36 [document, 0, document, 2], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 36 [document, 0, document, 2], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 36 [document, 0, document, 2], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 36 [document, 0, document, 2], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 36 [document, 0, document, 2], point 77 [detachedForeignComment, 0]":true,
++  "Range 36 [document, 0, document, 2], point 78 [detachedForeignComment, 4]":true,
++  "Range 36 [document, 0, document, 2], point 79 [detachedXmlComment, 2]":true,
++  "Range 36 [document, 0, document, 2], point 81 [foreignDocfrag, 0]":true,
++  "Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0]":true,
++  "Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0]":true,
++  "Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0]":true,
++  "Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 37 [document, 1, document, 2], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 37 [document, 1, document, 2], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 37 [document, 1, document, 2], point 33 [foreignDoc.head, 0]":true,
++  "Range 37 [document, 1, document, 2], point 34 [foreignDoc.body, 1]":true,
++  "Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0]":true,
++  "Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1]":true,
++  "Range 37 [document, 1, document, 2], point 56 [foreignComment, 2]":true,
++  "Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0]":true,
++  "Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36]":true,
++  "Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1]":true,
++  "Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0]":true,
++  "Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1]":true,
++  "Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5]":true,
++  "Range 37 [document, 1, document, 2], point 63 [xmlComment, 0]":true,
++  "Range 37 [document, 1, document, 2], point 64 [xmlComment, 4]":true,
++  "Range 37 [document, 1, document, 2], point 65 [processingInstruction, 0]":true,
++  "Range 37 [document, 1, document, 2], point 66 [processingInstruction, 5]":true,
++  "Range 37 [document, 1, document, 2], point 67 [processingInstruction, 9]":true,
++  "Range 37 [document, 1, document, 2], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 37 [document, 1, document, 2], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 37 [document, 1, document, 2], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 37 [document, 1, document, 2], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 37 [document, 1, document, 2], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 37 [document, 1, document, 2], point 77 [detachedForeignComment, 0]":true,
++  "Range 37 [document, 1, document, 2], point 78 [detachedForeignComment, 4]":true,
++  "Range 37 [document, 1, document, 2], point 79 [detachedXmlComment, 2]":true,
++  "Range 37 [document, 1, document, 2], point 81 [foreignDocfrag, 0]":true,
++  "Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0]":true,
++  "Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0]":true,
++  "Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 33 [foreignDoc.head, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 34 [foreignDoc.body, 1]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 63 [xmlComment, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 64 [xmlComment, 4]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 65 [processingInstruction, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 66 [processingInstruction, 5]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 67 [processingInstruction, 9]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 77 [detachedForeignComment, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 78 [detachedForeignComment, 4]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 79 [detachedXmlComment, 2]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 81 [foreignDocfrag, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0]":true,
++  "Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 33 [foreignDoc.head, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 34 [foreignDoc.body, 1]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 54 [foreignDoc, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 55 [foreignDoc, 1]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 36]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 63 [xmlComment, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 64 [xmlComment, 4]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 65 [processingInstruction, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 66 [processingInstruction, 5]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 67 [processingInstruction, 9]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 77 [detachedForeignComment, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 78 [detachedForeignComment, 4]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 79 [detachedXmlComment, 2]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 81 [foreignDocfrag, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 63 [xmlComment, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 64 [xmlComment, 4]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 65 [processingInstruction, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 66 [processingInstruction, 5]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 67 [processingInstruction, 9]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 63 [xmlComment, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 64 [xmlComment, 4]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 65 [processingInstruction, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 66 [processingInstruction, 5]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 67 [processingInstruction, 9]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 33 [foreignDoc.head, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 34 [foreignDoc.body, 1]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 63 [xmlComment, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 64 [xmlComment, 4]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 65 [processingInstruction, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 66 [processingInstruction, 5]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 67 [processingInstruction, 9]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 77 [detachedForeignComment, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 78 [detachedForeignComment, 4]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 79 [detachedXmlComment, 2]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 81 [foreignDocfrag, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0]":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 33 [foreignDoc.head, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 34 [foreignDoc.body, 1]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignComment, 2]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNode, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNode, 36]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 63 [xmlComment, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 64 [xmlComment, 4]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 65 [processingInstruction, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 66 [processingInstruction, 5]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 67 [processingInstruction, 9]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 77 [detachedForeignComment, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 78 [detachedForeignComment, 4]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 79 [detachedXmlComment, 2]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 81 [foreignDocfrag, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctype, 0]":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 63 [xmlComment, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 64 [xmlComment, 4]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 65 [processingInstruction, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 66 [processingInstruction, 5]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 67 [processingInstruction, 9]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 63 [xmlComment, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 64 [xmlComment, 4]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 65 [processingInstruction, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 66 [processingInstruction, 5]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 67 [processingInstruction, 9]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc, 1]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComment, 2]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 63 [xmlComment, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 64 [xmlComment, 4]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 65 [processingInstruction, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 66 [processingInstruction, 5]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 67 [processingInstruction, 9]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 33 [foreignDoc.head, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 34 [foreignDoc.body, 1]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54 [foreignDoc, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55 [foreignDoc, 1]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56 [foreignComment, 2]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57 [foreignTextNode, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58 [foreignTextNode, 36]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59 [xmlDoc, -1]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60 [xmlDoc, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61 [xmlDoc, 1]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62 [xmlDoc, 5]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 63 [xmlComment, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 64 [xmlComment, 4]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 65 [processingInstruction, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 66 [processingInstruction, 5]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 67 [processingInstruction, 9]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 77 [detachedForeignComment, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 78 [detachedForeignComment, 4]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 79 [detachedXmlComment, 2]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 81 [foreignDocfrag, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82 [xmlDocfrag, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86 [foreignDoctype, 0]":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87 [xmlDoctype, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54 [foreignDoc, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55 [foreignDoc, 1]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56 [foreignComment, 2]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59 [xmlDoc, -1]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60 [xmlDoc, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61 [xmlDoc, 1]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62 [xmlDoc, 5]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 63 [xmlComment, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 64 [xmlComment, 4]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 65 [processingInstruction, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 66 [processingInstruction, 5]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 67 [processingInstruction, 9]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 33 [foreignDoc.head, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 34 [foreignDoc.body, 1]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreignDoc, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreignDoc, 1]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreignComment, 2]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreignTextNode, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreignTextNode, 36]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc, -1]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc, 1]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc, 5]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 63 [xmlComment, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 64 [xmlComment, 4]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 65 [processingInstruction, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 66 [processingInstruction, 5]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 67 [processingInstruction, 9]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 77 [detachedForeignComment, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 78 [detachedForeignComment, 4]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 79 [detachedXmlComment, 2]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 81 [foreignDocfrag, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDocfrag, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreignDoctype, 0]":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoctype, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 33 [foreignDoc.head, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 34 [foreignDoc.body, 1]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreignDoc, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreignDoc, 1]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreignComment, 2]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreignTextNode, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreignTextNode, 36]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc, -1]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc, 1]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc, 5]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 63 [xmlComment, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 64 [xmlComment, 4]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 65 [processingInstruction, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 66 [processingInstruction, 5]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 67 [processingInstruction, 9]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 77 [detachedForeignComment, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 78 [detachedForeignComment, 4]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 79 [detachedXmlComment, 2]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 81 [foreignDocfrag, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDocfrag, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreignDoctype, 0]":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoctype, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 33 [foreignDoc.head, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 34 [foreignDoc.body, 1]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment, 2]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNode, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNode, 36]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 63 [xmlComment, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 64 [xmlComment, 4]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 65 [processingInstruction, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 66 [processingInstruction, 5]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 67 [processingInstruction, 9]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 77 [detachedForeignComment, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 78 [detachedForeignComment, 4]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 79 [detachedXmlComment, 2]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 81 [foreignDocfrag, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype, 0]":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 33 [foreignDoc.head, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 34 [foreignDoc.body, 1]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment, 2]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNode, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNode, 36]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 63 [xmlComment, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 64 [xmlComment, 4]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 65 [processingInstruction, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 66 [processingInstruction, 5]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 67 [processingInstruction, 9]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 77 [detachedForeignComment, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 78 [detachedForeignComment, 4]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 79 [detachedXmlComment, 2]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 81 [foreignDocfrag, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype, 0]":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 33 [foreignDoc.head, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 34 [foreignDoc.body, 1]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [foreignDoc, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [foreignDoc, 1]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [foreignComment, 2]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [foreignTextNode, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [foreignTextNode, 36]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [xmlDoc, -1]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [xmlDoc, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [xmlDoc, 1]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [xmlDoc, 5]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 63 [xmlComment, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 64 [xmlComment, 4]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 65 [processingInstruction, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 66 [processingInstruction, 5]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 67 [processingInstruction, 9]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 77 [detachedForeignComment, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 78 [detachedForeignComment, 4]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 79 [detachedXmlComment, 2]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 81 [foreignDocfrag, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [xmlDocfrag, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [foreignDoctype, 0]":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [xmlDoctype, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 33 [foreignDoc.head, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 34 [foreignDoc.body, 1]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [foreignDoc, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [foreignDoc, 1]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [foreignComment, 2]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [foreignTextNode, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [foreignTextNode, 36]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [xmlDoc, -1]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [xmlDoc, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [xmlDoc, 1]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [xmlDoc, 5]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 63 [xmlComment, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 64 [xmlComment, 4]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 65 [processingInstruction, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 66 [processingInstruction, 5]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 67 [processingInstruction, 9]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 77 [detachedForeignComment, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 78 [detachedForeignComment, 4]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 79 [detachedXmlComment, 2]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 81 [foreignDocfrag, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [xmlDocfrag, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [foreignDoctype, 0]":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [xmlDoctype, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 33 [foreignDoc.head, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 34 [foreignDoc.body, 1]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignDoc, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignDoc, 1]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignComment, 2]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignTextNode, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignTextNode, 36]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc, -1]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc, 1]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc, 5]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 63 [xmlComment, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 64 [xmlComment, 4]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 65 [processingInstruction, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 66 [processingInstruction, 5]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 67 [processingInstruction, 9]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 77 [detachedForeignComment, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 78 [detachedForeignComment, 4]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 79 [detachedXmlComment, 2]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 81 [foreignDocfrag, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfrag, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignDoctype, 0]":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDoctype, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 63 [xmlComment, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 64 [xmlComment, 4]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 65 [processingInstruction, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 66 [processingInstruction, 5]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 67 [processingInstruction, 9]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment, 2]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 63 [xmlComment, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 64 [xmlComment, 4]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 65 [processingInstruction, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 66 [processingInstruction, 5]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 67 [processingInstruction, 9]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild, 1]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild, 8]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild, 9]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 31 [foreignDoc.documentElement, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 32 [foreignDoc.documentElement, 1]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 33 [foreignDoc.head, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 34 [foreignDoc.body, 1]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 63 [xmlComment, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 64 [xmlComment, 4]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 65 [processingInstruction, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 66 [processingInstruction, 5]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 67 [processingInstruction, 9]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 70 [detachedForeignTextNode, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 71 [detachedForeignTextNode, 8]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 72 [detachedXmlTextNode, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 73 [detachedXmlTextNode, 8]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 74 [detachedProcessingInstruction, 12]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 77 [detachedForeignComment, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 78 [detachedForeignComment, 4]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 79 [detachedXmlComment, 2]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 81 [foreignDocfrag, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 86 [foreignDoctype, 0]":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 87 [xmlDoctype, 0]":true
++}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapseToStartEnd.html.json seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapseToStartEnd.html.json
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapseToStartEnd.html.json	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_collapseToStartEnd.html.json	2013-11-29 02:20:03.302130357 +0400
+@@ -0,0 +1,44 @@
++{
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] collapseToStart()":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] collapseToEnd()":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] collapseToStart()":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] collapseToEnd()":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] collapseToStart()":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] collapseToEnd()":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] collapseToStart()":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] collapseToEnd()":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] collapseToStart()":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] collapseToEnd()":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] collapseToStart()":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] collapseToEnd()":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] collapseToStart()":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] collapseToEnd()":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToStart()":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToEnd()":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart()":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd()":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36] collapseToStart()":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36] collapseToEnd()":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToStart()":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd()":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart()":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0] collapseToEnd()":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] collapseToStart()":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] collapseToEnd()":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] collapseToStart()":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] collapseToEnd()":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] collapseToStart()":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] collapseToEnd()":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] collapseToStart()":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] collapseToEnd()":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1] collapseToStart()":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1] collapseToEnd()":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4] collapseToStart()":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4] collapseToEnd()":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToStart()":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToEnd()":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToStart()":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToEnd()":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToStart()":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToEnd()":true
++}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_extend.html.json seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_extend.html.json
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_extend.html.json	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_extend.html.json	2013-11-29 02:20:03.306130321 +0400
+@@ -0,0 +1,3928 @@
++{
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 45 [document, -1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 46 [document, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 47 [document, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 48 [document, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 49 [document, 3]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 50 [comment, -1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 51 [comment, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 52 [comment, 4]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 53 [comment, 96]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 45 [document, -1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 46 [document, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 47 [document, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 48 [document, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 49 [document, 3]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 50 [comment, -1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 51 [comment, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 52 [comment, 4]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 53 [comment, 96]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 15 [document.documentElement, 0, document.documentElement, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 16 [document.documentElement, 0, document.documentElement, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 17 [document.documentElement, 1, document.documentElement, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 56 [foreignComment, 2]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 63 [xmlComment, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 64 [xmlComment, 4]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 18 [document.head, 1, document.head, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 19 [document.body, 0, document.body, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 19 [document.body, 0, document.body, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 45 [document, -1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 46 [document, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 47 [document, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 48 [document, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 49 [document, 3]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 50 [comment, -1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 51 [comment, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 52 [comment, 4]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 53 [comment, 96]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 56 [foreignComment, 2]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 63 [xmlComment, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 64 [xmlComment, 4]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 21 [foreignDoc.head, 1, foreignDoc.head, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 22 [foreignDoc.body, 0, foreignDoc.body, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 23 [paras[0], 0, paras[0], 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 26 [detachedPara1, 0, detachedPara1, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 33 [document.documentElement, 1, document.body, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 33 [document.documentElement, 1, document.body, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 45 [document, -1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 46 [document, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 47 [document, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 48 [document, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 49 [document, 3]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 50 [comment, -1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 51 [comment, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 52 [comment, 4]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 53 [comment, 96]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 35 [document, 0, document, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 35 [document, 0, document, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 36 [document, 0, document, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 36 [document, 0, document, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 37 [document, 1, document, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 37 [document, 1, document, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 38 [testDiv, 0, comment, 5] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 38 [testDiv, 0, comment, 5] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 40 [paras[3], 1, comment, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 40 [paras[3], 1, comment, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 41 [foreignDoc, 0, foreignDoc, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 45 [document, -1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 46 [document, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 47 [document, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 48 [document, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 49 [document, 3]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 50 [comment, -1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 51 [comment, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 52 [comment, 4]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 53 [comment, 96]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 42 [foreignDoc, 1, foreignComment, 2] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 45 [document, -1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 46 [document, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 47 [document, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 48 [document, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 49 [document, 3]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 50 [comment, -1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 51 [comment, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 52 [comment, 4]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 53 [comment, 96]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 43 [foreignDoc.body, 0, foreignTextNode, 36] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 44 [xmlDoc, 0, xmlDoc, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 45 [document, -1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 46 [document, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 47 [document, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 48 [document, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 49 [document, 3]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 50 [comment, -1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 51 [comment, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 52 [comment, 4]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 53 [comment, 96]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 45 [xmlDoc, 1, xmlComment, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 46 [detachedTextNode, 0, detachedTextNode, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 56 [foreignComment, 2]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 63 [xmlComment, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 64 [xmlComment, 4]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 45 [document, -1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 46 [document, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 47 [document, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 48 [document, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 49 [document, 3]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 50 [comment, -1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 51 [comment, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 52 [comment, 4]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 53 [comment, 96]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 56 [foreignComment, 2]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 63 [xmlComment, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 64 [xmlComment, 4]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 45 [document, -1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 46 [document, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 47 [document, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 48 [document, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 49 [document, 3]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 50 [comment, -1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 51 [comment, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 52 [comment, 4]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 53 [comment, 96]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] and point 87 [xmlDoctype, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 34 [foreignDoc.body, 1]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 67 [processingInstruction, 9]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 79 [detachedXmlComment, 2]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 82 [xmlDocfrag, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 51 [detachedComment, 3, detachedComment, 4] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 51 [detachedComment, 3, detachedComment, 4] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 56 [foreignComment, 2]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 63 [xmlComment, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 64 [xmlComment, 4]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 52 [detachedComment, 5, detachedComment, 5] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 45 [document, -1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 46 [document, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 47 [document, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 48 [document, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 49 [document, 3]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 50 [comment, -1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 51 [comment, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 52 [comment, 4]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 53 [comment, 96]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 53 [detachedForeignComment, 0, detachedForeignComment, 1] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 56 [foreignComment, 2]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 63 [xmlComment, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 64 [xmlComment, 4]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 54 [detachedForeignComment, 4, detachedForeignComment, 4] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 0 [paras[0].firstChild, -1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 1 [paras[0].firstChild, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 2 [paras[0].firstChild, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 3 [paras[0].firstChild, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 4 [paras[0].firstChild, 8]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 5 [paras[0].firstChild, 9]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 6 [paras[0].firstChild, 10]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 7 [paras[0].firstChild, 65535]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 8 [paras[1].firstChild, -1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 9 [paras[1].firstChild, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 10 [paras[1].firstChild, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 11 [paras[1].firstChild, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 12 [paras[1].firstChild, 8]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 13 [paras[1].firstChild, 9]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 14 [paras[1].firstChild, 10]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 15 [paras[1].firstChild, 65535]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 16 [detachedPara1.firstChild, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 17 [detachedPara1.firstChild, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 18 [detachedPara1.firstChild, 8]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 19 [detachedPara1.firstChild, 9]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 24 [document.documentElement, -1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 25 [document.documentElement, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 26 [document.documentElement, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 27 [document.documentElement, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 28 [document.documentElement, 7]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 29 [document.head, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 30 [document.body, 3]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 33 [foreignDoc.head, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 33 [foreignDoc.head, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 34 [foreignDoc.body, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 35 [paras[0], 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 36 [paras[0], 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 37 [paras[0], 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 38 [paras[1], 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 39 [paras[1], 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 40 [paras[1], 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 41 [detachedPara1, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 42 [detachedPara1, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 43 [testDiv, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 44 [testDiv, 3]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 45 [document, -1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 46 [document, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 47 [document, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 48 [document, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 49 [document, 3]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 50 [comment, -1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 51 [comment, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 52 [comment, 4]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 53 [comment, 96]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 54 [foreignDoc, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 54 [foreignDoc, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 55 [foreignDoc, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 55 [foreignDoc, 1]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 56 [foreignComment, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 56 [foreignComment, 2]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 57 [foreignTextNode, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 57 [foreignTextNode, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 58 [foreignTextNode, 36]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 58 [foreignTextNode, 36]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 59 [xmlDoc, -1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 59 [xmlDoc, -1]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 60 [xmlDoc, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 60 [xmlDoc, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 61 [xmlDoc, 1]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 61 [xmlDoc, 1]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 62 [xmlDoc, 5]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 62 [xmlDoc, 5]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 63 [xmlComment, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 63 [xmlComment, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 64 [xmlComment, 4]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 64 [xmlComment, 4]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 65 [processingInstruction, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 65 [processingInstruction, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 66 [processingInstruction, 5]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 66 [processingInstruction, 5]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 67 [processingInstruction, 9]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 68 [detachedTextNode, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 69 [detachedTextNode, 8]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 75 [detachedComment, 3]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 76 [detachedComment, 5]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 77 [detachedForeignComment, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 77 [detachedForeignComment, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 78 [detachedForeignComment, 4]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 78 [detachedForeignComment, 4]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 79 [detachedXmlComment, 2]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 80 [docfrag, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 81 [foreignDocfrag, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 81 [foreignDocfrag, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 82 [xmlDocfrag, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 83 [doctype, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 84 [doctype, -17]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 85 [doctype, 1]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 86 [foreignDoctype, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 86 [foreignDoctype, 0]":true,
++  "extend() forwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 87 [xmlDoctype, 0]":true,
++  "extend() backwards with range 55 [detachedXmlComment, 2, detachedXmlComment, 6] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 56 [docfrag, 0, docfrag, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 57 [foreignDocfrag, 0, foreignDocfrag, 0] and point 87 [xmlDoctype, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 20 [foreignPara1.firstChild, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 21 [foreignPara1.firstChild, 1]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 22 [foreignPara1.firstChild, 8]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 23 [foreignPara1.firstChild, 9]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 31 [foreignDoc.documentElement, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 32 [foreignDoc.documentElement, 1]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 33 [foreignDoc.head, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 34 [foreignDoc.body, 1]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 54 [foreignDoc, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 55 [foreignDoc, 1]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 56 [foreignComment, 2]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 57 [foreignTextNode, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 58 [foreignTextNode, 36]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 59 [xmlDoc, -1]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 60 [xmlDoc, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 61 [xmlDoc, 1]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 62 [xmlDoc, 5]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 63 [xmlComment, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 64 [xmlComment, 4]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 65 [processingInstruction, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 66 [processingInstruction, 5]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 67 [processingInstruction, 9]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 70 [detachedForeignTextNode, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 71 [detachedForeignTextNode, 8]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 72 [detachedXmlTextNode, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 73 [detachedXmlTextNode, 8]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 74 [detachedProcessingInstruction, 12]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 77 [detachedForeignComment, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 78 [detachedForeignComment, 4]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 79 [detachedXmlComment, 2]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 81 [foreignDocfrag, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 82 [xmlDocfrag, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 86 [foreignDoctype, 0]":true,
++  "extend() with range 58 [xmlDocfrag, 0, xmlDocfrag, 0] and point 87 [xmlDoctype, 0]":true
++}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_removeAllRanges.html.json seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_removeAllRanges.html.json
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_removeAllRanges.html.json	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_removeAllRanges.html.json	2013-11-29 02:20:03.306130321 +0400
+@@ -0,0 +1,23 @@
++{
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] backwards":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] backwards":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] backwards":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] backwards":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] backwards":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] backwards":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] backwards":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0] backwards":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2] backwards":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36] backwards":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0] backwards":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0] backwards":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] backwards":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] backwards":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] backwards":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] backwards":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1] backwards":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4] backwards":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] backwards":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] backwards":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] backwards":true
++}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_selectAllChildren.html.json seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_selectAllChildren.html.json
+--- seamonkey-2.21/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_selectAllChildren.html.json	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/imptests/failures/editing/selecttest/test_selectAllChildren.html.json	2013-11-29 02:20:03.308130301 +0400
+@@ -0,0 +1,1241 @@
++{
++  "Range 0 [], node 4 foreignPara1":true,
++  "Range 0 [], node 5 foreignPara1.firstChild":true,
++  "Range 0 [], node 14 foreignDoc":true,
++  "Range 0 [], node 15 foreignPara2":true,
++  "Range 0 [], node 16 xmlDoc":true,
++  "Range 0 [], node 17 xmlElement":true,
++  "Range 0 [], node 18 detachedXmlElement":true,
++  "Range 0 [], node 20 foreignTextNode":true,
++  "Range 0 [], node 21 detachedForeignTextNode":true,
++  "Range 0 [], node 22 xmlTextNode":true,
++  "Range 0 [], node 23 detachedXmlTextNode":true,
++  "Range 0 [], node 24 processingInstruction":true,
++  "Range 0 [], node 25 detachedProcessingInstruction":true,
++  "Range 0 [], node 28 foreignComment":true,
++  "Range 0 [], node 29 detachedForeignComment":true,
++  "Range 0 [], node 30 xmlComment":true,
++  "Range 0 [], node 31 detachedXmlComment":true,
++  "Range 0 [], node 33 foreignDocfrag":true,
++  "Range 0 [], node 34 xmlDocfrag":true,
++  "Range 0 [], node 36 foreignDoctype":true,
++  "Range 0 [], node 37 xmlDoctype":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 4 foreignPara1":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 5 foreignPara1.firstChild":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 14 foreignDoc":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 15 foreignPara2":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 16 xmlDoc":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 17 xmlElement":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 18 detachedXmlElement":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 20 foreignTextNode":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 21 detachedForeignTextNode":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 22 xmlTextNode":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 23 detachedXmlTextNode":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 24 processingInstruction":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 25 detachedProcessingInstruction":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 28 foreignComment":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 29 detachedForeignComment":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 30 xmlComment":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 31 detachedXmlComment":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 33 foreignDocfrag":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 34 xmlDocfrag":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 36 foreignDoctype":true,
++  "Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], node 37 xmlDoctype":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 4 foreignPara1":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 5 foreignPara1.firstChild":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 14 foreignDoc":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 15 foreignPara2":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 16 xmlDoc":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 17 xmlElement":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 18 detachedXmlElement":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 20 foreignTextNode":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 21 detachedForeignTextNode":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 22 xmlTextNode":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 23 detachedXmlTextNode":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 24 processingInstruction":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 25 detachedProcessingInstruction":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 28 foreignComment":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 29 detachedForeignComment":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 30 xmlComment":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 31 detachedXmlComment":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 33 foreignDocfrag":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 34 xmlDocfrag":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 36 foreignDoctype":true,
++  "Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], node 37 xmlDoctype":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 4 foreignPara1":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 5 foreignPara1.firstChild":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 14 foreignDoc":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 15 foreignPara2":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 16 xmlDoc":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 17 xmlElement":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 18 detachedXmlElement":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 20 foreignTextNode":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 21 detachedForeignTextNode":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 22 xmlTextNode":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 23 detachedXmlTextNode":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 24 processingInstruction":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 25 detachedProcessingInstruction":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 28 foreignComment":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 29 detachedForeignComment":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 30 xmlComment":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 31 detachedXmlComment":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 33 foreignDocfrag":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 34 xmlDocfrag":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 36 foreignDoctype":true,
++  "Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], node 37 xmlDoctype":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 4 foreignPara1":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 5 foreignPara1.firstChild":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 14 foreignDoc":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 15 foreignPara2":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 16 xmlDoc":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 17 xmlElement":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 18 detachedXmlElement":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 20 foreignTextNode":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 21 detachedForeignTextNode":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 22 xmlTextNode":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 23 detachedXmlTextNode":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 24 processingInstruction":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 25 detachedProcessingInstruction":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 28 foreignComment":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 29 detachedForeignComment":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 30 xmlComment":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 31 detachedXmlComment":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 33 foreignDocfrag":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 34 xmlDocfrag":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 36 foreignDoctype":true,
++  "Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], node 37 xmlDoctype":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 4 foreignPara1":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 5 foreignPara1.firstChild":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 14 foreignDoc":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 15 foreignPara2":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 16 xmlDoc":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 17 xmlElement":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 18 detachedXmlElement":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 20 foreignTextNode":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 21 detachedForeignTextNode":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 22 xmlTextNode":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 23 detachedXmlTextNode":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 24 processingInstruction":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 25 detachedProcessingInstruction":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 28 foreignComment":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 29 detachedForeignComment":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 30 xmlComment":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 31 detachedXmlComment":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 33 foreignDocfrag":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 34 xmlDocfrag":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 36 foreignDoctype":true,
++  "Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], node 37 xmlDoctype":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 4 foreignPara1":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 5 foreignPara1.firstChild":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 14 foreignDoc":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 15 foreignPara2":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 16 xmlDoc":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 17 xmlElement":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 18 detachedXmlElement":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 20 foreignTextNode":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 21 detachedForeignTextNode":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 22 xmlTextNode":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 23 detachedXmlTextNode":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 24 processingInstruction":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 25 detachedProcessingInstruction":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 28 foreignComment":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 29 detachedForeignComment":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 30 xmlComment":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 31 detachedXmlComment":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 33 foreignDocfrag":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 34 xmlDocfrag":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 36 foreignDoctype":true,
++  "Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], node 37 xmlDoctype":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 4 foreignPara1":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 5 foreignPara1.firstChild":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 14 foreignDoc":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 15 foreignPara2":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 16 xmlDoc":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 17 xmlElement":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 18 detachedXmlElement":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 20 foreignTextNode":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 21 detachedForeignTextNode":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 22 xmlTextNode":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 23 detachedXmlTextNode":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 24 processingInstruction":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 25 detachedProcessingInstruction":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 28 foreignComment":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 29 detachedForeignComment":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 30 xmlComment":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 31 detachedXmlComment":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 33 foreignDocfrag":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 34 xmlDocfrag":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 36 foreignDoctype":true,
++  "Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], node 37 xmlDoctype":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 4 foreignPara1":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 5 foreignPara1.firstChild":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 14 foreignDoc":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 15 foreignPara2":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 16 xmlDoc":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 17 xmlElement":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 18 detachedXmlElement":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 20 foreignTextNode":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 21 detachedForeignTextNode":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 22 xmlTextNode":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 23 detachedXmlTextNode":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 24 processingInstruction":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 25 detachedProcessingInstruction":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 28 foreignComment":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 29 detachedForeignComment":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 30 xmlComment":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 31 detachedXmlComment":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 33 foreignDocfrag":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 34 xmlDocfrag":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 36 foreignDoctype":true,
++  "Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], node 37 xmlDoctype":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 4 foreignPara1":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 5 foreignPara1.firstChild":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 14 foreignDoc":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 15 foreignPara2":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 16 xmlDoc":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 17 xmlElement":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 18 detachedXmlElement":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 20 foreignTextNode":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 21 detachedForeignTextNode":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 22 xmlTextNode":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 23 detachedXmlTextNode":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 24 processingInstruction":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 25 detachedProcessingInstruction":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 28 foreignComment":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 29 detachedForeignComment":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 30 xmlComment":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 31 detachedXmlComment":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 33 foreignDocfrag":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 34 xmlDocfrag":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 36 foreignDoctype":true,
++  "Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node 37 xmlDoctype":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 4 foreignPara1":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 5 foreignPara1.firstChild":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 14 foreignDoc":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 15 foreignPara2":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 16 xmlDoc":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 17 xmlElement":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 18 detachedXmlElement":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 20 foreignTextNode":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 21 detachedForeignTextNode":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 22 xmlTextNode":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 23 detachedXmlTextNode":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 24 processingInstruction":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 25 detachedProcessingInstruction":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 28 foreignComment":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 29 detachedForeignComment":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 30 xmlComment":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 31 detachedXmlComment":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 33 foreignDocfrag":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 34 xmlDocfrag":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 36 foreignDoctype":true,
++  "Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], node 37 xmlDoctype":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 4 foreignPara1":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 5 foreignPara1.firstChild":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 14 foreignDoc":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 15 foreignPara2":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 16 xmlDoc":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 17 xmlElement":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 18 detachedXmlElement":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 20 foreignTextNode":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 21 detachedForeignTextNode":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 22 xmlTextNode":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 23 detachedXmlTextNode":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 24 processingInstruction":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 25 detachedProcessingInstruction":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 28 foreignComment":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 29 detachedForeignComment":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 30 xmlComment":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 31 detachedXmlComment":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 33 foreignDocfrag":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 34 xmlDocfrag":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 36 foreignDoctype":true,
++  "Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node 37 xmlDoctype":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 4 foreignPara1":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 5 foreignPara1.firstChild":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 14 foreignDoc":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 15 foreignPara2":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 16 xmlDoc":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 17 xmlElement":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 18 detachedXmlElement":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 20 foreignTextNode":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 21 detachedForeignTextNode":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 22 xmlTextNode":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 23 detachedXmlTextNode":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 24 processingInstruction":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 25 detachedProcessingInstruction":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 28 foreignComment":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 29 detachedForeignComment":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 30 xmlComment":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 31 detachedXmlComment":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 33 foreignDocfrag":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 34 xmlDocfrag":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 36 foreignDoctype":true,
++  "Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node 37 xmlDoctype":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 4 foreignPara1":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 5 foreignPara1.firstChild":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 14 foreignDoc":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 15 foreignPara2":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 16 xmlDoc":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 17 xmlElement":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 18 detachedXmlElement":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 20 foreignTextNode":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 21 detachedForeignTextNode":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 22 xmlTextNode":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 23 detachedXmlTextNode":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 24 processingInstruction":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 25 detachedProcessingInstruction":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 28 foreignComment":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 29 detachedForeignComment":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 30 xmlComment":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 31 detachedXmlComment":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 33 foreignDocfrag":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 34 xmlDocfrag":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 36 foreignDoctype":true,
++  "Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], node 37 xmlDoctype":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 4 foreignPara1":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 5 foreignPara1.firstChild":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 14 foreignDoc":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 15 foreignPara2":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 16 xmlDoc":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 17 xmlElement":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 18 detachedXmlElement":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 20 foreignTextNode":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 21 detachedForeignTextNode":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 22 xmlTextNode":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 23 detachedXmlTextNode":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 24 processingInstruction":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 25 detachedProcessingInstruction":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 28 foreignComment":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 29 detachedForeignComment":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 30 xmlComment":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 31 detachedXmlComment":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 33 foreignDocfrag":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 34 xmlDocfrag":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 36 foreignDoctype":true,
++  "Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node 37 xmlDoctype":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 4 foreignPara1":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 5 foreignPara1.firstChild":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 14 foreignDoc":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 15 foreignPara2":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 16 xmlDoc":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 17 xmlElement":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 18 detachedXmlElement":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 20 foreignTextNode":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 21 detachedForeignTextNode":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 22 xmlTextNode":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 23 detachedXmlTextNode":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 24 processingInstruction":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 25 detachedProcessingInstruction":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 28 foreignComment":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 29 detachedForeignComment":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 30 xmlComment":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 31 detachedXmlComment":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 33 foreignDocfrag":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 34 xmlDocfrag":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 36 foreignDoctype":true,
++  "Range 15 [document.documentElement, 0, document.documentElement, 1], node 37 xmlDoctype":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 4 foreignPara1":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 5 foreignPara1.firstChild":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 14 foreignDoc":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 15 foreignPara2":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 16 xmlDoc":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 17 xmlElement":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 18 detachedXmlElement":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 20 foreignTextNode":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 21 detachedForeignTextNode":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 22 xmlTextNode":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 23 detachedXmlTextNode":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 24 processingInstruction":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 25 detachedProcessingInstruction":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 28 foreignComment":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 29 detachedForeignComment":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 30 xmlComment":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 31 detachedXmlComment":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 33 foreignDocfrag":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 34 xmlDocfrag":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 36 foreignDoctype":true,
++  "Range 16 [document.documentElement, 0, document.documentElement, 2], node 37 xmlDoctype":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 4 foreignPara1":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 5 foreignPara1.firstChild":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 14 foreignDoc":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 15 foreignPara2":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 16 xmlDoc":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 17 xmlElement":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 18 detachedXmlElement":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 20 foreignTextNode":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 21 detachedForeignTextNode":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 22 xmlTextNode":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 23 detachedXmlTextNode":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 24 processingInstruction":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 25 detachedProcessingInstruction":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 28 foreignComment":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 29 detachedForeignComment":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 30 xmlComment":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 31 detachedXmlComment":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 33 foreignDocfrag":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 34 xmlDocfrag":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 36 foreignDoctype":true,
++  "Range 17 [document.documentElement, 1, document.documentElement, 2], node 37 xmlDoctype":true,
++  "Range 18 [document.head, 1, document.head, 1], node 4 foreignPara1":true,
++  "Range 18 [document.head, 1, document.head, 1], node 5 foreignPara1.firstChild":true,
++  "Range 18 [document.head, 1, document.head, 1], node 14 foreignDoc":true,
++  "Range 18 [document.head, 1, document.head, 1], node 15 foreignPara2":true,
++  "Range 18 [document.head, 1, document.head, 1], node 16 xmlDoc":true,
++  "Range 18 [document.head, 1, document.head, 1], node 17 xmlElement":true,
++  "Range 18 [document.head, 1, document.head, 1], node 18 detachedXmlElement":true,
++  "Range 18 [document.head, 1, document.head, 1], node 20 foreignTextNode":true,
++  "Range 18 [document.head, 1, document.head, 1], node 21 detachedForeignTextNode":true,
++  "Range 18 [document.head, 1, document.head, 1], node 22 xmlTextNode":true,
++  "Range 18 [document.head, 1, document.head, 1], node 23 detachedXmlTextNode":true,
++  "Range 18 [document.head, 1, document.head, 1], node 24 processingInstruction":true,
++  "Range 18 [document.head, 1, document.head, 1], node 25 detachedProcessingInstruction":true,
++  "Range 18 [document.head, 1, document.head, 1], node 28 foreignComment":true,
++  "Range 18 [document.head, 1, document.head, 1], node 29 detachedForeignComment":true,
++  "Range 18 [document.head, 1, document.head, 1], node 30 xmlComment":true,
++  "Range 18 [document.head, 1, document.head, 1], node 31 detachedXmlComment":true,
++  "Range 18 [document.head, 1, document.head, 1], node 33 foreignDocfrag":true,
++  "Range 18 [document.head, 1, document.head, 1], node 34 xmlDocfrag":true,
++  "Range 18 [document.head, 1, document.head, 1], node 36 foreignDoctype":true,
++  "Range 18 [document.head, 1, document.head, 1], node 37 xmlDoctype":true,
++  "Range 19 [document.body, 0, document.body, 1], node 4 foreignPara1":true,
++  "Range 19 [document.body, 0, document.body, 1], node 5 foreignPara1.firstChild":true,
++  "Range 19 [document.body, 0, document.body, 1], node 14 foreignDoc":true,
++  "Range 19 [document.body, 0, document.body, 1], node 15 foreignPara2":true,
++  "Range 19 [document.body, 0, document.body, 1], node 16 xmlDoc":true,
++  "Range 19 [document.body, 0, document.body, 1], node 17 xmlElement":true,
++  "Range 19 [document.body, 0, document.body, 1], node 18 detachedXmlElement":true,
++  "Range 19 [document.body, 0, document.body, 1], node 20 foreignTextNode":true,
++  "Range 19 [document.body, 0, document.body, 1], node 21 detachedForeignTextNode":true,
++  "Range 19 [document.body, 0, document.body, 1], node 22 xmlTextNode":true,
++  "Range 19 [document.body, 0, document.body, 1], node 23 detachedXmlTextNode":true,
++  "Range 19 [document.body, 0, document.body, 1], node 24 processingInstruction":true,
++  "Range 19 [document.body, 0, document.body, 1], node 25 detachedProcessingInstruction":true,
++  "Range 19 [document.body, 0, document.body, 1], node 28 foreignComment":true,
++  "Range 19 [document.body, 0, document.body, 1], node 29 detachedForeignComment":true,
++  "Range 19 [document.body, 0, document.body, 1], node 30 xmlComment":true,
++  "Range 19 [document.body, 0, document.body, 1], node 31 detachedXmlComment":true,
++  "Range 19 [document.body, 0, document.body, 1], node 33 foreignDocfrag":true,
++  "Range 19 [document.body, 0, document.body, 1], node 34 xmlDocfrag":true,
++  "Range 19 [document.body, 0, document.body, 1], node 36 foreignDoctype":true,
++  "Range 19 [document.body, 0, document.body, 1], node 37 xmlDoctype":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 4 foreignPara1":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 5 foreignPara1.firstChild":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 14 foreignDoc":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 15 foreignPara2":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 16 xmlDoc":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 17 xmlElement":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 18 detachedXmlElement":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 20 foreignTextNode":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 21 detachedForeignTextNode":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 22 xmlTextNode":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 23 detachedXmlTextNode":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 24 processingInstruction":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 25 detachedProcessingInstruction":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 28 foreignComment":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 29 detachedForeignComment":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 30 xmlComment":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 31 detachedXmlComment":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 33 foreignDocfrag":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 34 xmlDocfrag":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 36 foreignDoctype":true,
++  "Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node 37 xmlDoctype":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 4 foreignPara1":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 5 foreignPara1.firstChild":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 14 foreignDoc":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 15 foreignPara2":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 16 xmlDoc":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 17 xmlElement":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 18 detachedXmlElement":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 20 foreignTextNode":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 21 detachedForeignTextNode":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 22 xmlTextNode":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 23 detachedXmlTextNode":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 24 processingInstruction":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 25 detachedProcessingInstruction":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 28 foreignComment":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 29 detachedForeignComment":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 30 xmlComment":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 31 detachedXmlComment":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 33 foreignDocfrag":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 34 xmlDocfrag":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 36 foreignDoctype":true,
++  "Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], node 37 xmlDoctype":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 4 foreignPara1":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 5 foreignPara1.firstChild":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 14 foreignDoc":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 15 foreignPara2":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 16 xmlDoc":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 17 xmlElement":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 18 detachedXmlElement":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 20 foreignTextNode":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 21 detachedForeignTextNode":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 22 xmlTextNode":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 23 detachedXmlTextNode":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 24 processingInstruction":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 25 detachedProcessingInstruction":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 28 foreignComment":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 29 detachedForeignComment":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 30 xmlComment":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 31 detachedXmlComment":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 33 foreignDocfrag":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 34 xmlDocfrag":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 36 foreignDoctype":true,
++  "Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], node 37 xmlDoctype":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 4 foreignPara1":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 5 foreignPara1.firstChild":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 14 foreignDoc":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 15 foreignPara2":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 16 xmlDoc":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 17 xmlElement":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 18 detachedXmlElement":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 20 foreignTextNode":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 21 detachedForeignTextNode":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 22 xmlTextNode":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 23 detachedXmlTextNode":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 24 processingInstruction":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 25 detachedProcessingInstruction":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 28 foreignComment":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 29 detachedForeignComment":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 30 xmlComment":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 31 detachedXmlComment":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 33 foreignDocfrag":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 34 xmlDocfrag":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 36 foreignDoctype":true,
++  "Range 23 [paras[0], 0, paras[0], 0], node 37 xmlDoctype":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 4 foreignPara1":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 5 foreignPara1.firstChild":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 14 foreignDoc":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 15 foreignPara2":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 16 xmlDoc":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 17 xmlElement":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 18 detachedXmlElement":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 20 foreignTextNode":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 21 detachedForeignTextNode":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 22 xmlTextNode":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 23 detachedXmlTextNode":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 24 processingInstruction":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 25 detachedProcessingInstruction":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 28 foreignComment":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 29 detachedForeignComment":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 30 xmlComment":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 31 detachedXmlComment":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 33 foreignDocfrag":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 34 xmlDocfrag":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 36 foreignDoctype":true,
++  "Range 24 [paras[0], 0, paras[0], 1], node 37 xmlDoctype":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 4 foreignPara1":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 5 foreignPara1.firstChild":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 14 foreignDoc":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 15 foreignPara2":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 16 xmlDoc":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 17 xmlElement":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 18 detachedXmlElement":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 20 foreignTextNode":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 21 detachedForeignTextNode":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 22 xmlTextNode":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 23 detachedXmlTextNode":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 24 processingInstruction":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 25 detachedProcessingInstruction":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 28 foreignComment":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 29 detachedForeignComment":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 30 xmlComment":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 31 detachedXmlComment":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 33 foreignDocfrag":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 34 xmlDocfrag":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 36 foreignDoctype":true,
++  "Range 25 [detachedPara1, 0, detachedPara1, 0], node 37 xmlDoctype":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 4 foreignPara1":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 5 foreignPara1.firstChild":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 14 foreignDoc":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 15 foreignPara2":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 16 xmlDoc":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 17 xmlElement":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 18 detachedXmlElement":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 20 foreignTextNode":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 21 detachedForeignTextNode":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 22 xmlTextNode":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 23 detachedXmlTextNode":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 24 processingInstruction":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 25 detachedProcessingInstruction":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 28 foreignComment":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 29 detachedForeignComment":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 30 xmlComment":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 31 detachedXmlComment":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 33 foreignDocfrag":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 34 xmlDocfrag":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 36 foreignDoctype":true,
++  "Range 26 [detachedPara1, 0, detachedPara1, 1], node 37 xmlDoctype":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 4 foreignPara1":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 5 foreignPara1.firstChild":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 14 foreignDoc":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 15 foreignPara2":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 16 xmlDoc":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 17 xmlElement":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 18 detachedXmlElement":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 20 foreignTextNode":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 21 detachedForeignTextNode":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 22 xmlTextNode":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 23 detachedXmlTextNode":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 24 processingInstruction":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 25 detachedProcessingInstruction":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 28 foreignComment":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 29 detachedForeignComment":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 30 xmlComment":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 31 detachedXmlComment":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 33 foreignDocfrag":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 34 xmlDocfrag":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 36 foreignDoctype":true,
++  "Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], node 37 xmlDoctype":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 4 foreignPara1":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 5 foreignPara1.firstChild":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 14 foreignDoc":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 15 foreignPara2":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 16 xmlDoc":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 17 xmlElement":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 18 detachedXmlElement":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 20 foreignTextNode":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 21 detachedForeignTextNode":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 22 xmlTextNode":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 23 detachedXmlTextNode":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 24 processingInstruction":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 25 detachedProcessingInstruction":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 28 foreignComment":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 29 detachedForeignComment":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 30 xmlComment":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 31 detachedXmlComment":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 33 foreignDocfrag":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 34 xmlDocfrag":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 36 foreignDoctype":true,
++  "Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], node 37 xmlDoctype":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 4 foreignPara1":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 5 foreignPara1.firstChild":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 14 foreignDoc":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 15 foreignPara2":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 16 xmlDoc":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 17 xmlElement":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 18 detachedXmlElement":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 20 foreignTextNode":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 21 detachedForeignTextNode":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 22 xmlTextNode":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 23 detachedXmlTextNode":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 24 processingInstruction":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 25 detachedProcessingInstruction":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 28 foreignComment":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 29 detachedForeignComment":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 30 xmlComment":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 31 detachedXmlComment":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 33 foreignDocfrag":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 34 xmlDocfrag":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 36 foreignDoctype":true,
++  "Range 29 [paras[0].firstChild, 3, paras[3], 1], node 37 xmlDoctype":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 4 foreignPara1":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 5 foreignPara1.firstChild":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 14 foreignDoc":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 15 foreignPara2":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 16 xmlDoc":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 17 xmlElement":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 18 detachedXmlElement":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 20 foreignTextNode":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 21 detachedForeignTextNode":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 22 xmlTextNode":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 23 detachedXmlTextNode":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 24 processingInstruction":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 25 detachedProcessingInstruction":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 28 foreignComment":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 29 detachedForeignComment":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 30 xmlComment":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 31 detachedXmlComment":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 33 foreignDocfrag":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 34 xmlDocfrag":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 36 foreignDoctype":true,
++  "Range 30 [paras[0], 0, paras[0].firstChild, 7], node 37 xmlDoctype":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 4 foreignPara1":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 5 foreignPara1.firstChild":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 14 foreignDoc":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 15 foreignPara2":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 16 xmlDoc":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 17 xmlElement":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 18 detachedXmlElement":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 20 foreignTextNode":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 21 detachedForeignTextNode":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 22 xmlTextNode":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 23 detachedXmlTextNode":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 24 processingInstruction":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 25 detachedProcessingInstruction":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 28 foreignComment":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 29 detachedForeignComment":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 30 xmlComment":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 31 detachedXmlComment":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 33 foreignDocfrag":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 34 xmlDocfrag":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 36 foreignDoctype":true,
++  "Range 31 [testDiv, 2, paras[4], 1], node 37 xmlDoctype":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 4 foreignPara1":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 5 foreignPara1.firstChild":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 14 foreignDoc":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 15 foreignPara2":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 16 xmlDoc":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 17 xmlElement":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 18 detachedXmlElement":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 20 foreignTextNode":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 21 detachedForeignTextNode":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 22 xmlTextNode":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 23 detachedXmlTextNode":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 24 processingInstruction":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 25 detachedProcessingInstruction":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 28 foreignComment":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 29 detachedForeignComment":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 30 xmlComment":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 31 detachedXmlComment":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 33 foreignDocfrag":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 34 xmlDocfrag":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 36 foreignDoctype":true,
++  "Range 32 [testDiv, 1, paras[2].firstChild, 5], node 37 xmlDoctype":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 4 foreignPara1":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 5 foreignPara1.firstChild":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 14 foreignDoc":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 15 foreignPara2":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 16 xmlDoc":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 17 xmlElement":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 18 detachedXmlElement":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 20 foreignTextNode":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 21 detachedForeignTextNode":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 22 xmlTextNode":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 23 detachedXmlTextNode":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 24 processingInstruction":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 25 detachedProcessingInstruction":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 28 foreignComment":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 29 detachedForeignComment":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 30 xmlComment":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 31 detachedXmlComment":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 33 foreignDocfrag":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 34 xmlDocfrag":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 36 foreignDoctype":true,
++  "Range 33 [document.documentElement, 1, document.body, 0], node 37 xmlDoctype":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 4 foreignPara1":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 5 foreignPara1.firstChild":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 14 foreignDoc":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 15 foreignPara2":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 16 xmlDoc":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 17 xmlElement":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 18 detachedXmlElement":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 20 foreignTextNode":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 21 detachedForeignTextNode":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 22 xmlTextNode":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 23 detachedXmlTextNode":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 24 processingInstruction":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 25 detachedProcessingInstruction":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 28 foreignComment":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 29 detachedForeignComment":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 30 xmlComment":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 31 detachedXmlComment":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 33 foreignDocfrag":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 34 xmlDocfrag":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 36 foreignDoctype":true,
++  "Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], node 37 xmlDoctype":true,
++  "Range 35 [document, 0, document, 1], node 4 foreignPara1":true,
++  "Range 35 [document, 0, document, 1], node 5 foreignPara1.firstChild":true,
++  "Range 35 [document, 0, document, 1], node 14 foreignDoc":true,
++  "Range 35 [document, 0, document, 1], node 15 foreignPara2":true,
++  "Range 35 [document, 0, document, 1], node 16 xmlDoc":true,
++  "Range 35 [document, 0, document, 1], node 17 xmlElement":true,
++  "Range 35 [document, 0, document, 1], node 18 detachedXmlElement":true,
++  "Range 35 [document, 0, document, 1], node 20 foreignTextNode":true,
++  "Range 35 [document, 0, document, 1], node 21 detachedForeignTextNode":true,
++  "Range 35 [document, 0, document, 1], node 22 xmlTextNode":true,
++  "Range 35 [document, 0, document, 1], node 23 detachedXmlTextNode":true,
++  "Range 35 [document, 0, document, 1], node 24 processingInstruction":true,
++  "Range 35 [document, 0, document, 1], node 25 detachedProcessingInstruction":true,
++  "Range 35 [document, 0, document, 1], node 28 foreignComment":true,
++  "Range 35 [document, 0, document, 1], node 29 detachedForeignComment":true,
++  "Range 35 [document, 0, document, 1], node 30 xmlComment":true,
++  "Range 35 [document, 0, document, 1], node 31 detachedXmlComment":true,
++  "Range 35 [document, 0, document, 1], node 33 foreignDocfrag":true,
++  "Range 35 [document, 0, document, 1], node 34 xmlDocfrag":true,
++  "Range 35 [document, 0, document, 1], node 36 foreignDoctype":true,
++  "Range 35 [document, 0, document, 1], node 37 xmlDoctype":true,
++  "Range 36 [document, 0, document, 2], node 4 foreignPara1":true,
++  "Range 36 [document, 0, document, 2], node 5 foreignPara1.firstChild":true,
++  "Range 36 [document, 0, document, 2], node 14 foreignDoc":true,
++  "Range 36 [document, 0, document, 2], node 15 foreignPara2":true,
++  "Range 36 [document, 0, document, 2], node 16 xmlDoc":true,
++  "Range 36 [document, 0, document, 2], node 17 xmlElement":true,
++  "Range 36 [document, 0, document, 2], node 18 detachedXmlElement":true,
++  "Range 36 [document, 0, document, 2], node 20 foreignTextNode":true,
++  "Range 36 [document, 0, document, 2], node 21 detachedForeignTextNode":true,
++  "Range 36 [document, 0, document, 2], node 22 xmlTextNode":true,
++  "Range 36 [document, 0, document, 2], node 23 detachedXmlTextNode":true,
++  "Range 36 [document, 0, document, 2], node 24 processingInstruction":true,
++  "Range 36 [document, 0, document, 2], node 25 detachedProcessingInstruction":true,
++  "Range 36 [document, 0, document, 2], node 28 foreignComment":true,
++  "Range 36 [document, 0, document, 2], node 29 detachedForeignComment":true,
++  "Range 36 [document, 0, document, 2], node 30 xmlComment":true,
++  "Range 36 [document, 0, document, 2], node 31 detachedXmlComment":true,
++  "Range 36 [document, 0, document, 2], node 33 foreignDocfrag":true,
++  "Range 36 [document, 0, document, 2], node 34 xmlDocfrag":true,
++  "Range 36 [document, 0, document, 2], node 36 foreignDoctype":true,
++  "Range 36 [document, 0, document, 2], node 37 xmlDoctype":true,
++  "Range 37 [document, 1, document, 2], node 4 foreignPara1":true,
++  "Range 37 [document, 1, document, 2], node 5 foreignPara1.firstChild":true,
++  "Range 37 [document, 1, document, 2], node 14 foreignDoc":true,
++  "Range 37 [document, 1, document, 2], node 15 foreignPara2":true,
++  "Range 37 [document, 1, document, 2], node 16 xmlDoc":true,
++  "Range 37 [document, 1, document, 2], node 17 xmlElement":true,
++  "Range 37 [document, 1, document, 2], node 18 detachedXmlElement":true,
++  "Range 37 [document, 1, document, 2], node 20 foreignTextNode":true,
++  "Range 37 [document, 1, document, 2], node 21 detachedForeignTextNode":true,
++  "Range 37 [document, 1, document, 2], node 22 xmlTextNode":true,
++  "Range 37 [document, 1, document, 2], node 23 detachedXmlTextNode":true,
++  "Range 37 [document, 1, document, 2], node 24 processingInstruction":true,
++  "Range 37 [document, 1, document, 2], node 25 detachedProcessingInstruction":true,
++  "Range 37 [document, 1, document, 2], node 28 foreignComment":true,
++  "Range 37 [document, 1, document, 2], node 29 detachedForeignComment":true,
++  "Range 37 [document, 1, document, 2], node 30 xmlComment":true,
++  "Range 37 [document, 1, document, 2], node 31 detachedXmlComment":true,
++  "Range 37 [document, 1, document, 2], node 33 foreignDocfrag":true,
++  "Range 37 [document, 1, document, 2], node 34 xmlDocfrag":true,
++  "Range 37 [document, 1, document, 2], node 36 foreignDoctype":true,
++  "Range 37 [document, 1, document, 2], node 37 xmlDoctype":true,
++  "Range 38 [testDiv, 0, comment, 5], node 4 foreignPara1":true,
++  "Range 38 [testDiv, 0, comment, 5], node 5 foreignPara1.firstChild":true,
++  "Range 38 [testDiv, 0, comment, 5], node 14 foreignDoc":true,
++  "Range 38 [testDiv, 0, comment, 5], node 15 foreignPara2":true,
++  "Range 38 [testDiv, 0, comment, 5], node 16 xmlDoc":true,
++  "Range 38 [testDiv, 0, comment, 5], node 17 xmlElement":true,
++  "Range 38 [testDiv, 0, comment, 5], node 18 detachedXmlElement":true,
++  "Range 38 [testDiv, 0, comment, 5], node 20 foreignTextNode":true,
++  "Range 38 [testDiv, 0, comment, 5], node 21 detachedForeignTextNode":true,
++  "Range 38 [testDiv, 0, comment, 5], node 22 xmlTextNode":true,
++  "Range 38 [testDiv, 0, comment, 5], node 23 detachedXmlTextNode":true,
++  "Range 38 [testDiv, 0, comment, 5], node 24 processingInstruction":true,
++  "Range 38 [testDiv, 0, comment, 5], node 25 detachedProcessingInstruction":true,
++  "Range 38 [testDiv, 0, comment, 5], node 28 foreignComment":true,
++  "Range 38 [testDiv, 0, comment, 5], node 29 detachedForeignComment":true,
++  "Range 38 [testDiv, 0, comment, 5], node 30 xmlComment":true,
++  "Range 38 [testDiv, 0, comment, 5], node 31 detachedXmlComment":true,
++  "Range 38 [testDiv, 0, comment, 5], node 33 foreignDocfrag":true,
++  "Range 38 [testDiv, 0, comment, 5], node 34 xmlDocfrag":true,
++  "Range 38 [testDiv, 0, comment, 5], node 36 foreignDoctype":true,
++  "Range 38 [testDiv, 0, comment, 5], node 37 xmlDoctype":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 4 foreignPara1":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 5 foreignPara1.firstChild":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 14 foreignDoc":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 15 foreignPara2":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 16 xmlDoc":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 17 xmlElement":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 18 detachedXmlElement":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 20 foreignTextNode":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 21 detachedForeignTextNode":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 22 xmlTextNode":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 23 detachedXmlTextNode":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 24 processingInstruction":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 25 detachedProcessingInstruction":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 28 foreignComment":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 29 detachedForeignComment":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 30 xmlComment":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 31 detachedXmlComment":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 33 foreignDocfrag":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 34 xmlDocfrag":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 36 foreignDoctype":true,
++  "Range 39 [paras[2].firstChild, 4, comment, 2], node 37 xmlDoctype":true,
++  "Range 40 [paras[3], 1, comment, 8], node 4 foreignPara1":true,
++  "Range 40 [paras[3], 1, comment, 8], node 5 foreignPara1.firstChild":true,
++  "Range 40 [paras[3], 1, comment, 8], node 14 foreignDoc":true,
++  "Range 40 [paras[3], 1, comment, 8], node 15 foreignPara2":true,
++  "Range 40 [paras[3], 1, comment, 8], node 16 xmlDoc":true,
++  "Range 40 [paras[3], 1, comment, 8], node 17 xmlElement":true,
++  "Range 40 [paras[3], 1, comment, 8], node 18 detachedXmlElement":true,
++  "Range 40 [paras[3], 1, comment, 8], node 20 foreignTextNode":true,
++  "Range 40 [paras[3], 1, comment, 8], node 21 detachedForeignTextNode":true,
++  "Range 40 [paras[3], 1, comment, 8], node 22 xmlTextNode":true,
++  "Range 40 [paras[3], 1, comment, 8], node 23 detachedXmlTextNode":true,
++  "Range 40 [paras[3], 1, comment, 8], node 24 processingInstruction":true,
++  "Range 40 [paras[3], 1, comment, 8], node 25 detachedProcessingInstruction":true,
++  "Range 40 [paras[3], 1, comment, 8], node 28 foreignComment":true,
++  "Range 40 [paras[3], 1, comment, 8], node 29 detachedForeignComment":true,
++  "Range 40 [paras[3], 1, comment, 8], node 30 xmlComment":true,
++  "Range 40 [paras[3], 1, comment, 8], node 31 detachedXmlComment":true,
++  "Range 40 [paras[3], 1, comment, 8], node 33 foreignDocfrag":true,
++  "Range 40 [paras[3], 1, comment, 8], node 34 xmlDocfrag":true,
++  "Range 40 [paras[3], 1, comment, 8], node 36 foreignDoctype":true,
++  "Range 40 [paras[3], 1, comment, 8], node 37 xmlDoctype":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 4 foreignPara1":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 5 foreignPara1.firstChild":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 14 foreignDoc":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 15 foreignPara2":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 16 xmlDoc":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 17 xmlElement":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 18 detachedXmlElement":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 20 foreignTextNode":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 21 detachedForeignTextNode":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 22 xmlTextNode":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 23 detachedXmlTextNode":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 24 processingInstruction":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 25 detachedProcessingInstruction":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 28 foreignComment":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 29 detachedForeignComment":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 30 xmlComment":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 31 detachedXmlComment":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 33 foreignDocfrag":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 34 xmlDocfrag":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 36 foreignDoctype":true,
++  "Range 41 [foreignDoc, 0, foreignDoc, 0], node 37 xmlDoctype":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 4 foreignPara1":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 5 foreignPara1.firstChild":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 14 foreignDoc":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 15 foreignPara2":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 16 xmlDoc":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 17 xmlElement":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 18 detachedXmlElement":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 20 foreignTextNode":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 21 detachedForeignTextNode":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 22 xmlTextNode":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 23 detachedXmlTextNode":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 24 processingInstruction":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 25 detachedProcessingInstruction":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 28 foreignComment":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 29 detachedForeignComment":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 30 xmlComment":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 31 detachedXmlComment":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 33 foreignDocfrag":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 34 xmlDocfrag":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 36 foreignDoctype":true,
++  "Range 42 [foreignDoc, 1, foreignComment, 2], node 37 xmlDoctype":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 4 foreignPara1":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 5 foreignPara1.firstChild":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 14 foreignDoc":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 15 foreignPara2":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 16 xmlDoc":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 17 xmlElement":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 18 detachedXmlElement":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 20 foreignTextNode":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 21 detachedForeignTextNode":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 22 xmlTextNode":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 23 detachedXmlTextNode":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 24 processingInstruction":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 25 detachedProcessingInstruction":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 28 foreignComment":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 29 detachedForeignComment":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 30 xmlComment":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 31 detachedXmlComment":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 33 foreignDocfrag":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 34 xmlDocfrag":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 36 foreignDoctype":true,
++  "Range 43 [foreignDoc.body, 0, foreignTextNode, 36], node 37 xmlDoctype":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 4 foreignPara1":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 5 foreignPara1.firstChild":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 14 foreignDoc":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 15 foreignPara2":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 16 xmlDoc":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 17 xmlElement":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 18 detachedXmlElement":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 20 foreignTextNode":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 21 detachedForeignTextNode":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 22 xmlTextNode":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 23 detachedXmlTextNode":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 24 processingInstruction":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 25 detachedProcessingInstruction":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 28 foreignComment":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 29 detachedForeignComment":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 30 xmlComment":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 31 detachedXmlComment":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 33 foreignDocfrag":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 34 xmlDocfrag":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 36 foreignDoctype":true,
++  "Range 44 [xmlDoc, 0, xmlDoc, 0], node 37 xmlDoctype":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 4 foreignPara1":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 5 foreignPara1.firstChild":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 14 foreignDoc":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 15 foreignPara2":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 16 xmlDoc":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 17 xmlElement":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 18 detachedXmlElement":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 20 foreignTextNode":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 21 detachedForeignTextNode":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 22 xmlTextNode":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 23 detachedXmlTextNode":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 24 processingInstruction":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 25 detachedProcessingInstruction":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 28 foreignComment":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 29 detachedForeignComment":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 30 xmlComment":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 31 detachedXmlComment":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 33 foreignDocfrag":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 34 xmlDocfrag":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 36 foreignDoctype":true,
++  "Range 45 [xmlDoc, 1, xmlComment, 0], node 37 xmlDoctype":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 4 foreignPara1":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 5 foreignPara1.firstChild":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 14 foreignDoc":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 15 foreignPara2":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 16 xmlDoc":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 17 xmlElement":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 18 detachedXmlElement":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 20 foreignTextNode":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 21 detachedForeignTextNode":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 22 xmlTextNode":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 23 detachedXmlTextNode":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 24 processingInstruction":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 25 detachedProcessingInstruction":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 28 foreignComment":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 29 detachedForeignComment":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 30 xmlComment":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 31 detachedXmlComment":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 33 foreignDocfrag":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 34 xmlDocfrag":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 36 foreignDoctype":true,
++  "Range 46 [detachedTextNode, 0, detachedTextNode, 8], node 37 xmlDoctype":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 4 foreignPara1":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 5 foreignPara1.firstChild":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 14 foreignDoc":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 15 foreignPara2":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 16 xmlDoc":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 17 xmlElement":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 18 detachedXmlElement":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 20 foreignTextNode":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 21 detachedForeignTextNode":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 22 xmlTextNode":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 23 detachedXmlTextNode":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 24 processingInstruction":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 25 detachedProcessingInstruction":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 28 foreignComment":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 29 detachedForeignComment":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 30 xmlComment":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 31 detachedXmlComment":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 33 foreignDocfrag":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 34 xmlDocfrag":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 36 foreignDoctype":true,
++  "Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], node 37 xmlDoctype":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 4 foreignPara1":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 5 foreignPara1.firstChild":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 14 foreignDoc":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 15 foreignPara2":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 16 xmlDoc":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 17 xmlElement":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 18 detachedXmlElement":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 20 foreignTextNode":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 21 detachedForeignTextNode":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 22 xmlTextNode":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 23 detachedXmlTextNode":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 24 processingInstruction":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 25 detachedProcessingInstruction":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 28 foreignComment":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 29 detachedForeignComment":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 30 xmlComment":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 31 detachedXmlComment":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 33 foreignDocfrag":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 34 xmlDocfrag":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 36 foreignDoctype":true,
++  "Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node 37 xmlDoctype":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 4 foreignPara1":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 5 foreignPara1.firstChild":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 14 foreignDoc":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 15 foreignPara2":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 16 xmlDoc":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 17 xmlElement":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 18 detachedXmlElement":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 20 foreignTextNode":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 21 detachedForeignTextNode":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 22 xmlTextNode":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 23 detachedXmlTextNode":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 24 processingInstruction":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 25 detachedProcessingInstruction":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 28 foreignComment":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 29 detachedForeignComment":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 30 xmlComment":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 31 detachedXmlComment":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 33 foreignDocfrag":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 34 xmlDocfrag":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 36 foreignDoctype":true,
++  "Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], node 37 xmlDoctype":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 4 foreignPara1":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 5 foreignPara1.firstChild":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 14 foreignDoc":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 15 foreignPara2":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 16 xmlDoc":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 17 xmlElement":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 18 detachedXmlElement":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 20 foreignTextNode":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 21 detachedForeignTextNode":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 22 xmlTextNode":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 23 detachedXmlTextNode":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 24 processingInstruction":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 25 detachedProcessingInstruction":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 28 foreignComment":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 29 detachedForeignComment":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 30 xmlComment":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 31 detachedXmlComment":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 33 foreignDocfrag":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 34 xmlDocfrag":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 36 foreignDoctype":true,
++  "Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node 37 xmlDoctype":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 4 foreignPara1":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 5 foreignPara1.firstChild":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 14 foreignDoc":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 15 foreignPara2":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 16 xmlDoc":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 17 xmlElement":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 18 detachedXmlElement":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 20 foreignTextNode":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 21 detachedForeignTextNode":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 22 xmlTextNode":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 23 detachedXmlTextNode":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 24 processingInstruction":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 25 detachedProcessingInstruction":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 28 foreignComment":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 29 detachedForeignComment":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 30 xmlComment":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 31 detachedXmlComment":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 33 foreignDocfrag":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 34 xmlDocfrag":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 36 foreignDoctype":true,
++  "Range 51 [detachedComment, 3, detachedComment, 4], node 37 xmlDoctype":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 4 foreignPara1":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 5 foreignPara1.firstChild":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 14 foreignDoc":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 15 foreignPara2":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 16 xmlDoc":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 17 xmlElement":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 18 detachedXmlElement":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 20 foreignTextNode":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 21 detachedForeignTextNode":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 22 xmlTextNode":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 23 detachedXmlTextNode":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 24 processingInstruction":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 25 detachedProcessingInstruction":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 28 foreignComment":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 29 detachedForeignComment":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 30 xmlComment":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 31 detachedXmlComment":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 33 foreignDocfrag":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 34 xmlDocfrag":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 36 foreignDoctype":true,
++  "Range 52 [detachedComment, 5, detachedComment, 5], node 37 xmlDoctype":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 4 foreignPara1":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 5 foreignPara1.firstChild":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 14 foreignDoc":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 15 foreignPara2":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 16 xmlDoc":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 17 xmlElement":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 18 detachedXmlElement":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 20 foreignTextNode":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 21 detachedForeignTextNode":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 22 xmlTextNode":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 23 detachedXmlTextNode":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 24 processingInstruction":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 25 detachedProcessingInstruction":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 28 foreignComment":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 29 detachedForeignComment":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 30 xmlComment":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 31 detachedXmlComment":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 33 foreignDocfrag":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 34 xmlDocfrag":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 36 foreignDoctype":true,
++  "Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], node 37 xmlDoctype":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 4 foreignPara1":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 5 foreignPara1.firstChild":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 14 foreignDoc":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 15 foreignPara2":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 16 xmlDoc":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 17 xmlElement":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 18 detachedXmlElement":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 20 foreignTextNode":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 21 detachedForeignTextNode":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 22 xmlTextNode":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 23 detachedXmlTextNode":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 24 processingInstruction":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 25 detachedProcessingInstruction":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 28 foreignComment":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 29 detachedForeignComment":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 30 xmlComment":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 31 detachedXmlComment":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 33 foreignDocfrag":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 34 xmlDocfrag":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 36 foreignDoctype":true,
++  "Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], node 37 xmlDoctype":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 4 foreignPara1":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 5 foreignPara1.firstChild":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 14 foreignDoc":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 15 foreignPara2":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 16 xmlDoc":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 17 xmlElement":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 18 detachedXmlElement":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 20 foreignTextNode":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 21 detachedForeignTextNode":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 22 xmlTextNode":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 23 detachedXmlTextNode":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 24 processingInstruction":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 25 detachedProcessingInstruction":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 28 foreignComment":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 29 detachedForeignComment":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 30 xmlComment":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 31 detachedXmlComment":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 33 foreignDocfrag":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 34 xmlDocfrag":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 36 foreignDoctype":true,
++  "Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], node 37 xmlDoctype":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 4 foreignPara1":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 5 foreignPara1.firstChild":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 14 foreignDoc":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 15 foreignPara2":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 16 xmlDoc":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 17 xmlElement":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 18 detachedXmlElement":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 20 foreignTextNode":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 21 detachedForeignTextNode":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 22 xmlTextNode":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 23 detachedXmlTextNode":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 24 processingInstruction":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 25 detachedProcessingInstruction":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 28 foreignComment":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 29 detachedForeignComment":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 30 xmlComment":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 31 detachedXmlComment":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 33 foreignDocfrag":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 34 xmlDocfrag":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 36 foreignDoctype":true,
++  "Range 56 [docfrag, 0, docfrag, 0], node 37 xmlDoctype":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 4 foreignPara1":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 5 foreignPara1.firstChild":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 14 foreignDoc":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 15 foreignPara2":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 16 xmlDoc":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 17 xmlElement":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 18 detachedXmlElement":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 20 foreignTextNode":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 21 detachedForeignTextNode":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 22 xmlTextNode":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 23 detachedXmlTextNode":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 24 processingInstruction":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 25 detachedProcessingInstruction":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 28 foreignComment":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 29 detachedForeignComment":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 30 xmlComment":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 31 detachedXmlComment":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 33 foreignDocfrag":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 34 xmlDocfrag":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 36 foreignDoctype":true,
++  "Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], node 37 xmlDoctype":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 4 foreignPara1":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 5 foreignPara1.firstChild":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 14 foreignDoc":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 15 foreignPara2":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 16 xmlDoc":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 17 xmlElement":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 18 detachedXmlElement":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 20 foreignTextNode":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 21 detachedForeignTextNode":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 22 xmlTextNode":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 23 detachedXmlTextNode":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 24 processingInstruction":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 25 detachedProcessingInstruction":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 28 foreignComment":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 29 detachedForeignComment":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 30 xmlComment":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 31 detachedXmlComment":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 33 foreignDocfrag":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 34 xmlDocfrag":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 36 foreignDoctype":true,
++  "Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], node 37 xmlDoctype":true
++}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/network/tests/unit/test_tcpsocket.js seamonkey-2.21-esr1.0/comm-release/mozilla/dom/network/tests/unit/test_tcpsocket.js
+--- seamonkey-2.21/comm-release/mozilla/dom/network/tests/unit/test_tcpsocket.js	2013-09-16 22:26:31.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/network/tests/unit/test_tcpsocket.js	2013-11-29 02:20:03.308130301 +0400
+@@ -74,6 +74,12 @@
+  *
+  */
+ 
++function get_platform() {
++  var xulRuntime = Components.classes["@mozilla.org/xre/app-info;1"]
++                              .getService(Components.interfaces.nsIXULRuntime);
++  return xulRuntime.OS;
++}
++
+ /**
+  * Spin up a listening socket and associate at most one live, accepted socket
+  * with ourselves.
+@@ -492,8 +498,12 @@
+ add_test(connectSock);
+ add_test(bufferedClose);
+ 
+-// - get an error on an attempt to connect to a non-listening port
+-add_test(badConnect);
++if (get_platform() !== "Darwin") {
++  // This test intermittently fails way too often on OS X, for unknown reasons.
++  // Please, diagnose and fix it if you can.
++  // - get an error on an attempt to connect to a non-listening port
++  add_test(badConnect);
++}
+ 
+ // send a buffer, get a drain, send a buffer, get a drain
+ add_test(connectSock);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/plugins/test/mochitest/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/dom/plugins/test/mochitest/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/dom/plugins/test/mochitest/Makefile.in	2013-09-16 22:26:31.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/plugins/test/mochitest/Makefile.in	2013-11-29 02:20:03.308130301 +0400
+@@ -68,7 +68,6 @@
+   test_bug784131.html \
+   test_bug854082.html \
+   test_bug863792.html \
+-  file_bug863792.html \
+   test_enumerate.html \
+   test_npruntime_construct.html \
+   307-xo-redirect.sjs \
+@@ -114,6 +113,7 @@
+ 
+ ifneq ($(MOZ_WIDGET_TOOLKIT),cocoa)
+ MOCHITEST_FILES += \
++  file_bug863792.html \
+   test_visibility.html \
+   $(NULL)
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/chrome/window_focus.xul seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/chrome/window_focus.xul
+--- seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/chrome/window_focus.xul	2013-09-16 22:26:32.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/chrome/window_focus.xul	2013-11-29 02:20:03.308130301 +0400
+@@ -1130,9 +1130,10 @@
+   getById("n2").focus();
+ 
+   // next, check modal dialogs
+-  // XXXndeakin Bug 621399 - modal dialog test sometimes fails on Windows 8 so disable it.
++  // XXXndeakin Bug 621399 - the modal dialog test as well as later tests sometime fail
++  // on Windows 8 so just end the test here.
+   if (navigator.userAgent.indexOf("Windows NT 6.2") >= 0) {
+-    window.open("focus_frameset.html", "_blank", "width=400,height=400,toolbar=no");
++    done();
+   }
+   else {
+     window.openDialog("focus_window2.xul", "_blank", "chrome,modal", modalWindowOpened);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/webapps/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/webapps/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/webapps/Makefile.in	2013-09-16 22:26:32.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/webapps/Makefile.in	2013-11-29 02:20:03.308130301 +0400
+@@ -15,7 +15,6 @@
+     cross_origin.html \
+     head.js \
+     test_bug_765063.xul \
+-    test_bug_795164.xul \
+     test_cross_origin.xul \
+     test_install_app.xul \
+     test_list_api.xul \
+@@ -24,7 +23,6 @@
+     test_install_receipts.xul \
+     test_getNotInstalled.xul \
+     test_launch_paths.xul \
+-    test_uninstall_errors.xul \
+     $(NULL)
+ 
+ MOCHITEST_FILES = \
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/webapps/test_bug_795164.xul seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/webapps/test_bug_795164.xul
+--- seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/webapps/test_bug_795164.xul	2013-09-16 22:26:32.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/webapps/test_bug_795164.xul	1970-01-01 03:00:00.000000000 +0300
+@@ -1,76 +0,0 @@
+-<?xml version="1.0"?>
+-
+-<!-- Any copyright is dedicated to the Public Domain.
+-   - http://creativecommons.org/publicdomain/zero/1.0/ -->
+-
+-<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
+-<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
+-
+-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+-        title="Mozilla Bug 795164">
+-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+-  <script type="application/javascript" src="head.js"/>
+-  <!-- test results are displayed in the html:body -->
+-  <body xmlns="http://www.w3.org/1999/xhtml">
+-  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=741549"
+-     target="_blank">Mozilla Bug 795164</a>
+-  </body>
+-<script>
+-
+-var url1 = "http://test1.example.com/chrome/dom/tests/mochitest/webapps/apps/basic.webapp";
+-var url2 = "http://test2.example.com/chrome/dom/tests/mochitest/webapps/apps/basic.webapp";
+-
+-var app1, app2;
+-
+-// Keeping track of the number of times `mozApps.mgmt.onuninstall` gets triggered
+-var uninstallCount = 0;
+-
+-var steps = [
+-  listenToUninstall,
+-  installTwoApps,
+-  uninstallTwoApps,
+-  checkUninstallCount,
+-  cleanUp
+-];
+-
+-runAll(steps);
+-
+-function listenToUninstall(next) {
+-  navigator.mozApps.mgmt.onuninstall = function onUnInstall() {
+-    uninstallCount++;
+-  };
+-  next();
+-}
+-
+-function installTwoApps(next) {
+-  confirmNextInstall();
+-  navigator.mozApps.install(url1, null).onsuccess = function onInstall(evt) {
+-    app1 = evt.target.result;
+-    confirmNextInstall();
+-    navigator.mozApps.install(url2, null).onsuccess = function onInstall(evt) {
+-      app2 = evt.target.result;
+-      next();
+-    };
+-  };
+-}
+-
+-function uninstallTwoApps(next) {
+-  navigator.mozApps.mgmt.uninstall(app1).onsuccess = function onUninstallApp1() {
+-    navigator.mozApps.mgmt.uninstall(app2).onsuccess = function onUninstallApp2() {
+-      next();
+-    };
+-  };
+-}
+-
+-function checkUninstallCount(next) {
+-  is(uninstallCount, 2, "mgmt.onuninstall got triggered only twice");
+-  next();
+-}
+-
+-function cleanUp(next) {
+-  navigator.mozApps.mgmt.onuninstall = null;
+-  next();
+-}
+-
+-</script>
+-</window>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/webapps/test_uninstall_errors.xul seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/webapps/test_uninstall_errors.xul
+--- seamonkey-2.21/comm-release/mozilla/dom/tests/mochitest/webapps/test_uninstall_errors.xul	2013-09-16 22:26:32.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/tests/mochitest/webapps/test_uninstall_errors.xul	1970-01-01 03:00:00.000000000 +0300
+@@ -1,82 +0,0 @@
+-<?xml version="1.0"?>
+-
+-<!-- Any copyright is dedicated to the Public Domain.
+-   - http://creativecommons.org/publicdomain/zero/1.0/ -->
+-
+-<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
+-<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
+-
+-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+-        title="Mozilla Bug 830258">
+-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+-  <script type="application/javascript" src="head.js"/>
+-  <!-- test results are displayed in the html:body -->
+-  <body xmlns="http://www.w3.org/1999/xhtml">
+-  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=830258"
+-     target="_blank">Mozilla Bug 830258</a>
+-  </body>
+-<script>
+-
+-var url1 = "http://test1.example.com/chrome/dom/tests/mochitest/webapps/apps/basic.webapp";
+-var url2 = "http://test2.example.com/chrome/dom/tests/mochitest/webapps/apps/basic.webapp";
+-var app1, app2;
+-
+-var steps = [
+-  installTwoApps,
+-  uninstallApp1,
+-  uninstallApp1Again,
+-  uninstallApp2
+-];
+-
+-runAll(steps);
+-
+-function installTwoApps(next) {
+-  confirmNextInstall();
+-  navigator.mozApps.install(url1, null).onsuccess = function onInstallApp1(evt) {
+-    app1 = evt.target.result;
+-    confirmNextInstall();
+-    navigator.mozApps.install(url2, null).onsuccess = function onInstallApp2(evt) {
+-      app2 = evt.target.result;
+-      next();
+-    };
+-  };
+-}
+-
+-function uninstallApp1(next) {
+-  var request = navigator.mozApps.mgmt.uninstall(app1);
+-  request.onsuccess = function onUninstallApp1Success() {
+-    ok(true, "Succeed to uninstall the app1 as expected");
+-    next();
+-  };
+-  request.onerror = function onUninstallApp1Error() {
+-    ok(false, "Fail to uninstall the app1");
+-    next();
+-  };
+-}
+-
+-function uninstallApp1Again(next) {
+-  var request = navigator.mozApps.mgmt.uninstall(app1);
+-  request.onsuccess = function onUninstallApp1AgainSuccess() {
+-    ok(false, "Shouldn't be able to uninstall the app1 again");
+-    next();
+-  };
+-  request.onerror = function onUninstallApp1AgainError() {
+-    is(this.error.name, "NOT_INSTALLED", "Error name should be 'NOT_INSTALLED'");
+-    next();
+-  };
+-}
+-
+-function uninstallApp2(next) {
+-  var request = navigator.mozApps.mgmt.uninstall(app2);
+-  request.onsuccess = function onUninstallApp2Success() {
+-    ok(true, "Succeed to uninstall the app2 as expected");
+-    next();
+-  };
+-  request.onerror = function onUninstallApp2Error() {
+-    ok(false, "Fail to uninstall the app2");
+-    next();
+-  };
+-}
+-
+-</script>
+-</window>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/workers/Events.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Events.cpp
+--- seamonkey-2.21/comm-release/mozilla/dom/workers/Events.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Events.cpp	2013-11-29 02:20:03.336130047 +0400
+@@ -7,6 +7,7 @@
+ #include "mozilla/Util.h"
+ 
+ #include "Events.h"
++#include "mozilla/dom/BindingUtils.h"
+ 
+ #include "jsapi.h"
+ #include "jsfriendapi.h"
+@@ -16,15 +17,9 @@
+ #include "WorkerInlines.h"
+ #include "WorkerPrivate.h"
+ 
+-#define PROPERTY_FLAGS \
+-  (JSPROP_ENUMERATE | JSPROP_SHARED)
+-
+ #define FUNCTION_FLAGS \
+   JSPROP_ENUMERATE
+ 
+-#define CONSTANT_FLAGS \
+-  JSPROP_ENUMERATE | JSPROP_SHARED | JSPROP_PERMANENT | JSPROP_READONLY
+-
+ using namespace mozilla;
+ USING_WORKERS_NAMESPACE
+ 
+@@ -37,7 +32,7 @@
+ 
+   static const JSPropertySpec sProperties[];
+   static const JSFunctionSpec sFunctions[];
+-  static const JSPropertySpec sStaticProperties[];
++  static const dom::ConstantSpec sStaticConstants[];
+ 
+ protected:
+   bool mStopPropagationCalled;
+@@ -77,9 +72,18 @@
+     JSClass* clasp = parentProto ? &sMainRuntimeClass : &sClass;
+ 
+     JS::Rooted<JSObject*> proto(aCx, JS_InitClass(aCx, aObj, parentProto, clasp, Construct, 0,
+-                                                  sProperties, sFunctions, sStaticProperties,
+-                                                  nullptr));
+-    if (proto && !JS_DefineProperties(aCx, proto, sStaticProperties)) {
++                                                  sProperties, sFunctions, nullptr, nullptr));
++    if (!proto) {
++      return NULL;
++    }
++
++    JS::Rooted<JSObject*> ctor(aCx, JS_GetConstructor(aCx, proto));
++    if (!ctor) {
++      return NULL;
++    }
++
++    if (!dom::DefineConstants(aCx, ctor, sStaticConstants) ||
++        !dom::DefineConstants(aCx, proto, sStaticConstants)) {
+       return NULL;
+     }
+ 
+@@ -145,7 +149,7 @@
+     MOZ_COUNT_DTOR(mozilla::dom::workers::Event);
+   }
+ 
+-  enum {
++  enum EventPhase {
+     CAPTURING_PHASE = 1,
+     AT_TARGET = 2,
+     BUBBLING_PHASE = 3
+@@ -219,34 +223,34 @@
+     delete GetJSPrivateSafeish<Event>(aObj);
+   }
+ 
+-  static JSBool
+-  GetProperty(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-              JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsEvent(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-
+-    int32_t slot = JSID_TO_INT(aIdval);
+-
+-    const char* name = sProperties[slot - SLOT_FIRST].name;
+-    if (!GetInstancePrivate(aCx, aObj, name)) {
+-      return false;
++    return v.isObject() && GetPrivate(&v.toObject()) != nullptr;
+     }
+ 
+-    aVp.set(JS_GetReservedSlot(aObj, slot));
++  template<SLOT Slot>
++  static bool
++  GetPropertyImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    aArgs.rval().set(JS_GetReservedSlot(&aArgs.thisv().toObject(), Slot));
+     return true;
+   }
+ 
++  // This struct (versus just templating the method directly) is needed only for
++  // gcc 4.4 (and maybe 4.5 -- 4.6 is okay) being too braindead to allow
++  // GetProperty<Slot> and friends in the JSPropertySpec[] below.
++  template<SLOT Slot>
++  struct Property
++  {
+   static JSBool
+-  GetConstant(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> idval,
+-              JS::MutableHandle<JS::Value> aVp)
++    Get(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    JS_ASSERT(JSID_IS_INT(idval));
+-    JS_ASSERT(JSID_TO_INT(idval) >= CAPTURING_PHASE &&
+-              JSID_TO_INT(idval) <= BUBBLING_PHASE);
+-
+-    aVp.set(INT_TO_JSVAL(JSID_TO_INT(idval)));
+-    return true;
++      MOZ_STATIC_ASSERT(SLOT_FIRST <= Slot && Slot < SLOT_COUNT, "bad slot");
++      JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++      return JS::CallNonGenericMethod<IsEvent, GetPropertyImpl<Slot> >(aCx, args);
+   }
++  };
+ 
+   static JSBool
+   StopPropagation(JSContext* aCx, unsigned aArgc, jsval* aVp)
+@@ -343,25 +347,25 @@
+ #undef DECL_EVENT_CLASS
+ 
+ const JSPropertySpec Event::sProperties[] = {
+-  { "type", SLOT_type, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "target", SLOT_target, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "currentTarget", SLOT_currentTarget, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "eventPhase", SLOT_eventPhase, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "bubbles", SLOT_bubbles, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "cancelable", SLOT_cancelable, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "timeStamp", SLOT_timeStamp, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "defaultPrevented", SLOT_defaultPrevented, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "isTrusted", SLOT_isTrusted, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("type", Property<SLOT_type>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("target", Property<SLOT_target>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("currentTarget", Property<SLOT_currentTarget>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("eventPhase", Property<SLOT_eventPhase>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("bubbles", Property<SLOT_bubbles>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("cancelable", Property<SLOT_cancelable>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("timeStamp", Property<SLOT_timeStamp>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("defaultPrevented", Property<SLOT_defaultPrevented>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("isTrusted", Property<SLOT_isTrusted>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec Event::sFunctions[] = {
+@@ -372,13 +376,11 @@
+   JS_FS_END
+ };
+ 
+-const JSPropertySpec Event::sStaticProperties[] = {
+-  { "CAPTURING_PHASE", CAPTURING_PHASE, CONSTANT_FLAGS,
+-    JSOP_WRAPPER(GetConstant), JSOP_NULLWRAPPER },
+-  { "AT_TARGET", AT_TARGET, CONSTANT_FLAGS, JSOP_WRAPPER(GetConstant), JSOP_NULLWRAPPER },
+-  { "BUBBLING_PHASE", BUBBLING_PHASE, CONSTANT_FLAGS,
+-    JSOP_WRAPPER(GetConstant), JSOP_NULLWRAPPER },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++const dom::ConstantSpec Event::sStaticConstants[] = {
++  { "CAPTURING_PHASE", JS::Int32Value(CAPTURING_PHASE) },
++  { "AT_TARGET", JS::Int32Value(AT_TARGET) },
++  { "BUBBLING_PHASE", JS::Int32Value(BUBBLING_PHASE) },
++  { nullptr, JS::UndefinedValue() }
+ };
+ 
+ class MessageEvent : public Event
+@@ -506,24 +508,28 @@
+     delete priv;
+   }
+ 
+-  static JSBool
+-  GetProperty(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-              JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsMessageEvent(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-
+-    int32_t slot = JSID_TO_INT(aIdval);
+-
+-    JS_ASSERT(slot >= SLOT_data && slot < SLOT_COUNT);
+-
+-    const char* name = sProperties[slot - SLOT_FIRST].name;
+-    MessageEvent* event = GetInstancePrivate(aCx, aObj, name);
+-    if (!event) {
++    if (!v.isObject())
+       return false;
++    JSObject* obj = &v.toObject();
++    return IsThisClass(JS_GetClass(obj)) &&
++           GetJSPrivateSafeish<MessageEvent>(obj) != nullptr;
+     }
+ 
++  template<SLOT Slot>
++  static bool
++  GetPropertyImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++
++    const char* name = sProperties[Slot - SLOT_FIRST].name;
++    MessageEvent* event = GetInstancePrivate(aCx, obj, name);
++    MOZ_ASSERT(event);
++
+     // Deserialize and save the data value if we can.
+-    if (slot == SLOT_data && event->mBuffer.data()) {
++    if (Slot == SLOT_data && event->mBuffer.data()) {
+       JSAutoStructuredCloneBuffer buffer;
+       buffer.swap(event->mBuffer);
+ 
+@@ -537,16 +543,31 @@
+                        WorkerStructuredCloneCallbacks(event->mMainRuntime))) {
+         return false;
+       }
+-      JS_SetReservedSlot(aObj, slot, data);
++      JS_SetReservedSlot(obj, Slot, data);
+ 
+-      aVp.set(data);
++      aArgs.rval().set(data);
+       return true;
+     }
+ 
+-    aVp.set(JS_GetReservedSlot(aObj, slot));
++    aArgs.rval().set(JS_GetReservedSlot(obj, Slot));
+     return true;
+   }
+ 
++  // This struct (versus just templating the method directly) is needed only for
++  // gcc 4.4 (and maybe 4.5 -- 4.6 is okay) being too braindead to allow
++  // GetProperty<Slot> and friends in the JSPropertySpec[] below.
++  template<SLOT Slot>
++  struct Property
++  {
++    static JSBool
++    Get(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++    {
++      MOZ_STATIC_ASSERT(SLOT_FIRST <= Slot && Slot < SLOT_COUNT, "bad slot");
++      JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++      return JS::CallNonGenericMethod<IsMessageEvent, GetPropertyImpl<Slot> >(aCx, args);
++    }
++  };
++
+   static JSBool
+   InitMessageEvent(JSContext* aCx, unsigned aArgc, jsval* aVp)
+   {
+@@ -589,13 +610,13 @@
+ #undef DECL_MESSAGEEVENT_CLASS
+ 
+ const JSPropertySpec MessageEvent::sProperties[] = {
+-  { "data", SLOT_data, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "origin", SLOT_origin, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "source", SLOT_source, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("data", Property<SLOT_data>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("origin", Property<SLOT_origin>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("source", Property<SLOT_source>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec MessageEvent::sFunctions[] = {
+@@ -714,26 +735,39 @@
+     delete GetJSPrivateSafeish<ErrorEvent>(aObj);
+   }
+ 
+-  static JSBool
+-  GetProperty(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-              JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsErrorEvent(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-
+-    int32_t slot = JSID_TO_INT(aIdval);
+-
+-    JS_ASSERT(slot >= SLOT_message && slot < SLOT_COUNT);
+-
+-    const char* name = sProperties[slot - SLOT_FIRST].name;
+-    ErrorEvent* event = GetInstancePrivate(aCx, aObj, name);
+-    if (!event) {
++    if (!v.isObject())
+       return false;
++    JSObject* obj = &v.toObject();
++    return IsThisClass(JS_GetClass(obj)) &&
++           GetJSPrivateSafeish<ErrorEvent>(obj) != nullptr;
+     }
+ 
+-    aVp.set(JS_GetReservedSlot(aObj, slot));
++  template<SLOT Slot>
++  static bool
++  GetPropertyImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    aArgs.rval().set(JS_GetReservedSlot(&aArgs.thisv().toObject(), Slot));
+     return true;
+   }
+ 
++  // This struct (versus just templating the method directly) is needed only for
++  // gcc 4.4 (and maybe 4.5 -- 4.6 is okay) being too braindead to allow
++  // GetProperty<Slot> and friends in the JSPropertySpec[] below.
++  template<SLOT Slot>
++  struct Property
++  {
++    static JSBool
++    Get(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++    {
++      MOZ_STATIC_ASSERT(SLOT_FIRST <= Slot && Slot < SLOT_COUNT, "bad slot");
++      JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++      return JS::CallNonGenericMethod<IsErrorEvent, GetPropertyImpl<Slot> >(aCx, args);
++    }
++  };
++
+   static JSBool
+   InitErrorEvent(JSContext* aCx, unsigned aArgc, jsval* aVp)
+   {
+@@ -776,13 +810,13 @@
+ #undef DECL_ERROREVENT_CLASS
+ 
+ const JSPropertySpec ErrorEvent::sProperties[] = {
+-  { "message", SLOT_message, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "filename", SLOT_filename, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "lineno", SLOT_lineno, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("message", Property<SLOT_message>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("filename", Property<SLOT_filename>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("lineno", Property<SLOT_lineno>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec ErrorEvent::sFunctions[] = {
+@@ -894,25 +928,38 @@
+     delete GetJSPrivateSafeish<ProgressEvent>(aObj);
+   }
+ 
+-  static JSBool
+-  GetProperty(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-              JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsProgressEvent(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-
+-    int32_t slot = JSID_TO_INT(aIdval);
+-
+-    JS_ASSERT(slot >= SLOT_lengthComputable && slot < SLOT_COUNT);
+-
+-    const char* name = sProperties[slot - SLOT_FIRST].name;
+-    ProgressEvent* event = GetInstancePrivate(aCx, aObj, name);
+-    if (!event) {
++    if (!v.isObject())
+       return false;
++    JSObject* obj = &v.toObject();
++    return JS_GetClass(obj) == &sClass &&
++           GetJSPrivateSafeish<ProgressEvent>(obj) != nullptr;
+     }
+ 
+-    aVp.set(JS_GetReservedSlot(aObj, slot));
++  template<SLOT Slot>
++  static bool
++  GetPropertyImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    aArgs.rval().set(JS_GetReservedSlot(&aArgs.thisv().toObject(), Slot));
+     return true;
+   }
++
++  // This struct (versus just templating the method directly) is needed only for
++  // gcc 4.4 (and maybe 4.5 -- 4.6 is okay) being too braindead to allow
++  // GetProperty<Slot> and friends in the JSPropertySpec[] below.
++  template<SLOT Slot>
++  struct Property
++  {
++    static JSBool
++    Get(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++    {
++      MOZ_STATIC_ASSERT(SLOT_FIRST <= Slot && Slot < SLOT_COUNT, "bad slot");
++      JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++      return JS::CallNonGenericMethod<IsProgressEvent, GetPropertyImpl<Slot> >(aCx, args);
++    }
++  };
+ };
+ 
+ JSClass ProgressEvent::sClass = {
+@@ -923,13 +970,13 @@
+ };
+ 
+ const JSPropertySpec ProgressEvent::sProperties[] = {
+-  { "lengthComputable", SLOT_lengthComputable, PROPERTY_FLAGS,
+-    JSOP_WRAPPER(GetProperty), JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "loaded", SLOT_loaded, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "total", SLOT_total, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("lengthComputable", Property<SLOT_lengthComputable>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("loaded", Property<SLOT_loaded>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("total", Property<SLOT_total>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ Event*
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/workers/Exceptions.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Exceptions.cpp
+--- seamonkey-2.21/comm-release/mozilla/dom/workers/Exceptions.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Exceptions.cpp	2013-11-29 02:20:03.337130038 +0400
+@@ -12,6 +12,7 @@
+ #include "mozilla/Util.h"
+ #include "nsDOMException.h"
+ #include "nsTraceRefcnt.h"
++#include "mozilla/dom/BindingUtils.h"
+ 
+ #include "WorkerInlines.h"
+ 
+@@ -31,14 +32,15 @@
+   static JSClass sClass;
+   static const JSPropertySpec sProperties[];
+   static const JSFunctionSpec sFunctions[];
+-  static const JSPropertySpec sStaticProperties[];
++  static const dom::ConstantSpec sStaticConstants[];
+ 
+   enum SLOT {
+     SLOT_code = 0,
+     SLOT_name,
+     SLOT_message,
+ 
+-    SLOT_COUNT
++    SLOT_COUNT,
++    SLOT_FIRST = SLOT_code
+   };
+ 
+ public:
+@@ -46,9 +48,18 @@
+   InitClass(JSContext* aCx, JSObject* aObj)
+   {
+     JS::Rooted<JSObject*> proto(aCx, JS_InitClass(aCx, aObj, nullptr, &sClass, Construct, 0,
+-                                                  sProperties, sFunctions, sStaticProperties,
+-                                                  nullptr));
+-    if (proto && !JS_DefineProperties(aCx, proto, sStaticProperties)) {
++                                                  sProperties, sFunctions, nullptr, nullptr));
++    if (!proto) {
++      return NULL;
++    }
++
++    JS::Rooted<JSObject*> ctor(aCx, JS_GetConstructor(aCx, proto));
++    if (!ctor) {
++      return NULL;
++    }
++
++    if (!dom::DefineConstants(aCx, ctor, sStaticConstants) ||
++        !dom::DefineConstants(aCx, proto, sStaticConstants)) {
+       return NULL;
+     }
+ 
+@@ -125,35 +136,38 @@
+     return true;
+   }
+ 
+-  static JSBool
+-  GetProperty(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-              JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsDOMException(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-
+-    int32_t slot = JSID_TO_INT(aIdval);
+-
+-    JSClass* classPtr = JS_GetClass(aObj);
+-
+-    if (classPtr != &sClass || !GetJSPrivateSafeish<DOMException>(aObj)) {
+-      JS_ReportErrorNumber(aCx, js_GetErrorMessage, NULL,
+-                           JSMSG_INCOMPATIBLE_PROTO, sClass.name,
+-                           sProperties[slot].name, classPtr->name);
++    if (!v.isObject())
+       return false;
++    JSObject* obj = &v.toObject();
++    return JS_GetClass(obj) == &sClass &&
++           GetJSPrivateSafeish<DOMException>(obj) != nullptr;
+     }
+ 
+-    aVp.set(JS_GetReservedSlot(aObj, slot));
++  template<SLOT Slot>
++  static bool
++  GetPropertyImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    aArgs.rval().set(JS_GetReservedSlot(&aArgs.thisv().toObject(), Slot));
+     return true;
+   }
+ 
++  // This struct (versus just templating the method directly) is needed only for
++  // gcc 4.4 (and maybe 4.5 -- 4.6 is okay) being too braindead to allow
++  // GetProperty<Slot> and friends in the JSPropertySpec[] below.
++  template<SLOT Slot>
++  struct Property
++  {
+   static JSBool
+-  GetConstant(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> idval,
+-              JS::MutableHandle<JS::Value> aVp)
++    Get(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    JS_ASSERT(JSID_IS_INT(idval));
+-    aVp.set(INT_TO_JSVAL(JSID_TO_INT(idval)));
+-    return true;
++      MOZ_STATIC_ASSERT(SLOT_FIRST <= Slot && Slot < SLOT_COUNT, "bad slot");
++      JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++      return JS::CallNonGenericMethod<IsDOMException, GetPropertyImpl<Slot> >(aCx, args);
+   }
++  };
+ };
+ 
+ JSClass DOMException::sClass = {
+@@ -164,13 +178,11 @@
+ };
+ 
+ const JSPropertySpec DOMException::sProperties[] = {
+-  { "code", SLOT_code, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "name", SLOT_name, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "message", SLOT_message, PROPERTY_FLAGS, JSOP_WRAPPER(GetProperty),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("code", Property<SLOT_code>::Get, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PSGS("name", Property<SLOT_name>::Get, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PSGS("message", Property<SLOT_message>::Get, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec DOMException::sFunctions[] = {
+@@ -178,10 +190,10 @@
+   JS_FS_END
+ };
+ 
+-const JSPropertySpec DOMException::sStaticProperties[] = {
++const dom::ConstantSpec DOMException::sStaticConstants[] = {
+ 
+ #define EXCEPTION_ENTRY(_name) \
+-  { #_name, _name, CONSTANT_FLAGS, JSOP_WRAPPER(GetConstant), JSOP_NULLWRAPPER },
++  { #_name, JS::Int32Value(_name) },
+ 
+   EXCEPTION_ENTRY(INDEX_SIZE_ERR)
+   EXCEPTION_ENTRY(DOMSTRING_SIZE_ERR)
+@@ -211,7 +223,7 @@
+ 
+ #undef EXCEPTION_ENTRY
+ 
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  { nullptr, JS::UndefinedValue() }
+ };
+ 
+ // static
+@@ -252,6 +264,18 @@
+   return obj;
+ }
+ 
++static bool
++InitDOMExceptionClass(JSContext* aCx, JSObject* aGlobal)
++{
++  return DOMException::InitClass(aCx, aGlobal);
++}
++
++static JSObject*
++CreateDOMException(JSContext* aCx, nsresult aNSResult)
++{
++  return DOMException::Create(aCx, aNSResult);
++}
++
+ } // anonymous namespace
+ 
+ BEGIN_WORKERS_NAMESPACE
+@@ -261,13 +285,13 @@
+ bool
+ InitClasses(JSContext* aCx, JSObject* aGlobal)
+ {
+-  return DOMException::InitClass(aCx, aGlobal);
++  return InitDOMExceptionClass(aCx, aGlobal);
+ }
+ 
+ void
+ ThrowDOMExceptionForNSResult(JSContext* aCx, nsresult aNSResult)
+ {
+-  JSObject* exception = DOMException::Create(aCx, aNSResult);
++  JSObject* exception = CreateDOMException(aCx, aNSResult);
+   if (!exception) {
+     return;
+   }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/workers/File.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/File.cpp
+--- seamonkey-2.21/comm-release/mozilla/dom/workers/File.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/File.cpp	2013-11-29 02:20:03.337130038 +0400
+@@ -20,9 +20,6 @@
+ #include "WorkerInlines.h"
+ #include "WorkerPrivate.h"
+ 
+-#define PROPERTY_FLAGS \
+-  (JSPROP_ENUMERATE | JSPROP_SHARED)
+-
+ USING_WORKERS_NAMESPACE
+ 
+ using mozilla::dom::workers::exceptions::ThrowDOMExceptionForNSResult;
+@@ -112,31 +109,41 @@
+     NS_IF_RELEASE(blob);
+   }
+ 
+-  static JSBool
+-  GetSize(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-          JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsBlob(const JS::Value& v)
+   {
+-    nsIDOMBlob* blob = GetInstancePrivate(aCx, aObj, "size");
+-    if (!blob) {
+-      return false;
++    return v.isObject() && GetPrivate(&v.toObject()) != nullptr;
+     }
+ 
++  static bool
++  GetSizeImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    nsIDOMBlob* blob = GetInstancePrivate(aCx, obj, "size");
++    MOZ_ASSERT(blob);
++
+     uint64_t size;
+     if (NS_FAILED(blob->GetSize(&size))) {
+       ThrowDOMExceptionForNSResult(aCx, NS_ERROR_DOM_FILE_NOT_READABLE_ERR);
+       return false;
+     }
+ 
+-    aVp.set(JS_NumberValue(double(size)));
+-
++    aArgs.rval().setNumber(double(size));
+     return true;
+   }
+ 
+   static JSBool
+-  GetType(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-          JS::MutableHandle<JS::Value> aVp)
++  GetSize(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    nsIDOMBlob* blob = GetInstancePrivate(aCx, aObj, "type");
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsBlob, GetSizeImpl>(aCx, args);
++  }
++
++  static bool
++  GetTypeImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    nsIDOMBlob* blob = GetInstancePrivate(aCx, obj, "type");
+     if (!blob) {
+       return false;
+     }
+@@ -152,12 +159,18 @@
+       return false;
+     }
+ 
+-    aVp.set(STRING_TO_JSVAL(jsType));
+-
++    aArgs.rval().setString(jsType);
+     return true;
+   }
+ 
+   static JSBool
++  GetType(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsBlob, GetTypeImpl>(aCx, args);
++  }
++
++  static JSBool
+   Slice(JSContext* aCx, unsigned aArgc, jsval* aVp)
+   {
+     JS::Rooted<JSObject*> obj(aCx, JS_THIS_OBJECT(aCx, aVp));
+@@ -210,9 +223,9 @@
+ };
+ 
+ const JSPropertySpec Blob::sProperties[] = {
+-  { "size", 0, PROPERTY_FLAGS, JSOP_WRAPPER(GetSize), JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "type", 0, PROPERTY_FLAGS, JSOP_WRAPPER(GetType), JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("size", GetSize, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PSGS("type", GetType, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec Blob::sFunctions[] = {
+@@ -303,15 +316,19 @@
+     NS_IF_RELEASE(file);
+   }
+ 
+-  static JSBool
+-  GetMozFullPath(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                 JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsFile(const JS::Value& v)
+   {
+-    nsIDOMFile* file = GetInstancePrivate(aCx, aObj, "mozFullPath");
+-    if (!file) {
+-      return false;
++    return v.isObject() && GetPrivate(&v.toObject()) != nullptr;
+     }
+ 
++  static bool
++  GetMozFullPathImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    nsIDOMFile* file = GetInstancePrivate(aCx, obj, "mozFullPath");
++    MOZ_ASSERT(file);
++
+     nsString fullPath;
+ 
+     if (GetWorkerPrivateFromContext(aCx)->UsesSystemPrincipal() &&
+@@ -326,19 +343,24 @@
+       return false;
+     }
+ 
+-    aVp.set(STRING_TO_JSVAL(jsFullPath));
++    aArgs.rval().setString(jsFullPath);
+     return true;
+   }
+ 
+   static JSBool
+-  GetName(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-          JS::MutableHandle<JS::Value> aVp)
++  GetMozFullPath(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    nsIDOMFile* file = GetInstancePrivate(aCx, aObj, "name");
+-    if (!file) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsFile, GetMozFullPathImpl>(aCx, args);
+     }
+ 
++  static bool
++  GetNameImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    nsIDOMFile* file = GetInstancePrivate(aCx, obj, "name");
++    MOZ_ASSERT(file);
++
+     nsString name;
+     if (NS_FAILED(file->GetName(name))) {
+       name.Truncate();
+@@ -349,27 +371,39 @@
+       return false;
+     }
+ 
+-    aVp.set(STRING_TO_JSVAL(jsName));
++    aArgs.rval().setString(jsName);
+     return true;
+   }
+ 
+   static JSBool
+-  GetLastModifiedDate(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                      JS::MutableHandle<JS::Value> aVp)
++  GetName(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    nsIDOMFile* file = GetInstancePrivate(aCx, aObj, "lastModifiedDate");
+-    if (!file) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsFile, GetNameImpl>(aCx, args);
+     }
+ 
++  static bool
++  GetLastModifiedDateImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    nsIDOMFile* file = GetInstancePrivate(aCx, obj, "lastModifiedDate");
++    MOZ_ASSERT(file);
++
+     JS::Rooted<JS::Value> value(aCx);
+     if (NS_FAILED(file->GetLastModifiedDate(aCx, value.address()))) {
+       return false;
+     }
+ 
+-    aVp.set(value);
++    aArgs.rval().set(value);
+     return true;
+   }
++
++  static JSBool
++  GetLastModifiedDate(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsFile, GetLastModifiedDateImpl>(aCx, args);
++  }
+ };
+ 
+ JSClass File::sClass = {
+@@ -380,13 +414,11 @@
+ };
+ 
+ const JSPropertySpec File::sProperties[] = {
+-  { "name", 0, PROPERTY_FLAGS, JSOP_WRAPPER(GetName),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "lastModifiedDate", 0, PROPERTY_FLAGS, JSOP_WRAPPER(GetLastModifiedDate),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "mozFullPath", 0, PROPERTY_FLAGS, JSOP_WRAPPER(GetMozFullPath),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("name", GetName, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PSGS("lastModifiedDate", GetLastModifiedDate, GetterOnlyJSNative,
++          JSPROP_ENUMERATE),
++  JS_PSGS("mozFullPath", GetMozFullPath, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ nsIDOMBlob*
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/workers/Worker.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Worker.cpp
+--- seamonkey-2.21/comm-release/mozilla/dom/workers/Worker.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Worker.cpp	2013-11-29 02:20:03.337130038 +0400
+@@ -8,15 +8,13 @@
+ #include "mozilla/dom/DOMJSClass.h"
+ #include "mozilla/dom/BindingUtils.h"
+ 
++#include "jsapi.h"
+ #include "EventTarget.h"
+ #include "RuntimeService.h"
+ #include "WorkerPrivate.h"
+ 
+ #include "WorkerInlines.h"
+ 
+-#define PROPERTY_FLAGS \
+-  (JSPROP_ENUMERATE | JSPROP_SHARED)
+-
+ #define FUNCTION_FLAGS \
+   JSPROP_ENUMERATE
+ 
+@@ -34,16 +32,6 @@
+   static const JSPropertySpec sProperties[];
+   static const JSFunctionSpec sFunctions[];
+ 
+-  enum
+-  {
+-    STRING_onerror = 0,
+-    STRING_onmessage,
+-
+-    STRING_COUNT
+-  };
+-
+-  static const char* const sEventStrings[STRING_COUNT];
+-
+ protected:
+   enum {
+     // The constructor function holds a WorkerPrivate* in its first reserved
+@@ -174,61 +162,111 @@
+   Worker();
+   ~Worker();
+ 
+-  static JSBool
+-  GetEventListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                   JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsWorker(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-    JS_ASSERT(JSID_TO_INT(aIdval) >= 0 && JSID_TO_INT(aIdval) < STRING_COUNT);
+-
+-    const char* name = sEventStrings[JSID_TO_INT(aIdval)];
+-    WorkerPrivate* worker = GetInstancePrivate(aCx, aObj, name);
+-    if (!worker) {
+-      return !JS_IsExceptionPending(aCx);
++    return v.isObject() && ClassIsWorker(JS_GetClass(&v.toObject()));
+     }
+ 
+-    NS_ConvertASCIItoUTF16 nameStr(name + 2);
++  static bool
++  GetEventListener(JSContext* aCx, const JS::CallArgs aArgs,
++                   const nsAString &aNameStr)
++  {
++    WorkerPrivate* worker =
++      GetInstancePrivate(aCx, &aArgs.thisv().toObject(),
++                         NS_ConvertUTF16toUTF8(aNameStr).get());
++    MOZ_ASSERT(worker);
++
+     ErrorResult rv;
+-    JS::Rooted<JSObject*> listener(aCx, worker->GetEventListener(nameStr, rv));
++    JS::Rooted<JSObject*> listener(aCx, worker->GetEventListener(Substring(aNameStr, 2), rv));
+ 
+     if (rv.Failed()) {
+       JS_ReportError(aCx, "Failed to get listener!");
++      return false;
+     }
+ 
+-    aVp.set(listener ? OBJECT_TO_JSVAL(listener) : JSVAL_NULL);
++    aArgs.rval().setObjectOrNull(listener);
+     return true;
+   }
+ 
++  static bool
++  GetOnerrorImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    return GetEventListener(aCx, aArgs, NS_LITERAL_STRING("onerror"));
++  }
++
+   static JSBool
+-  SetEventListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                   JSBool aStrict, JS::MutableHandle<JS::Value> aVp)
++  GetOnerror(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-    JS_ASSERT(JSID_TO_INT(aIdval) >= 0 && JSID_TO_INT(aIdval) < STRING_COUNT);
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorker, GetOnerrorImpl>(aCx, args);
++  }
+ 
+-    const char* name = sEventStrings[JSID_TO_INT(aIdval)];
+-    WorkerPrivate* worker = GetInstancePrivate(aCx, aObj, name);
+-    if (!worker) {
+-      return !JS_IsExceptionPending(aCx);
++  static bool
++  GetOnmessageImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    return GetEventListener(aCx, aArgs, NS_LITERAL_STRING("onmessage"));
++  }
++
++  static JSBool
++  GetOnmessage(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorker, GetOnmessageImpl>(aCx, args);
+     }
+ 
++  static bool
++  SetEventListener(JSContext* aCx, JS::CallArgs aArgs,
++                   const nsAString& aNameStr)
++  {
++    WorkerPrivate* worker =
++      GetInstancePrivate(aCx, &aArgs.thisv().toObject(),
++                         NS_ConvertUTF16toUTF8(aNameStr).get());
++    MOZ_ASSERT(worker);
++
+     JS::Rooted<JSObject*> listener(aCx);
+-    if (!JS_ValueToObject(aCx, aVp, listener.address())) {
++    if (!JS_ValueToObject(aCx, aArgs.get(0), listener.address())) {
+       return false;
+     }
+ 
+-    NS_ConvertASCIItoUTF16 nameStr(name + 2);
+     ErrorResult rv;
+-    worker->SetEventListener(nameStr, listener, rv);
++    worker->SetEventListener(Substring(aNameStr, 2), listener, rv);
+ 
+     if (rv.Failed()) {
+       JS_ReportError(aCx, "Failed to set listener!");
+       return false;
+     }
+ 
++    aArgs.rval().setUndefined();
+     return true;
+   }
+ 
++  static bool
++  SetOnerrorImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    return SetEventListener(aCx, aArgs, NS_LITERAL_STRING("onerror"));
++  }
++
++  static JSBool
++  SetOnerror(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorker, SetOnerrorImpl>(aCx, args);
++  }
++
++  static bool
++  SetOnmessageImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    return SetEventListener(aCx, aArgs, NS_LITERAL_STRING("onmessage"));
++  }
++
++  static JSBool
++  SetOnmessage(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorker, SetOnmessageImpl>(aCx, args);
++  }
++
+   static JSBool
+   Construct(JSContext* aCx, unsigned aArgc, jsval* aVp)
+   {
+@@ -344,11 +382,9 @@
+ };
+ 
+ const JSPropertySpec Worker::sProperties[] = {
+-  { sEventStrings[STRING_onerror], STRING_onerror, PROPERTY_FLAGS,
+-    JSOP_WRAPPER(GetEventListener), JSOP_WRAPPER(SetEventListener) },
+-  { sEventStrings[STRING_onmessage], STRING_onmessage, PROPERTY_FLAGS,
+-    JSOP_WRAPPER(GetEventListener), JSOP_WRAPPER(SetEventListener) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("onerror", GetOnerror, SetOnerror, JSPROP_ENUMERATE),
++  JS_PSGS("onmessage", GetOnmessage, SetOnmessage, JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec Worker::sFunctions[] = {
+@@ -357,11 +393,6 @@
+   JS_FS_END
+ };
+ 
+-const char* const Worker::sEventStrings[STRING_COUNT] = {
+-  "onerror",
+-  "onmessage"
+-};
+-
+ class ChromeWorker : public Worker
+ {
+   static DOMJSClass sClass;
+@@ -511,7 +542,7 @@
+                            const char* aFunctionName)
+ {
+   JSClass* classPtr = JS_GetClass(aObj);
+-  if (classPtr == Class() || classPtr == ChromeWorker::Class()) {
++  if (ClassIsWorker(classPtr)) {
+     return UnwrapDOMObject<WorkerPrivate>(aObj);
+   }
+ 
+@@ -569,4 +600,11 @@
+   return Worker::Class() == aClass || ChromeWorker::Class() == aClass;
+ }
+ 
++JSBool
++GetterOnlyJSNative(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++{
++    JS_ReportErrorNumber(aCx, js_GetErrorMessage, nullptr, JSMSG_GETTER_ONLY);
++    return false;
++}
++
+ END_WORKERS_NAMESPACE
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/workers/WorkerScope.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/WorkerScope.cpp
+--- seamonkey-2.21/comm-release/mozilla/dom/workers/WorkerScope.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/WorkerScope.cpp	2013-11-29 02:20:03.337130038 +0400
+@@ -44,9 +44,6 @@
+ 
+ #include "WorkerInlines.h"
+ 
+-#define PROPERTY_FLAGS \
+-  (JSPROP_ENUMERATE | JSPROP_SHARED)
+-
+ #define FUNCTION_FLAGS \
+   JSPROP_ENUMERATE
+ 
+@@ -141,18 +138,14 @@
+   }
+ 
+ private:
+-  static JSBool
+-  GetEventListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                   JS::MutableHandle<JS::Value> aVp)
+-  {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-    JS_ASSERT(JSID_TO_INT(aIdval) >= 0 && JSID_TO_INT(aIdval) < STRING_COUNT);
++  static bool IsWorkerGlobalScope(const JS::Value& v);
+ 
+-    const char* name = sEventStrings[JSID_TO_INT(aIdval)];
+-    WorkerGlobalScope* scope = GetInstancePrivate(aCx, aObj, name);
+-    if (!scope) {
+-      return false;
+-    }
++  static bool
++  GetOnCloseImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    const char* name = sEventStrings[STRING_onclose];
++    WorkerGlobalScope* scope = GetInstancePrivate(aCx, &aArgs.thisv().toObject(), name);
++    MOZ_ASSERT(scope);
+ 
+     ErrorResult rv;
+ 
+@@ -164,30 +157,32 @@
+       return false;
+     }
+ 
+-    aVp.set(listener ? OBJECT_TO_JSVAL(listener) : JSVAL_NULL);
++    aArgs.rval().setObjectOrNull(listener);
+     return true;
+   }
+ 
+   static JSBool
+-  SetEventListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                   JSBool aStrict, JS::MutableHandle<JS::Value> aVp)
++  GetOnClose(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-    JS_ASSERT(JSID_TO_INT(aIdval) >= 0 && JSID_TO_INT(aIdval) < STRING_COUNT);
+-
+-    const char* name = sEventStrings[JSID_TO_INT(aIdval)];
+-    WorkerGlobalScope* scope = GetInstancePrivate(aCx, aObj, name);
+-    if (!scope) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, GetOnCloseImpl>(aCx, args);
+     }
+ 
+-    if (JSVAL_IS_PRIMITIVE(aVp)) {
++  static bool
++  SetOnCloseImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    const char* name = sEventStrings[STRING_onclose];
++    WorkerGlobalScope* scope =
++      GetInstancePrivate(aCx, &aArgs.thisv().toObject(), name);
++    MOZ_ASSERT(scope);
++
++    if (aArgs.length() == 0 || !aArgs[0].isObject()) {
+       JS_ReportError(aCx, "Not an event listener!");
+       return false;
+     }
+ 
+     ErrorResult rv;
+-    JS::Rooted<JSObject*> listenerObj(aCx, JSVAL_TO_OBJECT(aVp));
++    JS::Rooted<JSObject*> listenerObj(aCx, &aArgs[0].toObject());
+     scope->SetEventListener(NS_ConvertASCIItoUTF16(name + 2),
+                             listenerObj, rv);
+     if (rv.Failed()) {
+@@ -195,9 +190,17 @@
+       return false;
+     }
+ 
++    aArgs.rval().setUndefined();
+     return true;
+   }
+ 
++  static JSBool
++  SetOnClose(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, SetOnCloseImpl>(aCx, args);
++  }
++
+   static WorkerGlobalScope*
+   GetInstancePrivate(JSContext* aCx, JSObject* aObj, const char* aFunctionName);
+ 
+@@ -209,29 +212,29 @@
+     return false;
+   }
+ 
+-  static JSBool
+-  GetSelf(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-          JS::MutableHandle<JS::Value> aVp)
++  static bool
++  GetSelfImpl(JSContext* aCx, JS::CallArgs aArgs)
+   {
+-    if (!GetInstancePrivate(aCx, aObj, "self")) {
+-      return false;
+-    }
+-
+-    aVp.set(OBJECT_TO_JSVAL(aObj));
++    aArgs.rval().setObject(aArgs.thisv().toObject());
+     return true;
+   }
+ 
+   static JSBool
+-  GetLocation(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-              JS::MutableHandle<JS::Value> aVp)
++  GetSelf(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    WorkerGlobalScope* scope =
+-      GetInstancePrivate(aCx, aObj, sProperties[SLOT_location].name);
+-    if (!scope) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, GetSelfImpl>(aCx, args);
+     }
+ 
+-    if (JSVAL_IS_VOID(scope->mSlots[SLOT_location])) {
++  static bool
++  GetLocationImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    WorkerGlobalScope* scope =
++      GetInstancePrivate(aCx, obj, sProperties[SLOT_location].name);
++    MOZ_ASSERT(scope);
++
++    if (scope->mSlots[SLOT_location].isUndefined()) {
+       JS::Rooted<JSString*> href(aCx), protocol(aCx), host(aCx), hostname(aCx);
+       JS::Rooted<JSString*> port(aCx), pathname(aCx), search(aCx), hash(aCx);
+ 
+@@ -266,14 +269,21 @@
+         return false;
+       }
+ 
+-      scope->mSlots[SLOT_location] = OBJECT_TO_JSVAL(location);
++      scope->mSlots[SLOT_location].setObject(*location);
+     }
+ 
+-    aVp.set(scope->mSlots[SLOT_location]);
++    aArgs.rval().set(scope->mSlots[SLOT_location]);
+     return true;
+   }
+ 
+   static JSBool
++  GetLocation(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, GetLocationImpl>(aCx, args);
++  }
++
++  static JSBool
+   UnwrapErrorEvent(JSContext* aCx, unsigned aArgc, jsval* aVp)
+   {
+     JS_ASSERT(aArgc == 1);
+@@ -311,15 +321,12 @@
+     return true;
+   }
+ 
+-  static JSBool
+-  GetOnErrorListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                     JS::MutableHandle<JS::Value> aVp)
++  static bool
++  GetOnErrorListenerImpl(JSContext* aCx, JS::CallArgs aArgs)
+   {
+     const char* name = sEventStrings[STRING_onerror];
+-    WorkerGlobalScope* scope = GetInstancePrivate(aCx, aObj, name);
+-    if (!scope) {
+-      return false;
+-    }
++    WorkerGlobalScope* scope = GetInstancePrivate(aCx, &aArgs.thisv().toObject(), name);
++    MOZ_ASSERT(scope);
+ 
+     ErrorResult rv;
+ 
+@@ -332,28 +339,31 @@
+     }
+ 
+     if (!adaptor) {
+-      aVp.setNull();
++      aArgs.rval().setNull();
+       return true;
+     }
+ 
+-    aVp.set(js::GetFunctionNativeReserved(adaptor, SLOT_wrappedFunction));
+-
+-    JS_ASSERT(!JSVAL_IS_PRIMITIVE(aVp));
+-
++    aArgs.rval().set(js::GetFunctionNativeReserved(adaptor, SLOT_wrappedFunction));
++    MOZ_ASSERT(aArgs.rval().isObject());
+     return true;
+   }
+ 
+   static JSBool
+-  SetOnErrorListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                     JSBool aStrict, JS::MutableHandle<JS::Value> aVp)
++  GetOnErrorListener(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    const char* name = sEventStrings[STRING_onerror];
+-    WorkerGlobalScope* scope = GetInstancePrivate(aCx, aObj, name);
+-    if (!scope) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, GetOnErrorListenerImpl>(aCx, args);
+     }
+ 
+-    if (JSVAL_IS_PRIMITIVE(aVp)) {
++  static bool
++  SetOnErrorListenerImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    const char* name = sEventStrings[STRING_onerror];
++    WorkerGlobalScope* scope = GetInstancePrivate(aCx, obj, name);
++    MOZ_ASSERT(scope);
++
++    if (aArgs.length() == 0 || !aArgs[0].isObject()) {
+       JS_ReportError(aCx, "Not an event listener!");
+       return false;
+     }
+@@ -371,8 +381,8 @@
+     }
+ 
+     js::SetFunctionNativeReserved(listener, SLOT_wrappedScope,
+-                                  OBJECT_TO_JSVAL(aObj));
+-    js::SetFunctionNativeReserved(listener, SLOT_wrappedFunction, aVp);
++                                  JS::ObjectValue(*obj));
++    js::SetFunctionNativeReserved(listener, SLOT_wrappedFunction, aArgs[0]);
+ 
+     ErrorResult rv;
+ 
+@@ -387,16 +397,21 @@
+   }
+ 
+   static JSBool
+-  GetNavigator(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-               JS::MutableHandle<JS::Value> aVp)
++  SetOnErrorListener(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    WorkerGlobalScope* scope =
+-      GetInstancePrivate(aCx, aObj, sProperties[SLOT_navigator].name);
+-    if (!scope) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, SetOnErrorListenerImpl>(aCx, args);
+     }
+ 
+-    if (JSVAL_IS_VOID(scope->mSlots[SLOT_navigator])) {
++  static bool
++  GetNavigatorImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    JS::Rooted<JSObject*> obj(aCx, &aArgs.thisv().toObject());
++    WorkerGlobalScope* scope =
++      GetInstancePrivate(aCx, obj, sProperties[SLOT_navigator].name);
++    MOZ_ASSERT(scope);
++
++    if (scope->mSlots[SLOT_navigator].isUndefined()) {
+       JSObject* navigator = navigator::Create(aCx);
+       if (!navigator) {
+         return false;
+@@ -405,11 +420,18 @@
+       scope->mSlots[SLOT_navigator] = OBJECT_TO_JSVAL(navigator);
+     }
+ 
+-    aVp.set(scope->mSlots[SLOT_navigator]);
++    aArgs.rval().set(scope->mSlots[SLOT_navigator]);
+     return true;
+   }
+ 
+   static JSBool
++  GetNavigator(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsWorkerGlobalScope, GetNavigatorImpl>(aCx, args);
++  }
++
++  static JSBool
+   Close(JSContext* aCx, unsigned aArgc, jsval* aVp)
+   {
+     JSObject* obj = JS_THIS_OBJECT(aCx, aVp);
+@@ -623,16 +645,14 @@
+ };
+ 
+ const JSPropertySpec WorkerGlobalScope::sProperties[] = {
+-  { "location", SLOT_location, PROPERTY_FLAGS, JSOP_WRAPPER(GetLocation),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { sEventStrings[STRING_onerror], STRING_onerror, PROPERTY_FLAGS,
+-    JSOP_WRAPPER(GetOnErrorListener), JSOP_WRAPPER(SetOnErrorListener) },
+-  { sEventStrings[STRING_onclose], STRING_onclose, PROPERTY_FLAGS,
+-    JSOP_WRAPPER(GetEventListener), JSOP_WRAPPER(SetEventListener) },
+-  { "navigator", SLOT_navigator, PROPERTY_FLAGS, JSOP_WRAPPER(GetNavigator),
+-    JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { "self", 0, PROPERTY_FLAGS, JSOP_WRAPPER(GetSelf), JSOP_WRAPPER(js_GetterOnlyPropertyStub) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS("location", GetLocation, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PSGS(sEventStrings[STRING_onerror], GetOnErrorListener, SetOnErrorListener,
++          JSPROP_ENUMERATE),
++  JS_PSGS(sEventStrings[STRING_onclose], GetOnClose, SetOnClose,
++          JSPROP_ENUMERATE),
++  JS_PSGS("navigator", GetNavigator, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PSGS("self", GetSelf, GetterOnlyJSNative, JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec WorkerGlobalScope::sFunctions[] = {
+@@ -736,19 +756,20 @@
+   using EventTarget::GetEventListener;
+   using EventTarget::SetEventListener;
+ 
+-  static JSBool
+-  GetEventListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                   JS::MutableHandle<JS::Value> aVp)
++  static bool
++  IsDedicatedWorkerGlobalScope(const JS::Value& v)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-    JS_ASSERT(JSID_TO_INT(aIdval) >= 0 && JSID_TO_INT(aIdval) < STRING_COUNT);
+-
+-    const char* name = sEventStrings[JSID_TO_INT(aIdval)];
+-    DedicatedWorkerGlobalScope* scope = GetInstancePrivate(aCx, aObj, name);
+-    if (!scope) {
+-      return false;
++    return v.isObject() && JS_GetClass(&v.toObject()) == Class();
+     }
+ 
++  static bool
++  GetOnMessageImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    const char* name = sEventStrings[STRING_onmessage];
++    DedicatedWorkerGlobalScope* scope =
++      GetInstancePrivate(aCx, &aArgs.thisv().toObject(), name);
++    MOZ_ASSERT(scope);
++
+     ErrorResult rv;
+ 
+     JSObject* listener =
+@@ -759,31 +780,33 @@
+       return false;
+     }
+ 
+-    aVp.set(listener ? OBJECT_TO_JSVAL(listener) : JSVAL_NULL);
++    aArgs.rval().setObjectOrNull(listener);
+     return true;
+   }
+ 
+   static JSBool
+-  SetEventListener(JSContext* aCx, JS::Handle<JSObject*> aObj, JS::Handle<jsid> aIdval,
+-                   JSBool aStrict, JS::MutableHandle<JS::Value> aVp)
++  GetOnMessage(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
+   {
+-    JS_ASSERT(JSID_IS_INT(aIdval));
+-    JS_ASSERT(JSID_TO_INT(aIdval) >= 0 && JSID_TO_INT(aIdval) < STRING_COUNT);
+-
+-    const char* name = sEventStrings[JSID_TO_INT(aIdval)];
+-    DedicatedWorkerGlobalScope* scope = GetInstancePrivate(aCx, aObj, name);
+-    if (!scope) {
+-      return false;
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsDedicatedWorkerGlobalScope, GetOnMessageImpl>(aCx, args);
+     }
+ 
+-    if (JSVAL_IS_PRIMITIVE(aVp)) {
++  static bool
++  SetOnMessageImpl(JSContext* aCx, JS::CallArgs aArgs)
++  {
++    const char* name = sEventStrings[STRING_onmessage];
++    DedicatedWorkerGlobalScope* scope =
++      GetInstancePrivate(aCx, &aArgs.thisv().toObject(), name);
++    MOZ_ASSERT(scope);
++
++    if (aArgs.length() == 0 || !aArgs[0].isObject()) {
+       JS_ReportError(aCx, "Not an event listener!");
+       return false;
+     }
+ 
+     ErrorResult rv;
+ 
+-    JS::Rooted<JSObject*> listenerObj(aCx, JSVAL_TO_OBJECT(aVp));
++    JS::Rooted<JSObject*> listenerObj(aCx, &aArgs[0].toObject());
+     scope->SetEventListener(NS_ConvertASCIItoUTF16(name + 2),
+                             listenerObj, rv);
+ 
+@@ -792,9 +815,17 @@
+       return false;
+     }
+ 
++    aArgs.rval().setUndefined();
+     return true;
+   }
+ 
++  static JSBool
++  SetOnMessage(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
++  {
++    JS::CallArgs args = JS::CallArgsFromVp(aArgc, aVp);
++    return JS::CallNonGenericMethod<IsDedicatedWorkerGlobalScope, SetOnMessageImpl>(aCx, args);
++  }
++
+   static DedicatedWorkerGlobalScope*
+   GetInstancePrivate(JSContext* aCx, JSObject* aObj, const char* aFunctionName)
+   {
+@@ -928,9 +959,9 @@
+ };
+ 
+ const JSPropertySpec DedicatedWorkerGlobalScope::sProperties[] = {
+-  { sEventStrings[STRING_onmessage], STRING_onmessage, PROPERTY_FLAGS,
+-    JSOP_WRAPPER(GetEventListener), JSOP_WRAPPER(SetEventListener) },
+-  { 0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER }
++  JS_PSGS(sEventStrings[STRING_onmessage], GetOnMessage, SetOnMessage,
++          JSPROP_ENUMERATE),
++  JS_PS_END
+ };
+ 
+ const JSFunctionSpec DedicatedWorkerGlobalScope::sFunctions[] = {
+@@ -961,6 +992,12 @@
+   return NULL;
+ }
+ 
++bool
++WorkerGlobalScope::IsWorkerGlobalScope(const JS::Value& v)
++{
++  return v.isObject() && JS_GetClass(&v.toObject()) == DedicatedWorkerGlobalScope::Class();
++}
++
+ } /* anonymous namespace */
+ 
+ BEGIN_WORKERS_NAMESPACE
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/dom/workers/Workers.h seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Workers.h
+--- seamonkey-2.21/comm-release/mozilla/dom/workers/Workers.h	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/dom/workers/Workers.h	2013-11-29 02:20:03.337130038 +0400
+@@ -226,6 +226,14 @@
+ 
+ } // namespace exceptions
+ 
++// Throws the JSMSG_GETTER_ONLY exception.  This shouldn't be used going
++// forward -- getter-only properties should just use JS_PSG for the setter
++// (implying no setter at all), which will not throw when set in non-strict
++// code but will in strict code.  Old code should use this only for temporary
++// compatibility reasons.
++extern JSBool
++GetterOnlyJSNative(JSContext* aCx, unsigned aArgc, JS::Value* aVp);
++
+ END_WORKERS_NAMESPACE
+ 
+ #endif // mozilla_dom_workers_workers_h__
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/editor/libeditor/base/tests/test_bug646194.xul seamonkey-2.21-esr1.0/comm-release/mozilla/editor/libeditor/base/tests/test_bug646194.xul
+--- seamonkey-2.21/comm-release/mozilla/editor/libeditor/base/tests/test_bug646194.xul	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/editor/libeditor/base/tests/test_bug646194.xul	2013-11-29 02:20:03.338130029 +0400
+@@ -35,11 +35,12 @@
+ 
+   var i = document.getElementById("i");
+   i.focus();
++  var win = i.contentWindow;
+   var doc = i.contentDocument;
+   var t = doc.getElementById("t");
+   t.focus();
+   // put the caret at the end
+-  getSelection().collapse(t.firstChild, 11);
++  win.getSelection().collapse(t.firstChild, 11);
+ 
+   // Simulate pression Option+Delete on Mac
+   // We do things this way because not every platform can invoke this
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp
+--- seamonkey-2.21/comm-release/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp	2013-11-29 02:20:03.338130029 +0400
+@@ -626,6 +626,7 @@
+   }
+ 
+   mEditor = nullptr;
++  mFullSpellCheckScheduled = false;
+ 
+   return rv;
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/gfx/2d/BaseRect.h seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/2d/BaseRect.h
+--- seamonkey-2.21/comm-release/mozilla/gfx/2d/BaseRect.h	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/2d/BaseRect.h	2013-11-29 02:20:03.338130029 +0400
+@@ -56,6 +56,15 @@
+   bool IsEmpty() const { return height <= 0 || width <= 0; }
+   void SetEmpty() { width = height = 0; }
+ 
++  // "Finite" means not inf and not NaN
++  bool IsFinite() const
++  {
++    return (std::isfinite(x) &&
++            std::isfinite(y) &&
++            std::isfinite(width) &&
++            std::isfinite(height));
++  }
++
+   // Returns true if this rectangle contains the interior of aRect. Always
+   // returns true if aRect is empty, and always returns false is aRect is
+   // nonempty but this rect is empty.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/gfx/2d/DrawTargetCG.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/2d/DrawTargetCG.cpp
+--- seamonkey-2.21/comm-release/mozilla/gfx/2d/DrawTargetCG.cpp	2013-09-16 22:26:33.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/2d/DrawTargetCG.cpp	2013-11-29 02:20:03.338130029 +0400
+@@ -577,6 +577,13 @@
+ void
+ DrawTargetCG::StrokeLine(const Point &p1, const Point &p2, const Pattern &aPattern, const StrokeOptions &aStrokeOptions, const DrawOptions &aDrawOptions)
+ {
++  if (!std::isfinite(p1.x) ||
++      !std::isfinite(p1.y) ||
++      !std::isfinite(p2.x) ||
++      !std::isfinite(p2.y)) {
++    return;
++  }
++
+   MarkChanged();
+ 
+   CGContextSaveGState(mCg);
+@@ -614,6 +621,10 @@
+                          const StrokeOptions &aStrokeOptions,
+                          const DrawOptions &aDrawOptions)
+ {
++  if (!aRect.IsFinite()) {
++    return;
++  }
++
+   MarkChanged();
+ 
+   CGContextSaveGState(mCg);
+@@ -676,6 +687,10 @@
+ void
+ DrawTargetCG::Stroke(const Path *aPath, const Pattern &aPattern, const StrokeOptions &aStrokeOptions, const DrawOptions &aDrawOptions)
+ {
++  if (!aPath->GetBounds().IsFinite()) {
++    return;
++  }
++
+   MarkChanged();
+ 
+   CGContextSaveGState(mCg);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/gfx/gl/GLContextProviderEGL.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/gl/GLContextProviderEGL.cpp
+--- seamonkey-2.21/comm-release/mozilla/gfx/gl/GLContextProviderEGL.cpp	2013-09-16 22:26:34.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/gl/GLContextProviderEGL.cpp	2013-11-29 02:20:03.339130020 +0400
+@@ -473,6 +473,15 @@
+             return;
+ 
+         // Else, surface changed...
++        if (Screen()) {
++            /* Blit `draw` to `read` if we need to, before we potentially juggle
++             * `read` around. If we don't, we might attach a different `read`,
++             * and *then* hit AssureBlitted, which will blit a dirty `draw` onto
++             * the wrong `read`!
++             */
++            Screen()->AssureBlitted();
++        }
++
+         mCurSurface = eglSurface;
+         MakeCurrent(true);
+     }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/gfx/thebes/gfxUserFontSet.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/thebes/gfxUserFontSet.cpp
+--- seamonkey-2.21/comm-release/mozilla/gfx/thebes/gfxUserFontSet.cpp	2013-09-16 22:26:35.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/thebes/gfxUserFontSet.cpp	2013-11-29 02:20:03.339130020 +0400
+@@ -759,6 +759,14 @@
+     return aEntry->mPrivate ? PL_DHASH_REMOVE : PL_DHASH_NEXT;
+ }
+ 
++PLDHashOperator
++gfxUserFontSet::UserFontCache::Entry::RemoveIfMatches(Entry* aEntry,
++                                                      void* aUserData)
++{
++    return aEntry->GetFontEntry() == static_cast<gfxFontEntry*>(aUserData) ?
++        PL_DHASH_REMOVE : PL_DHASH_NEXT;
++}
++
+ NS_IMETHODIMP
+ gfxUserFontSet::UserFontCache::Flusher::Observe(nsISupports* aSubject,
+                                                 const char* aTopic,
+@@ -841,11 +849,11 @@
+         return;
+     }
+ 
+-    gfxUserFontData *data = aFontEntry->mUserFontData;
+-    if (data) {
+-        sUserFonts->RemoveEntry(Key(data->mURI, data->mPrincipal, aFontEntry,
+-                                    data->mPrivate));
+-    }
++    // We can't simply use RemoveEntry here because it's possible the principal
++    // may have changed since the font was cached, in which case the lookup
++    // would no longer find the entry (bug 838105).
++    sUserFonts->EnumerateEntries(
++        gfxUserFontSet::UserFontCache::Entry::RemoveIfMatches, aFontEntry);
+ }
+ 
+ gfxFontEntry*
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/gfx/thebes/gfxUserFontSet.h seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/thebes/gfxUserFontSet.h
+--- seamonkey-2.21/comm-release/mozilla/gfx/thebes/gfxUserFontSet.h	2013-09-16 22:26:35.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/gfx/thebes/gfxUserFontSet.h	2013-11-29 02:20:03.339130020 +0400
+@@ -342,6 +342,7 @@
+             gfxFontEntry* GetFontEntry() const { return mFontEntry; }
+ 
+             static PLDHashOperator RemoveIfPrivate(Entry* aEntry, void* aUserData);
++            static PLDHashOperator RemoveIfMatches(Entry* aEntry, void* aUserData);
+ 
+         private:
+             static uint32_t
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/image/src/RasterImage.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/image/src/RasterImage.cpp
+--- seamonkey-2.21/comm-release/mozilla/image/src/RasterImage.cpp	2013-09-16 22:26:35.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/image/src/RasterImage.cpp	2013-11-29 02:20:03.339130020 +0400
+@@ -410,6 +410,7 @@
+   mFinishing(false),
+   mInUpdateImageContainer(false),
+   mWantFullDecode(false),
++  mPendingError(false),
+   mScaleRequest(nullptr)
+ {
+   // Set up the discard tracker node.
+@@ -2949,13 +2950,19 @@
+   if (mError)
+     return;
+ 
++  // We can't safely handle errors off-main-thread, so dispatch a worker to do it.
++  if (!NS_IsMainThread()) {
++    HandleErrorWorker::DispatchIfNeeded(this);
++    return;
++  }
++
+   // If we're mid-decode, shut down the decoder.
+   if (mDecoder) {
+     MutexAutoLock lock(mDecodingMutex);
+     FinishedSomeDecoding(eShutdownIntent_Error);
+   }
+ 
+-  // Put the container in an error state
++  // Put the container in an error state.
+   mError = true;
+ 
+   if (mDecodeRequest) {
+@@ -2968,6 +2975,30 @@
+   LOG_CONTAINER_ERROR;
+ }
+ 
++/* static */ void
++RasterImage::HandleErrorWorker::DispatchIfNeeded(RasterImage* aImage)
++{
++  if (!aImage->mPendingError) {
++    aImage->mPendingError = true;
++    nsRefPtr<HandleErrorWorker> worker = new HandleErrorWorker(aImage);
++    NS_DispatchToMainThread(worker);
++  }
++}
++
++RasterImage::HandleErrorWorker::HandleErrorWorker(RasterImage* aImage)
++  : mImage(aImage)
++{
++  MOZ_ASSERT(mImage, "Should have image");
++}
++
++NS_IMETHODIMP
++RasterImage::HandleErrorWorker::Run()
++{
++  mImage->DoError();
++
++  return NS_OK;
++}
++
+ // nsIInputStream callback to copy the incoming image data directly to the
+ // RasterImage without processing. The RasterImage is passed as the closure.
+ // Always reads everything it gets, even if the data is erroneous.
+@@ -3318,6 +3349,7 @@
+   // this request to the back of the list.
+   else if (mImage->mDecoder &&
+            !mImage->mError &&
++           !mImage->mPendingError &&
+            !mImage->IsDecodeFinished() &&
+            bytesDecoded < mRequest->mBytesToDecode &&
+            bytesDecoded > 0) {
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/image/src/RasterImage.h seamonkey-2.21-esr1.0/comm-release/mozilla/image/src/RasterImage.h
+--- seamonkey-2.21/comm-release/mozilla/image/src/RasterImage.h	2013-09-16 22:26:35.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/image/src/RasterImage.h	2013-11-29 02:20:03.340130011 +0400
+@@ -739,6 +739,11 @@
+   // off a full decode.
+   bool                       mWantFullDecode:1;
+ 
++  // Set when a decode worker detects an error off-main-thread. Once the error
++  // is handled on the main thread, mError is set, but mPendingError is used to
++  // stop decode work immediately.
++  bool                       mPendingError:1;
++
+   // Decoding
+   nsresult WantDecodedFrames();
+   nsresult SyncDecode();
+@@ -771,8 +776,28 @@
+ 
+   nsresult ShutdownDecoder(eShutdownIntent aIntent);
+ 
+-  // Helpers
++  // Error handling.
+   void DoError();
++
++  class HandleErrorWorker : public nsRunnable
++  {
++  public:
++    /**
++     * Called from decoder threads when DoError() is called, since errors can't
++     * be handled safely off-main-thread. Dispatches an event which reinvokes
++     * DoError on the main thread if there isn't one already pending.
++     */
++    static void DispatchIfNeeded(RasterImage* aImage);
++
++    NS_IMETHOD Run();
++
++  private:
++    HandleErrorWorker(RasterImage* aImage);
++
++    nsRefPtr<RasterImage> mImage;
++  };
++
++  // Helpers
+   bool CanDiscard();
+   bool CanForciblyDiscard();
+   bool DiscardingActive();
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/jsd/jsd_lock.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/js/jsd/jsd_lock.cpp
+--- seamonkey-2.21/comm-release/mozilla/js/jsd/jsd_lock.cpp	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/jsd/jsd_lock.cpp	2013-11-29 02:20:03.340130011 +0400
+@@ -85,7 +85,7 @@
+ {
+     JSDStaticLock* lock;
+ 
+-    if( ! (lock = js_pod_calloc<JSDStaticLock>(1)) ||
++    if( ! (lock = js_pod_calloc<JSDStaticLock>()) ||
+         ! (lock->lock = PR_NewLock()) )
+     {
+         if(lock)
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/public/Utility.h seamonkey-2.21-esr1.0/comm-release/mozilla/js/public/Utility.h
+--- seamonkey-2.21/comm-release/mozilla/js/public/Utility.h	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/public/Utility.h	2013-11-29 02:20:03.340130011 +0400
+@@ -158,6 +158,12 @@
+     return calloc(bytes, 1);
+ }
+ 
++static JS_INLINE void* js_calloc(size_t nmemb, size_t size)
++{
++    JS_OOM_POSSIBLY_FAIL();
++    return calloc(nmemb, size);
++}
++
+ static JS_INLINE void* js_realloc(void* p, size_t bytes)
+ {
+     JS_OOM_POSSIBLY_FAIL();
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/public/Value.h seamonkey-2.21-esr1.0/comm-release/mozilla/js/public/Value.h
+--- seamonkey-2.21/comm-release/mozilla/js/public/Value.h	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/public/Value.h	2013-11-29 02:20:03.340130011 +0400
+@@ -802,22 +802,31 @@
+ 
+ #endif  /* JS_BITS_PER_WORD */
+ 
+-static inline double
+-JS_CANONICALIZE_NAN(double d)
+-{
+-    if (MOZ_UNLIKELY(d != d)) {
+-        jsval_layout l;
+-        l.asBits = 0x7FF8000000000000LL;
+-        return l.asDouble;
+-    }
+-    return d;
+-}
+-
+ static inline jsval_layout JSVAL_TO_IMPL(JS::Value v);
+ static inline JS::Value IMPL_TO_JSVAL(jsval_layout l);
+ 
+ namespace JS {
+ 
++/**
++ * Returns a generic quiet NaN value, with all payload bits set to zero.
++ *
++ * Among other properties, this NaN's bit pattern conforms to JS::Value's
++ * bit pattern restrictions.
++ */
++static MOZ_ALWAYS_INLINE double
++GenericNaN()
++{
++    return mozilla::SpecificNaN(0, 0x8000000000000ULL);
++}
++
++static inline double
++CanonicalizeNaN(double d)
++{
++    if (MOZ_UNLIKELY(mozilla::IsNaN(d)))
++        return GenericNaN();
++    return d;
++}
++
+ /*
+  * JS::Value is the interface for a single JavaScript Engine value.  A few
+  * general notes on JS::Value:
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/js/src/Makefile.in	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/Makefile.in	2013-11-29 02:20:03.340130011 +0400
+@@ -245,8 +245,6 @@
+ ifdef ENABLE_INTL_API
+ 
+ ifeq ($(OS_ARCH),WINNT)
+-  # Parallel gmake is buggy on Windows
+-  ICU_GMAKE_OPTIONS="-j1"
+   # Library names: On Windows, ICU uses modified library names for static
+   # and debug libraries.
+   ifdef MOZ_DEBUG
+@@ -256,6 +254,12 @@
+                      cp -p intl/icu/lib/s$(libname)$(ICU_LIB_SUFFIX).lib intl/icu/lib/$(libname).lib;)
+ endif
+ 
++ifdef .PYMAKE
++ICU_MAKE = $(GMAKE)
++else
++ICU_MAKE = $(MAKE)
++endif
++
+ # - Build ICU as part of the "export" target, so things get built
+ #   in the right order.
+ # - ICU requires GNU make according to its readme.html. pymake can't be used
+@@ -264,7 +268,8 @@
+ #   will discard all files with a non-standard suffix (bug 857450).
+ # - Options for genrb: -k strict parsing; -R omit collation tailoring rules.
+ export::
+-	$(GMAKE) $(ICU_GMAKE_OPTIONS) -C intl/icu STATIC_O=$(OBJ_SUFFIX) GENRBOPTS='-k -R'
++# ICU's build system is full of races, so force non-parallel build.
++	+$(ICU_MAKE) -j1 -C intl/icu STATIC_O=$(OBJ_SUFFIX) GENRBOPTS='-k -R'
+ 	$(ICU_LIB_RENAME)
+ 
+ distclean clean::
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/config/milestone.txt seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/milestone.txt
+--- seamonkey-2.21/comm-release/mozilla/js/src/config/milestone.txt	2013-09-16 22:26:39.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/config/milestone.txt	2013-11-29 02:20:03.340130011 +0400
+@@ -10,4 +10,4 @@
+ # hardcoded milestones in the tree from these two files.
+ #--------------------------------------------------------
+ 
+-24.0
++24.1.0
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jit/BaselineBailouts.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jit/BaselineBailouts.cpp
+--- seamonkey-2.21/comm-release/mozilla/js/src/jit/BaselineBailouts.cpp	2013-09-16 22:26:40.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jit/BaselineBailouts.cpp	2013-11-29 02:20:03.342129993 +0400
+@@ -126,6 +126,8 @@
+     bool enlarge() {
+         JS_ASSERT(buffer_ != NULL);
+         size_t newSize = bufferTotal_ * 2;
++        if (newSize == 0)
++            return false;
+         uint8_t *newBuffer = reinterpret_cast<uint8_t *>(js_calloc(newSize));
+         if (!newBuffer)
+             return false;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jit/IonCode.h seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jit/IonCode.h
+--- seamonkey-2.21/comm-release/mozilla/js/src/jit/IonCode.h	2013-09-16 22:26:40.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jit/IonCode.h	2013-11-29 02:20:03.342129993 +0400
+@@ -547,7 +547,7 @@
+         offset_ = offset;
+         numSuccessors_ = numSuccessors;
+         if (numSuccessors) {
+-            successors_ = (uint32_t *) js_calloc(numSuccessors * sizeof(uint32_t));
++            successors_ = js_pod_calloc<uint32_t>(numSuccessors);
+             if (!successors_)
+                 return false;
+         }
+@@ -648,7 +648,7 @@
+ 
+     bool init(size_t numBlocks) {
+         numBlocks_ = numBlocks;
+-        blocks_ = (IonBlockCounts *) js_calloc(numBlocks * sizeof(IonBlockCounts));
++        blocks_ = js_pod_calloc<IonBlockCounts>(numBlocks);
+         return blocks_ != NULL;
+     }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jsapi.h seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsapi.h
+--- seamonkey-2.21/comm-release/mozilla/js/src/jsapi.h	2013-09-16 22:26:40.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsapi.h	2013-11-29 02:20:03.343129984 +0400
+@@ -13,6 +13,7 @@
+ #include "mozilla/RangedPtr.h"
+ #include "mozilla/StandardInteger.h"
+ #include "mozilla/ThreadLocal.h"
++#include "mozilla/TypeTraits.h"
+ 
+ #include <stdarg.h>
+ #include <stddef.h>
+@@ -1146,7 +1147,7 @@
+ JS_NumberValue(double d)
+ {
+     int32_t i;
+-    d = JS_CANONICALIZE_NAN(d);
++    d = JS::CanonicalizeNaN(d);
+     if (mozilla::DoubleIsInt32(d, &i))
+         return INT_TO_JSVAL(i);
+     return DOUBLE_TO_JSVAL(d);
+@@ -3043,6 +3044,35 @@
+     JSStrictPropertyOpWrapper   setter;
+ };
+ 
++namespace JS {
++namespace detail {
++
++/* NEVER DEFINED, DON'T USE.  For use by JS_CAST_NATIVE_TO only. */
++inline int CheckIsNative(JSNative native);
++
++} // namespace detail
++} // namespace JS
++
++#define JS_CAST_NATIVE_TO(v, To) \
++  (static_cast<void>(sizeof(JS::detail::CheckIsNative(v))), \
++   reinterpret_cast<To>(v))
++
++/*
++ * JSPropertySpec uses JSAPI JSPropertyOp and JSStrictPropertyOp in function
++ * signatures, but with JSPROP_NATIVE_ACCESSORS the actual values must be
++ * JSNatives. To avoid widespread casting, have JS_PSG and JS_PSGS perform
++ * type-safe casts.
++ */
++#define JS_PSG(name, getter, flags) \
++    {name, 0, (flags) | JSPROP_SHARED | JSPROP_NATIVE_ACCESSORS, \
++     JSOP_WRAPPER(JS_CAST_NATIVE_TO(getter, JSPropertyOp)), \
++     JSOP_NULLWRAPPER}
++#define JS_PSGS(name, getter, setter, flags) \
++    {name, 0, (flags) | JSPROP_SHARED | JSPROP_NATIVE_ACCESSORS, \
++     JSOP_WRAPPER(JS_CAST_NATIVE_TO(getter, JSPropertyOp)), \
++     JSOP_WRAPPER(JS_CAST_NATIVE_TO(setter, JSStrictPropertyOp))}
++#define JS_PS_END {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER}
++
+ /*
+  * To define a native function, set call to a JSNativeWrapper. To define a
+  * self-hosted function, set selfHostedName to the name of a function
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jsclone.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsclone.cpp
+--- seamonkey-2.21/comm-release/mozilla/js/src/jsclone.cpp	2013-09-16 22:26:40.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsclone.cpp	2013-11-29 02:20:03.343129984 +0400
+@@ -45,6 +45,7 @@
+ using mozilla::IsNaN;
+ using mozilla::LittleEndian;
+ using mozilla::NativeEndian;
++using JS::CanonicalizeNaN;
+ 
+ enum StructuredDataType {
+     /* Structured data types provided by the engine */
+@@ -245,16 +246,6 @@
+     return replace(PairToUInt64(tag, data));
+ }
+ 
+-/*
+- * The purpose of this never-inlined function is to avoid a strange g++ build
+- * error on OS X 10.5 (see bug 624080).  :-(
+- */
+-static JS_NEVER_INLINE double
+-CanonicalizeNan(double d)
+-{
+-    return JS_CANONICALIZE_NAN(d);
+-}
+-
+ bool
+ SCInput::readDouble(double *p)
+ {
+@@ -264,7 +255,7 @@
+     } pun;
+     if (!read(&pun.u))
+         return false;
+-    *p = CanonicalizeNan(pun.d);
++    *p = CanonicalizeNaN(pun.d);
+     return true;
+ }
+ 
+@@ -379,7 +370,7 @@
+ bool
+ SCOutput::writeDouble(double d)
+ {
+-    return write(ReinterpretDoubleAsUInt64(CanonicalizeNan(d)));
++    return write(ReinterpretDoubleAsUInt64(CanonicalizeNaN(d)));
+ }
+ 
+ template <typename T>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jsobj.h seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsobj.h
+--- seamonkey-2.21/comm-release/mozilla/js/src/jsobj.h	2013-09-16 22:26:41.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsobj.h	2013-11-29 02:20:03.344129975 +0400
+@@ -66,20 +66,6 @@
+     return ObjectOrNullValue(CastAsObject(op));
+ }
+ 
+-/*
+- * JSPropertySpec uses JSAPI JSPropertyOp and JSStrictPropertyOp in function
+- * signatures, but with JSPROP_NATIVE_ACCESSORS the actual values must be
+- * JSNatives. To avoid widespread casting, have JS_PSG and JS_PSGS perform
+- * type-safe casts.
+- */
+-#define JS_PSG(name,getter,flags)                                               \
+-    {name, 0, (flags) | JSPROP_SHARED | JSPROP_NATIVE_ACCESSORS,                \
+-     JSOP_WRAPPER((JSPropertyOp)getter), JSOP_NULLWRAPPER}
+-#define JS_PSGS(name,getter,setter,flags)                                       \
+-    {name, 0, (flags) | JSPROP_SHARED | JSPROP_NATIVE_ACCESSORS,                \
+-     JSOP_WRAPPER((JSPropertyOp)getter), JSOP_WRAPPER((JSStrictPropertyOp)setter)}
+-#define JS_PS_END {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER}
+-
+ /******************************************************************************/
+ 
+ typedef Vector<PropDesc, 1> PropDescArray;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jstypedarray.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jstypedarray.cpp
+--- seamonkey-2.21/comm-release/mozilla/js/src/jstypedarray.cpp	2013-09-16 22:26:41.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jstypedarray.cpp	2013-11-29 02:20:03.344129975 +0400
+@@ -46,6 +46,7 @@
+ 
+ using mozilla::IsNaN;
+ using mozilla::PodCopy;
++using JS::CanonicalizeNaN;
+ 
+ /*
+  * Allocate array buffers with the maximum number of fixed slots marked as
+@@ -2678,7 +2679,7 @@
+      * This could be removed for platforms/compilers known to convert a 32-bit
+      * non-canonical nan to a 64-bit canonical nan.
+      */
+-    vp.setDouble(JS_CANONICALIZE_NAN(dval));
++    vp.setDouble(CanonicalizeNaN(dval));
+ }
+ 
+ template<>
+@@ -2695,7 +2696,7 @@
+      * confuse the engine into interpreting a double-typed jsval as an
+      * object-typed jsval.
+      */
+-    vp.setDouble(JS_CANONICALIZE_NAN(val));
++    vp.setDouble(CanonicalizeNaN(val));
+ }
+ 
+ JSBool
+@@ -3091,7 +3092,7 @@
+     if (!read(cx, thisView, args, &val, "getFloat32"))
+         return false;
+ 
+-    args.rval().setDouble(JS_CANONICALIZE_NAN(val));
++    args.rval().setDouble(CanonicalizeNaN(val));
+     return true;
+ }
+ 
+@@ -3113,7 +3114,7 @@
+     if (!read(cx, thisView, args, &val, "getFloat64"))
+         return false;
+ 
+-    args.rval().setDouble(JS_CANONICALIZE_NAN(val));
++    args.rval().setDouble(CanonicalizeNaN(val));
+     return true;
+ }
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/jsutil.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsutil.cpp
+--- seamonkey-2.21/comm-release/mozilla/js/src/jsutil.cpp	2013-09-16 22:26:41.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/jsutil.cpp	2013-11-29 02:20:03.347129947 +0400
+@@ -28,7 +28,7 @@
+ static void *
+ zlib_alloc(void *cx, uInt items, uInt size)
+ {
+-    return js_malloc(items * size);
++    return js_calloc(items, size);
+ }
+ 
+ static void
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/shell/js.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/shell/js.cpp
+--- seamonkey-2.21/comm-release/mozilla/js/src/shell/js.cpp	2013-09-16 22:26:41.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/shell/js.cpp	2013-11-29 02:20:03.348129937 +0400
+@@ -3994,7 +3994,7 @@
+  */
+ enum its_tinyid {
+     ITS_COLOR, ITS_HEIGHT, ITS_WIDTH, ITS_FUNNY, ITS_ARRAY, ITS_RDONLY,
+-    ITS_CUSTOM, ITS_CUSTOMRDONLY, ITS_CUSTOMNATIVE
++    ITS_CUSTOM, ITS_CUSTOMRDONLY
+ };
+ 
+ static JSBool
+@@ -4020,11 +4020,8 @@
+                         JSOP_WRAPPER(its_getter),     JSOP_WRAPPER(its_setter)},
+     {"customRdOnly",    ITS_CUSTOMRDONLY, JSPROP_ENUMERATE | JSPROP_READONLY,
+                         JSOP_WRAPPER(its_getter),     JSOP_WRAPPER(its_setter)},
+-    {"customNative",    ITS_CUSTOMNATIVE,
+-                        JSPROP_ENUMERATE | JSPROP_NATIVE_ACCESSORS,
+-                        JSOP_WRAPPER((JSPropertyOp)its_get_customNative),
+-                        JSOP_WRAPPER((JSStrictPropertyOp)its_set_customNative)},
+-    {NULL,0,0,JSOP_NULLWRAPPER, JSOP_NULLWRAPPER}
++    JS_PSGS("customNative", its_get_customNative, its_set_customNative, JSPROP_ENUMERATE),
++    JS_PS_END
+ };
+ 
+ static JSBool its_noisy;    /* whether to be noisy when finalizing it */
+@@ -4848,9 +4845,9 @@
+             return NULL;
+ 
+         if (!JS_DefineProperty(cx, glob, "customNative", UndefinedValue(),
+-                               (JSPropertyOp)its_get_customNative,
+-                               (JSStrictPropertyOp)its_set_customNative,
+-                               JSPROP_NATIVE_ACCESSORS))
++                               JS_CAST_NATIVE_TO(its_get_customNative, JSPropertyOp),
++                               JS_CAST_NATIVE_TO(its_set_customNative, JSStrictPropertyOp),
++                               JSPROP_SHARED | JSPROP_NATIVE_ACCESSORS))
+         {
+             return NULL;
+         }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/js/src/tests/lib/jittests.py seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/tests/lib/jittests.py
+--- seamonkey-2.21/comm-release/mozilla/js/src/tests/lib/jittests.py	2013-09-16 22:26:42.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/js/src/tests/lib/jittests.py	2013-11-29 02:20:03.348129937 +0400
+@@ -287,7 +287,16 @@
+ def check_output(out, err, rc, test):
+     if test.expect_error:
+         # The shell exits with code 3 on uncaught exceptions.
+-        return test.expect_error in err and rc == 3
++        # Sometimes 0 is returned on Windows for unknown reasons.
++        # See bug 899697.
++        if sys.platform in ['win32', 'cygwin']:
++            if rc != 3 and rc != 0:
++                return False
++        else:
++            if rc != 3:
++                return False
++
++        return test.expect_error in err
+ 
+     for line in out.split('\n'):
+         if line.startswith('Trace stats check failed'):
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/base/tests/test_scroll_selection_into_view.html seamonkey-2.21-esr1.0/comm-release/mozilla/layout/base/tests/test_scroll_selection_into_view.html
+--- seamonkey-2.21/comm-release/mozilla/layout/base/tests/test_scroll_selection_into_view.html	2013-09-16 22:26:44.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/base/tests/test_scroll_selection_into_view.html	2013-11-29 02:20:03.349129928 +0400
+@@ -77,6 +77,7 @@
+   var c = document.getElementById("c" + id);
+   var target = document.getElementById("target" + id);
+   if (target.contentDocument) {
++    selection = target.contentWindow.getSelection().QueryInterface(Components.interfaces.nsISelectionPrivate);
+     target = target.contentDocument.getElementById("target" + id);
+   }
+   selection.collapse(target.parentNode, 0);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/forms/nsComboboxControlFrame.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/layout/forms/nsComboboxControlFrame.cpp
+--- seamonkey-2.21/comm-release/mozilla/layout/forms/nsComboboxControlFrame.cpp	2013-09-16 22:26:44.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/forms/nsComboboxControlFrame.cpp	2013-11-29 02:20:03.349129928 +0400
+@@ -646,9 +646,10 @@
+     return eDropDownPositionPendingResize;
+   }
+ 
+-  // Position the drop-down below if there is room, otherwise place it
+-  // on the side that has more room.
+-  bool b = dropdownSize.height <= below || below >= above;
++  // Position the drop-down below if there is room, otherwise place it above
++  // if there is room.  If there is no room for it on either side then place
++  // it below (to avoid overlapping UI like the URL bar).
++  bool b = dropdownSize.height <= below || dropdownSize.height > above;
+   nsPoint dropdownPosition(0, b ? GetRect().height : -dropdownSize.height);
+   if (StyleVisibility()->mDirection == NS_STYLE_DIRECTION_RTL) {
+     // Align the right edge of the drop-down with the right edge of the control.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/generic/nsSelection.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/layout/generic/nsSelection.cpp
+--- seamonkey-2.21/comm-release/mozilla/layout/generic/nsSelection.cpp	2013-09-16 22:26:44.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/generic/nsSelection.cpp	2013-11-29 02:20:03.350129919 +0400
+@@ -4393,8 +4393,12 @@
+   if (!IsValidSelectionPoint(mFrameSelection, aParentNode))
+     return NS_ERROR_FAILURE;
+   nsresult result;
+-  // Delete all of the current ranges
++
+   nsRefPtr<nsPresContext>  presContext = GetPresContext();
++  if (presContext->Document() != aParentNode->OwnerDoc())
++    return NS_ERROR_FAILURE;
++
++  // Delete all of the current ranges
+   Clear(presContext);
+ 
+   // Turn off signal for table selection
+@@ -4621,6 +4625,10 @@
+   if (!IsValidSelectionPoint(mFrameSelection, aParentNode))
+     return NS_ERROR_FAILURE;
+ 
++  nsRefPtr<nsPresContext> presContext = GetPresContext();
++  if (presContext->Document() != aParentNode->OwnerDoc())
++    return NS_ERROR_FAILURE;
++
+   //mFrameSelection->InvalidateDesiredX();
+ 
+   nsINode* anchorNode = GetAnchorNode();
+@@ -4655,7 +4663,6 @@
+                                                   aParentNode, aOffset,
+                                                   &disconnected);
+ 
+-  nsRefPtr<nsPresContext>  presContext = GetPresContext();
+   nsRefPtr<nsRange> difRange = new nsRange(aParentNode);
+   if ((result1 == 0 && result3 < 0) || (result1 <= 0 && result2 < 0)){//a1,2  a,1,2
+     //select from 1 to 2 unless they are collapsed
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/reftests/bugs/28811-1-inner.html seamonkey-2.21-esr1.0/comm-release/mozilla/layout/reftests/bugs/28811-1-inner.html
+--- seamonkey-2.21/comm-release/mozilla/layout/reftests/bugs/28811-1-inner.html	2013-09-16 22:26:45.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/reftests/bugs/28811-1-inner.html	2013-11-29 02:20:03.350129919 +0400
+@@ -9,19 +9,19 @@
+ 
+ <div><span style="margin-right: 10%">text</span></div>
+ <div><span style="margin-left: 10%">text</span></div>
+-<div><img src="mozilla-banner.gif" height="10" style="margin-top: 2%"></div>
+-<div><img src="mozilla-banner.gif" height="10" style="margin-right: 10%"></div>
+-<div><img src="mozilla-banner.gif" height="10" style="margin-bottom: 2%"></div>
+-<div><img src="mozilla-banner.gif" height="10" style="margin-left: 10%"></div>
++<div><img src="blue-600x58.png" height="10" style="margin-top: 2%"></div>
++<div><img src="blue-600x58.png" height="10" style="margin-right: 10%"></div>
++<div><img src="blue-600x58.png" height="10" style="margin-bottom: 2%"></div>
++<div><img src="blue-600x58.png" height="10" style="margin-left: 10%"></div>
+ 
+ <div><span style="background:yellow; padding-top: 2%">text</span></div>
+ <div><span style="background:yellow; padding-right: 10%">text</span></div>
+ <div><span style="background:yellow; padding-bottom: 2%">text</span></div>
+ <div><span style="background:yellow; padding-left: 10%">text</span></div>
+ 
+-<div><img src="mozilla-banner.gif" height="10" style="width: 10%"></div>
+-<div><img src="mozilla-banner.gif" height="2" style="min-width: 50%"></div>
+-<div><img src="mozilla-banner.gif" height="10" style="max-width: 1%"></div>
++<div><img src="blue-600x58.png" height="10" style="width: 10%"></div>
++<div><img src="blue-600x58.png" height="2" style="min-width: 50%"></div>
++<div><img src="blue-600x58.png" height="10" style="max-width: 1%"></div>
+ 
+ <div><span style="display:inline-block">This is an inline-block that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</span></div>
+ <div><button>This is a button that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</button></div>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/reftests/bugs/28811-2-inner.html seamonkey-2.21-esr1.0/comm-release/mozilla/layout/reftests/bugs/28811-2-inner.html
+--- seamonkey-2.21/comm-release/mozilla/layout/reftests/bugs/28811-2-inner.html	2013-09-16 22:26:45.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/reftests/bugs/28811-2-inner.html	2013-11-29 02:20:03.350129919 +0400
+@@ -9,19 +9,19 @@
+ 
+ <div><span><span style="margin-right: 10%">text</span></span></div>
+ <div><span><span style="margin-left: 10%">text</span></span></div>
+-<div><span><img src="mozilla-banner.gif" height="10" style="margin-top: 2%"></span></div>
+-<div><span><img src="mozilla-banner.gif" height="10" style="margin-right: 10%"></span></div>
+-<div><span><img src="mozilla-banner.gif" height="10" style="margin-bottom: 2%"></span></div>
+-<div><span><img src="mozilla-banner.gif" height="10" style="margin-left: 10%"></span></div>
++<div><span><img src="blue-600x58.png" height="10" style="margin-top: 2%"></span></div>
++<div><span><img src="blue-600x58.png" height="10" style="margin-right: 10%"></span></div>
++<div><span><img src="blue-600x58.png" height="10" style="margin-bottom: 2%"></span></div>
++<div><span><img src="blue-600x58.png" height="10" style="margin-left: 10%"></span></div>
+ 
+ <div><span><span style="background:yellow; padding-top: 2%">text</span></span></div>
+ <div><span><span style="background:yellow; padding-right: 10%">text</span></span></div>
+ <div><span><span style="background:yellow; padding-bottom: 2%">text</span></span></div>
+ <div><span><span style="background:yellow; padding-left: 10%">text</span></span></div>
+ 
+-<div><span><img src="mozilla-banner.gif" height="10" style="width: 10%"></span></div>
+-<div><span><img src="mozilla-banner.gif" height="2" style="min-width: 50%"></span></div>
+-<div><span><img src="mozilla-banner.gif" height="10" style="max-width: 1%"></span></div>
++<div><span><img src="blue-600x58.png" height="10" style="width: 10%"></span></div>
++<div><span><img src="blue-600x58.png" height="2" style="min-width: 50%"></span></div>
++<div><span><img src="blue-600x58.png" height="10" style="max-width: 1%"></span></div>
+ 
+ <div><span><span style="display:inline-block">This is an inline-block that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</span></span></div>
+ <div><span><button>This is a button that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</button></span></div>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/style/nsComputedDOMStyle.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/nsComputedDOMStyle.cpp
+--- seamonkey-2.21/comm-release/mozilla/layout/style/nsComputedDOMStyle.cpp	2013-09-16 22:26:48.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/nsComputedDOMStyle.cpp	2013-11-29 02:20:03.351129910 +0400
+@@ -273,7 +273,7 @@
+   // set.  Using the pres shell from the content also means that any
+   // content that's actually *in* a document will get the style from the
+   // correct document.
+-  nsIPresShell *presShell = GetPresShellForContent(aElement);
++  nsCOMPtr<nsIPresShell> presShell = GetPresShellForContent(aElement);
+   if (!presShell) {
+     presShell = aPresShell;
+     if (!presShell)
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/style/test/test_transitions_per_property.html seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/test/test_transitions_per_property.html
+--- seamonkey-2.21/comm-release/mozilla/layout/style/test/test_transitions_per_property.html	2013-09-16 22:26:49.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/test/test_transitions_per_property.html	2013-11-29 02:20:03.352129901 +0400
+@@ -41,6 +41,7 @@
+ 
+ /** Test for Bug 435441 **/
+ 
++SimpleTest.requestLongerTimeout(2);
+ SimpleTest.waitForExplicitFinish();
+ 
+ function has_num(str)
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/style/test/test_value_computation.html seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/test/test_value_computation.html
+--- seamonkey-2.21/comm-release/mozilla/layout/style/test/test_value_computation.html	2013-09-16 22:26:49.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/test/test_value_computation.html	2013-11-29 02:20:03.352129901 +0400
+@@ -15,6 +15,7 @@
+   <script type="text/javascript">
+   SimpleTest.expectAssertions(7);
+   SimpleTest.waitForExplicitFinish();
++  SimpleTest.requestLongerTimeout(2);
+ 
+   var load_count = 0;
+   function load_done() {
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/style/test/test_value_storage.html seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/test/test_value_storage.html
+--- seamonkey-2.21/comm-release/mozilla/layout/style/test/test_value_storage.html	2013-09-16 22:26:49.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/style/test/test_value_storage.html	2013-11-29 02:20:03.352129901 +0400
+@@ -265,6 +265,7 @@
+ // To avoid triggering the slow script dialog, we have to test one
+ // property at a time.
+ SimpleTest.waitForExplicitFinish();
++SimpleTest.requestLongerTimeout(2);
+ var props = [];
+ for (var prop in gCSSProperties)
+   props.push(prop);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/layout/tools/reftest/remotereftest.py seamonkey-2.21-esr1.0/comm-release/mozilla/layout/tools/reftest/remotereftest.py
+--- seamonkey-2.21/comm-release/mozilla/layout/tools/reftest/remotereftest.py	2013-09-16 22:26:49.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/layout/tools/reftest/remotereftest.py	2013-11-29 02:20:03.352129901 +0400
+@@ -213,7 +213,7 @@
+         self._process = self._automation.Process([xpcshell] + args, env = env)
+         pid = self._process.pid
+         if pid < 0:
+-            print "Error starting server."
++            print "TEST-UNEXPECTED-FAIL | remotereftests.py | Error starting server."
+             return 2
+         self._automation.log.info("INFO | remotereftests.py | Server pid: %d", pid)
+ 
+@@ -233,7 +233,7 @@
+             time.sleep(1)
+             i += 1
+         else:
+-            print "Timed out while waiting for server startup."
++            print "TEST-UNEXPECTED-FAIL | remotereftests.py | Timed out while waiting for server startup."
+             self.stop()
+             return 1
+ 
+@@ -435,7 +435,7 @@
+         else:
+             dm = droid.DroidSUT(options.deviceIP, options.devicePort, deviceRoot=options.remoteTestRoot)
+     except devicemanager.DMError:
+-        print "Error: exception while initializing devicemanager.  Most likely the device is not in a testable state."
++        print "Automation Error: exception while initializing devicemanager.  Most likely the device is not in a testable state."
+         return 1
+ 
+     automation.setDeviceManager(dm)
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc seamonkey-2.21-esr1.0/comm-release/mozilla/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc
+--- seamonkey-2.21/comm-release/mozilla/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc	2013-09-16 22:26:51.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc	2013-11-29 02:16:20.480143223 +0400
+@@ -68,8 +68,8 @@
+       agc_enabled_(false),
+       rec_thread_(NULL),
+       rec_timer_(*EventWrapper::Create()),
+-      mic_sampling_rate_(N_REC_SAMPLES_PER_SEC),
+-      speaker_sampling_rate_(N_PLAY_SAMPLES_PER_SEC),
++      mic_sampling_rate_(N_REC_SAMPLES_PER_SEC * 1000),
++      speaker_sampling_rate_(N_PLAY_SAMPLES_PER_SEC * 1000),
+       max_speaker_vol_(0),
+       min_speaker_vol_(0),
+       loundspeaker_on_(false),
+@@ -78,7 +78,6 @@
+                       __FUNCTION__);
+   memset(rec_buf_, 0, sizeof(rec_buf_));
+   memset(play_buf_, 0, sizeof(play_buf_));
+-  UpdateRecordingDelay();
+ }
+ 
+ AudioDeviceAndroidOpenSLES::~AudioDeviceAndroidOpenSLES() {
+@@ -1257,22 +1256,18 @@
+ }
+ 
+ bool AudioDeviceAndroidOpenSLES::PlayoutWarning() const {
+-  CriticalSectionScoped lock(&crit_sect_);
+   return (play_warning_ > 0);
+ }
+ 
+ bool AudioDeviceAndroidOpenSLES::PlayoutError() const {
+-  CriticalSectionScoped lock(&crit_sect_);
+   return (play_error_ > 0);
+ }
+ 
+ bool AudioDeviceAndroidOpenSLES::RecordingWarning() const {
+-  CriticalSectionScoped lock(&crit_sect_);
+   return (rec_warning_ > 0);
+ }
+ 
+ bool AudioDeviceAndroidOpenSLES::RecordingError() const {
+-  CriticalSectionScoped lock(&crit_sect_);
+   return (rec_error_ > 0);
+ }
+ 
+@@ -1285,12 +1280,10 @@
+ }
+ 
+ void AudioDeviceAndroidOpenSLES::ClearRecordingWarning() {
+-  CriticalSectionScoped lock(&crit_sect_);
+   rec_warning_ = 0;
+ }
+ 
+ void AudioDeviceAndroidOpenSLES::ClearRecordingError() {
+-  CriticalSectionScoped lock(&crit_sect_);
+   rec_error_ = 0;
+ }
+ 
+@@ -1370,30 +1363,17 @@
+   const unsigned int total_bytes = num_bytes;
+   WebRtc_Word8 buf[REC_MAX_TEMP_BUF_SIZE_PER_10ms];
+ 
++  {
+   // Always grab crit_sect_ first, then callback_crit_sect_
+   // And vice-versa for releasing
+-  crit_sect_.Enter();
+-  callback_crit_sect_.Enter();
+-  while (is_recording_) {
+-    if (rec_voe_audio_queue_.size() <= 0) {
+-      callback_crit_sect_.Leave();
+-      crit_sect_.Leave();
+-      // Wait for max 40ms for incoming audio data before looping the
+-      // poll and checking for ::Stop() being called (which waits for us
+-      // to return).  Actual time between audio callbacks will vary, but
+-      // is based on AudioRecord min buffer sizes, which may be 15-80ms
+-      // or more, depending on sampling frequency, but typically will be
+-      // 25ish ms at 44100Hz.  We also don't want to take "too long" to
+-      // exit after ::Stop().  This value of 40ms is arbitrary.
+-      rec_timer_.Wait(40);
+-      crit_sect_.Enter();
+-      callback_crit_sect_.Enter();
+-      if (rec_voe_audio_queue_.size() <= 0) {
+-        // still no audio data; check for ::Stop()
+-        callback_crit_sect_.Leave();
+-        crit_sect_.Leave();
++    CriticalSectionScoped lock(&crit_sect_);
++    CriticalSectionScoped callback_lock(&callback_crit_sect_);
++    if (!is_recording_) {
+         return true;
+       }
++    if (rec_voe_audio_queue_.size() <= 0) {
++      rec_timer_.Wait(1);
++      return true;
+     }
+ 
+     WebRtc_Word8* audio = rec_voe_audio_queue_.front();
+@@ -1401,31 +1381,18 @@
+     memcpy(buf, audio, total_bytes);
+     memset(audio, 0, total_bytes);
+     rec_voe_ready_queue_.push(audio);
++  }
+ 
++  UpdateRecordingDelay();
+     voe_audio_buffer_->SetRecordedBuffer(buf, num_samples);
+     voe_audio_buffer_->SetVQEData(playout_delay_, recording_delay_, 0);
+-
+-    // All other implementations UnLock around DeliverRecordedData() only
+-    callback_crit_sect_.Leave();
+-    crit_sect_.Leave();
+     voe_audio_buffer_->DeliverRecordedData();
+-    crit_sect_.Enter();
+-    callback_crit_sect_.Enter();
+-  }
+-  callback_crit_sect_.Leave();
+-  crit_sect_.Leave();
+-
+-  // if is_recording is false, we either *just* were started, or for some reason
+-  // Stop() failed to get us to return for 10 seconds - and when we return here,
+-  // Stop will kill us anyways.
+-  rec_timer_.Wait(1);
+ 
+   return true;
+ }
+ 
+ void AudioDeviceAndroidOpenSLES::RecorderSimpleBufferQueueCallbackHandler(
+     SLAndroidSimpleBufferQueueItf queue_itf) {
+-
+   const unsigned int num_samples = mic_sampling_rate_ / 100;
+   const unsigned int num_bytes =
+     N_REC_CHANNELS * num_samples * sizeof(int16_t);
+@@ -1443,17 +1410,12 @@
+     audio = rec_queue_.front();
+     rec_queue_.pop();
+     rec_voe_audio_queue_.push(audio);
+-    rec_timer_.Set(); // wake up record thread to process it
+ 
+     if (rec_voe_ready_queue_.size() <= 0) {
+       // Log Error.
+       rec_error_ = 1;
+       WEBRTC_OPENSL_TRACE(kTraceError, kTraceAudioDevice, id_,
+                           "  Audio Rec thread buffers underrun");
+-      // This isn't good, but continuing (as it used to) is even worse.
+-      // Worst case we end up with buffers building up at the other end or
+-      // starved.  To be fixed in full rewrite from upstream.
+-      return;
+     } else {
+       audio = rec_voe_ready_queue_.front();
+       rec_voe_ready_queue_.pop();
+@@ -1466,7 +1428,6 @@
+   if (res != SL_RESULT_SUCCESS) {
+     WEBRTC_OPENSL_TRACE(kTraceWarning, kTraceAudioDevice, id_,
+                         "  recorder callback Enqueue failed, %d", res);
+-    CriticalSectionScoped lock(&crit_sect_);
+     rec_warning_ = 1;
+     return;
+   } else {
+@@ -1509,7 +1470,6 @@
+ 
+   mic_sampling_rate_ = N_REC_SAMPLES_PER_SEC;
+   speaker_sampling_rate_ = N_PLAY_SAMPLES_PER_SEC;
+-  UpdateRecordingDelay();
+ 
+   WEBRTC_OPENSL_TRACE(kTraceStateInfo, kTraceAudioDevice, id_,
+                       "  mic sample rate (%d), speaker sample rate (%d)",
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-nightly seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-nightly
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-nightly	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-nightly	2013-11-29 02:16:20.480143223 +0400
+@@ -33,6 +33,6 @@
+ export JAVA_HOME=/tools/jdk6
+ export MOZILLA_OFFICIAL=1
+ 
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-release seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-release
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-release	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/l10n-release	2013-11-29 02:16:20.480143223 +0400
+@@ -31,6 +31,6 @@
+ export MOZILLA_OFFICIAL=1
+ 
+ ac_add_options --enable-official-branding
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/nightly seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/nightly
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/nightly	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/nightly	2013-11-29 02:16:20.481143215 +0400
+@@ -25,7 +25,7 @@
+ export MOZILLA_OFFICIAL=1
+ export MOZ_TELEMETRY_REPORTING=1
+ 
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ # Treat warnings as errors in directories with FAIL_ON_WARNINGS.
+ ac_add_options --enable-warnings-as-errors
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/release seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/release
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android/release	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android/release	2013-11-29 02:16:20.481143215 +0400
+@@ -25,6 +25,6 @@
+ export MOZ_TELEMETRY_REPORTING=1
+ 
+ ac_add_options --enable-official-branding
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-nightly seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-nightly
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-nightly	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-nightly	2013-11-29 02:16:20.481143215 +0400
+@@ -35,6 +35,6 @@
+ export MOZILLA_OFFICIAL=1
+ export MOZ_PKG_SPECIAL=armv6
+ 
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-release seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-release
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-release	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/l10n-release	2013-11-29 02:16:20.481143215 +0400
+@@ -33,6 +33,6 @@
+ export MOZ_PKG_SPECIAL=armv6
+ 
+ ac_add_options --enable-official-branding
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/nightly seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/nightly
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/nightly	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/nightly	2013-11-29 02:16:20.481143215 +0400
+@@ -25,7 +25,7 @@
+ export MOZ_TELEMETRY_REPORTING=1
+ export MOZ_PKG_SPECIAL=armv6
+ 
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ # Treat warnings as errors in directories with FAIL_ON_WARNINGS.
+ ac_add_options --enable-warnings-as-errors
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/release seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/release
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/release	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-armv6/release	2013-11-29 02:16:20.481143215 +0400
+@@ -27,6 +27,6 @@
+ export MOZ_PKG_SPECIAL=armv6
+ 
+ ac_add_options --enable-official-branding
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-nightly seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-nightly
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-nightly	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-nightly	2013-11-29 02:16:20.481143215 +0400
+@@ -33,6 +33,6 @@
+ export JAVA_HOME=/tools/jdk6
+ export MOZILLA_OFFICIAL=1
+ 
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-release seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-release
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-release	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/l10n-release	2013-11-29 02:16:20.481143215 +0400
+@@ -31,6 +31,6 @@
+ export MOZILLA_OFFICIAL=1
+ 
+ ac_add_options --enable-official-branding
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/nightly seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/nightly
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/nightly	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/nightly	2013-11-29 02:16:20.482143207 +0400
+@@ -23,7 +23,7 @@
+ export MOZILLA_OFFICIAL=1
+ export MOZ_TELEMETRY_REPORTING=1
+ 
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ # Treat warnings as errors in directories with FAIL_ON_WARNINGS.
+ ac_add_options --enable-warnings-as-errors
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/release seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/release
+--- seamonkey-2.21/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/release	2013-09-16 22:26:52.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/mobile/android/config/mozconfigs/android-x86/release	2013-11-29 02:16:20.482143207 +0400
+@@ -25,6 +25,6 @@
+ export MOZ_TELEMETRY_REPORTING=1
+ 
+ ac_add_options --enable-official-branding
+-ac_add_options --with-branding=mobile/android/branding/official
++ac_add_options --with-branding=mobile/android/branding/beta
+ 
+ . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/TAG-INFO seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/TAG-INFO
+--- seamonkey-2.21/comm-release/mozilla/security/nss/TAG-INFO	2013-09-16 22:26:55.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/TAG-INFO	2013-11-29 02:20:03.352129901 +0400
+@@ -1 +1 @@
+-NSS_3_15_1_RTM
++NSS_3_15_2_RTM
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/cmd/ssltap/ssltap.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/cmd/ssltap/ssltap.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/cmd/ssltap/ssltap.c	2013-09-16 22:26:56.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/cmd/ssltap/ssltap.c	2013-11-29 02:20:03.353129892 +0400
+@@ -399,6 +399,8 @@
+   case 0x000099:    cs_str = "TLS/DHE-DSS/SEED-CBC/SHA";	break;     
+   case 0x00009A:    cs_str = "TLS/DHE-RSA/SEED-CBC/SHA";	break;     
+   case 0x00009B:    cs_str = "TLS/DH-ANON/SEED-CBC/SHA";	break;     
++  case 0x00009C:    cs_str = "TLS/RSA/AES128-GCM/SHA256";	break;     
++  case 0x00009E:    cs_str = "TLS/DHE-RSA/AES128-GCM/SHA256";	break;     
+ 
+   case 0x0000FF:    cs_str = "TLS_EMPTY_RENEGOTIATION_INFO_SCSV"; break;
+ 
+@@ -438,6 +440,7 @@
+   case 0x00C02A:    cs_str = "TLS/ECDH-RSA/AES256-CBC/SHA384"; break;
+   case 0x00C02B:    cs_str = "TLS/ECDHE-ECDSA/AES128-GCM/SHA256"; break;
+   case 0x00C02C:    cs_str = "TLS/ECDHE-ECDSA/AES256-GCM/SHA384"; break;
++  case 0x00C02F:    cs_str = "TLS/ECDHE-RSA/AES128-GCM/SHA256"; break;
+ 
+   case 0x00FEFF:    cs_str = "SSL3/RSA-FIPS/3DESEDE-CBC/SHA";	break;
+   case 0x00FEFE:    cs_str = "SSL3/RSA-FIPS/DES-CBC/SHA";	break;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/cmd/tstclnt/tstclnt.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/cmd/tstclnt/tstclnt.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/cmd/tstclnt/tstclnt.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/cmd/tstclnt/tstclnt.c	2013-11-29 02:20:03.353129892 +0400
+@@ -235,6 +235,9 @@
+     fprintf(stderr, "%-20s Test -F allows 0=any (default), 1=only OCSP, 2=only CRL\n", "-M");
+     fprintf(stderr, "%-20s Restrict ciphers\n", "-c ciphers");
+     fprintf(stderr, "%-20s Print cipher values allowed for parameter -c and exit\n", "-Y");
++    fprintf(stderr, "%-20s Enforce using an IPv4 destination address\n", "-4");
++    fprintf(stderr, "%-20s Enforce using an IPv6 destination address\n", "-6");
++    fprintf(stderr, "%-20s (Options -4 and -6 cannot be combined.)\n", "");
+ }
+ 
+ static void Usage(const char *progName)
+@@ -806,6 +809,8 @@
+     PRSocketOptionData opt;
+     PRNetAddr          addr;
+     PRPollDesc         pollset[2];
++    PRBool             allowIPv4 = PR_TRUE;
++    PRBool             allowIPv6 = PR_TRUE;
+     PRBool             pingServerFirst = PR_FALSE;
+     int                pingTimeoutSeconds = -1;
+     PRBool             clientSpeaksFirst = PR_FALSE;
+@@ -846,12 +851,15 @@
+     SSL_VersionRangeGetSupported(ssl_variant_stream, &enabledVersions);
+ 
+     optstate = PL_CreateOptState(argc, argv,
+-                                 "BFM:OSTV:W:Ya:c:d:fgh:m:n:op:qr:st:uvw:xz");
++                                 "46BFM:OSTV:W:Ya:c:d:fgh:m:n:op:qr:st:uvw:xz");
+     while ((optstatus = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
+ 	switch (optstate->option) {
+ 	  case '?':
+ 	  default : Usage(progName); 			break;
+ 
++          case '4': allowIPv6 = PR_FALSE; if (!allowIPv4) Usage(progName); break;
++          case '6': allowIPv4 = PR_FALSE; if (!allowIPv6) Usage(progName); break;
++
+           case 'B': bypassPKCS11 = 1; 			break;
+ 
+           case 'F': if (serverCertAuth.testFreshStatusFromSideChannel) {
+@@ -986,11 +994,15 @@
+ 	    SECU_PrintError(progName, "error looking up host");
+ 	    return 1;
+ 	}
+-	do {
++	for (;;) {
+ 	    enumPtr = PR_EnumerateAddrInfo(enumPtr, addrInfo, portno, &addr);
+-	} while (enumPtr != NULL &&
+-		 addr.raw.family != PR_AF_INET &&
+-		 addr.raw.family != PR_AF_INET6);
++	    if (enumPtr == NULL)
++		break;
++	    if (addr.raw.family == PR_AF_INET && allowIPv4)
++		break;
++	    if (addr.raw.family == PR_AF_INET6 && allowIPv6)
++		break;
++	}
+ 	PR_FreeAddrInfo(addrInfo);
+ 	if (enumPtr == NULL) {
+ 	    SECU_PrintError(progName, "error looking up host address");
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/coreconf/coreconf.dep seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/coreconf/coreconf.dep
+--- seamonkey-2.21/comm-release/mozilla/security/nss/coreconf/coreconf.dep	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/coreconf/coreconf.dep	2013-11-29 02:20:03.354129883 +0400
+@@ -10,4 +10,3 @@
+  */
+ 
+ #error "Do not include this header file."
+-
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/certutil.xml seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/certutil.xml
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/certutil.xml	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/certutil.xml	2013-11-29 02:20:03.354129883 +0400
+@@ -639,6 +639,27 @@
+       </varlistentry>
+ 
+       <varlistentry>
++        <term>--extNC</term>
++        <listitem><para>Add a Name Constraint extension to the certificate. X.509 certificate extensions are described in RFC 5280.</para></listitem>
++      </varlistentry>
++
++      <varlistentry>
++        <term>--keyAttrFlags attrflags</term>
++        <listitem><para>
++PKCS #11 key Attributes. Comma separated list of key attribute flags, selected from the following list of choices: {token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable}</para></listitem>
++      </varlistentry>
++
++      <varlistentry>
++        <term>--keyFlagsOn opflags</term>
++        <term>--keyFlagsOff opflags</term>
++        <listitem><para>
++PKCS #11 key Operation Flags.
++Comma separated list of one or more of the following:
++{token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable}
++          </para></listitem>
++      </varlistentry>
++
++      <varlistentry>
+         <term>--source-dir certdir</term>
+         <listitem><para>Identify the certificate database directory to upgrade.</para></listitem>
+       </varlistentry>
+@@ -800,7 +821,7 @@
+ ob2rb8XRVVJkzXdXxlk4uo3UtNvw8sAz7sWD71qxKaIHU5q49zijfg==
+ -----END CERTIFICATE-----
+ </programlisting>
+-<pa>For a humam-readable display</para>
++<para>For a human-readable display</para>
+ <programlisting>$ certutil -L -d sql:$HOME/nssdb -n my-ca-cert
+ Certificate:
+     Data:
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/cmsutil.xml seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/cmsutil.xml
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/cmsutil.xml	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/cmsutil.xml	2013-11-29 02:20:03.354129883 +0400
+@@ -89,9 +89,16 @@
+     </variablelist>
+ 
+ 	<para><command>Arguments</command></para>
+-	<para>Option arguments modify an action and are lowercase.</para>
++	<para>Option arguments modify an action.</para>
+ 	<variablelist>
+       <varlistentry>
++        <term>-b </term>
++        <listitem>
++          <para>Decode a batch of files named in infile.</para>
++        </listitem>
++      </varlistentry>
++
++      <varlistentry>
+         <term>-c content </term>
+         <listitem>
+           <para>Use this detached content (decode only).</para>
+@@ -113,6 +120,13 @@
+       </varlistentry>
+ 
+       <varlistentry>
++        <term>-f pwfile</term>
++        <listitem>
++          <para>Use password file to set password on all PKCS#11 tokens.</para>
++        </listitem>
++      </varlistentry>
++
++      <varlistentry>
+         <term>-G</term>
+         <listitem>
+           <para>Include a signing time attribute (sign only).</para>
+@@ -120,6 +134,13 @@
+       </varlistentry>
+ 	
+       <varlistentry>
++        <term>-H hash</term>
++        <listitem>
++          <para>Use specified hash algorithm (default:SHA1).</para>
++        </listitem>
++      </varlistentry>
++
++      <varlistentry>
+         <term>-h num</term>
+         <listitem>
+           <para>Generate email headers with info about CMS message (decode only).</para>
+@@ -134,6 +155,13 @@
+       </varlistentry>
+ 
+       <varlistentry>
++        <term>-k</term>
++        <listitem>
++          <para>Keep decoded encryption certs in permanent cert db.</para>
++        </listitem>
++      </varlistentry>
++
++      <varlistentry>
+         <term>-N nickname</term>
+         <listitem>
+           <para>Specify nickname of certificate to sign with (sign only).</para>
+@@ -193,6 +221,13 @@
+       </varlistentry>
+ 
+       <varlistentry>
++        <term>-v</term>
++        <listitem>
++          <para>Print debugging information.</para>
++        </listitem>
++      </varlistentry>
++
++      <varlistentry>
+         <term>-Y ekprefnick</term>
+         <listitem>
+           <para>Specify an encryption key preference by nickname.</para>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/crlutil.xml seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/crlutil.xml
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/crlutil.xml	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/crlutil.xml	2013-11-29 02:20:03.354129883 +0400
+@@ -266,6 +266,20 @@
+         </listitem>
+       </varlistentry>
+ 
++      <varlistentry>
++        <term>-w pwd-string</term>
++        <listitem>
++          <para>Provide db password in command line.</para>
++        </listitem>
++      </varlistentry>
++
++      <varlistentry>
++        <term>-Z algorithm</term>
++        <listitem>
++          <para>Specify the hash algorithm to use for signing the CRL.</para>
++        </listitem>
++      </varlistentry>
++
+     </variablelist>
+   </refsection>
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/certutil.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/certutil.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/certutil.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/certutil.html	2013-11-29 02:20:03.355129874 +0400
+@@ -1,31 +1,24 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CERTUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="CERTUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CERTUTIL</th></tr></table><hr></div><div class="refentry"><a name="certutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>certutil — Manage keys and certificate in the the NSS database.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">certutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idp225008"></a><h2>STATUS</h2><p>This documentation is still work in progress. Pl
 ease contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+-    </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Certificate Database Tool, <span class="command"><strong>certutil</strong></span>, is a command-line utility that manages certs and keys in both NSS databases and other NSS tokens (such as smart cards). It can specifically list, generate, modify, or delete certificates within the database, create or change the password, generate new public and private key pairs, display the contents of the key database, or delete key pairs within the key database.</p><p>The key and certificate management process generally includes certificate issuance once keys and certificates have been created in the key database. This document discusses certificate and key database management. For information security module database management, see the <span class="command"><strong>modutil</strong></span> manpage.</p></div><div class="refsection"><a name="options"></a><h2>Options and Arguments</h2><p>Running <span
  class="command"><strong>certutil</strong></span> always requires one and only one option to specify the type of certificate operation. Each option may take arguments, anywhere from none to multiple arguments. Run the command option and <code class="option">-H</code> to see the arguments available for each command option.</p><p><span class="command"><strong>Command Options</strong></span></p><p>Command options are typically upper case. </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-A </span></dt><dd><p>Add an existing certificate to a certificate database. The certificate database should already exist; if one is not present, this command option will initialize one by default. </p></dd><dt><span class="term">-B</span></dt><dd><p>Run a series of commands from the specified batch file. This requires the <code class="option">-i</code> argument.</p></dd><dt><span class="term">-C </span></dt><dd><p>Create a new binary certificate file from a binary 
 certificate request file. Use the <code class="option">-i</code> argument to specify the certificate request file. If this argument is not used, <span class="command"><strong>certutil</strong></span> prompts for a filename. </p></dd><dt><span class="term">-D </span></dt><dd><p>Delete a certificate from the certificate database.</p></dd><dt><span class="term">-E </span></dt><dd><p>Add an email certificate to the certificate database.</p></dd><dt><span class="term">-F</span></dt><dd><p>Delete a private key from a key database. Specify the key to delete with the -n argument. Specify the database from which to delete the key with the 
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CERTUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="CERTUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CERTUTIL</th></tr></table><hr></div><div class="refentry"><a name="certutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>certutil — Manage keys and certificate in both NSS databases and other NSS tokens</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">certutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idm207694846832"></a><h2>STATUS</h2><p>This documentation is st
 ill work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++    </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Certificate Database Tool, <span class="command"><strong>certutil</strong></span>, is a command-line utility that can create and modify certificate and key databases. It can specifically list, generate, modify, or delete certificates, create or change the password, generate new public and private key pairs, display the contents of the key database, or delete key pairs within the key database.</p><p>Certificate issuance, part of the key and certificate management process, requires that keys and certificates be created in the key database. This document discusses certificate and key database management. For information on the security module database management, see the <span class="command"><strong>modutil</strong></span> manpage.</p></div><div class="refsection"><a name="options"></a><h2>Command Options and Arguments</h2><p>Running <span class="command"><strong>certutil</strong></span
 > always requires one and only one command option to specify the type of certificate operation. Each command option may take zero or more arguments. The command option <code class="option">-H</code> will list all the command options and their relevant arguments.</p><p><span class="command"><strong>Command Options</strong></span></p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-A </span></dt><dd><p>Add an existing certificate to a certificate database. The certificate database should already exist; if one is not present, this command option will initialize one by default.</p></dd><dt><span class="term">-B</span></dt><dd><p>Run a series of commands from the specified batch file. This requires the <code class="option">-i</code> argument.</p></dd><dt><span class="term">-C </span></dt><dd><p>Create a new binary certificate file from a binary certificate request file. Use the <code class="option">-i</code> argument to specify the certificate request fi
 le. If this argument is not used, <span class="command"><strong>certutil</strong></span> prompts for a filename. </p></dd><dt><span class="term">-D </span></dt><dd><p>Delete a certificate from the certificate database.</p></dd><dt><span class="term">-E </span></dt><dd><p>Add an email certificate to the certificate database.</p></dd><dt><span class="term">-F</span></dt><dd><p>Delete a private key from a key database. Specify the key to delete with the -n argument. Specify the database from which to delete the key with the 
+ <code class="option">-d</code> argument. Use the <code class="option">-k</code> argument to specify explicitly whether to delete a DSA, RSA, or ECC key. If you don't use the <code class="option">-k</code> argument, the option looks for an RSA key matching the specified nickname. 
+ </p><p>
+-When you delete keys, be sure to also remove any certificates associated with those keys from the certificate database, by using -D. Some smart cards do not let you remove a public key you have generated. In such a case, only the private key is deleted from the key pair. You can display the public key with the command certutil -K -h tokenname. </p></dd><dt><span class="term">-G </span></dt><dd><p>Generate a new public and private key pair within a key database. The key database should already exist; if one is not present, this option will initialize one by default. Some smart cards can store only one key pair. If you create a new key pair for such a card, the previous pair is overwritten.</p></dd><dt><span class="term">-H </span></dt><dd><p>Display a list of the command options and arguments used by the Certificate Database Tool.</p></dd><dt><span class="term">-K </span></dt><dd><p>List the key ID of keys in the key database. A key ID is the modulus of the RSA key or the pu
 blicValue of the DSA key. IDs are displayed in hexadecimal ("0x" is not shown).</p></dd><dt><span class="term">-L </span></dt><dd><p>List all the certificates, or display information about a named certificate, in a certificate database.
++When you delete keys, be sure to also remove any certificates associated with those keys from the certificate database, by using -D. Some smart cards do not let you remove a public key you have generated. In such a case, only the private key is deleted from the key pair. You can display the public key with the command certutil -K -h tokenname. </p></dd><dt><span class="term">-G </span></dt><dd><p>Generate a new public and private key pair within a key database. The key database should already exist; if one is not present, this command option will initialize one by default. Some smart cards can store only one key pair. If you create a new key pair for such a card, the previous pair is overwritten.</p></dd><dt><span class="term">-H </span></dt><dd><p>Display a list of the command options and arguments.</p></dd><dt><span class="term">-K </span></dt><dd><p>List the key ID of keys in the key database. A key ID is the modulus of the RSA key or the publicValue of the DSA key. IDs 
 are displayed in hexadecimal ("0x" is not shown).</p></dd><dt><span class="term">-L </span></dt><dd><p>List all the certificates, or display information about a named certificate, in a certificate database.
+ Use the -h tokenname argument to specify the certificate database on a particular hardware or software token.</p></dd><dt><span class="term">-M </span></dt><dd><p>Modify a certificate's trust attributes using the values of the -t argument.</p></dd><dt><span class="term">-N</span></dt><dd><p>Create new certificate and key databases.</p></dd><dt><span class="term">-O </span></dt><dd><p>Print the certificate chain.</p></dd><dt><span class="term">-R</span></dt><dd><p>Create a certificate request file  that can be submitted to a Certificate Authority (CA) for processing into a finished certificate. Output defaults to standard out unless you use -o output-file argument.
+ 
+-Use the -a argument to specify ASCII output.</p></dd><dt><span class="term">-S </span></dt><dd><p>Create an individual certificate and add it to a certificate database.</p></dd><dt><span class="term">-T </span></dt><dd><p>Reset the key database or token.</p></dd><dt><span class="term">-U </span></dt><dd><p>List all available modules or print a single named module.</p></dd><dt><span class="term">-V </span></dt><dd><p>Check the validity of a certificate and its attributes.</p></dd><dt><span class="term">-W </span></dt><dd><p>Change the password to a key database.</p></dd><dt><span class="term">--merge</span></dt><dd><p>Merge a source database into the target database. This is used to merge legacy NSS databases (<code class="filename">cert8.db</code> and <code class="filename">key3.db</code>) into the newer SQLite databases (<code class="filename">cert9.db</code> and <code class="filename">key4.db</code>).</p></dd><dt><span class="term">--upgrade-merge</span></dt><dd><p>Upgrad
 e an old database and merge it into a new database. This is used to migrate legacy NSS databases (<code class="filename">cert8.db</code> and <code class="filename">key3.db</code>) into the newer SQLite databases (<code class="filename">cert9.db</code> and <code class="filename">key4.db</code>).</p></dd></dl></div><p><span class="command"><strong>Arguments</strong></span></p><p>Arguments modify a command option and are usually lower case, numbers, or symbols.</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-a</span></dt><dd><p>Use ASCII format or allow the use of ASCII format for input or output. This formatting follows RFC 1113. 
++Use the -a argument to specify ASCII output.</p></dd><dt><span class="term">-S </span></dt><dd><p>Create an individual certificate and add it to a certificate database.</p></dd><dt><span class="term">-T </span></dt><dd><p>Reset the key database or token.</p></dd><dt><span class="term">-U </span></dt><dd><p>List all available modules or print a single named module.</p></dd><dt><span class="term">-V </span></dt><dd><p>Check the validity of a certificate and its attributes.</p></dd><dt><span class="term">-W </span></dt><dd><p>Change the password to a key database.</p></dd><dt><span class="term">--merge</span></dt><dd><p>Merge two databases into one.</p></dd><dt><span class="term">--upgrade-merge</span></dt><dd><p>Upgrade an old database and merge it into a new database. This is used to migrate legacy NSS databases (<code class="filename">cert8.db</code> and <code class="filename">key3.db</code>) into the newer SQLite databases (<code class="filename">cert9.db</code> and <code 
 class="filename">key4.db</code>).</p></dd></dl></div><p><span class="command"><strong>Arguments</strong></span></p><p>Arguments modify a command option and are usually lower case, numbers, or symbols.</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-a</span></dt><dd><p>Use ASCII format or allow the use of ASCII format for input or output. This formatting follows RFC 1113. 
+ For certificate requests, ASCII output defaults to standard output unless redirected.</p></dd><dt><span class="term">-b validity-time</span></dt><dd><p>Specify a time at which a certificate is required to be valid. Use when checking certificate validity with the <code class="option">-V</code> option. The format of the <span class="emphasis"><em>validity-time</em></span> argument is <span class="emphasis"><em>YYMMDDHHMMSS[+HHMM|-HHMM|Z]</em></span>, which allows offsets to be set relative to the validity end time. Specifying seconds (<span class="emphasis"><em>SS</em></span>) is optional. When specifying an explicit time, use a Z at the end of the term, <span class="emphasis"><em>YYMMDDHHMMSSZ</em></span>, to close it. When specifying an offset time, use <span class="emphasis"><em>YYMMDDHHMMSS+HHMM</em></span> or <span class="emphasis"><em>YYMMDDHHMMSS-HHMM</em></span> for adding or subtracting time, respectively.
+ </p><p>
+ If this option is not used, the validity check defaults to the current system time.</p></dd><dt><span class="term">-c issuer</span></dt><dd><p>Identify the certificate of the CA from which a new certificate will derive its authenticity. 
+  Use the exact nickname or alias of the CA certificate, or use the CA's email address. Bracket the issuer string 
+- with quotation marks if it contains spaces. </p></dd><dt><span class="term">-d [prefix]directory</span></dt><dd><p>Specify the database directory containing the certificate and key database files.</p><p><span class="command"><strong>certutil</strong></span> supports two types of databases: the legacy security databases (<code class="filename">cert8.db</code>, <code class="filename">key3.db</code>, and <code class="filename">secmod.db</code>) and new SQLite databases (<code class="filename">cert9.db</code>, <code class="filename">key4.db</code>, and <code class="filename">pkcs11.txt</code>). If the prefix <span class="command"><strong>sql:</strong></span> is not used, then the tool assumes that the given databases are in the old format.</p><p>NSS recognizes the following prefixes:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="command"><strong>sql: explicitly requests the newer database</strong></sp
 an></p></li><li class="listitem"><p><span class="command"><strong>dbm: explicitly requests the older database</strong></span></p></li><li class="listitem"><p><span class="command"><strong>extern: explicitly reserved for future use</strong></span></p></li></ul></div></dd><dt><span class="term">-e </span></dt><dd><p>Check a certificate's signature during the process of validating a certificate.</p></dd><dt><span class="term">-f password-file</span></dt><dd><p>Specify a file that will automatically supply the password to include in a certificate 
++ with quotation marks if it contains spaces. </p></dd><dt><span class="term">-d [prefix]directory</span></dt><dd><p>Specify the database directory containing the certificate and key database files.</p><p><span class="command"><strong>certutil</strong></span> supports two types of databases: the legacy security databases (<code class="filename">cert8.db</code>, <code class="filename">key3.db</code>, and <code class="filename">secmod.db</code>) and new SQLite databases (<code class="filename">cert9.db</code>, <code class="filename">key4.db</code>, and <code class="filename">pkcs11.txt</code>). </p><p>NSS recognizes the following prefixes:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="command"><strong>sql: requests the newer database</strong></span></p></li><li class="listitem"><p><span class="command"><strong>dbm: requests the legacy database</strong></span></p></li></ul></div><p>If no prefix is spec
 ified the default type is retrieved from NSS_DEFAULT_DB_TYPE. If NSS_DEFAULT_DB_TYPE is not set then dbm: is the default.</p></dd><dt><span class="term">-e </span></dt><dd><p>Check a certificate's signature during the process of validating a certificate.</p></dd><dt><span class="term">-f password-file</span></dt><dd><p>Specify a file that will automatically supply the password to include in a certificate 
+  or to access a certificate database. This is a plain-text file containing one password. Be sure to prevent 
+- unauthorized access to this file.</p></dd><dt><span class="term">-g keysize</span></dt><dd><p>Set a key size to use when generating new public and private key pairs. The minimum is 512 bits and the maximum is 8192 bits. The default is 1024 bits. Any size between the minimum and maximum is allowed.</p></dd><dt><span class="term">-h tokenname</span></dt><dd><p>Specify the name of a token to use or act on. Unless specified otherwise the default token is an internal slot.</p></dd><dt><span class="term">-i input_file</span></dt><dd><p>Pass an input file to the command. Depending on the command option, an input file can be a specific certificate, a certificate request file, or a batch file of commands.</p></dd><dt><span class="term">-k rsa|dsa|ec|all</span></dt><dd><p>Specify the type of a key. The valid options are RSA, DSA, ECC, or all. The default value is rsa. Specifying the type of key can avoid mistakes caused by duplicate nicknames.</p></dd><dt><span class="term">-k key-t
 ype-or-id</span></dt><dd><p>Specify the type or specific ID of a key. </p><p>
+-           The valid key type options are RSA, DSA, ECC, or all. The default 
++ unauthorized access to this file.</p></dd><dt><span class="term">-g keysize</span></dt><dd><p>Set a key size to use when generating new public and private key pairs. The minimum is 512 bits and the maximum is 8192 bits. The default is 1024 bits. Any size between the minimum and maximum is allowed.</p></dd><dt><span class="term">-h tokenname</span></dt><dd><p>Specify the name of a token to use or act on. If not specified the default token is the internal database slot.</p></dd><dt><span class="term">-i input_file</span></dt><dd><p>Pass an input file to the command. Depending on the command option, an input file can be a specific certificate, a certificate request file, or a batch file of commands.</p></dd><dt><span class="term">-k key-type-or-id</span></dt><dd><p>Specify the type or specific ID of a key.</p><p>
++           The valid key type options are rsa, dsa, ec, or all. The default 
+            value is rsa. Specifying the type of key can avoid mistakes caused by
+            duplicate nicknames. Giving a key type generates a new key pair; 
+            giving the ID of an existing key reuses that key pair (which is 
+            required to renew certificates).
+-          </p><p>
+-           The valid key type options are RSA, DSA, ECC, or all. The default 
+-           value is rsa. Specifying the type of key can avoid mistakes caused by
+-           duplicate nicknames. Giving a key type generates a new key pair; 
+-           giving the ID of an existing key reuses that key pair (which is 
+-           required to renew certificates).
+-          </p></dd><dt><span class="term">-l </span></dt><dd><p>Display detailed information when validating a certificate with the -V option.</p></dd><dt><span class="term">-m serial-number</span></dt><dd><p>Assign a unique serial number to a certificate being created. This operation should be performed by a CA. If no serial number is 
+-           provided a default serial number is made from the current time. Serial numbers are limited to integers </p></dd><dt><span class="term">-n nickname</span></dt><dd><p>Specify the nickname of a certificate or key to list, create, add to a database, modify, or validate. Bracket the nickname string with quotation marks if it contains spaces.</p></dd><dt><span class="term">-o output-file</span></dt><dd><p>Specify the output file name for new certificates or binary certificate requests. Bracket the output-file string with quotation marks if it contains spaces. If this argument is not used the output destination defaults to standard output.</p></dd><dt><span class="term">-P dbPrefix</span></dt><dd><p>Specify the prefix used on the certificate and key database file. This argument is provided to support legacy servers. Most applications do not use a database prefix.</p></dd><dt><span class="term">-p phone</span></dt><dd><p>Specify a contact telephone number to include in n
 ew certificates or certificate requests. Bracket this string with quotation marks if it contains spaces.</p></dd><dt><span class="term">-q pqgfile or curve-name</span></dt><dd><p>Read an alternate PQG value from the specified file when generating DSA key pairs. If this argument is not used, <span class="command"><strong>certutil</strong></span> generates its own PQG value. PQG files are created with a separate DSA utility.</p><p>Elliptic curve name is one of the ones from SUITE B: nistp256, nistp384, nistp521</p><p>
++          </p></dd><dt><span class="term">-l </span></dt><dd><p>Display detailed information when validating a certificate with the -V option.</p></dd><dt><span class="term">-m serial-number</span></dt><dd><p>Assign a unique serial number to a certificate being created. This operation should be performed by a CA. If no serial number is provided a default serial number is made from the current time. Serial numbers are limited to integers </p></dd><dt><span class="term">-n nickname</span></dt><dd><p>Specify the nickname of a certificate or key to list, create, add to a database, modify, or validate. Bracket the nickname string with quotation marks if it contains spaces.</p></dd><dt><span class="term">-o output-file</span></dt><dd><p>Specify the output file name for new certificates or binary certificate requests. Bracket the output-file string with quotation marks if it contains spaces. If this argument is not used the output destination defaults to standard output.</p></dd><
 dt><span class="term">-P dbPrefix</span></dt><dd><p>Specify the prefix used on the certificate and key database file. This argument is provided to support legacy servers. Most applications do not use a database prefix.</p></dd><dt><span class="term">-p phone</span></dt><dd><p>Specify a contact telephone number to include in new certificates or certificate requests. Bracket this string with quotation marks if it contains spaces.</p></dd><dt><span class="term">-q pqgfile or curve-name</span></dt><dd><p>Read an alternate PQG value from the specified file when generating DSA key pairs. If this argument is not used, <span class="command"><strong>certutil</strong></span> generates its own PQG value. PQG files are created with a separate DSA utility.</p><p>Elliptic curve name is one of the ones from SUITE B: nistp256, nistp384, nistp521</p><p>
+            If NSS has been compiled with support curves outside of SUITE B:
+               sect163k1, nistk163, sect163r1, sect163r2,            
+               nistb163,  sect193r1, sect193r2, sect233k1, nistk233,            
+@@ -55,7 +48,7 @@
+ 	</p></li><li class="listitem"><p>
+ 		<span class="command"><strong>T</strong></span> - Trusted CA (implies c)
+ 	</p></li><li class="listitem"><p>
+-		<span class="command"><strong>C</strong></span> - rusted CA for client authentication (ssl server only)
++		<span class="command"><strong>C</strong></span> - trusted CA for client authentication (ssl server only)
+ 	</p></li><li class="listitem"><p>
+ 		<span class="command"><strong>u</strong></span> - user
+ 	</p></li></ul></div><p>
+@@ -116,7 +109,12 @@
+ 		msTrustListSign
+ 	</p></li><li class="listitem"><p>
+ 		critical
+-	</p></li></ul></div><p>X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">-7 emailAddrs</span></dt><dd><p>Add a comma-separated list of email addresses to the subject alternative name extension of a certificate or certificate request that is being created or added to the database. Subject alternative name extensions are described in Section 4.2.1.7 of RFC 3280.</p></dd><dt><span class="term">-8 dns-names</span></dt><dd><p>Add a comma-separated list of DNS names to the subject alternative name extension of a certificate or certificate request that is being created or added to the database. Subject alternative name extensions are described in Section 4.2.1.7 of RFC 3280.</p></dd><dt><span class="term">--extAIA</span></dt><dd><p>Add the Authority Information Access extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extSIA</span></dt><dd><p>Add the Subject Information Access
  extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extCP</span></dt><dd><p>Add the Certificate Policies extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extPM</span></dt><dd><p>Add the Policy Mappings extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extPC</span></dt><dd><p>Add the Policy Constraints extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extIA</span></dt><dd><p>Add the Inhibit Any Policy Access extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extSKID</span></dt><dd><p>Add the Subject Key ID extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--source-dir cert
 dir</span></dt><dd><p>Identify the certificate database directory to upgrade.</p></dd><dt><span class="term">--source-prefix certdir</span></dt><dd><p>Give the prefix of the certificate and key databases to upgrade.</p></dd><dt><span class="term">--upgrade-id uniqueID</span></dt><dd><p>Give the unique ID of the database to upgrade.</p></dd><dt><span class="term">--upgrade-token-name name</span></dt><dd><p>Set the name of the token to use while it is being upgraded.</p></dd><dt><span class="term">-@ pwfile</span></dt><dd><p>Give the name of a password file to use for the database being upgraded.</p></dd></dl></div></div><div class="refsection"><a name="basic-usage"></a><h2>Usage and Examples</h2><p>
++	</p></li></ul></div><p>X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">-7 emailAddrs</span></dt><dd><p>Add a comma-separated list of email addresses to the subject alternative name extension of a certificate or certificate request that is being created or added to the database. Subject alternative name extensions are described in Section 4.2.1.7 of RFC 3280.</p></dd><dt><span class="term">-8 dns-names</span></dt><dd><p>Add a comma-separated list of DNS names to the subject alternative name extension of a certificate or certificate request that is being created or added to the database. Subject alternative name extensions are described in Section 4.2.1.7 of RFC 3280.</p></dd><dt><span class="term">--extAIA</span></dt><dd><p>Add the Authority Information Access extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extSIA</span></dt><dd><p>Add the Subject Information Access
  extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extCP</span></dt><dd><p>Add the Certificate Policies extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extPM</span></dt><dd><p>Add the Policy Mappings extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extPC</span></dt><dd><p>Add the Policy Constraints extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extIA</span></dt><dd><p>Add the Inhibit Any Policy Access extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extSKID</span></dt><dd><p>Add the Subject Key ID extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--extNC</span></d
 t><dd><p>Add a Name Constraint extension to the certificate. X.509 certificate extensions are described in RFC 5280.</p></dd><dt><span class="term">--keyAttrFlags attrflags</span></dt><dd><p>
++PKCS #11 key Attributes. Comma separated list of key attribute flags, selected from the following list of choices: {token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable}</p></dd><dt><span class="term">--keyFlagsOn opflags, </span><span class="term">--keyFlagsOff opflags</span></dt><dd><p>
++PKCS #11 key Operation Flags.
++Comma separated list of one or more of the following:
++{token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable}
++          </p></dd><dt><span class="term">--source-dir certdir</span></dt><dd><p>Identify the certificate database directory to upgrade.</p></dd><dt><span class="term">--source-prefix certdir</span></dt><dd><p>Give the prefix of the certificate and key databases to upgrade.</p></dd><dt><span class="term">--upgrade-id uniqueID</span></dt><dd><p>Give the unique ID of the database to upgrade.</p></dd><dt><span class="term">--upgrade-token-name name</span></dt><dd><p>Set the name of the token to use while it is being upgraded.</p></dd><dt><span class="term">-@ pwfile</span></dt><dd><p>Give the name of a password file to use for the database being upgraded.</p></dd></dl></div></div><div class="refsection"><a name="basic-usage"></a><h2>Usage and Examples</h2><p>
+ 		Most of the command options in the examples listed here have more arguments available. The arguments included in these examples are the most common ones or are used to illustrate a specific scenario. Use the <code class="option">-H</code> option to show the complete list of arguments for each command option.
+ 	</p><p><span class="command"><strong>Creating New Security Databases</strong></span></p><p>
+ 		Certificates, keys, and security modules related to managing certificates are stored in three related databases:
+@@ -144,44 +142,25 @@
+ 		The new certificate request can be output in ASCII format (<code class="option">-a</code>) or can be written to a specified file (<code class="option">-o</code>).
+ 	</p><p>
+ 		For example:
+-	</p><pre class="programlisting">$ certutil -R -k ec -q nistb409 -g 512 -s "CN=John Smith,O=Example Corp,L=Mountain View,ST=California,C=US" -d sql:/home/my/sharednssdb -p 650-555-0123 -a -o cert.cer
++	</p><pre class="programlisting">$ certutil -R -k rsa -g 1024 -s "CN=John Smith,O=Example Corp,L=Mountain View,ST=California,C=US" -d sql:$HOME/nssdb -p 650-555-0123 -a -o cert.cer
+ 
+ Generating key.  This may take a few moments...
+ 
+-
+-Certificate request generated by Netscape 
+-Phone: 650-555-0123
+-Common Name: John Smith
+-Email: (not ed)
+-Organization: Example Corp
+-State: California
+-Country: US
+-
+------BEGIN NEW CERTIFICATE REQUEST-----
+-MIIBIDCBywIBADBmMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEW
+-MBQGA1UEBxMNTW91bnRhaW4gVmlldzEVMBMGA1UEChMMRXhhbXBsZSBDb3JwMRMw
+-EQYDVQQDEwpKb2huIFNtaXRoMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMVUpDOZ
+-KmHnOx7reP8Cc0Lk+fFWEuYIDX9W5K/BioQOKvEjXyQZhit9aThzBVMoSf1Y1S8J
+-CzdUbCg1+IbnXaECAwEAAaAAMA0GCSqGSIb3DQEBBQUAA0EAryqZvpYrUtQ486Ny
+-qmtyQNjIi1F8c1Z+TL4uFYlMg8z6LG/J/u1E5t1QqB5e9Q4+BhRbrQjRR1JZx3tB
+-1hP9Gg==
+------END NEW CERTIFICATE REQUEST-----</pre><p><span class="command"><strong>Creating a Certificate</strong></span></p><p>
++</pre><p><span class="command"><strong>Creating a Certificate</strong></span></p><p>
+ 		A valid certificate must be issued by a trusted CA. This can be done by specifying a CA certificate (<code class="option">-c</code>) that is stored in the certificate database. If a CA key pair is not available, you can create a self-signed certificate using the <code class="option">-x</code> argument with the <code class="option">-S</code> command option.
+ 	</p><pre class="programlisting">$ certutil -S -k rsa|dsa|ec -n certname -s subject [-c issuer |-x] -t trustargs -d [sql:]directory [-m serial-number] [-v valid-months] [-w offset-months] [-p phone] [-1] [-2] [-3] [-4] [-5 keyword] [-6 keyword] [-7 emailAddress] [-8 dns-names] [--extAIA] [--extSIA] [--extCP] [--extPM] [--extPC] [--extIA] [--extSKID]</pre><p>
+-		The series of numbers and <code class="option">--ext*</code> options set certificate extensions that can be added to the certificate when it is generated by the CA.
++		The series of numbers and <code class="option">--ext*</code> options set certificate extensions that can be added to the certificate when it is generated by the CA. Interactive prompts will result.
+ 	</p><p>
+ 		For example, this creates a self-signed certificate:
+ 	</p><pre class="programlisting">$ certutil -S -s "CN=Example CA" -n my-ca-cert -x -t "C,C,C" -1 -2 -5 -m 3650</pre><p>
++The interative prompts for key usage and whether any extensions are critical and responses have been ommitted for brevity.
++	</p><p>
+ 		From there, new certificates can reference the self-signed certificate:
+ 	</p><pre class="programlisting">$ certutil -S -s "CN=My Server Cert" -n my-server-cert -c "my-ca-cert" -t "u,u,u" -1 -5 -6 -8 -m 730</pre><p><span class="command"><strong>Generating a Certificate from a Certificate Request</strong></span></p><p>
+ 		When a certificate request is created, a certificate can be generated by using the request and then referencing a certificate authority signing certificate (the <span class="emphasis"><em>issuer</em></span> specified in the <code class="option">-c</code> argument). The issuing certificate must be in the certificate database in the specified directory.
+ 	</p><pre class="programlisting">certutil -C -c issuer -i cert-request-file -o output-file [-m serial-number] [-v valid-months] [-w offset-months] -d [sql:]directory [-1] [-2] [-3] [-4] [-5 keyword] [-6 keyword] [-7 emailAddress] [-8 dns-names]</pre><p>
+ 		For example:
+-	</p><pre class="programlisting">$ certutil -C -c "my-ca-cert" -i /home/certs/cert.req -o cert.cer -m 010 -v 12 -w 1 -d sql:/home/my/sharednssdb -1 nonRepudiation,dataEncipherment -5 sslClient -6 clientAuth -7 jsmith at example.com</pre><p><span class="command"><strong>Generating Key Pairs</strong></span></p><p>
+-		Key pairs are generated automatically with a certificate request or certificate, but they can also be generated independently using the <code class="option">-G</code> command option. 
+-	</p><pre class="programlisting">certutil -G -d [sql:]directory | -h tokenname -k key-type -g key-size [-y exponent-value] -q pqgfile|curve-name</pre><p>
+-		For example:
+-	</p><pre class="programlisting">$ certutil -G -h lunasa -k ec -g 256 -q sect193r2</pre><p><span class="command"><strong>Listing Certificates</strong></span></p><p>
++	</p><pre class="programlisting">$ certutil -C -c "my-ca-cert" -i /home/certs/cert.req -o cert.cer -m 010 -v 12 -w 1 -d sql:$HOME/nssdb -1 nonRepudiation,dataEncipherment -5 sslClient -6 clientAuth -7 jsmith at example.com</pre><p><span class="command"><strong>Listing Certificates</strong></span></p><p>
+ 		The <code class="option">-L</code> command option lists all of the certificates listed in the certificate database. The path to the directory (<code class="option">-d</code>) is required.
+ 	</p><pre class="programlisting">$ certutil -L -d sql:/home/my/sharednssdb
+ 
+@@ -193,34 +172,89 @@
+ Google Internet Authority                                    ,,   
+ Certificate Authority - Example Domain                       CT,C,C</pre><p>
+ 		Using additional arguments with <code class="option">-L</code> can return and print the information for a single, specific certificate. For example, the <code class="option">-n</code> argument passes the certificate name, while the <code class="option">-a</code> argument prints the certificate in ASCII format:
+-	</p><pre class="programlisting">$ certutil -L -d sql:/home/my/sharednssdb -a -n "Certificate Authority - Example Domain"
+-
++	</p><pre class="programlisting">
++$ certutil -L -d sql:$HOME/nssdb -a -n my-ca-cert
+ -----BEGIN CERTIFICATE-----
+-MIIDmTCCAoGgAwIBAgIBATANBgkqhkiG9w0BAQUFADA5MRcwFQYDVQQKEw5FeGFt
+-cGxlIERvbWFpbjEeMBwGA1UEAxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEw
+-MDQyOTIxNTY1OFoXDTEyMDQxODIxNTY1OFowOTEXMBUGA1UEChMORXhhbXBsZSBE
+-b21haW4xHjAcBgNVBAMTFUNlcnRpZmljYXRlIEF1dGhvcml0eTCCASIwDQYJKoZI
+-hvcNAQEBBQADggEPADCCAQoCggEBAO/bqUli2KwqXFKmMMG93KN1SANzNTXA/Vlf
+-Tmrih3hQgjvR1ktIY9aG6cB7DSKWmtHp/+p4PUCMqL4ZrSGt901qxkePyZ2dYmM2
+-RnelK+SEUIPiUtoZaDhNdiYsE/yuDE8vQWj0vHCVL0w72qFUcSQ/WZT7FCrnUIUI
+-udeWnoPSUn70gLhcj/lvxl7K9BHyD4Sq5CzktwYtFWLiiwV+ZY/Fl6JgbGaQyQB2
+-bP4iRMfloGqsxGuB1evWVDF1haGpFDSPgMnEPSLg3/3dXn+HDJbZ29EU8/xKzQEb
+-3V0AHKbu80zGllLEt2Zx/WDIrgJEN9yMfgKFpcmL+BvIRsmh0VsCAwEAAaOBqzCB
+-qDAfBgNVHSMEGDAWgBQATgxHQyRUfKIZtdp55bZlFr+tFzAPBgNVHRMBAf8EBTAD
+-AQH/MA4GA1UdDwEB/wQEAwIBxjAdBgNVHQ4EFgQUAE4MR0MkVHyiGbXaeeW2ZRa/
+-rRcwRQYIKwYBBQUHAQEEOTA3MDUGCCsGAQUFBzABhilodHRwOi8vbG9jYWxob3N0
+-LmxvY2FsZG9tYWluOjkxODAvY2Evb2NzcDANBgkqhkiG9w0BAQUFAAOCAQEAi8Gk
+-L3XO43u7/TDOeEsWPmq+jZsDZ3GZ85Ajt3KROLWeKVZZZa2E2Hnsvf2uXbk5amKe
+-lRxdSeRH9g85pv4KY7Z8xZ71NrI3+K3uwmnqkc6t0hhYb1mw/gx8OAAoluQx3biX
+-JBDxjI73Cf7XUopplHBjjiwyGIJUO8BEZJ5L+TF4P38MJz1snLtzZpEAX5bl0U76
+-bfu/tZFWBbE8YAWYtkCtMcalBPj6jn2WD3M01kGozW4mmbvsj1cRB9HnsGsqyHCu
+-U0ujlL1H/RWcjn607+CTeKH9jLMUqCIqPJNOa+kq/6F7NhNRRiuzASIbZc30BZ5a
+-nI7q5n1USM3eWQlVXw==
+------END CERTIFICATE-----</pre><p><span class="command"><strong>Listing Keys</strong></span></p><p>
++MIIB1DCCAT2gAwIBAgICDkIwDQYJKoZIhvcNAQEFBQAwFTETMBEGA1UEAxMKRXhh
++bXBsZSBDQTAeFw0xMzAzMTMxOTEwMjlaFw0xMzA2MTMxOTEwMjlaMBUxEzARBgNV
++BAMTCkV4YW1wbGUgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ4Kzqvz
++JyBVgFqDXRYSyTBNw1DrxUU/3GvWA/ngjAwHEv0Cul/6sO/gsCvnABHiH6unns6x
++XRzPORlC2WY3gkk7vmlsLvYpyecNazAi/NAwVnU/66HOsaoVFWE+gBQo99UrN2yk
++0BiK/GMFlLm5dXQROgA9ZKKyFdI0LIXtf6SbAgMBAAGjMzAxMBEGCWCGSAGG+EIB
++AQQEAwIHADAMBgNVHRMEBTADAQH/MA4GA1UdDwEB/wQEAwICBDANBgkqhkiG9w0B
++AQUFAAOBgQA6chkzkACN281d1jKMrc+RHG2UMaQyxiteaLVZO+Ro1nnRUvseDf09
++XKYFwPMJjWCihVku6bw/ihZfuMHhxK22Nue6inNQ6eDu7WmrqL8z3iUrQwxs+WiF
++ob2rb8XRVVJkzXdXxlk4uo3UtNvw8sAz7sWD71qxKaIHU5q49zijfg==
++-----END CERTIFICATE-----
++</pre><p>For a human-readable display</p><pre class="programlisting">$ certutil -L -d sql:$HOME/nssdb -n my-ca-cert
++Certificate:
++    Data:
++        Version: 3 (0x2)
++        Serial Number: 3650 (0xe42)
++        Signature Algorithm: PKCS #1 SHA-1 With RSA Encryption
++        Issuer: "CN=Example CA"
++        Validity:
++            Not Before: Wed Mar 13 19:10:29 2013
++            Not After : Thu Jun 13 19:10:29 2013
++        Subject: "CN=Example CA"
++        Subject Public Key Info:
++            Public Key Algorithm: PKCS #1 RSA Encryption
++            RSA Public Key:
++                Modulus:
++                    9e:0a:ce:ab:f3:27:20:55:80:5a:83:5d:16:12:c9:30:
++                    4d:c3:50:eb:c5:45:3f:dc:6b:d6:03:f9:e0:8c:0c:07:
++                    12:fd:02:ba:5f:fa:b0:ef:e0:b0:2b:e7:00:11:e2:1f:
++                    ab:a7:9e:ce:b1:5d:1c:cf:39:19:42:d9:66:37:82:49:
++                    3b:be:69:6c:2e:f6:29:c9:e7:0d:6b:30:22:fc:d0:30:
++                    56:75:3f:eb:a1:ce:b1:aa:15:15:61:3e:80:14:28:f7:
++                    d5:2b:37:6c:a4:d0:18:8a:fc:63:05:94:b9:b9:75:74:
++                    11:3a:00:3d:64:a2:b2:15:d2:34:2c:85:ed:7f:a4:9b
++                Exponent: 65537 (0x10001)
++        Signed Extensions:
++            Name: Certificate Type
++            Data: none
++
++            Name: Certificate Basic Constraints
++            Data: Is a CA with no maximum path length.
++
++            Name: Certificate Key Usage
++            Critical: True
++            Usages: Certificate Signing
++
++    Signature Algorithm: PKCS #1 SHA-1 With RSA Encryption
++    Signature:
++        3a:72:19:33:90:00:8d:db:cd:5d:d6:32:8c:ad:cf:91:
++        1c:6d:94:31:a4:32:c6:2b:5e:68:b5:59:3b:e4:68:d6:
++        79:d1:52:fb:1e:0d:fd:3d:5c:a6:05:c0:f3:09:8d:60:
++        a2:85:59:2e:e9:bc:3f:8a:16:5f:b8:c1:e1:c4:ad:b6:
++        36:e7:ba:8a:73:50:e9:e0:ee:ed:69:ab:a8:bf:33:de:
++        25:2b:43:0c:6c:f9:68:85:a1:bd:ab:6f:c5:d1:55:52:
++        64:cd:77:57:c6:59:38:ba:8d:d4:b4:db:f0:f2:c0:33:
++        ee:c5:83:ef:5a:b1:29:a2:07:53:9a:b8:f7:38:a3:7e
++    Fingerprint (MD5):
++        86:D8:A5:8B:8A:26:BE:9E:17:A8:7B:66:10:6B:27:80
++    Fingerprint (SHA1):
++        48:78:09:EF:C5:D4:0C:BD:D2:64:45:59:EB:03:13:15:F7:A9:D6:F7
++
++    Certificate Trust Flags:
++        SSL Flags:
++            Valid CA
++            Trusted CA
++            User
++        Email Flags:
++            Valid CA
++            Trusted CA
++            User
++        Object Signing Flags:
++            Valid CA
++            Trusted CA
++            User
++
++</pre><p><span class="command"><strong>Listing Keys</strong></span></p><p>
+ 		Keys are the original material used to encrypt certificate data. The keys generated for certificates are stored separately, in the key database. 
+ 	</p><p>
+ 		To list all keys in the database, use the <code class="option">-K</code> command option and the (required) <code class="option">-d</code> argument to give the path to the directory.
+-	</p><pre class="programlisting">$ certutil -K -d sql:/home/my/sharednssdb
++	</p><pre class="programlisting">$ certutil -K -d sql:$HOME/nssdb
+ certutil: Checking token "NSS Certificate DB" in slot "NSS User Private Key and Certificate Services                  "
+ &lt; 0&gt; rsa      455a6673bde9375c2887ec8bf8016b3f9f35861d   Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ID
+ &lt; 1&gt; rsa      40defeeb522ade11090eacebaaf1196a172127df   Example Domain Administrator Cert
+@@ -291,12 +325,12 @@
+ 		</p></li></ul></div><p>BerkeleyDB has performance limitations, though, which prevent it from being easily used by multiple applications simultaneously. NSS has 
+ some flexibility that allows applications to use their own, independent database engine while keeping a shared database and working around the access issues. Still, NSS
+ requires more flexibility to provide a truly shared security database.</p><p>In 2009, NSS introduced a new set of databases that are SQLite databases rather than 
+-BerkleyDB. These new databases provide more accessibility and performance:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
++BerkeleyDB. These new databases provide more accessibility and performance:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+ 			cert9.db for certificates
+ 		</p></li><li class="listitem"><p>
+ 			key4.db for keys
+ 		</p></li><li class="listitem"><p>
+-			pkcs11.txt, which is listing of all of the PKCS #11 modules contained in a new subdirectory in the security databases directory
++			pkcs11.txt, a listing of all of the PKCS #11 modules, contained in a new subdirectory in the security databases directory
+ 		</p></li></ul></div><p>Because the SQLite databases are designed to be shared, these are the <span class="emphasis"><em>shared</em></span> database type. The shared database type is preferred; the legacy format is included for backward compatibility.</p><p>By default, the tools (<span class="command"><strong>certutil</strong></span>, <span class="command"><strong>pk12util</strong></span>, <span class="command"><strong>modutil</strong></span>) assume that the given security databases follow the more common legacy type. 
+ Using the SQLite databases must be manually specified by using the <span class="command"><strong>sql:</strong></span> prefix with the given security directory. For example:</p><pre class="programlisting">$ certutil -L -d sql:/home/my/sharednssdb</pre><p>To set the shared database type as the default type for the tools, set the <code class="envar">NSS_DEFAULT_DB_TYPE</code> environment variable to <code class="envar">sql</code>:</p><pre class="programlisting">export NSS_DEFAULT_DB_TYPE="sql"</pre><p>This line can be set added to the <code class="filename">~/.bashrc</code> file to make the change permanent.</p><p>Most applications do not use the shared database by default, but they can be configured to use them. For example, this how-to article covers how to configure Firefox and Thunderbird to use the new shared NSS databases:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB_Howto</p></li></ul></div><p>For an engineering draft on the changes in the shared NSS databases, see the NSS project wiki:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+@@ -310,9 +344,7 @@
+ 	</p></li></ul></div><p>The NSS wiki has information on the new database design and how to configure applications to use it.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB_Howto</p></li><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB
+-		</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++		</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/cmsutil.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/cmsutil.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/cmsutil.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/cmsutil.html	2013-11-29 02:20:03.355129874 +0400
+@@ -1,4 +1,4 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CMSUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="CMSUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CMSUTIL</th></tr></table><hr></div><div class="refentry"><a name="cmsutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cmsutil — Performs basic cryptograpic operations, such as encryption and decryption, on Cryptographic Message Syntax (CMS) messages.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">cmsutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idp187936"></a><h
 2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CMSUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="CMSUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CMSUTIL</th></tr></table><hr></div><div class="refentry"><a name="cmsutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cmsutil — Performs basic cryptograpic operations, such as encryption and decryption, on Cryptographic Message Syntax (CMS) messages.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">cmsutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idm207695361776">
 </a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The <span class="command"><strong>cmsutil</strong></span> command-line uses the S/MIME Toolkit to perform basic operations, such as encryption and decryption, on Cryptographic Message Syntax (CMS) messages.
+ 	</p><p>
+ To run cmsutil, type the command cmsutil option [arguments] where option and arguments are combinations of the options and arguments listed in the following section. 
+@@ -8,10 +8,10 @@
+ 	</p><p><span class="command"><strong>Options</strong></span></p><p>
+ Options specify an action. Option arguments modify an action. 
+ The options and arguments for the cmsutil command are defined as follows:
+-    </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-D </span></dt><dd><p>Decode a message.</p></dd><dt><span class="term">-C</span></dt><dd><p>Encrypt a message.</p></dd><dt><span class="term">-E </span></dt><dd><p>Envelope a message.</p></dd><dt><span class="term">-O </span></dt><dd><p>Create a certificates-only message.</p></dd><dt><span class="term">-S </span></dt><dd><p>Sign a message.</p></dd></dl></div><p><span class="command"><strong>Arguments</strong></span></p><p>Option arguments modify an action and are lowercase.</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-c content </span></dt><dd><p>Use this detached content (decode only).</p></dd><dt><span class="term">-d dbdir</span></dt><dd><p>Specify the key/certificate database directory (default is ".")</p></dd><dt><span class="term">-e envfile</span></dt><dd><p>Specify a file containing an enveloped message for a set of recipients to which you would like to
  send an encrypted message. If this is the first encrypted message for that set of recipients, a new enveloped message will be created that you can then use for future messages (encrypt only).</p></dd><dt><span class="term">-G</span></dt><dd><p>Include a signing time attribute (sign only).</p></dd><dt><span class="term">-h num</span></dt><dd><p>Generate email headers with info about CMS message (decode only).</p></dd><dt><span class="term">-i infile</span></dt><dd><p>Use infile as a source of data (default is stdin).</p></dd><dt><span class="term">-N nickname</span></dt><dd><p>Specify nickname of certificate to sign with (sign only).</p></dd><dt><span class="term">-n </span></dt><dd><p>Suppress output of contents (decode only).</p></dd><dt><span class="term">-o outfile</span></dt><dd><p>Use outfile as a destination of data (default is stdout).</p></dd><dt><span class="term">-P</span></dt><dd><p>Include an S/MIME capabilities attribute.</p></dd><dt><span class="term">-p passw
 ord</span></dt><dd><p>Use password as key database password.</p></dd><dt><span class="term">-r recipient1,recipient2, ...</span></dt><dd><p>
++    </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-D </span></dt><dd><p>Decode a message.</p></dd><dt><span class="term">-C</span></dt><dd><p>Encrypt a message.</p></dd><dt><span class="term">-E </span></dt><dd><p>Envelope a message.</p></dd><dt><span class="term">-O </span></dt><dd><p>Create a certificates-only message.</p></dd><dt><span class="term">-S </span></dt><dd><p>Sign a message.</p></dd></dl></div><p><span class="command"><strong>Arguments</strong></span></p><p>Option arguments modify an action.</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-b </span></dt><dd><p>Decode a batch of files named in infile.</p></dd><dt><span class="term">-c content </span></dt><dd><p>Use this detached content (decode only).</p></dd><dt><span class="term">-d dbdir</span></dt><dd><p>Specify the key/certificate database directory (default is ".")</p></dd><dt><span class="term">-e envfile</span></dt><dd><p>Specify a file contai
 ning an enveloped message for a set of recipients to which you would like to send an encrypted message. If this is the first encrypted message for that set of recipients, a new enveloped message will be created that you can then use for future messages (encrypt only).</p></dd><dt><span class="term">-f pwfile</span></dt><dd><p>Use password file to set password on all PKCS#11 tokens.</p></dd><dt><span class="term">-G</span></dt><dd><p>Include a signing time attribute (sign only).</p></dd><dt><span class="term">-H hash</span></dt><dd><p>Use specified hash algorithm (default:SHA1).</p></dd><dt><span class="term">-h num</span></dt><dd><p>Generate email headers with info about CMS message (decode only).</p></dd><dt><span class="term">-i infile</span></dt><dd><p>Use infile as a source of data (default is stdin).</p></dd><dt><span class="term">-k</span></dt><dd><p>Keep decoded encryption certs in permanent cert db.</p></dd><dt><span class="term">-N nickname</span></dt><dd><p>Specify
  nickname of certificate to sign with (sign only).</p></dd><dt><span class="term">-n </span></dt><dd><p>Suppress output of contents (decode only).</p></dd><dt><span class="term">-o outfile</span></dt><dd><p>Use outfile as a destination of data (default is stdout).</p></dd><dt><span class="term">-P</span></dt><dd><p>Include an S/MIME capabilities attribute.</p></dd><dt><span class="term">-p password</span></dt><dd><p>Use password as key database password.</p></dd><dt><span class="term">-r recipient1,recipient2, ...</span></dt><dd><p>
+ Specify list of recipients (email addresses) for an encrypted or enveloped message. 
+ For certificates-only message, list of certificates to send.
+-          </p></dd><dt><span class="term">-T</span></dt><dd><p>Suppress content in CMS message (sign only).</p></dd><dt><span class="term">-u certusage</span></dt><dd><p>Set type of cert usage (default is certUsageEmailSigner).</p></dd><dt><span class="term">-Y ekprefnick</span></dt><dd><p>Specify an encryption key preference by nickname.</p></dd></dl></div></div><div class="refsection"><a name="usage"></a><h2>Usage</h2><p>Encrypt Example</p><pre class="programlisting">
++          </p></dd><dt><span class="term">-T</span></dt><dd><p>Suppress content in CMS message (sign only).</p></dd><dt><span class="term">-u certusage</span></dt><dd><p>Set type of cert usage (default is certUsageEmailSigner).</p></dd><dt><span class="term">-v</span></dt><dd><p>Print debugging information.</p></dd><dt><span class="term">-Y ekprefnick</span></dt><dd><p>Specify an encryption key preference by nickname.</p></dd></dl></div></div><div class="refsection"><a name="usage"></a><h2>Usage</h2><p>Encrypt Example</p><pre class="programlisting">
+ cmsutil -C [-i infile] [-o outfile] [-d dbdir] [-p password] -r "recipient1,recipient2, . . ." -e envfile
+       </pre><p>Decode Example</p><pre class="programlisting">
+ cmsutil -D [-i infile] [-o outfile] [-d dbdir] [-p password] [-c content] [-n] [-h num]
+@@ -21,12 +21,10 @@
+ cmsutil -O [-i infile] [-o outfile] [-d dbdir] [-p password] -r "cert1,cert2, . . ."
+       </pre><p>Sign Message Example</p><pre class="programlisting">
+ cmsutil -S [-i infile] [-o outfile] [-d dbdir] [-p password] -N nickname[-TGP] [-Y ekprefnick]
+-      </pre></div><div class="refsection"><a name="idp95504"></a><h2>See also</h2><p>certutil(1)</p></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p></p><p>
++      </pre></div><div class="refsection"><a name="idm207694289248"></a><h2>See also</h2><p>certutil(1)</p></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p></p><p>
+ 	</p><p>
+ 	</p><p>
+-	</p></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++	</p></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/crlutil.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/crlutil.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/crlutil.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/crlutil.html	2013-11-29 02:20:03.356129865 +0400
+@@ -1,6 +1,6 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CRLUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="CRLUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CRLUTIL</th></tr></table><hr></div><div class="refentry"><a name="crlutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>crlutil — 
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CRLUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="CRLUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CRLUTIL</th></tr></table><hr></div><div class="refentry"><a name="crlutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>crlutil — 
+ List, generate, modify, or delete CRLs within the NSS security database file(s) and list, create, modify or delete certificates entries in a particular CRL.
+-    </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">crlutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idp188816"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++    </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">crlutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idm207693223392"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Certificate Revocation List (CRL) Management Tool, <span class="command"><strong>crlutil</strong></span>, is a command-line utility that can list, generate, modify, or delete CRLs within the NSS security database file(s) and list, create, modify or delete certificates entries in a particular CRL.
+     </p><p>
+ The key and certificate management process generally begins with creating keys in the key database, then generating and managing certificates in the certificate database(see certutil tool) and continues with certificates expiration or revocation.
+@@ -58,7 +58,7 @@
+ Specify type of CRL. possible types are: 0 - SEC_KRL_TYPE, 1 - SEC_CRL_TYPE. This option is obsolete
+           </p></dd><dt><span class="term">-u url </span></dt><dd><p>
+ Specify the url.
+-          </p></dd></dl></div></div><div class="refsection"><a name="syntax"></a><h2>CRL Generation script syntax</h2><p>CRL generation script file has the following syntax:</p><p>
++          </p></dd><dt><span class="term">-w pwd-string</span></dt><dd><p>Provide db password in command line.</p></dd><dt><span class="term">-Z algorithm</span></dt><dd><p>Specify the hash algorithm to use for signing the CRL.</p></dd></dl></div></div><div class="refsection"><a name="syntax"></a><h2>CRL Generation script syntax</h2><p>CRL generation script file has the following syntax:</p><p>
+     * Line with comments should have # as a first symbol of a line</p><p>
+     * Set "this update" or "next update" CRL fields:
+     </p><p>           
+@@ -200,12 +200,10 @@
+     * Import CRL from file:
+     </p><pre class="programlisting">
+           crlutil -I -i crl [-t crlType] [-u url] [-d keydir] [-P dbprefix] [-B] 
+-    </pre></div><div class="refsection"><a name="idp5089136"></a><h2>See also</h2><p>certutil(1)</p></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p></p><p>
++    </pre></div><div class="refsection"><a name="idm207692123648"></a><h2>See also</h2><p>certutil(1)</p></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p></p><p>
+ 	</p><p>
+ 	</p><p>
+-	</p></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++	</p></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/modutil.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/modutil.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/modutil.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/modutil.html	2013-11-29 02:20:03.356129865 +0400
+@@ -1,4 +1,4 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>MODUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="MODUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MODUTIL</th></tr></table><hr></div><div class="refentry"><a name="modutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>modutil — Manage PKCS #11 module information within the security module database.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">modutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idp226672"></a><h2>STATUS</h2><p>This documentation is still work in
  progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>MODUTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="MODUTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MODUTIL</th></tr></table><hr></div><div class="refentry"><a name="modutil"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>modutil — Manage PKCS #11 module information within the security module database.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">modutil</code>  [<em class="replaceable"><code>options</code></em>] [[<em class="replaceable"><code>arguments</code></em>]]</p></div></div><div class="refsection"><a name="idm207698456864"></a><h2>STATUS</h2><p>This documentation is still w
 ork in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Security Module Database Tool, <span class="command"><strong>modutil</strong></span>, is a command-line utility for managing PKCS #11 module information both within <code class="filename">secmod.db</code> files and within hardware tokens. <span class="command"><strong>modutil</strong></span> can add and delete PKCS #11 modules, change passwords on security databases, set defaults, list module contents, enable or disable slots, enable or disable FIPS 140-2 compliance, and assign default providers for cryptographic operations. This tool can also create certificate, key, and module security database files.</p><p>The tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases.</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><p>
+ 		Running <span class="command"><strong>modutil</strong></span> always requires one (and only one) option to specify the type of module operation. Each option may take arguments, anywhere from none to multiple arguments.
+ 	</p><p><span class="command"><strong>Options</strong></span></p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-add modulename</span></dt><dd><p>Add the named PKCS #11 module to the database. Use this option with the <code class="option">-libfile</code>, <code class="option">-ciphers</code>, and <code class="option">-mechanisms</code> arguments.</p></dd><dt><span class="term">-changepw tokenname</span></dt><dd><p>Change the password on the named token. If the token has not been initialized, this option initializes the password. Use this option with the <code class="option">-pwfile</code> and <code class="option">-newpwfile</code> arguments. A <span class="emphasis"><em>password</em></span> is equivalent to a personal identification number (PIN).</p></dd><dt><span class="term">-chkfips</span></dt><dd><p>Verify whether the module is in the given FIPS mode. <span class="command"><strong>true</strong></span> means to verify that the module is in FIPS
  mode, while <span class="command"><strong>false</strong></span> means to verify that the module is not in FIPS mode.</p></dd><dt><span class="term">-create</span></dt><dd><p>Create new certificate, key, and module databases. Use the <code class="option">-dbdir</code> directory argument to specify a directory. If any of these databases already exist in a specified directory, <span class="command"><strong>modutil</strong></span> returns an error message.</p></dd><dt><span class="term">-default modulename</span></dt><dd><p>Specify the security mechanisms for which the named module will be a default provider. The security mechanisms are specified with the <code class="option">-mechanisms</code> argument.</p></dd><dt><span class="term">-delete modulename</span></dt><dd><p>Delete the named module. The default NSS PKCS #11 module cannot be deleted.</p></dd><dt><span class="term">-disable modulename</span></dt><dd><p>Disable all slots on the named module. Use the <code class="optio
 n">-slot</code> argument to disable a specific slot.</p></dd><dt><span class="term">-enable modulename</span></dt><dd><p>Enable all slots on the named module. Use the <code class="option">-slot</code> argument to enable a specific slot.</p></dd><dt><span class="term">-fips [true | false]</span></dt><dd><p>Enable (true) or disable (false) FIPS 140-2 compliance for the default NSS module.</p></dd><dt><span class="term">-force</span></dt><dd><p>Disable <span class="command"><strong>modutil</strong></span>'s interactive prompts so it can be run from a script. Use this option only after manually testing each planned operation to check for warnings and to ensure that bypassing the prompts will cause no security lapses or loss of database integrity.</p></dd><dt><span class="term">-jar JAR-file</span></dt><dd><p>Add a new PKCS #11 module to the database using the named JAR file. Use this command with the <code class="option">-installdir</code> and <code class="option">-tempdir</code
 > arguments. The JAR file uses the NSS PKCS #11 JAR format to identify all the files to be installed, the module's name, the mechanism flags, and the cipher flags, as well as any files to be installed on the target machine, including the PKCS #11 module library file and other files such as documentation. This is covered in the JAR installation file section in the man page, which details the special script needed to perform an installation through a server or with <span class="command"><strong>modutil</strong></span>. </p></dd><dt><span class="term">-list [modulename]</span></dt><dd><p>Display basic information about the contents of the <code class="filename">secmod.db</code> file. Specifying a <span class="emphasis"><em>modulename</em></span> displays detailed information about a particular module and its slots and tokens.</p></dd><dt><span class="term">-rawadd</span></dt><dd><p>Add the module spec string to the <code class="filename">secmod.db</code> database.</p></dd><dt><
 span class="term">-rawlist</span></dt><dd><p>Display the module specs for a specified module or for all loadable modules.</p></dd><dt><span class="term">-undefault modulename</span></dt><dd><p>Specify the security mechanisms for which the named module will not be a default provider. The security mechanisms are specified with the <code class="option">-mechanisms</code> argument.</p></dd></dl></div><p><span class="command"><strong>Arguments</strong></span></p><div class="variablelist"><dl class="variablelist"><dt><span class="term">MODULE</span></dt><dd><p>Give the security module to access.</p></dd><dt><span class="term">MODULESPEC</span></dt><dd><p>Give the security module spec to load into the security database.</p></dd><dt><span class="term">-ciphers cipher-enable-list</span></dt><dd><p>Enable specific ciphers in a module that is being added to the database. The <span class="emphasis"><em>cipher-enable-list</em></span> is a colon-delimited list of cipher names. Enclose thi
 s list in quotation marks if it contains spaces.</p></dd><dt><span class="term">-dbdir [sql:]directory</span></dt><dd><p>Specify the database directory in which to access or create security module database files.</p><p><span class="command"><strong>modutil</strong></span> supports two types of databases: the legacy security databases (<code class="filename">cert8.db</code>, <code class="filename">key3.db</code>, and <code class="filename">secmod.db</code>) and new SQLite databases (<code class="filename">cert9.db</code>, <code class="filename">key4.db</code>, and <code class="filename">pkcs11.txt</code>). If the prefix <span class="command"><strong>sql:</strong></span> is not used, then the tool assumes that the given databases are in the old format.</p></dd><dt><span class="term">--dbprefix prefix</span></dt><dd><p>Specify the prefix used on the database files, such as <code class="filename">my_</code> for <code class="filename">my_cert8.db</code>. This option is provided a
 s a special case. Changing the names of the certificate and key databases is not recommended.</p></dd><dt><span class="term">-installdir root-installation-directory</span></dt><dd><p>Specify the root installation directory relative to which files will be installed by the <code class="option">-jar</code> option. This directory should be one below which it is appropriate to store dynamic library files, such as a server's root directory.</p></dd><dt><span class="term">-libfile library-file</span></dt><dd><p>Specify a path to a library file containing the implementation of the PKCS #11 interface module that is being added to the database.</p></dd><dt><span class="term">-mechanisms mechanism-list</span></dt><dd><p>Specify the security mechanisms for which a particular module will be flagged as a default provider. The <span class="emphasis"><em>mechanism-list</em></span> is a colon-delimited list of mechanism names. Enclose this list in quotation marks if it contains spaces.</p><p
 >The module becomes a default provider for the listed mechanisms when those mechanisms are enabled. If more than one module claims to be a particular mechanism's default provider, that mechanism's default provider is undefined.</p><p><span class="command"><strong>modutil</strong></span> supports several mechanisms: RSA, DSA, RC2, RC4, RC5, AES, DES, DH, SHA1, SHA256, SHA512, SSL, TLS, MD5, MD2, RANDOM (for random number generation), and FRIENDLY (meaning certificates are publicly readable).</p></dd><dt><span class="term">-newpwfile new-password-file</span></dt><dd><p>Specify a text file containing a token's new or replacement password so that a password can be entered automatically with the <code class="option">-changepw</code> option.</p></dd><dt><span class="term">-nocertdb</span></dt><dd><p>Do not open the certificate or key databases. This has several effects:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Wi
 th the <code class="option">-create</code> command, only a module security file is created; certificate and key databases are not created.</p></li><li class="listitem"><p>With the <code class="option">-jar</code> command, signatures on the JAR file are not checked.</p></li><li class="listitem"><p>With the <code class="option">-changepw</code> command, the password on the NSS internal module cannot be set or changed, since this password is stored in the key database.</p></li></ul></div></dd><dt><span class="term">-pwfile old-password-file</span></dt><dd><p>Specify a text file containing a token's existing password so that a password can be entered automatically when the <code class="option">-changepw</code> option is used to change passwords.</p></dd><dt><span class="term">-secmod secmodname</span></dt><dd><p>Give the name of the security module database (like <code class="filename">secmod.db</code>) to load.</p></dd><dt><span class="term">-slot slotname</span></dt><dd><p>Spe
 cify a particular slot to be enabled or disabled with the <code class="option">-enable</code> or <code class="option">-disable</code> options.</p></dd><dt><span class="term">-string CONFIG_STRING</span></dt><dd><p>Pass a configuration string for the module being added to the database.</p></dd><dt><span class="term">-tempdir temporary-directory</span></dt><dd><p>Give a directory location where temporary files are created during the installation by the <code class="option">-jar</code> option. If no temporary directory is specified, the current directory is used.</p></dd></dl></div></div><div class="refsection"><a name="usage-and-examples"></a><h2>Usage and Examples</h2><p><span class="command"><strong>Creating Database Files</strong></span></p><p>Before any operations can be performed, there must be a set of security databases available. <span class="command"><strong>modutil</strong></span> can be used to create these files. The only required argument is the database that wher
 e the databases will be located.</p><pre class="programlisting">modutil -create -dbdir [sql:]directory</pre><p><span class="command"><strong>Adding a Cryptographic Module</strong></span></p><p>Adding a PKCS #11 module means submitting a supporting library file, enabling its ciphers, and setting default provider status for various security mechanisms. This can be done by supplying all of the information through <span class="command"><strong>modutil</strong></span> directly or by running a JAR file and install script. For the most basic case, simply upload the library:</p><pre class="programlisting">modutil -add modulename -libfile library-file [-ciphers cipher-enable-list] [-mechanisms mechanism-list] </pre><p>For example:
+@@ -242,9 +242,7 @@
+ 		</p></li></ul></div></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p>certutil (1)</p><p>pk12util (1)</p><p>signtool (1)</p><p>The NSS wiki has information on the new database design and how to configure applications to use it.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB_Howto</p></li><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB
+-		</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++		</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/pk12util.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/pk12util.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/pk12util.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/pk12util.html	2013-11-29 02:20:03.357129856 +0400
+@@ -1,10 +1,10 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PK12UTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="PK12UTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">PK12UTIL</th></tr></table><hr></div><div class="refentry"><a name="pk12util"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pk12util — Export and import keys and certificate to or from a PKCS #12 file and the NSS database</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">pk12util</code>  [-i p12File [-h tokenname] [-v] [common-options] ] [
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PK12UTIL</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="PK12UTIL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">PK12UTIL</th></tr></table><hr></div><div class="refentry"><a name="pk12util"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pk12util — Export and import keys and certificate to or from a PKCS #12 file and the NSS database</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">pk12util</code>  [-i p12File [-h tokenname] [-v] [common-options] ] [
+         -l p12File [-h tokenname] [-r] [common-options] ] [
+         -o p12File -n certname [-c keyCipher] [-C certCipher] [-m|--key_len keyLen] [-n|--cert_key_len certKeyLen] [common-options] ] [
+ 
+ common-options are:
+ [-d [sql:]directory] [-P dbprefix] [-k slotPasswordFile|-K slotPassword] [-w p12filePasswordFile|-W p12filePassword] 
+-      ]</p></div></div><div class="refsection"><a name="idp189856"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++      ]</p></div></div><div class="refsection"><a name="idm207680667808"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The PKCS #12 utility, <span class="command"><strong>pk12util</strong></span>, enables sharing certificates among any server that supports PKCS#12. The tool can import certificates and keys from PKCS#12 files into security databases, export certificates, and list certificates and keys.</p></div><div class="refsection"><a name="options"></a><h2>Options and Arguments</h2><p><span class="command"><strong>Options</strong></span></p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-i p12file</span></dt><dd><p>Import keys and certificates from a PKCS#12 file into a security database.</p></dd><dt><span class="term">-l p12file</span></dt><dd><p>List the keys and certificates in PKCS#12 file.</p></dd><dt><span class="term">-o p12file</span></dt><dd><p>Export keys and certificates from the security database to a PKCS#12 file.</p></dd></dl></div><p><span class="command"><stro
 ng>Arguments</strong></span></p><div class="variablelist"><dl class="variablelist"><dt><span class="term">-n certname</span></dt><dd><p>Specify the nickname of the cert and private key to export.</p></dd><dt><span class="term">-d [sql:]directory</span></dt><dd><p>Specify the database directory into which to import to or export from certificates and keys.</p><p><span class="command"><strong>pk12util</strong></span> supports two types of databases: the legacy security databases (<code class="filename">cert8.db</code>, <code class="filename">key3.db</code>, and <code class="filename">secmod.db</code>) and new SQLite databases (<code class="filename">cert9.db</code>, <code class="filename">key4.db</code>, and <code class="filename">pkcs11.txt</code>). If the prefix <span class="command"><strong>sql:</strong></span> is not used, then the tool assumes that the given databases are in the old format.</p></dd><dt><span class="term">-P prefix</span></dt><dd><p>Specify the prefix used 
 on the certificate and key databases. This option is provided as a special case. 
+           Changing the names of the certificate and key databases is not recommended.</p></dd><dt><span class="term">-h tokenname</span></dt><dd><p>Specify the name of the token to import into or export from.</p></dd><dt><span class="term">-v </span></dt><dd><p>Enable debug logging when importing.</p></dd><dt><span class="term">-k slotPasswordFile</span></dt><dd><p>Specify the text file containing the slot's password.</p></dd><dt><span class="term">-K slotPassword</span></dt><dd><p>Specify the slot's password.</p></dd><dt><span class="term">-w p12filePasswordFile</span></dt><dd><p>Specify the text file containing the pkcs #12 file password.</p></dd><dt><span class="term">-W p12filePassword</span></dt><dd><p>Specify the pkcs #12 file password.</p></dd><dt><span class="term">-c keyCipher</span></dt><dd><p>Specify the key encryption algorithm.</p></dd><dt><span class="term">-C certCipher</span></dt><dd><p>Specify the key cert (overall package) encryption algorithm.</p></dd><dt
 ><span class="term">-m | --key-len  keyLength</span></dt><dd><p>Specify the desired length of the symmetric key to be used to encrypt the private key.</p></dd><dt><span class="term">-n | --cert-key-len  certKeyLength</span></dt><dd><p>Specify the desired length of the symmetric key to be used to encrypt the certificates and other meta-data.</p></dd><dt><span class="term">-r</span></dt><dd><p>Dumps all of the data in raw (binary) form. This must be saved as a DER file. The default is to return information in a pretty-print ASCII format, which displays the information about the certificates and public keys in the p12 file.</p></dd></dl></div></div><div class="refsection"><a name="return-codes"></a><h2>Return Codes</h2><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> 0 - No error</p></li><li class="listitem"><p> 1 - User Cancelled</p></li><li class="listitem"><p> 2 - Usage error</p></li><li class="listitem"><p> 6 - NLS 
 init error</p></li><li class="listitem"><p> 8 - Certificate DB open error</p></li><li class="listitem"><p> 9 - Key DB open error</p></li><li class="listitem"><p> 10 - File initialization error</p></li><li class="listitem"><p> 11 - Unicode conversion error</p></li><li class="listitem"><p> 12 - Temporary file creation error</p></li><li class="listitem"><p> 13 - PKCS11 get slot error</p></li><li class="listitem"><p> 14 - PKCS12 decoder start error</p></li><li class="listitem"><p> 15 - error read from import file</p></li><li class="listitem"><p> 16 - pkcs12 decode error</p></li><li class="listitem"><p> 17 - pkcs12 decoder verify error</p></li><li class="listitem"><p> 18 - pkcs12 decoder validate bags error</p></li><li class="listitem"><p> 19 - pkcs12 decoder import bags error</p></li><li class="listitem"><p> 20 - key db conversion version 3 to version 2 error</p></li><li class="listitem"><p> 21 - cert db conversion version 7 to version 5 error</p></li><li class="listitem"><p> 22
  - cert and key dbs patch error</p></li><li class="listitem"><p> 23 - get default cert db error</p></li><li class="listitem"><p> 24 - find cert by nickname error</p></li><li class="listitem"><p> 25 - create export context error</p></li><li class="listitem"><p> 26 - PKCS12 add password itegrity error</p></li><li class="listitem"><p> 27 - cert and key Safes creation error</p></li><li class="listitem"><p> 28 - PKCS12 add cert and key error</p></li><li class="listitem"><p> 29 - PKCS12 encode error</p></li></ul></div></div><div class="refsection"><a name="examples"></a><h2>Examples</h2><p><span class="command"><strong>Importing Keys and Certificates</strong></span></p><p>The most basic usage of <span class="command"><strong>pk12util</strong></span> for importing a certificate or key is the PKCS#12 input file (<code class="option">-i</code>) and some way to specify the security database being accessed (either <code class="option">-d</code> for a directory or <code class="option">-
 h</code> for a token).
+     </p><pre class="programlisting">pk12util -i p12File [-h tokenname] [-v] [-d [sql:]directory] [-P dbprefix] [-k slotPasswordFile|-K slotPassword] [-w p12filePasswordFile|-W p12filePassword]</pre><p>For example:</p><pre class="programlisting"># pk12util -i /tmp/cert-files/users.p12 -d sql:/home/my/sharednssdb
+@@ -74,9 +74,7 @@
+ 		</p></li></ul></div></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p>certutil (1)</p><p>modutil (1)</p><p>The NSS wiki has information on the new database design and how to configure applications to use it.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB_Howto</p></li><li class="listitem"><p>
+ 			https://wiki.mozilla.org/NSS_Shared_DB
+-		</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++		</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/pp.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/pp.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/pp.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/pp.html	2013-11-29 02:20:03.357129856 +0400
+@@ -1,9 +1,7 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PP</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="PP"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">PP</th></tr></table><hr></div><div class="refentry"><a name="pp"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pp — Prints certificates, keys, crls, and pkcs7 files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">pp -t type [-a] [-i input] [-o output]</code> </p></div></div><div class="refsection"><a name="idp2827632"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=83
 6477" target="_top">Mozilla NSS bug 836477</a>
+-    </p></div><div class="refsection"><a name="idp4746848"></a><h2>Description</h2><p><span class="command"><strong>pp </strong></span>pretty-prints private and public key, certificate, certificate-request,
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PP</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="PP"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">PP</th></tr></table><hr></div><div class="refentry"><a name="pp"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pp — Prints certificates, keys, crls, and pkcs7 files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">pp -t type [-a] [-i input] [-o output]</code> </p></div></div><div class="refsection"><a name="idm207695084256"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?
 id=836477" target="_top">Mozilla NSS bug 836477</a>
++    </p></div><div class="refsection"><a name="idm207691286816"></a><h2>Description</h2><p><span class="command"><strong>pp </strong></span>pretty-prints private and public key, certificate, certificate-request,
+                      pkcs7 or crl files
+-    </p></div><div class="refsection"><a name="idp2528512"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">-t </code> <em class="replaceable"><code>type</code></em></span></dt><dd><p class="simpara">specify the input, one of {private-key | public-key | certificate | certificate-request | pkcs7 | crl}</p><p class="simpara"></p></dd><dt><span class="term"><code class="option">-a </code></span></dt><dd>Input is in ascii encoded form (RFC1113)</dd><dt><span class="term"><code class="option">-i </code> <em class="replaceable"><code>inputfile</code></em></span></dt><dd>Define an input file to use (default is stdin)</dd><dt><span class="term"><code class="option">-u </code> <em class="replaceable"><code>outputfile</code></em></span></dt><dd>Define an output file to use (default is stdout)</dd></dl></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>NSS is maintained in conjun
 ction with PKI and security-related projects through Mozilla dn Fedora. The most closely-related project is Dogtag PKI, with a project wiki at <a class="ulink" href="http://pki.fedoraproject.org/wiki/" target="_top">PKI Wiki</a>. </p><p>For information specifically about NSS, the NSS project wiki is located at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">Mozilla NSS site</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: pki-devel at redhat.com and pki-users at redhat.com</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++    </p></div><div class="refsection"><a name="idm207691284880"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">-t </code> <em class="replaceable"><code>type</code></em></span></dt><dd><p class="simpara">specify the input, one of {private-key | public-key | certificate | certificate-request | pkcs7 | crl}</p><p class="simpara"></p></dd><dt><span class="term"><code class="option">-a </code></span></dt><dd>Input is in ascii encoded form (RFC1113)</dd><dt><span class="term"><code class="option">-i </code> <em class="replaceable"><code>inputfile</code></em></span></dt><dd>Define an input file to use (default is stdin)</dd><dt><span class="term"><code class="option">-u </code> <em class="replaceable"><code>outputfile</code></em></span></dt><dd>Define an output file to use (default is stdout)</dd></dl></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>NSS is maintained in c
 onjunction with PKI and security-related projects through Mozilla and Fedora. The most closely-related project is Dogtag PKI, with a project wiki at <a class="ulink" href="http://pki.fedoraproject.org/wiki/" target="_top">PKI Wiki</a>. </p><p>For information specifically about NSS, the NSS project wiki is located at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">Mozilla NSS site</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: pki-devel at redhat.com and pki-users at redhat.com</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/signtool.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/signtool.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/signtool.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/signtool.html	2013-11-29 02:20:03.357129856 +0400
+@@ -1,4 +1,4 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>signtool</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="signtool"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">signtool</th></tr></table><hr></div><div class="refentry"><a name="signtool"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>signtool — Digitally sign objects and files.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">signtool</code>  [-k keyName] [[-h]] [[-H]] [[-l]] [[-L]] [[-M]] [[-v]] [[-w]] [[-G nickname]] [[--keysize | -s size]] [[-b basename]] [[-c Compression Level] ] [[-d cert-dir] ] [[-i installer script] ] [[-m metafile] ] [[-x name] ] [[-f filename] ] [[-t|--token tokenname]
  ] [[-e extension] ] [[-o] ] [[-z] ] [[-X] ] [[--outfile] ] [[--verbose value] ] [[--norecurse] ] [[--leavearc] ] [[-j directory] ] [[-Z jarfile] ] [[-O] ] [[-p password] ] [directory-tree] [archive]</p></div></div><div class="refsection"><a name="idp4673616"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>signtool</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="signtool"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">signtool</th></tr></table><hr></div><div class="refentry"><a name="signtool"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>signtool — Digitally sign objects and files.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">signtool</code>  [-k keyName] [[-h]] [[-H]] [[-l]] [[-L]] [[-M]] [[-v]] [[-w]] [[-G nickname]] [[--keysize | -s size]] [[-b basename]] [[-c Compression Level] ] [[-d cert-dir] ] [[-i installer script] ] [[-m metafile] ] [[-x name] ] [[-f filename] ] [[-t|--token tokenname]
  ] [[-e extension] ] [[-o] ] [[-z] ] [[-X] ] [[--outfile] ] [[--verbose value] ] [[--norecurse] ] [[--leavearc] ] [[-j directory] ] [[-Z jarfile] ] [[-O] ] [[-p password] ] [directory-tree] [archive]</p></div></div><div class="refsection"><a name="idm207702595360"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Signing Tool, <span class="command"><strong>signtool</strong></span>, creates digital signatures and uses a Java Archive (JAR) file to associate the signatures with files in a directory. Electronic software distribution over any network involves potential security problems. To help address some of these problems, you can associate digital signatures with the files in a JAR archive. Digital signatures allow SSL-enabled clients to perform two important operations:</p><p>* Confirm the identity of the individual, company, or other entity whose digital signature is associated with the files</p><p>* Check whether the files have been tampered with since being signed</p><p>If you have a signing certificate, you can use Netscape Signing Tool to digitally sign files and package them as a JAR file. An object-signing certificate is a special kind of certificate that allows you to associate your d
 igital signature with one or more files.</p><p>An individual file can potentially be signed with multiple digital signatures. For example, a commercial software developer might sign the files that constitute a software product to prove that the files are indeed from a particular company. A network administrator manager might sign the same files with an additional digital signature based on a company-generated certificate to indicate that the product is approved for use within the company.</p><p>The significance of a digital signature is comparable to the significance of a handwritten signature. Once you have signed a file, it is difficult to claim later that you didn't sign it. In some situations, a digital signature may be considered as legally binding as a handwritten signature. Therefore, you should take great care to ensure that you can stand behind any file you sign and distribute.</p><p>For example, if you are a software developer, you should test your code to make sur
 e it is virus-free before signing it. Similarly, if you are a network administrator, you should make sure, before signing any code, that it comes from a reliable source and will run correctly with the software installed on the machines to which you are distributing it.</p><p>Before you can use Netscape Signing Tool to sign files, you must have an object-signing certificate, which is a special certificate whose associated private key is used to create digital signatures. For testing purposes only, you can create an object-signing certificate with Netscape Signing Tool 1.3. When testing is finished and you are ready to disitribute your software, you should obtain an object-signing certificate from one of two kinds of sources:</p><p>* An independent certificate authority (CA) that authenticates your identity and charges you a fee. You typically get a certificate from an independent CA if you want to sign software that will be distributed over the Internet.</p><p>* CA server sof
 tware running on your corporate intranet or extranet. Netscape Certificate Management System provides a complete management solution for creating, deploying, and managing certificates, including CAs that issue object-signing certificates.</p><p>You must also have a certificate for the CA that issues your signing certificate before you can sign files. If the certificate authority's certificate isn't already installed in your copy of Communicator, you typically install it by clicking the appropriate link on the certificate authority's web site, for example on the page from which you initiated enrollment for your signing certificate. This is the case for some test certificates, as well as certificates issued by Netscape Certificate Management System: you must download the the CA certificate in addition to obtaining your own signing certificate. CA certificates for several certificate authorities are preinstalled in the Communicator certificate database.</p><p>When you receive a
 n object-signing certificate for your own use, it is automatically installed in your copy of the Communicator client software. Communicator supports the public-key cryptography standard known as PKCS #12, which governs key portability. You can, for example, move an object-signing certificate and its associated private key from one computer to another on a credit-card-sized device called a smart card.</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-b basename</span></dt><dd><p>Specifies the base filename for the .rsa and .sf files in the META-INF directory to conform with the JAR format. For example, <span class="emphasis"><em>-b signatures</em></span> causes the files to be named signatures.rsa and signatures.sf. The default is signtool.</p></dd><dt><span class="term">-c#</span></dt><dd><p>
+ 	Specifies the compression level for the -J or -Z option. The symbol # represents a number from 0 to 9, where 0 means no compression and 9 means maximum compression. The higher the level of compression, the smaller the output but the longer the operation takes.
+ 
+@@ -278,9 +278,7 @@
+ -----------------------------------------------</pre></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p>signver (1)</p><p>The NSS wiki has information on the new database design and how to configure applications to use it.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+ 				https://wiki.mozilla.org/NSS_Shared_DB_Howto</p></li><li class="listitem"><p>
+ 				https://wiki.mozilla.org/NSS_Shared_DB
+-			</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++			</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/signver.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/signver.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/signver.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/signver.html	2013-11-29 02:20:03.357129856 +0400
+@@ -1,7 +1,7 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>SIGNVER</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="SIGNVER"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SIGNVER</th></tr></table><hr></div><div class="refentry"><a name="signver"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>signver — Verify a detached PKCS#7 signature for a file.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">signtool</code>    -A  |   -V    -d <em class="replaceable"><code>directory</code></em>  [-a] [-i <em class="replaceable"><code>input_file</code></em>] [-o <em class="replaceable"><code>output_file</code></em>] [-s <em class="replaceable"><code>signature_file</code
 ></em>] [-v]</p></div></div><div class="refsection"><a name="idp4236688"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+-    </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Signature Verification Tool, <span class="command"><strong>signver</strong></span>, is a simple command-line utility that unpacks a base-64-encoded PKCS#7 signed object and verifies the digital signature using standard cryptographic techniques. The Signature Verification Tool can also display the contents of the signed object.</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-A</span></dt><dd><p>Displays all of the information in the PKCS#7 signature.</p></dd><dt><span class="term">-V</span></dt><dd><p>Verifies the digital signature.</p></dd><dt><span class="term">-d [sql:]<span class="emphasis"><em>directory</em></span></span></dt><dd><p>Specify the database directory which contains the certificates and keys.</p><p><span class="command"><strong>signver</strong></span> supports two types of
  databases: the legacy security databases (<code class="filename">cert8.db</code>, <code class="filename">key3.db</code>, and <code class="filename">secmod.db</code>) and new SQLite databases (<code class="filename">cert9.db</code>, <code class="filename">key4.db</code>, and <code class="filename">pkcs11.txt</code>). If the prefix <span class="command"><strong>sql:</strong></span> is not used, then the tool assumes that the given databases are in the old format.</p></dd><dt><span class="term">-a</span></dt><dd><p>Sets that the given signature file is in ASCII format.</p></dd><dt><span class="term">-i <span class="emphasis"><em>input_file</em></span></span></dt><dd><p>Gives the input file for the object with signed data.</p></dd><dt><span class="term">-o <span class="emphasis"><em>output_file</em></span></span></dt><dd><p>Gives the output file to which to write the results.</p></dd><dt><span class="term">-s <span class="emphasis"><em>signature_file</em></span></span></dt><dd>
 <p>Gives the input file for the digital signature.</p></dd><dt><span class="term">-v</span></dt><dd><p>Enables verbose output.</p></dd></dl></div></div><div class="refsection"><a name="examples"></a><h2>Extended Examples</h2><div class="refsection"><a name="idp367200"></a><h3>Verifying a Signature</h3><p>The <code class="option">-V</code> option verifies that the signature in a given signature file is valid when used to sign the given object (from the input file).</p><pre class="programlisting">signver -V -s <em class="replaceable"><code>signature_file</code></em> -i <em class="replaceable"><code>signed_file</code></em> -d sql:/home/my/sharednssdb
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>SIGNVER</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="SIGNVER"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SIGNVER</th></tr></table><hr></div><div class="refentry"><a name="signver"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>signver — Verify a detached PKCS#7 signature for a file.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">signtool</code>    -A  |   -V    -d <em class="replaceable"><code>directory</code></em>  [-a] [-i <em class="replaceable"><code>input_file</code></em>] [-o <em class="replaceable"><code>output_file</code></em>] [-s <em class="replaceable"><code>signature_file</code
 ></em>] [-v]</p></div></div><div class="refsection"><a name="idm207691938384"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++    </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The Signature Verification Tool, <span class="command"><strong>signver</strong></span>, is a simple command-line utility that unpacks a base-64-encoded PKCS#7 signed object and verifies the digital signature using standard cryptographic techniques. The Signature Verification Tool can also display the contents of the signed object.</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-A</span></dt><dd><p>Displays all of the information in the PKCS#7 signature.</p></dd><dt><span class="term">-V</span></dt><dd><p>Verifies the digital signature.</p></dd><dt><span class="term">-d [sql:]<span class="emphasis"><em>directory</em></span></span></dt><dd><p>Specify the database directory which contains the certificates and keys.</p><p><span class="command"><strong>signver</strong></span> supports two types of
  databases: the legacy security databases (<code class="filename">cert8.db</code>, <code class="filename">key3.db</code>, and <code class="filename">secmod.db</code>) and new SQLite databases (<code class="filename">cert9.db</code>, <code class="filename">key4.db</code>, and <code class="filename">pkcs11.txt</code>). If the prefix <span class="command"><strong>sql:</strong></span> is not used, then the tool assumes that the given databases are in the old format.</p></dd><dt><span class="term">-a</span></dt><dd><p>Sets that the given signature file is in ASCII format.</p></dd><dt><span class="term">-i <span class="emphasis"><em>input_file</em></span></span></dt><dd><p>Gives the input file for the object with signed data.</p></dd><dt><span class="term">-o <span class="emphasis"><em>output_file</em></span></span></dt><dd><p>Gives the output file to which to write the results.</p></dd><dt><span class="term">-s <span class="emphasis"><em>signature_file</em></span></span></dt><dd>
 <p>Gives the input file for the digital signature.</p></dd><dt><span class="term">-v</span></dt><dd><p>Enables verbose output.</p></dd></dl></div></div><div class="refsection"><a name="examples"></a><h2>Extended Examples</h2><div class="refsection"><a name="idm207695803904"></a><h3>Verifying a Signature</h3><p>The <code class="option">-V</code> option verifies that the signature in a given signature file is valid when used to sign the given object (from the input file).</p><pre class="programlisting">signver -V -s <em class="replaceable"><code>signature_file</code></em> -i <em class="replaceable"><code>signed_file</code></em> -d sql:/home/my/sharednssdb
+ 
+-signatureValid=yes</pre></div><div class="refsection"><a name="idp370464"></a><h3>Printing Signature Data</h3><p>
++signatureValid=yes</pre></div><div class="refsection"><a name="idm207695800736"></a><h3>Printing Signature Data</h3><p>
+ 			The <code class="option">-A</code> option prints all of the information contained in a signature file. Using the <code class="option">-o</code> option prints the signature file information to the given output file rather than stdout.
+ 		</p><pre class="programlisting">signver -A -s <em class="replaceable"><code>signature_file</code></em> -o <em class="replaceable"><code>output_file</code></em></pre></div></div><div class="refsection"><a name="databases"></a><h2>NSS Database Types</h2><p>NSS originally used BerkeleyDB databases to store security information. 
+ The last versions of these <span class="emphasis"><em>legacy</em></span> databases are:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
+@@ -27,9 +27,7 @@
+ 				Engineering and technical information about the shared NSS database
+ 			</p><p>
+ 				https://wiki.mozilla.org/NSS_Shared_DB
+-			</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++			</p></li></ul></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/ssltap.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/ssltap.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/ssltap.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/ssltap.html	2013-11-29 02:20:03.358129847 +0400
+@@ -1,4 +1,4 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>SSLTAP</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="SSLTAP"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SSLTAP</th></tr></table><hr></div><div class="refentry"><a name="ssltap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ssltap — Tap into SSL connections and display the data going by </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">libssltap</code>  [-vhfsxl] [-p port] [hostname:port]</p></div></div><div class="refsection"><a name="idp3926848"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzi
 lla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>SSLTAP</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="SSLTAP"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SSLTAP</th></tr></table><hr></div><div class="refentry"><a name="ssltap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ssltap — Tap into SSL connections and display the data going by </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">libssltap</code>  [-vhfsxl] [-p port] [hostname:port]</p></div></div><div class="refsection"><a name="idm207705899984"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://
 bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The SSL Debugging Tool <span class="command"><strong>ssltap</strong></span> is an SSL-aware command-line proxy. It watches TCP connections and displays the data going by. If a connection is SSL, the data display includes interpreted SSL records and handshaking</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-v </span></dt><dd><p>Print a version string for the tool.</p></dd><dt><span class="term">-h </span></dt><dd><p>
+ Turn on hex/ASCII printing. Instead of outputting raw data, the command interprets each record as a numbered line of hex values, followed by the same data as ASCII characters. The two parts are separated by a vertical bar. Nonprinting characters are replaced by dots. 
+         </p></dd><dt><span class="term">-f </span></dt><dd><p>
+@@ -414,9 +414,7 @@
+ the browser will complain that the host name you are trying to connect to is different from the certificate. 
+ If you are using the default BadCert callback, you can still connect through a dialog. If you are not using 
+ the default BadCert callback, the one you supply must allow for this possibility.
+-      </p></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p>The NSS Security Tools are also documented at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/tools" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>.</p></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++      </p></div><div class="refsection"><a name="seealso"></a><h2>See Also</h2><p>The NSS Security Tools are also documented at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/tools" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>.</p></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/vfychain.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/vfychain.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/vfychain.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/vfychain.html	2013-11-29 02:20:03.358129847 +0400
+@@ -1,4 +1,4 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>VFYCHAIN</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="VFYCHAIN"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">VFYCHAIN</th></tr></table><hr></div><div class="refentry"><a name="vfychain"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfychain  — vfychain [options] [revocation options] certfile [[options] certfile] ...</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">vfychain</code> </p></div></div><div class="refsection"><a name="idp522256"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozil
 la.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>VFYCHAIN</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="VFYCHAIN"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">VFYCHAIN</th></tr></table><hr></div><div class="refentry"><a name="vfychain"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfychain  — vfychain [options] [revocation options] certfile [[options] certfile] ...</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">vfychain</code> </p></div></div><div class="refsection"><a name="idm207689306736"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla
 .mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+     </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The verification Tool, <span class="command"><strong>vfychain</strong></span>, verifies certificate chains. <span class="command"><strong>modutil</strong></span> can add and delete PKCS #11 modules, change passwords on security databases, set defaults, list module contents, enable or disable slots, enable or disable FIPS 140-2 compliance, and assign default providers for cryptographic operations. This tool can also create certificate, key, and module security database files.</p><p>The tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases.</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">-a</code></span></dt><dd>the following certfile is base64 encoded</dd><dt><span class=
 "term"><code class="option">-b </code> <em class="replaceable"><code>YYMMDDHHMMZ</code></em></span></dt><dd>Validate date (default: now)</dd><dt><span class="term"><code class="option">-d </code> <em class="replaceable"><code>directory</code></em></span></dt><dd>database directory</dd><dt><span class="term"><code class="option">-f </code> </span></dt><dd>Enable cert fetching from AIA URL</dd><dt><span class="term"><code class="option">-o </code> <em class="replaceable"><code>oid</code></em></span></dt><dd>Set policy OID for cert validation(Format OID.1.2.3)</dd><dt><span class="term"><code class="option">-p </code></span></dt><dd><p class="simpara">Use PKIX Library to validate certificate by calling:</p><p class="simpara">	   * CERT_VerifyCertificate if specified once,</p><p class="simpara">	   * CERT_PKIXVerifyCert if specified twice and more.</p></dd><dt><span class="term"><code class="option">-r </code></span></dt><dd>Following certfile is raw binary DER (default)</dd><dt
 ><span class="term"><code class="option">-t</code></span></dt><dd>Following cert is explicitly trusted (overrides db trust)</dd><dt><span class="term"><code class="option">-u </code> <em class="replaceable"><code>usage</code></em></span></dt><dd><p>
+ 	 	 0=SSL client, 1=SSL server, 2=SSL StepUp, 3=SSL CA,
+ 	     4=Email signer, 5=Email recipient, 6=Object signer,
+@@ -20,9 +20,7 @@
+           </dd><dt><span class="term"><code class="option">-s </code> <em class="replaceable"><code>method flags</code></em></span></dt><dd>Sets revocation flags for the method it follows.
+ 			Possible types are "doNotUse", "forbidFetching",
+ 			"ignoreDefaultSrc", "requireInfo" and "failIfNoInfo".
+-          </dd></dl></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++          </dd></dl></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><div class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/vfyserv.html seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/vfyserv.html
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/html/vfyserv.html	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/html/vfyserv.html	2013-11-29 02:20:03.358129847 +0400
+@@ -1,7 +1,5 @@
+-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>VFYSERV</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"><link rel="home" href="index.html" title="VFYSERV"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">VFYSERV</th></tr></table><hr></div><div class="refentry"><a name="vfyserv"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfyserv  — TBD</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">vfyserv</code> </p></div></div><div class="refsection"><a name="idp188000"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a>
+-    </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The <span class="command"><strong>vfyserv </strong></span> tool verifies a certificate chain</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option"></code> <em class="replaceable"><code></code></em></span></dt><dd><p class="simpara"></p><p class="simpara"></p></dd></dl></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><d
 iv class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun.</p><p>
++<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>VFYSERV</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="VFYSERV"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">VFYSERV</th></tr></table><hr></div><div class="refentry"><a name="vfyserv"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfyserv  — TBD</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">vfyserv</code> </p></div></div><div class="refsection"><a name="idm207703284240"></a><h2>STATUS</h2><p>This documentation is still work in progress. Please contribute to the initial review in <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=836477" target="_top">Mozilla NSS bug 836477</a
 >
++    </p></div><div class="refsection"><a name="description"></a><h2>Description</h2><p>The <span class="command"><strong>vfyserv </strong></span> tool verifies a certificate chain</p></div><div class="refsection"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option"></code> <em class="replaceable"><code></code></em></span></dt><dd><p class="simpara"></p><p class="simpara"></p></dd></dl></div></div><div class="refsection"><a name="resources"></a><h2>Additional Resources</h2><p>For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at <a class="ulink" href="http://www.mozilla.org/projects/security/pki/nss/" target="_top">http://www.mozilla.org/projects/security/pki/nss/</a>. The NSS site relates directly to NSS code changes and releases.</p><p>Mailing lists: https://lists.mozilla.org/listinfo/dev-tech-crypto</p><p>IRC: Freenode at #dogtag-pki</p></div><d
 iv class="refsection"><a name="authors"></a><h2>Authors</h2><p>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</p><p>
+ 	Authors: Elio Maldonado &lt;emaldona at redhat.com&gt;, Deon Lackey &lt;dlackey at redhat.com&gt;.
+-    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, version 1.1,
+-        and/or the GNU General Public License, version 2 or later,
+-        and/or the GNU Lesser General Public License, version 2.1 or later.
++    </p></div><div class="refsection"><a name="license"></a><h2>LICENSE</h2><p>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+     </p></div></div><div class="navfooter"><hr></div></body></html>
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/certutil.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/certutil.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/certutil.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/certutil.1	2013-11-29 02:20:03.359129838 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: CERTUTIL
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "CERTUTIL" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "CERTUTIL" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -28,7 +28,7 @@
+ .\" * MAIN CONTENT STARTS HERE *
+ .\" -----------------------------------------------------------------
+ .SH "NAME"
+-certutil \- Manage keys and certificate in the the NSS database\&.
++certutil \- Manage keys and certificate in both NSS databases and other NSS tokens
+ .SH "SYNOPSIS"
+ .HP \w'\fBcertutil\fR\ 'u
+ \fBcertutil\fR [\fIoptions\fR] [[\fIarguments\fR]]
+@@ -39,23 +39,21 @@
+ .SH "DESCRIPTION"
+ .PP
+ The Certificate Database Tool,
+-\fBcertutil\fR, is a command\-line utility that manages certs and keys in both NSS databases and other NSS tokens (such as smart cards)\&. It can specifically list, generate, modify, or delete certificates within the database, create or change the password, generate new public and private key pairs, display the contents of the key database, or delete key pairs within the key database\&.
++\fBcertutil\fR, is a command\-line utility that can create and modify certificate and key databases\&. It can specifically list, generate, modify, or delete certificates, create or change the password, generate new public and private key pairs, display the contents of the key database, or delete key pairs within the key database\&.
+ .PP
+-The key and certificate management process generally includes certificate issuance once keys and certificates have been created in the key database\&. This document discusses certificate and key database management\&. For information security module database management, see the
++Certificate issuance, part of the key and certificate management process, requires that keys and certificates be created in the key database\&. This document discusses certificate and key database management\&. For information on the security module database management, see the
+ \fBmodutil\fR
+ manpage\&.
+-.SH "OPTIONS AND ARGUMENTS"
++.SH "COMMAND OPTIONS AND ARGUMENTS"
+ .PP
+ Running
+ \fBcertutil\fR
+-always requires one and only one option to specify the type of certificate operation\&. Each option may take arguments, anywhere from none to multiple arguments\&. Run the command option and
++always requires one and only one command option to specify the type of certificate operation\&. Each command option may take zero or more arguments\&. The command option
+ \fB\-H\fR
+-to see the arguments available for each command option\&.
++will list all the command options and their relevant arguments\&.
+ .PP
+ \fBCommand Options\fR
+ .PP
+-Command options are typically upper case\&.
+-.PP
+ \-A
+ .RS 4
+ Add an existing certificate to a certificate database\&. The certificate database should already exist; if one is not present, this command option will initialize one by default\&.
+@@ -102,12 +100,12 @@
+ .PP
+ \-G
+ .RS 4
+-Generate a new public and private key pair within a key database\&. The key database should already exist; if one is not present, this option will initialize one by default\&. Some smart cards can store only one key pair\&. If you create a new key pair for such a card, the previous pair is overwritten\&.
++Generate a new public and private key pair within a key database\&. The key database should already exist; if one is not present, this command option will initialize one by default\&. Some smart cards can store only one key pair\&. If you create a new key pair for such a card, the previous pair is overwritten\&.
+ .RE
+ .PP
+ \-H
+ .RS 4
+-Display a list of the command options and arguments used by the Certificate Database Tool\&.
++Display a list of the command options and arguments\&.
+ .RE
+ .PP
+ \-K
+@@ -167,11 +165,7 @@
+ .PP
+ \-\-merge
+ .RS 4
+-Merge a source database into the target database\&. This is used to merge legacy NSS databases (cert8\&.db
+-and
+-key3\&.db) into the newer SQLite databases (cert9\&.db
+-and
+-key4\&.db)\&.
++Merge two databases into one\&.
+ .RE
+ .PP
+ \-\-upgrade\-merge
+@@ -223,9 +217,7 @@
+ key3\&.db, and
+ secmod\&.db) and new SQLite databases (cert9\&.db,
+ key4\&.db, and
+-pkcs11\&.txt)\&. If the prefix
+-\fBsql:\fR
+-is not used, then the tool assumes that the given databases are in the old format\&.
++pkcs11\&.txt)\&.
+ .sp
+ NSS recognizes the following prefixes:
+ .sp
+@@ -237,7 +229,7 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-\fBsql: explicitly requests the newer database\fR
++\fBsql: requests the newer database\fR
+ .RE
+ .sp
+ .RS 4
+@@ -248,19 +240,10 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-\fBdbm: explicitly requests the older database\fR
++\fBdbm: requests the legacy database\fR
+ .RE
+ .sp
+-.RS 4
+-.ie n \{\
+-\h'-04'\(bu\h'+03'\c
+-.\}
+-.el \{\
+-.sp -1
+-.IP \(bu 2.3
+-.\}
+-\fBextern: explicitly reserved for future use\fR
+-.RE
++If no prefix is specified the default type is retrieved from NSS_DEFAULT_DB_TYPE\&. If NSS_DEFAULT_DB_TYPE is not set then dbm: is the default\&.
+ .RE
+ .PP
+ \-e
+@@ -280,7 +263,7 @@
+ .PP
+ \-h tokenname
+ .RS 4
+-Specify the name of a token to use or act on\&. Unless specified otherwise the default token is an internal slot\&.
++Specify the name of a token to use or act on\&. If not specified the default token is the internal database slot\&.
+ .RE
+ .PP
+ \-i input_file
+@@ -288,18 +271,11 @@
+ Pass an input file to the command\&. Depending on the command option, an input file can be a specific certificate, a certificate request file, or a batch file of commands\&.
+ .RE
+ .PP
+-\-k rsa|dsa|ec|all
+-.RS 4
+-Specify the type of a key\&. The valid options are RSA, DSA, ECC, or all\&. The default value is rsa\&. Specifying the type of key can avoid mistakes caused by duplicate nicknames\&.
+-.RE
+-.PP
+ \-k key\-type\-or\-id
+ .RS 4
+ Specify the type or specific ID of a key\&.
+ .sp
+-The valid key type options are RSA, DSA, ECC, or all\&. The default value is rsa\&. Specifying the type of key can avoid mistakes caused by duplicate nicknames\&. Giving a key type generates a new key pair; giving the ID of an existing key reuses that key pair (which is required to renew certificates)\&.
+-.sp
+-The valid key type options are RSA, DSA, ECC, or all\&. The default value is rsa\&. Specifying the type of key can avoid mistakes caused by duplicate nicknames\&. Giving a key type generates a new key pair; giving the ID of an existing key reuses that key pair (which is required to renew certificates)\&.
++The valid key type options are rsa, dsa, ec, or all\&. The default value is rsa\&. Specifying the type of key can avoid mistakes caused by duplicate nicknames\&. Giving a key type generates a new key pair; giving the ID of an existing key reuses that key pair (which is required to renew certificates)\&.
+ .RE
+ .PP
+ \-l
+@@ -367,7 +343,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fBp\fR
+ \- Valid peer
+ .RE
+@@ -380,7 +355,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fBP\fR
+ \- Trusted peer (implies p)
+ .RE
+@@ -393,7 +367,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fBc\fR
+ \- Valid CA
+ .RE
+@@ -406,7 +379,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fBT\fR
+ \- Trusted CA (implies c)
+ .RE
+@@ -419,9 +391,8 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fBC\fR
+-\- rusted CA for client authentication (ssl server only)
++\- trusted CA for client authentication (ssl server only)
+ .RE
+ .sp
+ .RS 4
+@@ -432,7 +403,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fBu\fR
+ \- user
+ .RE
+@@ -930,6 +900,21 @@
+ Add the Subject Key ID extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&.
+ .RE
+ .PP
++\-\-extNC
++.RS 4
++Add a Name Constraint extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&.
++.RE
++.PP
++\-\-keyAttrFlags attrflags
++.RS 4
++PKCS #11 key Attributes\&. Comma separated list of key attribute flags, selected from the following list of choices: {token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable}
++.RE
++.PP
++\-\-keyFlagsOn opflags, \-\-keyFlagsOff opflags
++.RS 4
++PKCS #11 key Operation Flags\&. Comma separated list of one or more of the following: {token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable}
++.RE
++.PP
+ \-\-source\-dir certdir
+ .RS 4
+ Identify the certificate database directory to upgrade\&.
+@@ -1035,7 +1020,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fB\-k\fR
+ to specify either the key type to generate or, when renewing a certificate, the existing key pair to use
+ .RE
+@@ -1048,7 +1032,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fB\-g\fR
+ to set the keysize of the key to generate
+ .RE
+@@ -1061,7 +1044,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fB\-s\fR
+ to set the subject name of the certificate
+ .RE
+@@ -1074,7 +1056,6 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-
+ \fB\-d\fR
+ to give the security database directory
+ .RE
+@@ -1087,28 +1068,10 @@
+ .RS 4
+ .\}
+ .nf
+-$ certutil \-R \-k ec \-q nistb409 \-g 512 \-s "CN=John Smith,O=Example Corp,L=Mountain View,ST=California,C=US" \-d sql:/home/my/sharednssdb \-p 650\-555\-0123 \-a \-o cert\&.cer
++$ certutil \-R \-k rsa \-g 1024 \-s "CN=John Smith,O=Example Corp,L=Mountain View,ST=California,C=US" \-d sql:$HOME/nssdb \-p 650\-555\-0123 \-a \-o cert\&.cer
+ 
+ Generating key\&.  This may take a few moments\&.\&.\&.
+ 
+-
+-Certificate request generated by Netscape 
+-Phone: 650\-555\-0123
+-Common Name: John Smith
+-Email: (not ed)
+-Organization: Example Corp
+-State: California
+-Country: US
+-
+-\-\-\-\-\-BEGIN NEW CERTIFICATE REQUEST\-\-\-\-\-
+-MIIBIDCBywIBADBmMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEW
+-MBQGA1UEBxMNTW91bnRhaW4gVmlldzEVMBMGA1UEChMMRXhhbXBsZSBDb3JwMRMw
+-EQYDVQQDEwpKb2huIFNtaXRoMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMVUpDOZ
+-KmHnOx7reP8Cc0Lk+fFWEuYIDX9W5K/BioQOKvEjXyQZhit9aThzBVMoSf1Y1S8J
+-CzdUbCg1+IbnXaECAwEAAaAAMA0GCSqGSIb3DQEBBQUAA0EAryqZvpYrUtQ486Ny
+-qmtyQNjIi1F8c1Z+TL4uFYlMg8z6LG/J/u1E5t1QqB5e9Q4+BhRbrQjRR1JZx3tB
+-1hP9Gg==
+-\-\-\-\-\-END NEW CERTIFICATE REQUEST\-\-\-\-\-
+ .fi
+ .if n \{\
+ .RE
+@@ -1134,7 +1097,7 @@
+ .PP
+ The series of numbers and
+ \fB\-\-ext*\fR
+-options set certificate extensions that can be added to the certificate when it is generated by the CA\&.
++options set certificate extensions that can be added to the certificate when it is generated by the CA\&. Interactive prompts will result\&.
+ .PP
+ For example, this creates a self\-signed certificate:
+ .sp
+@@ -1148,6 +1111,8 @@
+ .RE
+ .\}
+ .PP
++The interative prompts for key usage and whether any extensions are critical and responses have been ommitted for brevity\&.
++.PP
+ From there, new certificates can reference the self\-signed certificate:
+ .sp
+ .if n \{\
+@@ -1184,35 +1149,7 @@
+ .RS 4
+ .\}
+ .nf
+-$ certutil \-C \-c "my\-ca\-cert" \-i /home/certs/cert\&.req \-o cert\&.cer \-m 010 \-v 12 \-w 1 \-d sql:/home/my/sharednssdb \-1 nonRepudiation,dataEncipherment \-5 sslClient \-6 clientAuth \-7 jsmith at example\&.com
+-.fi
+-.if n \{\
+-.RE
+-.\}
+-.PP
+-\fBGenerating Key Pairs\fR
+-.PP
+-Key pairs are generated automatically with a certificate request or certificate, but they can also be generated independently using the
+-\fB\-G\fR
+-command option\&.
+-.sp
+-.if n \{\
+-.RS 4
+-.\}
+-.nf
+-certutil \-G \-d [sql:]directory | \-h tokenname \-k key\-type \-g key\-size [\-y exponent\-value] \-q pqgfile|curve\-name
+-.fi
+-.if n \{\
+-.RE
+-.\}
+-.PP
+-For example:
+-.sp
+-.if n \{\
+-.RS 4
+-.\}
+-.nf
+-$ certutil \-G \-h lunasa \-k ec \-g 256 \-q sect193r2
++$ certutil \-C \-c "my\-ca\-cert" \-i /home/certs/cert\&.req \-o cert\&.cer \-m 010 \-v 12 \-w 1 \-d sql:$HOME/nssdb \-1 nonRepudiation,dataEncipherment \-5 sslClient \-6 clientAuth \-7 jsmith at example\&.com
+ .fi
+ .if n \{\
+ .RE
+@@ -1254,35 +1191,99 @@
+ .RS 4
+ .\}
+ .nf
+-$ certutil \-L \-d sql:/home/my/sharednssdb \-a \-n "Certificate Authority \- Example Domain"
+-
++$ certutil \-L \-d sql:$HOME/nssdb \-a \-n my\-ca\-cert
+ \-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-
+-MIIDmTCCAoGgAwIBAgIBATANBgkqhkiG9w0BAQUFADA5MRcwFQYDVQQKEw5FeGFt
+-cGxlIERvbWFpbjEeMBwGA1UEAxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEw
+-MDQyOTIxNTY1OFoXDTEyMDQxODIxNTY1OFowOTEXMBUGA1UEChMORXhhbXBsZSBE
+-b21haW4xHjAcBgNVBAMTFUNlcnRpZmljYXRlIEF1dGhvcml0eTCCASIwDQYJKoZI
+-hvcNAQEBBQADggEPADCCAQoCggEBAO/bqUli2KwqXFKmMMG93KN1SANzNTXA/Vlf
+-Tmrih3hQgjvR1ktIY9aG6cB7DSKWmtHp/+p4PUCMqL4ZrSGt901qxkePyZ2dYmM2
+-RnelK+SEUIPiUtoZaDhNdiYsE/yuDE8vQWj0vHCVL0w72qFUcSQ/WZT7FCrnUIUI
+-udeWnoPSUn70gLhcj/lvxl7K9BHyD4Sq5CzktwYtFWLiiwV+ZY/Fl6JgbGaQyQB2
+-bP4iRMfloGqsxGuB1evWVDF1haGpFDSPgMnEPSLg3/3dXn+HDJbZ29EU8/xKzQEb
+-3V0AHKbu80zGllLEt2Zx/WDIrgJEN9yMfgKFpcmL+BvIRsmh0VsCAwEAAaOBqzCB
+-qDAfBgNVHSMEGDAWgBQATgxHQyRUfKIZtdp55bZlFr+tFzAPBgNVHRMBAf8EBTAD
+-AQH/MA4GA1UdDwEB/wQEAwIBxjAdBgNVHQ4EFgQUAE4MR0MkVHyiGbXaeeW2ZRa/
+-rRcwRQYIKwYBBQUHAQEEOTA3MDUGCCsGAQUFBzABhilodHRwOi8vbG9jYWxob3N0
+-LmxvY2FsZG9tYWluOjkxODAvY2Evb2NzcDANBgkqhkiG9w0BAQUFAAOCAQEAi8Gk
+-L3XO43u7/TDOeEsWPmq+jZsDZ3GZ85Ajt3KROLWeKVZZZa2E2Hnsvf2uXbk5amKe
+-lRxdSeRH9g85pv4KY7Z8xZ71NrI3+K3uwmnqkc6t0hhYb1mw/gx8OAAoluQx3biX
+-JBDxjI73Cf7XUopplHBjjiwyGIJUO8BEZJ5L+TF4P38MJz1snLtzZpEAX5bl0U76
+-bfu/tZFWBbE8YAWYtkCtMcalBPj6jn2WD3M01kGozW4mmbvsj1cRB9HnsGsqyHCu
+-U0ujlL1H/RWcjn607+CTeKH9jLMUqCIqPJNOa+kq/6F7NhNRRiuzASIbZc30BZ5a
+-nI7q5n1USM3eWQlVXw==
++MIIB1DCCAT2gAwIBAgICDkIwDQYJKoZIhvcNAQEFBQAwFTETMBEGA1UEAxMKRXhh
++bXBsZSBDQTAeFw0xMzAzMTMxOTEwMjlaFw0xMzA2MTMxOTEwMjlaMBUxEzARBgNV
++BAMTCkV4YW1wbGUgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ4Kzqvz
++JyBVgFqDXRYSyTBNw1DrxUU/3GvWA/ngjAwHEv0Cul/6sO/gsCvnABHiH6unns6x
++XRzPORlC2WY3gkk7vmlsLvYpyecNazAi/NAwVnU/66HOsaoVFWE+gBQo99UrN2yk
++0BiK/GMFlLm5dXQROgA9ZKKyFdI0LIXtf6SbAgMBAAGjMzAxMBEGCWCGSAGG+EIB
++AQQEAwIHADAMBgNVHRMEBTADAQH/MA4GA1UdDwEB/wQEAwICBDANBgkqhkiG9w0B
++AQUFAAOBgQA6chkzkACN281d1jKMrc+RHG2UMaQyxiteaLVZO+Ro1nnRUvseDf09
++XKYFwPMJjWCihVku6bw/ihZfuMHhxK22Nue6inNQ6eDu7WmrqL8z3iUrQwxs+WiF
++ob2rb8XRVVJkzXdXxlk4uo3UtNvw8sAz7sWD71qxKaIHU5q49zijfg==
+ \-\-\-\-\-END CERTIFICATE\-\-\-\-\-
+ .fi
+ .if n \{\
+ .RE
+ .\}
+ .PP
++For a human\-readable display
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++$ certutil \-L \-d sql:$HOME/nssdb \-n my\-ca\-cert
++Certificate:
++    Data:
++        Version: 3 (0x2)
++        Serial Number: 3650 (0xe42)
++        Signature Algorithm: PKCS #1 SHA\-1 With RSA Encryption
++        Issuer: "CN=Example CA"
++        Validity:
++            Not Before: Wed Mar 13 19:10:29 2013
++            Not After : Thu Jun 13 19:10:29 2013
++        Subject: "CN=Example CA"
++        Subject Public Key Info:
++            Public Key Algorithm: PKCS #1 RSA Encryption
++            RSA Public Key:
++                Modulus:
++                    9e:0a:ce:ab:f3:27:20:55:80:5a:83:5d:16:12:c9:30:
++                    4d:c3:50:eb:c5:45:3f:dc:6b:d6:03:f9:e0:8c:0c:07:
++                    12:fd:02:ba:5f:fa:b0:ef:e0:b0:2b:e7:00:11:e2:1f:
++                    ab:a7:9e:ce:b1:5d:1c:cf:39:19:42:d9:66:37:82:49:
++                    3b:be:69:6c:2e:f6:29:c9:e7:0d:6b:30:22:fc:d0:30:
++                    56:75:3f:eb:a1:ce:b1:aa:15:15:61:3e:80:14:28:f7:
++                    d5:2b:37:6c:a4:d0:18:8a:fc:63:05:94:b9:b9:75:74:
++                    11:3a:00:3d:64:a2:b2:15:d2:34:2c:85:ed:7f:a4:9b
++                Exponent: 65537 (0x10001)
++        Signed Extensions:
++            Name: Certificate Type
++            Data: none
++
++            Name: Certificate Basic Constraints
++            Data: Is a CA with no maximum path length\&.
++
++            Name: Certificate Key Usage
++            Critical: True
++            Usages: Certificate Signing
++
++    Signature Algorithm: PKCS #1 SHA\-1 With RSA Encryption
++    Signature:
++        3a:72:19:33:90:00:8d:db:cd:5d:d6:32:8c:ad:cf:91:
++        1c:6d:94:31:a4:32:c6:2b:5e:68:b5:59:3b:e4:68:d6:
++        79:d1:52:fb:1e:0d:fd:3d:5c:a6:05:c0:f3:09:8d:60:
++        a2:85:59:2e:e9:bc:3f:8a:16:5f:b8:c1:e1:c4:ad:b6:
++        36:e7:ba:8a:73:50:e9:e0:ee:ed:69:ab:a8:bf:33:de:
++        25:2b:43:0c:6c:f9:68:85:a1:bd:ab:6f:c5:d1:55:52:
++        64:cd:77:57:c6:59:38:ba:8d:d4:b4:db:f0:f2:c0:33:
++        ee:c5:83:ef:5a:b1:29:a2:07:53:9a:b8:f7:38:a3:7e
++    Fingerprint (MD5):
++        86:D8:A5:8B:8A:26:BE:9E:17:A8:7B:66:10:6B:27:80
++    Fingerprint (SHA1):
++        48:78:09:EF:C5:D4:0C:BD:D2:64:45:59:EB:03:13:15:F7:A9:D6:F7
++
++    Certificate Trust Flags:
++        SSL Flags:
++            Valid CA
++            Trusted CA
++            User
++        Email Flags:
++            Valid CA
++            Trusted CA
++            User
++        Object Signing Flags:
++            Valid CA
++            Trusted CA
++            User
++
++.fi
++.if n \{\
++.RE
++.\}
++.PP
+ \fBListing Keys\fR
+ .PP
+ Keys are the original material used to encrypt certificate data\&. The keys generated for certificates are stored separately, in the key database\&.
+@@ -1297,7 +1298,7 @@
+ .RS 4
+ .\}
+ .nf
+-$ certutil \-K \-d sql:/home/my/sharednssdb
++$ certutil \-K \-d sql:$HOME/nssdb
+ certutil: Checking token "NSS Certificate DB" in slot "NSS User Private Key and Certificate Services                  "
+ < 0> rsa      455a6673bde9375c2887ec8bf8016b3f9f35861d   Thawte Freemail Member\*(Aqs Thawte Consulting (Pty) Ltd\&. ID
+ < 1> rsa      40defeeb522ade11090eacebaaf1196a172127df   Example Domain Administrator Cert
+@@ -1318,8 +1319,7 @@
+ .IP \(bu 2.3
+ .\}
+ To return a specific key, use the
+-\fB\-n\fR
+-\fIname\fR
++\fB\-n\fR\fIname\fR
+ argument with the name of the key\&.
+ .RE
+ .sp
+@@ -1332,8 +1332,7 @@
+ .IP \(bu 2.3
+ .\}
+ If there are multiple security devices loaded, then the
+-\fB\-h\fR
+-\fItokenname\fR
++\fB\-h\fR\fItokenname\fR
+ argument can search a specific token or all tokens\&.
+ .RE
+ .sp
+@@ -1346,8 +1345,7 @@
+ .IP \(bu 2.3
+ .\}
+ If there are multiple key types available, then the
+-\fB\-k\fR
+-\fIkey\-type\fR
++\fB\-k\fR\fIkey\-type\fR
+ argument can search a specific type of key, like RSA, DSA, or ECC\&.
+ .RE
+ .PP
+@@ -1671,7 +1669,7 @@
+ .PP
+ BerkeleyDB has performance limitations, though, which prevent it from being easily used by multiple applications simultaneously\&. NSS has some flexibility that allows applications to use their own, independent database engine while keeping a shared database and working around the access issues\&. Still, NSS requires more flexibility to provide a truly shared security database\&.
+ .PP
+-In 2009, NSS introduced a new set of databases that are SQLite databases rather than BerkleyDB\&. These new databases provide more accessibility and performance:
++In 2009, NSS introduced a new set of databases that are SQLite databases rather than BerkeleyDB\&. These new databases provide more accessibility and performance:
+ .sp
+ .RS 4
+ .ie n \{\
+@@ -1703,7 +1701,7 @@
+ .sp -1
+ .IP \(bu 2.3
+ .\}
+-pkcs11\&.txt, which is listing of all of the PKCS #11 modules contained in a new subdirectory in the security databases directory
++pkcs11\&.txt, a listing of all of the PKCS #11 modules, contained in a new subdirectory in the security databases directory
+ .RE
+ .PP
+ Because the SQLite databases are designed to be shared, these are the
+@@ -1845,12 +1843,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/cmsutil.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/cmsutil.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/cmsutil.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/cmsutil.1	2013-11-29 02:20:03.359129838 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: CMSUTIL
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "CMSUTIL" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "CMSUTIL" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -77,7 +77,12 @@
+ .PP
+ \fBArguments\fR
+ .PP
+-Option arguments modify an action and are lowercase\&.
++Option arguments modify an action\&.
++.PP
++\-b
++.RS 4
++Decode a batch of files named in infile\&.
++.RE
+ .PP
+ \-c content
+ .RS 4
+@@ -94,11 +99,21 @@
+ Specify a file containing an enveloped message for a set of recipients to which you would like to send an encrypted message\&. If this is the first encrypted message for that set of recipients, a new enveloped message will be created that you can then use for future messages (encrypt only)\&.
+ .RE
+ .PP
++\-f pwfile
++.RS 4
++Use password file to set password on all PKCS#11 tokens\&.
++.RE
++.PP
+ \-G
+ .RS 4
+ Include a signing time attribute (sign only)\&.
+ .RE
+ .PP
++\-H hash
++.RS 4
++Use specified hash algorithm (default:SHA1)\&.
++.RE
++.PP
+ \-h num
+ .RS 4
+ Generate email headers with info about CMS message (decode only)\&.
+@@ -109,6 +124,11 @@
+ Use infile as a source of data (default is stdin)\&.
+ .RE
+ .PP
++\-k
++.RS 4
++Keep decoded encryption certs in permanent cert db\&.
++.RE
++.PP
+ \-N nickname
+ .RS 4
+ Specify nickname of certificate to sign with (sign only)\&.
+@@ -149,6 +169,11 @@
+ Set type of cert usage (default is certUsageEmailSigner)\&.
+ .RE
+ .PP
++\-v
++.RS 4
++Print debugging information\&.
++.RE
++.PP
+ \-Y ekprefnick
+ .RS 4
+ Specify an encryption key preference by nickname\&.
+@@ -237,12 +262,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/crlutil.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/crlutil.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/crlutil.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/crlutil.1	2013-11-29 02:20:03.359129838 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: CRLUTIL
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "CRLUTIL" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "CRLUTIL" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -161,6 +161,16 @@
+ .RS 4
+ Specify the url\&.
+ .RE
++.PP
++\-w pwd\-string
++.RS 4
++Provide db password in command line\&.
++.RE
++.PP
++\-Z algorithm
++.RS 4
++Specify the hash algorithm to use for signing the CRL\&.
++.RE
+ .SH "CRL GENERATION SCRIPT SYNTAX"
+ .PP
+ CRL generation script file has the following syntax:
+@@ -374,12 +384,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/pk12util.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/pk12util.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/pk12util.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/pk12util.1	2013-11-29 02:20:03.359129838 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: PK12UTIL
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "PK12UTIL" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "PK12UTIL" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -1017,12 +1017,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/pp.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/pp.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/pp.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/pp.1	2013-11-29 02:20:03.359129838 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: PP
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "PP" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "PP" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -63,7 +63,7 @@
+ .RE
+ .SH "ADDITIONAL RESOURCES"
+ .PP
+-NSS is maintained in conjunction with PKI and security\-related projects through Mozilla dn Fedora\&. The most closely\-related project is Dogtag PKI, with a project wiki at
++NSS is maintained in conjunction with PKI and security\-related projects through Mozilla and Fedora\&. The most closely\-related project is Dogtag PKI, with a project wiki at
+ \m[blue]\fBPKI Wiki\fR\m[]\&\s-2\u[2]\d\s+2\&.
+ .PP
+ For information specifically about NSS, the NSS project wiki is located at
+@@ -74,12 +74,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/signtool.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/signtool.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/signtool.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/signtool.1	2013-11-29 02:20:03.360129829 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: signtool
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "SIGNTOOL" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "SIGNTOOL" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -667,12 +667,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/signver.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/signver.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/signver.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/signver.1	2013-11-29 02:20:03.360129829 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: SIGNVER
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "SIGNVER" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "SIGNVER" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -306,12 +306,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/ssltap.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/ssltap.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/ssltap.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/ssltap.1	2013-11-29 02:20:03.360129829 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: SSLTAP
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "SSLTAP" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "SSLTAP" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -590,12 +590,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/vfychain.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/vfychain.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/vfychain.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/vfychain.1	2013-11-29 02:20:03.360129829 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: VFYCHAIN
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "VFYCHAIN" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "VFYCHAIN" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -155,12 +155,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/vfyserv.1 seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/vfyserv.1
+--- seamonkey-2.21/comm-release/mozilla/security/nss/doc/nroff/vfyserv.1	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/doc/nroff/vfyserv.1	2013-11-29 02:20:03.360129829 +0400
+@@ -1,13 +1,13 @@
+ '\" t
+ .\"     Title: VFYSERV
+ .\"    Author: [see the "Authors" section]
+-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+-.\"      Date: 15 February 2013
++.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
++.\"      Date: 19 July 2013
+ .\"    Manual: NSS Security Tools
+ .\"    Source: nss-tools
+ .\"  Language: English
+ .\"
+-.TH "VFYSERV" "1" "15 February 2013" "nss-tools" "NSS Security Tools"
++.TH "VFYSERV" "1" "19 July 2013" "nss-tools" "NSS Security Tools"
+ .\" -----------------------------------------------------------------
+ .\" * Define some portability stuff
+ .\" -----------------------------------------------------------------
+@@ -56,12 +56,12 @@
+ IRC: Freenode at #dogtag\-pki
+ .SH "AUTHORS"
+ .PP
+-The NSS tools were written and maintained by developers with Netscape, Red Hat, and Sun\&.
++The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&.
+ .PP
+ Authors: Elio Maldonado <emaldona at redhat\&.com>, Deon Lackey <dlackey at redhat\&.com>\&.
+ .SH "LICENSE"
+ .PP
+-Licensed under the Mozilla Public License, version 1\&.1, and/or the GNU General Public License, version 2 or later, and/or the GNU Lesser General Public License, version 2\&.1 or later\&.
++Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.
+ .SH "NOTES"
+ .IP " 1." 4
+ Mozilla NSS bug 836477
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/certdb/cert.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certdb/cert.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/certdb/cert.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certdb/cert.h	2013-11-29 02:20:03.360129829 +0400
+@@ -268,7 +268,7 @@
+ ** Retrieve the Key Type associated with the cert we're dealing with
+ */
+ 
+-extern KeyType CERT_GetCertKeyType (CERTSubjectPublicKeyInfo *spki);
++extern KeyType CERT_GetCertKeyType (const CERTSubjectPublicKeyInfo *spki);
+ 
+ /*
+ ** Initialize the certificate database.  This is called to create
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/certdb/certt.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certdb/certt.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/certdb/certt.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certdb/certt.h	2013-11-29 02:20:03.361129820 +0400
+@@ -1041,8 +1041,8 @@
+  * Whether or not to use a method for revocation testing.
+  * If set to "do not test", then all other flags are ignored.
+  */
+-#define CERT_REV_M_DO_NOT_TEST_USING_THIS_METHOD     0L
+-#define CERT_REV_M_TEST_USING_THIS_METHOD            1L
++#define CERT_REV_M_DO_NOT_TEST_USING_THIS_METHOD     0UL
++#define CERT_REV_M_TEST_USING_THIS_METHOD            1UL
+ 
+ /*
+  * Whether or not NSS is allowed to attempt to fetch fresh information
+@@ -1050,8 +1050,8 @@
+  * (Although fetching will never happen if fresh information for the
+  *           method is already locally available.)
+  */
+-#define CERT_REV_M_ALLOW_NETWORK_FETCHING            0L
+-#define CERT_REV_M_FORBID_NETWORK_FETCHING           2L
++#define CERT_REV_M_ALLOW_NETWORK_FETCHING            0UL
++#define CERT_REV_M_FORBID_NETWORK_FETCHING           2UL
+ 
+ /*
+  * Example for an implicit default source:
+@@ -1065,8 +1065,8 @@
+  *          then we continue to use what's available (or not available) 
+  *          in the certs.
+  */ 
+-#define CERT_REV_M_ALLOW_IMPLICIT_DEFAULT_SOURCE     0L
+-#define CERT_REV_M_IGNORE_IMPLICIT_DEFAULT_SOURCE    4L
++#define CERT_REV_M_ALLOW_IMPLICIT_DEFAULT_SOURCE     0UL
++#define CERT_REV_M_IGNORE_IMPLICIT_DEFAULT_SOURCE    4UL
+ 
+ /*
+  * Defines the behavior if no fresh information is available,
+@@ -1080,8 +1080,8 @@
+  *          We still require that fresh information is available.
+  *          Other flags define what happens on missing fresh info.
+  */
+-#define CERT_REV_M_SKIP_TEST_ON_MISSING_SOURCE       0L
+-#define CERT_REV_M_REQUIRE_INFO_ON_MISSING_SOURCE    8L
++#define CERT_REV_M_SKIP_TEST_ON_MISSING_SOURCE       0UL
++#define CERT_REV_M_REQUIRE_INFO_ON_MISSING_SOURCE    8UL
+ 
+ /*
+  * Defines the behavior if we are unable to obtain fresh information.
+@@ -1090,8 +1090,8 @@
+  * FAIL means:
+  *      Return "cert revoked".
+  */
+-#define CERT_REV_M_IGNORE_MISSING_FRESH_INFO         0L
+-#define CERT_REV_M_FAIL_ON_MISSING_FRESH_INFO        16L
++#define CERT_REV_M_IGNORE_MISSING_FRESH_INFO         0UL
++#define CERT_REV_M_FAIL_ON_MISSING_FRESH_INFO        16UL
+ 
+ /*
+  * What should happen if we were able to find fresh information using
+@@ -1103,8 +1103,8 @@
+  *                  We will continue and test the next allowed
+  *                  specified method.
+  */
+-#define CERT_REV_M_STOP_TESTING_ON_FRESH_INFO        0L
+-#define CERT_REV_M_CONTINUE_TESTING_ON_FRESH_INFO    32L
++#define CERT_REV_M_STOP_TESTING_ON_FRESH_INFO        0UL
++#define CERT_REV_M_CONTINUE_TESTING_ON_FRESH_INFO    32UL
+ 
+ /*
+  * The following flags are supposed to be used to control bits in
+@@ -1125,8 +1125,8 @@
+  *      which are already locally available. Only after that is done
+  *      consider to fetch from the network (as allowed by other flags).
+  */
+-#define CERT_REV_MI_TEST_EACH_METHOD_SEPARATELY       0L
+-#define CERT_REV_MI_TEST_ALL_LOCAL_INFORMATION_FIRST  1L
++#define CERT_REV_MI_TEST_EACH_METHOD_SEPARATELY       0UL
++#define CERT_REV_MI_TEST_ALL_LOCAL_INFORMATION_FIRST  1UL
+ 
+ /*
+  * Use this flag to specify that it's necessary that fresh information
+@@ -1141,8 +1141,8 @@
+  *     This setting overrides the CERT_REV_M_FAIL_ON_MISSING_FRESH_INFO
+  *     flag on all methods.
+  */
+-#define CERT_REV_MI_NO_OVERALL_INFO_REQUIREMENT       0L
+-#define CERT_REV_MI_REQUIRE_SOME_FRESH_INFO_AVAILABLE 2L
++#define CERT_REV_MI_NO_OVERALL_INFO_REQUIREMENT       0UL
++#define CERT_REV_MI_REQUIRE_SOME_FRESH_INFO_AVAILABLE 2UL
+ 
+ 
+ typedef struct {
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/certhigh/ocsp.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certhigh/ocsp.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/certhigh/ocsp.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/certhigh/ocsp.c	2013-11-29 02:20:03.361129820 +0400
+@@ -3805,35 +3805,32 @@
+                              SECItem *tbsResponseDataDER,
+                              void *pwArg)
+ {
+-    SECItem rawSignature;
+     SECKEYPublicKey *signerKey = NULL;
+     SECStatus rv = SECFailure;
++    CERTSignedData signedData;
+ 
+     /*
+      * Now get the public key from the signer's certificate; we need
+      * it to perform the verification.
+      */
+     signerKey = CERT_ExtractPublicKey(signerCert);
+-    if (signerKey == NULL)
++    if (signerKey == NULL) {
+ 	return SECFailure;
++    }
++
+     /*
+      * We copy the signature data *pointer* and length, so that we can
+      * modify the length without damaging the original copy.  This is a
+      * simple copy, not a dup, so no destroy/free is necessary.
+      */
+-    rawSignature = signature->signature;
+-    /*
+-     * The raw signature is a bit string, but we need to represent its
+-     * length in bytes, because that is what the verify function expects.
+-     */
+-    DER_ConvertBitString(&rawSignature);
++    signedData.signature = signature->signature;
++    signedData.signatureAlgorithm = signature->signatureAlgorithm;
++    signedData.data = *tbsResponseDataDER;
+ 
+-    rv = VFY_VerifyDataWithAlgorithmID(tbsResponseDataDER->data,
+-                                       tbsResponseDataDER->len,
+-                                       signerKey, &rawSignature,
+-                                       &signature->signatureAlgorithm,
+-                                       NULL, pwArg);
+-    if (rv != SECSuccess && PORT_GetError() == SEC_ERROR_BAD_SIGNATURE) {
++    rv = CERT_VerifySignedDataWithPublicKey(&signedData, signerKey, pwArg);
++    if (rv != SECSuccess &&
++        (PORT_GetError() == SEC_ERROR_BAD_SIGNATURE || 
++         PORT_GetError() == SEC_ERROR_CERT_SIGNATURE_ALGORITHM_DISABLED)) {
+         PORT_SetError(SEC_ERROR_OCSP_BAD_SIGNATURE);
+     }
+     
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/cryptohi/cryptohi.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/cryptohi/cryptohi.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/cryptohi/cryptohi.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/cryptohi/cryptohi.h	2013-11-29 02:20:03.361129820 +0400
+@@ -63,7 +63,7 @@
+ 
+ /*
+ ** Destroy a signature-context object
+-**	"key" the object
++**	"cx" the object
+ **	"freeit" if PR_TRUE then free the object as well as its sub-objects
+ */
+ extern void SGN_DestroyContext(SGNContext *cx, PRBool freeit);
+@@ -112,7 +112,7 @@
+ **  The given signature/hash algorithm.
+ **	"result" the final signature data (memory is allocated)
+ **	"digest" the digest to sign
+-**	"pk" the private key to encrypt with
++**	"privKey" the private key to encrypt with
+ **	"algtag" The algorithm tag to encode (need for RSA only)
+ */
+ extern SECStatus SGN_Digest(SECKEYPrivateKey *privKey,
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/cryptohi/keyhi.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/cryptohi/keyhi.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/cryptohi/keyhi.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/cryptohi/keyhi.h	2013-11-29 02:20:03.362129811 +0400
+@@ -95,12 +95,12 @@
+ /*
+ ** Decode a DER encoded public key into an SECKEYPublicKey structure.
+ */
+-extern SECKEYPublicKey *SECKEY_DecodeDERPublicKey(SECItem *pubkder);
++extern SECKEYPublicKey *SECKEY_DecodeDERPublicKey(const SECItem *pubkder);
+ 
+ /*
+ ** Convert a base64 ascii encoded DER public key to our internal format.
+ */
+-extern SECKEYPublicKey *SECKEY_ConvertAndDecodePublicKey(char *pubkstr);
++extern SECKEYPublicKey *SECKEY_ConvertAndDecodePublicKey(const char *pubkstr);
+ 
+ /*
+ ** Convert a base64 ascii encoded DER public key and challenge to spki,
+@@ -122,21 +122,21 @@
+ ** CERTSubjectPublicKeyInfo structure.
+ */
+ extern CERTSubjectPublicKeyInfo *
+-SECKEY_DecodeDERSubjectPublicKeyInfo(SECItem *spkider);
++SECKEY_DecodeDERSubjectPublicKeyInfo(const SECItem *spkider);
+ 
+ /*
+ ** Convert a base64 ascii encoded DER subject public key info to our
+ ** internal format.
+ */
+ extern CERTSubjectPublicKeyInfo *
+-SECKEY_ConvertAndDecodeSubjectPublicKeyInfo(char *spkistr);
++SECKEY_ConvertAndDecodeSubjectPublicKeyInfo(const char *spkistr);
+ 
+ /*
+  * extract the public key from a subject Public Key info structure.
+  * (used by JSS).
+  */
+ extern SECKEYPublicKey *
+-SECKEY_ExtractPublicKey(CERTSubjectPublicKeyInfo *);
++SECKEY_ExtractPublicKey(const CERTSubjectPublicKeyInfo *);
+ 
+ /*
+ ** Destroy a private key object.
+@@ -183,7 +183,7 @@
+ extern SECStatus
+ SECKEY_CopyPrivateKeyInfo(PLArenaPool *poolp,
+ 			  SECKEYPrivateKeyInfo *to,
+-			  SECKEYPrivateKeyInfo *from);
++			  const SECKEYPrivateKeyInfo *from);
+ 
+ extern SECStatus
+ SECKEY_CacheStaticFlags(SECKEYPrivateKey* key);
+@@ -199,19 +199,19 @@
+ extern SECStatus
+ SECKEY_CopyEncryptedPrivateKeyInfo(PLArenaPool *poolp,
+ 				   SECKEYEncryptedPrivateKeyInfo *to,
+-				   SECKEYEncryptedPrivateKeyInfo *from);
++				   const SECKEYEncryptedPrivateKeyInfo *from);
+ /*
+  * Accessor functions for key type of public and private keys.
+  */
+-KeyType SECKEY_GetPrivateKeyType(SECKEYPrivateKey *privKey);
+-KeyType SECKEY_GetPublicKeyType(SECKEYPublicKey *pubKey);
++KeyType SECKEY_GetPrivateKeyType(const SECKEYPrivateKey *privKey);
++KeyType SECKEY_GetPublicKeyType(const SECKEYPublicKey *pubKey);
+ 
+ /*
+  * Creates a PublicKey from its DER encoding.
+  * Currently only supports RSA and DSA keys.
+  */
+ SECKEYPublicKey*
+-SECKEY_ImportDERPublicKey(SECItem *derKey, CK_KEY_TYPE type);
++SECKEY_ImportDERPublicKey(const SECItem *derKey, CK_KEY_TYPE type);
+ 
+ SECKEYPrivateKeyList*
+ SECKEY_NewPrivateKeyList(void);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/cryptohi/seckey.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/cryptohi/seckey.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/cryptohi/seckey.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/cryptohi/seckey.c	2013-11-29 02:20:03.362129811 +0400
+@@ -444,8 +444,9 @@
+  * the normal standard format.  Store the decoded parameters in
+  * a V3 certificate data structure.  */ 
+ 
+-SECStatus
+-SECKEY_DSADecodePQG(PLArenaPool *arena, SECKEYPublicKey *pubk, SECItem *params) {
++static SECStatus
++seckey_DSADecodePQG(PLArenaPool *arena, SECKEYPublicKey *pubk,
++                    const SECItem *params) {
+     SECStatus rv;
+     SECItem newparams;
+ 
+@@ -539,13 +540,13 @@
+ 
+ /* Function used to determine what kind of cert we are dealing with. */
+ KeyType 
+-CERT_GetCertKeyType (CERTSubjectPublicKeyInfo *spki) 
++CERT_GetCertKeyType (const CERTSubjectPublicKeyInfo *spki) 
+ {
+     return seckey_GetKeyType(SECOID_GetAlgorithmTag(&spki->algorithm));
+ }
+ 
+ static SECKEYPublicKey *
+-seckey_ExtractPublicKey(CERTSubjectPublicKeyInfo *spki)
++seckey_ExtractPublicKey(const CERTSubjectPublicKeyInfo *spki)
+ {
+     SECKEYPublicKey *pubk;
+     SECItem os, newOs, newParms;
+@@ -594,7 +595,7 @@
+ 	rv = SEC_QuickDERDecodeItem(arena, pubk, SECKEY_DSAPublicKeyTemplate, &newOs);
+ 	if (rv != SECSuccess) break;
+ 
+-        rv = SECKEY_DSADecodePQG(arena, pubk,
++        rv = seckey_DSADecodePQG(arena, pubk,
+                                  &spki->algorithm.parameters); 
+ 
+ 	if (rv == SECSuccess) return pubk;
+@@ -644,7 +645,7 @@
+ 
+ /* required for JSS */
+ SECKEYPublicKey *
+-SECKEY_ExtractPublicKey(CERTSubjectPublicKeyInfo *spki)
++SECKEY_ExtractPublicKey(const CERTSubjectPublicKeyInfo *spki)
+ {
+     return seckey_ExtractPublicKey(spki);
+ }
+@@ -1344,7 +1345,7 @@
+  * similiar to CERT_ExtractPublicKey for other key times.
+  */
+ SECKEYPublicKey *
+-SECKEY_DecodeDERPublicKey(SECItem *pubkder)
++SECKEY_DecodeDERPublicKey(const SECItem *pubkder)
+ {
+     PLArenaPool *arena;
+     SECKEYPublicKey *pubk;
+@@ -1385,7 +1386,7 @@
+  * Decode a base64 ascii encoded DER encoded public key.
+  */
+ SECKEYPublicKey *
+-SECKEY_ConvertAndDecodePublicKey(char *pubkstr)
++SECKEY_ConvertAndDecodePublicKey(const char *pubkstr)
+ {
+     SECKEYPublicKey *pubk;
+     SECStatus rv;
+@@ -1425,7 +1426,7 @@
+ 
+ 
+ CERTSubjectPublicKeyInfo *
+-SECKEY_DecodeDERSubjectPublicKeyInfo(SECItem *spkider)
++SECKEY_DecodeDERSubjectPublicKeyInfo(const SECItem *spkider)
+ {
+     PLArenaPool *arena;
+     CERTSubjectPublicKeyInfo *spki;
+@@ -1464,7 +1465,7 @@
+  * Decode a base64 ascii encoded DER encoded subject public key info.
+  */
+ CERTSubjectPublicKeyInfo *
+-SECKEY_ConvertAndDecodeSubjectPublicKeyInfo(char *spkistr)
++SECKEY_ConvertAndDecodeSubjectPublicKeyInfo(const char *spkistr)
+ {
+     CERTSubjectPublicKeyInfo *spki;
+     SECStatus rv;
+@@ -1647,7 +1648,7 @@
+ SECStatus
+ SECKEY_CopyPrivateKeyInfo(PLArenaPool *poolp,
+ 			  SECKEYPrivateKeyInfo *to,
+-			  SECKEYPrivateKeyInfo *from)
++			  const SECKEYPrivateKeyInfo *from)
+ {
+     SECStatus rv = SECFailure;
+ 
+@@ -1671,7 +1672,7 @@
+ SECStatus
+ SECKEY_CopyEncryptedPrivateKeyInfo(PLArenaPool *poolp,
+ 				   SECKEYEncryptedPrivateKeyInfo *to,
+-				   SECKEYEncryptedPrivateKeyInfo *from)
++				   const SECKEYEncryptedPrivateKeyInfo *from)
+ {
+     SECStatus rv = SECFailure;
+ 
+@@ -1689,19 +1690,19 @@
+ }
+ 
+ KeyType
+-SECKEY_GetPrivateKeyType(SECKEYPrivateKey *privKey)
++SECKEY_GetPrivateKeyType(const SECKEYPrivateKey *privKey)
+ {
+    return privKey->keyType;
+ }
+ 
+ KeyType
+-SECKEY_GetPublicKeyType(SECKEYPublicKey *pubKey)
++SECKEY_GetPublicKeyType(const SECKEYPublicKey *pubKey)
+ {
+    return pubKey->keyType;
+ }
+ 
+ SECKEYPublicKey*
+-SECKEY_ImportDERPublicKey(SECItem *derKey, CK_KEY_TYPE type)
++SECKEY_ImportDERPublicKey(const SECItem *derKey, CK_KEY_TYPE type)
+ {
+     SECKEYPublicKey *pubk = NULL;
+     SECStatus rv = SECFailure;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/freebl/mpi/README seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/freebl/mpi/README
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/freebl/mpi/README	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/freebl/mpi/README	2013-11-29 02:20:03.362129811 +0400
+@@ -156,10 +156,6 @@
+ The basic numeric type defined by the library is an mp_int.  Virtually
+ all the functions in the library take a pointer to an mp_int as one of
+ their parameters.  An explanation of how to create and use these
+-<HR>
+-<A NAME="p23">
+-<H3>Problem 23:</H3>
+-
+ structures follows.  And so, without further ado...
+ 
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/nss/nss.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/nss/nss.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/nss/nss.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/nss/nss.h	2013-11-29 02:20:03.362129811 +0400
+@@ -33,10 +33,10 @@
+  * The format of the version string should be
+  *     "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
+  */
+-#define NSS_VERSION  "3.15.1" _NSS_ECC_STRING _NSS_CUSTOMIZED
++#define NSS_VERSION  "3.15.2" _NSS_ECC_STRING _NSS_CUSTOMIZED
+ #define NSS_VMAJOR   3
+ #define NSS_VMINOR   15
+-#define NSS_VPATCH   1
++#define NSS_VPATCH   2
+ #define NSS_VBUILD   0
+ #define NSS_BETA     PR_FALSE
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/nss/utilwrap.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/nss/utilwrap.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/nss/utilwrap.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/nss/utilwrap.c	2013-11-29 02:20:03.362129811 +0400
+@@ -293,12 +293,12 @@
+ }
+ 
+ SECStatus SECOID_CopyAlgorithmID(PLArenaPool *arena, SECAlgorithmID *dest,
+-				    SECAlgorithmID *src)
++				 const SECAlgorithmID *src)
+ {
+     return SECOID_CopyAlgorithmID_Util(arena, dest, src);
+ }
+ 
+-SECOidTag SECOID_GetAlgorithmTag(SECAlgorithmID *aid)
++SECOidTag SECOID_GetAlgorithmTag(const SECAlgorithmID *aid)
+ {
+     return SECOID_GetAlgorithmTag_Util(aid);
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/pk11wrap/pk11pub.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/pk11wrap/pk11pub.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/pk11wrap/pk11pub.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/pk11wrap/pk11pub.h	2013-11-29 02:20:03.363129802 +0400
+@@ -702,6 +702,7 @@
+ SECStatus PK11_Finalize(PK11Context *context);
+ SECStatus PK11_DigestFinal(PK11Context *context, unsigned char *data, 
+ 				unsigned int *outLen, unsigned int length);
++#define PK11_CipherFinal PK11_DigestFinal
+ SECStatus PK11_SaveContext(PK11Context *cx,unsigned char *save,
+ 						int *len, int saveLength);
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/pkcs12/p12d.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/pkcs12/p12d.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/pkcs12/p12d.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/pkcs12/p12d.c	2013-11-29 02:20:03.363129802 +0400
+@@ -3116,6 +3116,7 @@
+ 		    SECOID_CopyAlgorithmID(NULL, p12dcx->decitem.shroudAlg,
+ 			&bag->safeBagContent.pkcs8ShroudedKeyBag->algorithm);
+ 		}
++                /* fall through */
+             case SEC_OID_PKCS12_V1_KEY_BAG_ID:
+                 p12dcx->decitem.friendlyName = sec_pkcs12_get_friendlyName(bag);
+                 break;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/softoken/pkcs11c.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/softoken/pkcs11c.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/softoken/pkcs11c.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/softoken/pkcs11c.c	2013-11-29 02:20:03.364129793 +0400
+@@ -3510,6 +3510,7 @@
+     case CKM_DES2_KEY_GEN:
+     case CKM_DES3_KEY_GEN:
+ 	checkWeak = PR_TRUE;
++        /* fall through */
+     case CKM_RC2_KEY_GEN:
+     case CKM_RC4_KEY_GEN:
+     case CKM_GENERIC_SECRET_KEY_GEN:
+@@ -3536,6 +3537,7 @@
+ 	break;
+     case CKM_NETSCAPE_PBE_SHA1_FAULTY_3DES_CBC:
+ 	faultyPBE3DES = PR_TRUE;
++        /* fall through */
+     case CKM_NETSCAPE_PBE_SHA1_TRIPLE_DES_CBC:
+     case CKM_NETSCAPE_PBE_SHA1_40_BIT_RC2_CBC:
+     case CKM_NETSCAPE_PBE_SHA1_DES_CBC:
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/softoken/softkver.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/softoken/softkver.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/softoken/softkver.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/softoken/softkver.h	2013-11-29 02:20:03.364129793 +0400
+@@ -25,10 +25,10 @@
+  * The format of the version string should be
+  *     "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
+  */
+-#define SOFTOKEN_VERSION  "3.15.1" SOFTOKEN_ECC_STRING
++#define SOFTOKEN_VERSION  "3.15.2" SOFTOKEN_ECC_STRING
+ #define SOFTOKEN_VMAJOR   3
+ #define SOFTOKEN_VMINOR   15
+-#define SOFTOKEN_VPATCH   1
++#define SOFTOKEN_VPATCH   2
+ #define SOFTOKEN_VBUILD   0
+ #define SOFTOKEN_BETA     PR_FALSE
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl.h	2013-11-29 02:20:03.364129793 +0400
+@@ -320,7 +320,7 @@
+ 					 const SSLVersionRange *vrange);
+ 
+ 
+-/* Values for "policy" argument to SSL_PolicySet */
++/* Values for "policy" argument to SSL_CipherPolicySet */
+ /* Values returned by SSL_CipherPolicyGet. */
+ #define SSL_NOT_ALLOWED		 0	      /* or invalid or unimplemented */
+ #define SSL_ALLOWED		 1
+@@ -792,24 +792,20 @@
+ SSL_IMPORT SSLKEAType NSS_FindCertKEAType(CERTCertificate * cert);
+ 
+ /* Set cipher policies to a predefined Domestic (U.S.A.) policy.
+- * This essentially enables all supported ciphers.
++ * This essentially allows all supported ciphers.
+  */
+ SSL_IMPORT SECStatus NSS_SetDomesticPolicy(void);
+ 
+ /* Set cipher policies to a predefined Policy that is exportable from the USA
+  *   according to present U.S. policies as we understand them.
+- * See documentation for the list.
+- * Note that your particular application program may be able to obtain
+- *   an export license with more or fewer capabilities than those allowed
+- *   by this function.  In that case, you should use SSL_SetPolicy()
+- *   to explicitly allow those ciphers you may legally export.
++ * It is the same as NSS_SetDomesticPolicy now.
+  */
+ SSL_IMPORT SECStatus NSS_SetExportPolicy(void);
+ 
+ /* Set cipher policies to a predefined Policy that is exportable from the USA
+  *   according to present U.S. policies as we understand them, and that the 
+  *   nation of France will permit to be imported into their country.
+- * See documentation for the list.
++ * It is the same as NSS_SetDomesticPolicy now.
+  */
+ SSL_IMPORT SECStatus NSS_SetFrancePolicy(void);
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3con.c	2013-11-29 02:20:03.366129775 +0400
+@@ -67,6 +67,13 @@
+ static SECStatus Null_Cipher(void *ctx, unsigned char *output, int *outputLen,
+ 			     int maxOutputLen, const unsigned char *input,
+ 			     int inputLen);
++#ifndef NO_PKCS11_BYPASS
++static SECStatus ssl3_AESGCMBypass(ssl3KeyMaterial *keys, PRBool doDecrypt,
++				   unsigned char *out, int *outlen, int maxout,
++				   const unsigned char *in, int inlen,
++				   const unsigned char *additionalData,
++				   int additionalDataLen);
++#endif
+ 
+ #define MAX_SEND_BUF_LENGTH 32000 /* watch for 16-bit integer overflow */
+ #define MIN_SEND_BUF_LENGTH  4000
+@@ -77,85 +84,91 @@
+  * in this table must match the ordering in SSL_ImplementedCiphers (sslenum.c)
+  */
+ static ssl3CipherSuiteCfg cipherSuites[ssl_V3_SUITES_IMPLEMENTED] = {
+-   /*      cipher_suite                         policy      enabled is_present*/
++   /*      cipher_suite                     policy       enabled   isPresent */
++#ifdef NSS_ENABLE_ECC
++ { TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++#endif /* NSS_ENABLE_ECC */
++ { TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_RSA_WITH_AES_128_GCM_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,   SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,     SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,    SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_DHE_RSA_WITH_AES_256_CBC_SHA, 	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,    SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { TLS_DHE_DSS_WITH_AES_256_CBC_SHA, 	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
++ { TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_DHE_RSA_WITH_AES_256_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_DHE_DSS_WITH_AES_256_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,      SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,    SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
++ { TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,  	   SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_RSA_WITH_AES_256_CBC_SHA,     	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { TLS_RSA_WITH_AES_256_CBC_SHA256,	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
++ { TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_RSA_WITH_AES_256_CBC_SHA,            SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_RSA_WITH_AES_256_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ 
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,       SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,   SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_RC4_128_SHA,         SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,     SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,        SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,    SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_RC4_128_SHA,          SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_DHE_DSS_WITH_RC4_128_SHA,           SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_DHE_RSA_WITH_AES_128_CBC_SHA,       SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,    SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { TLS_DHE_DSS_WITH_AES_128_CBC_SHA, 	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
++ { TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_DHE_DSS_WITH_RC4_128_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_DHE_RSA_WITH_AES_128_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_DHE_DSS_WITH_AES_128_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDH_RSA_WITH_RC4_128_SHA,          SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,      SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDH_ECDSA_WITH_RC4_128_SHA,        SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,    SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
++ { TLS_ECDH_RSA_WITH_RC4_128_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_ECDSA_WITH_RC4_128_SHA,         SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { TLS_RSA_WITH_SEED_CBC_SHA,              SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE}, 
+- { TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,  	   SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { SSL_RSA_WITH_RC4_128_SHA,               SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { SSL_RSA_WITH_RC4_128_MD5,               SSL_NOT_ALLOWED, PR_TRUE, PR_FALSE},
+- { TLS_RSA_WITH_AES_128_CBC_SHA,     	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { TLS_RSA_WITH_AES_128_CBC_SHA256,	   SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
++ { TLS_RSA_WITH_SEED_CBC_SHA,               SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_WITH_RC4_128_SHA,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { SSL_RSA_WITH_RC4_128_MD5,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_RSA_WITH_AES_128_CBC_SHA,            SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { TLS_RSA_WITH_AES_128_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ 
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,    SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,      SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
+- { SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,      SSL_NOT_ALLOWED, PR_TRUE,PR_FALSE},
++ { SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,       SSL_ALLOWED, PR_TRUE,  PR_FALSE},
++ { SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,       SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,     SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA,   SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
++ { TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA,    SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA,     SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { SSL_RSA_WITH_3DES_EDE_CBC_SHA,          SSL_NOT_ALLOWED, PR_TRUE, PR_FALSE},
++ { SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_WITH_3DES_EDE_CBC_SHA,           SSL_ALLOWED, PR_TRUE,  PR_FALSE},
+ 
+ 
+- { SSL_DHE_RSA_WITH_DES_CBC_SHA,           SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { SSL_DHE_DSS_WITH_DES_CBC_SHA,           SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { SSL_RSA_FIPS_WITH_DES_CBC_SHA,          SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { SSL_RSA_WITH_DES_CBC_SHA,               SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_RSA_EXPORT1024_WITH_RC4_56_SHA,     SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA,    SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_DHE_RSA_WITH_DES_CBC_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_DHE_DSS_WITH_DES_CBC_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_FIPS_WITH_DES_CBC_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_WITH_DES_CBC_SHA,                SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_RSA_EXPORT1024_WITH_RC4_56_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ 
+- { SSL_RSA_EXPORT_WITH_RC4_40_MD5,         SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5,     SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_EXPORT_WITH_RC4_40_MD5,          SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ 
+ #ifdef NSS_ENABLE_ECC
+- { TLS_ECDHE_ECDSA_WITH_NULL_SHA,          SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_ECDHE_RSA_WITH_NULL_SHA,            SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_ECDH_RSA_WITH_NULL_SHA,             SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
+- { TLS_ECDH_ECDSA_WITH_NULL_SHA,           SSL_NOT_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_ECDSA_WITH_NULL_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDHE_RSA_WITH_NULL_SHA,             SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_RSA_WITH_NULL_SHA,              SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_ECDH_ECDSA_WITH_NULL_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ #endif /* NSS_ENABLE_ECC */
+- { SSL_RSA_WITH_NULL_SHA,                  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { TLS_RSA_WITH_NULL_SHA256,               SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+- { SSL_RSA_WITH_NULL_MD5,                  SSL_NOT_ALLOWED, PR_FALSE,PR_FALSE},
+-
++ { SSL_RSA_WITH_NULL_SHA,                   SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { TLS_RSA_WITH_NULL_SHA256,                SSL_ALLOWED, PR_FALSE, PR_FALSE},
++ { SSL_RSA_WITH_NULL_MD5,                   SSL_ALLOWED, PR_FALSE, PR_FALSE},
+ };
+ 
+ /* This list of SSL3 compression methods is sorted in descending order of
+@@ -222,23 +235,30 @@
+ 
+ /* indexed by SSL3BulkCipher */
+ static const ssl3BulkCipherDef bulk_cipher_defs[] = {
+-    /* cipher          calg        keySz secretSz  type  ivSz BlkSz keygen */
+-    {cipher_null,      calg_null,      0,  0, type_stream,  0, 0, kg_null},
+-    {cipher_rc4,       calg_rc4,      16, 16, type_stream,  0, 0, kg_strong},
+-    {cipher_rc4_40,    calg_rc4,      16,  5, type_stream,  0, 0, kg_export},
+-    {cipher_rc4_56,    calg_rc4,      16,  7, type_stream,  0, 0, kg_export},
+-    {cipher_rc2,       calg_rc2,      16, 16, type_block,   8, 8, kg_strong},
+-    {cipher_rc2_40,    calg_rc2,      16,  5, type_block,   8, 8, kg_export},
+-    {cipher_des,       calg_des,       8,  8, type_block,   8, 8, kg_strong},
+-    {cipher_3des,      calg_3des,     24, 24, type_block,   8, 8, kg_strong},
+-    {cipher_des40,     calg_des,       8,  5, type_block,   8, 8, kg_export},
+-    {cipher_idea,      calg_idea,     16, 16, type_block,   8, 8, kg_strong},
+-    {cipher_aes_128,   calg_aes,      16, 16, type_block,  16,16, kg_strong},
+-    {cipher_aes_256,   calg_aes,      32, 32, type_block,  16,16, kg_strong},
+-    {cipher_camellia_128, calg_camellia,16, 16, type_block,  16,16, kg_strong},
+-    {cipher_camellia_256, calg_camellia,32, 32, type_block,  16,16, kg_strong},
+-    {cipher_seed,      calg_seed,     16, 16, type_block,  16,16, kg_strong},
+-    {cipher_missing,   calg_null,      0,  0, type_stream,  0, 0, kg_null},
++    /*                                       |--------- Lengths --------| */
++    /* cipher             calg               k  s  type         i  b  t  n */
++    /*                                       e  e               v  l  a  o */
++    /*                                       y  c               |  o  g  n */
++    /*                                       |  r               |  c  |  c */
++    /*                                       |  e               |  k  |  e */
++    /*                                       |  t               |  |  |  | */
++    {cipher_null,         calg_null,         0, 0, type_stream, 0, 0, 0, 0},
++    {cipher_rc4,          calg_rc4,         16,16, type_stream, 0, 0, 0, 0},
++    {cipher_rc4_40,       calg_rc4,         16, 5, type_stream, 0, 0, 0, 0},
++    {cipher_rc4_56,       calg_rc4,         16, 7, type_stream, 0, 0, 0, 0},
++    {cipher_rc2,          calg_rc2,         16,16, type_block,  8, 8, 0, 0},
++    {cipher_rc2_40,       calg_rc2,         16, 5, type_block,  8, 8, 0, 0},
++    {cipher_des,          calg_des,          8, 8, type_block,  8, 8, 0, 0},
++    {cipher_3des,         calg_3des,        24,24, type_block,  8, 8, 0, 0},
++    {cipher_des40,        calg_des,          8, 5, type_block,  8, 8, 0, 0},
++    {cipher_idea,         calg_idea,        16,16, type_block,  8, 8, 0, 0},
++    {cipher_aes_128,      calg_aes,         16,16, type_block, 16,16, 0, 0},
++    {cipher_aes_256,      calg_aes,         32,32, type_block, 16,16, 0, 0},
++    {cipher_camellia_128, calg_camellia,    16,16, type_block, 16,16, 0, 0},
++    {cipher_camellia_256, calg_camellia,    32,32, type_block, 16,16, 0, 0},
++    {cipher_seed,         calg_seed,        16,16, type_block, 16,16, 0, 0},
++    {cipher_aes_128_gcm,  calg_aes_gcm,     16,16, type_aead,   4, 0,16, 8},
++    {cipher_missing,      calg_null,         0, 0, type_stream, 0, 0, 0, 0},
+ };
+ 
+ static const ssl3KEADef kea_defs[] = 
+@@ -360,6 +380,11 @@
+     {SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA, cipher_3des, mac_sha, kea_rsa_fips},
+     {SSL_RSA_FIPS_WITH_DES_CBC_SHA, cipher_des,    mac_sha, kea_rsa_fips},
+ 
++    {TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, cipher_aes_128_gcm, mac_aead, kea_dhe_rsa},
++    {TLS_RSA_WITH_AES_128_GCM_SHA256, cipher_aes_128_gcm, mac_aead, kea_rsa},
++    {TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, cipher_aes_128_gcm, mac_aead, kea_ecdhe_rsa},
++    {TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, cipher_aes_128_gcm, mac_aead, kea_ecdhe_ecdsa},
++
+ #ifdef NSS_ENABLE_ECC
+     {TLS_ECDH_ECDSA_WITH_NULL_SHA,        cipher_null, mac_sha, kea_ecdh_ecdsa},
+     {TLS_ECDH_ECDSA_WITH_RC4_128_SHA,      cipher_rc4, mac_sha, kea_ecdh_ecdsa},
+@@ -423,10 +448,11 @@
+     { calg_aes      , CKM_AES_CBC			},
+     { calg_camellia , CKM_CAMELLIA_CBC			},
+     { calg_seed     , CKM_SEED_CBC			},
++    { calg_aes_gcm  , CKM_AES_GCM			},
+ /*  { calg_init     , (CK_MECHANISM_TYPE)0x7fffffffL    }  */
+ };
+ 
+-#define mmech_null     (CK_MECHANISM_TYPE)0x80000000L
++#define mmech_invalid  (CK_MECHANISM_TYPE)0x80000000L
+ #define mmech_md5      CKM_SSL3_MD5_MAC
+ #define mmech_sha      CKM_SSL3_SHA1_MAC
+ #define mmech_md5_hmac CKM_MD5_HMAC
+@@ -436,12 +462,13 @@
+ static const ssl3MACDef mac_defs[] = { /* indexed by SSL3MACAlgorithm */
+     /* pad_size is only used for SSL 3.0 MAC. See RFC 6101 Sec. 5.2.3.1. */
+     /* mac      mmech       pad_size  mac_size                       */
+-    { mac_null, mmech_null,       0,  0          },
++    { mac_null, mmech_invalid,    0,  0          },
+     { mac_md5,  mmech_md5,       48,  MD5_LENGTH },
+     { mac_sha,  mmech_sha,       40,  SHA1_LENGTH},
+     {hmac_md5,  mmech_md5_hmac,   0,  MD5_LENGTH },
+     {hmac_sha,  mmech_sha_hmac,   0,  SHA1_LENGTH},
+     {hmac_sha256, mmech_sha256_hmac, 0, SHA256_LENGTH},
++    { mac_aead, mmech_invalid,    0,  0          },
+ };
+ 
+ /* indexed by SSL3BulkCipher */
+@@ -461,6 +488,7 @@
+     "Camellia-128",
+     "Camellia-256",
+     "SEED-CBC",
++    "AES-128-GCM",
+     "missing"
+ };
+ 
+@@ -587,9 +615,13 @@
+     case TLS_DHE_RSA_WITH_AES_256_CBC_SHA256:
+     case TLS_RSA_WITH_AES_256_CBC_SHA256:
+     case TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256:
++    case TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:
+     case TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256:
++    case TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:
+     case TLS_DHE_RSA_WITH_AES_128_CBC_SHA256:
++    case TLS_DHE_RSA_WITH_AES_128_GCM_SHA256:
+     case TLS_RSA_WITH_AES_128_CBC_SHA256:
++    case TLS_RSA_WITH_AES_128_GCM_SHA256:
+     case TLS_RSA_WITH_NULL_SHA256:
+ 	return version >= SSL_LIBRARY_VERSION_TLS_1_2;
+     default:
+@@ -1349,7 +1381,7 @@
+     cipher = suite_def->bulk_cipher_alg;
+     kea    = suite_def->key_exchange_alg;
+     mac    = suite_def->mac_alg;
+-    if (mac <= ssl_mac_sha && isTLS)
++    if (mac <= ssl_mac_sha && mac != ssl_mac_null && isTLS)
+ 	mac += 2;
+ 
+     ss->ssl3.hs.suite_def = suite_def;
+@@ -1543,7 +1575,6 @@
+       unsigned int       optArg2  = 0;
+       PRBool             server_encrypts = ss->sec.isServer;
+       SSLCipherAlgorithm calg;
+-      SSLCompressionMethod compression_method;
+       SECStatus          rv;
+ 
+     PORT_Assert(ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
+@@ -1554,7 +1585,17 @@
+     cipher_def    = pwSpec->cipher_def;
+ 
+     calg = cipher_def->calg;
+-    compression_method = pwSpec->compression_method;
++
++    if (calg == calg_aes_gcm) {
++	pwSpec->encode = NULL;
++	pwSpec->decode = NULL;
++	pwSpec->destroy = NULL;
++	pwSpec->encodeContext = NULL;
++	pwSpec->decodeContext = NULL;
++	pwSpec->aead = ssl3_AESGCMBypass;
++	ssl3_InitCompressionContext(pwSpec);
++	return SECSuccess;
++    }
+ 
+     serverContext = pwSpec->server.cipher_context;
+     clientContext = pwSpec->client.cipher_context;
+@@ -1710,6 +1751,195 @@
+     return param;
+ }
+ 
++/* ssl3_BuildRecordPseudoHeader writes the SSL/TLS pseudo-header (the data
++ * which is included in the MAC or AEAD additional data) to |out| and returns
++ * its length. See https://tools.ietf.org/html/rfc5246#section-6.2.3.3 for the
++ * definition of the AEAD additional data.
++ *
++ * TLS pseudo-header includes the record's version field, SSL's doesn't. Which
++ * pseudo-header defintiion to use should be decided based on the version of
++ * the protocol that was negotiated when the cipher spec became current, NOT
++ * based on the version value in the record itself, and the decision is passed
++ * to this function as the |includesVersion| argument. But, the |version|
++ * argument should be the record's version value.
++ */
++static unsigned int
++ssl3_BuildRecordPseudoHeader(unsigned char *out,
++			     SSL3SequenceNumber seq_num,
++			     SSL3ContentType type,
++			     PRBool includesVersion,
++			     SSL3ProtocolVersion version,
++			     PRBool isDTLS,
++			     int length)
++{
++    out[0] = (unsigned char)(seq_num.high >> 24);
++    out[1] = (unsigned char)(seq_num.high >> 16);
++    out[2] = (unsigned char)(seq_num.high >>  8);
++    out[3] = (unsigned char)(seq_num.high >>  0);
++    out[4] = (unsigned char)(seq_num.low  >> 24);
++    out[5] = (unsigned char)(seq_num.low  >> 16);
++    out[6] = (unsigned char)(seq_num.low  >>  8);
++    out[7] = (unsigned char)(seq_num.low  >>  0);
++    out[8] = type;
++
++    /* SSL3 MAC doesn't include the record's version field. */
++    if (!includesVersion) {
++	out[9]  = MSB(length);
++	out[10] = LSB(length);
++	return 11;
++    }
++
++    /* TLS MAC and AEAD additional data include version. */
++    if (isDTLS) {
++	SSL3ProtocolVersion dtls_version;
++
++	dtls_version = dtls_TLSVersionToDTLSVersion(version);
++	out[9]  = MSB(dtls_version);
++	out[10] = LSB(dtls_version);
++    } else {
++	out[9]  = MSB(version);
++	out[10] = LSB(version);
++    }
++    out[11] = MSB(length);
++    out[12] = LSB(length);
++    return 13;
++}
++
++static SECStatus
++ssl3_AESGCM(ssl3KeyMaterial *keys,
++	    PRBool doDecrypt,
++	    unsigned char *out,
++	    int *outlen,
++	    int maxout,
++	    const unsigned char *in,
++	    int inlen,
++	    const unsigned char *additionalData,
++	    int additionalDataLen)
++{
++    SECItem            param;
++    SECStatus          rv = SECFailure;
++    unsigned char      nonce[12];
++    unsigned int       uOutLen;
++    CK_GCM_PARAMS      gcmParams;
++
++    static const int   tagSize = 16;
++    static const int   explicitNonceLen = 8;
++
++    /* See https://tools.ietf.org/html/rfc5288#section-3 for details of how the
++     * nonce is formed. */
++    memcpy(nonce, keys->write_iv, 4);
++    if (doDecrypt) {
++	memcpy(nonce + 4, in, explicitNonceLen);
++	in += explicitNonceLen;
++	inlen -= explicitNonceLen;
++	*outlen = 0;
++    } else {
++	if (maxout < explicitNonceLen) {
++	    PORT_SetError(SEC_ERROR_INPUT_LEN);
++	    return SECFailure;
++        }
++	/* Use the 64-bit sequence number as the explicit nonce. */
++	memcpy(nonce + 4, additionalData, explicitNonceLen);
++	memcpy(out, additionalData, explicitNonceLen);
++	out += explicitNonceLen;
++	maxout -= explicitNonceLen;
++	*outlen = explicitNonceLen;
++    }
++
++    param.type = siBuffer;
++    param.data = (unsigned char *) &gcmParams;
++    param.len = sizeof(gcmParams);
++    gcmParams.pIv = nonce;
++    gcmParams.ulIvLen = sizeof(nonce);
++    gcmParams.pAAD = (unsigned char *)additionalData;  /* const cast */
++    gcmParams.ulAADLen = additionalDataLen;
++    gcmParams.ulTagBits = tagSize * 8;
++
++    if (doDecrypt) {
++	rv = PK11_Decrypt(keys->write_key, CKM_AES_GCM, &param, out, &uOutLen,
++			  maxout, in, inlen);
++    } else {
++	rv = PK11_Encrypt(keys->write_key, CKM_AES_GCM, &param, out, &uOutLen,
++			  maxout, in, inlen);
++    }
++    *outlen += (int) uOutLen;
++
++    return rv;
++}
++
++#ifndef NO_PKCS11_BYPASS
++static SECStatus
++ssl3_AESGCMBypass(ssl3KeyMaterial *keys,
++		  PRBool doDecrypt,
++		  unsigned char *out,
++		  int *outlen,
++		  int maxout,
++		  const unsigned char *in,
++		  int inlen,
++		  const unsigned char *additionalData,
++		  int additionalDataLen)
++{
++    SECStatus          rv = SECFailure;
++    unsigned char      nonce[12];
++    unsigned int       uOutLen;
++    AESContext        *cx;
++    CK_GCM_PARAMS      gcmParams;
++
++    static const int   tagSize = 16;
++    static const int   explicitNonceLen = 8;
++
++    /* See https://tools.ietf.org/html/rfc5288#section-3 for details of how the
++     * nonce is formed. */
++    PORT_Assert(keys->write_iv_item.len == 4);
++    if (keys->write_iv_item.len != 4) {
++	PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
++	return SECFailure;
++    }
++    memcpy(nonce, keys->write_iv_item.data, 4);
++    if (doDecrypt) {
++	memcpy(nonce + 4, in, explicitNonceLen);
++	in += explicitNonceLen;
++	inlen -= explicitNonceLen;
++	*outlen = 0;
++    } else {
++	if (maxout < explicitNonceLen) {
++	    PORT_SetError(SEC_ERROR_INPUT_LEN);
++	    return SECFailure;
++        }
++	/* Use the 64-bit sequence number as the explicit nonce. */
++	memcpy(nonce + 4, additionalData, explicitNonceLen);
++	memcpy(out, additionalData, explicitNonceLen);
++	out += explicitNonceLen;
++	maxout -= explicitNonceLen;
++	*outlen = explicitNonceLen;
++    }
++
++    gcmParams.pIv = nonce;
++    gcmParams.ulIvLen = sizeof(nonce);
++    gcmParams.pAAD = (unsigned char *)additionalData;  /* const cast */
++    gcmParams.ulAADLen = additionalDataLen;
++    gcmParams.ulTagBits = tagSize * 8;
++
++    cx = (AESContext *)keys->cipher_context;
++    rv = AES_InitContext(cx, keys->write_key_item.data,
++			 keys->write_key_item.len,
++			 (unsigned char *)&gcmParams, NSS_AES_GCM, !doDecrypt,
++			 AES_BLOCK_SIZE);
++    if (rv != SECSuccess) {
++	return rv;
++    }
++    if (doDecrypt) {
++	rv = AES_Decrypt(cx, out, &uOutLen, maxout, in, inlen);
++    } else {
++	rv = AES_Encrypt(cx, out, &uOutLen, maxout, in, inlen);
++    }
++    AES_DestroyContext(cx, PR_FALSE);
++    *outlen += (int) uOutLen;
++
++    return rv;
++}
++#endif
++
+ /* Initialize encryption and MAC contexts for pending spec.
+  * Master Secret already is derived.
+  * Caller holds Spec write lock.
+@@ -1737,14 +1967,27 @@
+     pwSpec        = ss->ssl3.pwSpec;
+     cipher_def    = pwSpec->cipher_def;
+     macLength     = pwSpec->mac_size;
++    calg          = cipher_def->calg;
++    PORT_Assert(alg2Mech[calg].calg == calg);
++
++    pwSpec->client.write_mac_context = NULL;
++    pwSpec->server.write_mac_context = NULL;
++
++    if (calg == calg_aes_gcm) {
++	pwSpec->encode = NULL;
++	pwSpec->decode = NULL;
++	pwSpec->destroy = NULL;
++	pwSpec->encodeContext = NULL;
++	pwSpec->decodeContext = NULL;
++	pwSpec->aead = ssl3_AESGCM;
++	return SECSuccess;
++    }
+ 
+     /* 
+     ** Now setup the MAC contexts, 
+     **   crypto contexts are setup below.
+     */
+ 
+-    pwSpec->client.write_mac_context = NULL;
+-    pwSpec->server.write_mac_context = NULL;
+     mac_mech       = pwSpec->mac_def->mmech;
+     mac_param.data = (unsigned char *)&macLength;
+     mac_param.len  = sizeof(macLength);
+@@ -1767,9 +2010,6 @@
+     ** Now setup the crypto contexts.
+     */
+ 
+-    calg = cipher_def->calg;
+-    PORT_Assert(alg2Mech[calg].calg == calg);
+-
+     if (calg == calg_null) {
+ 	pwSpec->encode  = Null_Cipher;
+ 	pwSpec->decode  = Null_Cipher;
+@@ -1977,10 +2217,8 @@
+ ssl3_ComputeRecordMAC(
+     ssl3CipherSpec *   spec,
+     PRBool             useServerMacKey,
+-    PRBool             isDTLS,
+-    SSL3ContentType    type,
+-    SSL3ProtocolVersion version,
+-    SSL3SequenceNumber seq_num,
++    const unsigned char *header,
++    unsigned int       headerLen,
+     const SSL3Opaque * input,
+     int                inputLength,
+     unsigned char *    outbuf,
+@@ -1988,56 +2226,8 @@
+ {
+     const ssl3MACDef * mac_def;
+     SECStatus          rv;
+-#ifndef NO_PKCS11_BYPASS
+-    PRBool             isTLS;
+-#endif
+-    unsigned int       tempLen;
+-    unsigned char      temp[MAX_MAC_LENGTH];
+-
+-    temp[0] = (unsigned char)(seq_num.high >> 24);
+-    temp[1] = (unsigned char)(seq_num.high >> 16);
+-    temp[2] = (unsigned char)(seq_num.high >>  8);
+-    temp[3] = (unsigned char)(seq_num.high >>  0);
+-    temp[4] = (unsigned char)(seq_num.low  >> 24);
+-    temp[5] = (unsigned char)(seq_num.low  >> 16);
+-    temp[6] = (unsigned char)(seq_num.low  >>  8);
+-    temp[7] = (unsigned char)(seq_num.low  >>  0);
+-    temp[8] = type;
+-
+-    /* TLS MAC includes the record's version field, SSL's doesn't.
+-    ** We decide which MAC defintiion to use based on the version of 
+-    ** the protocol that was negotiated when the spec became current,
+-    ** NOT based on the version value in the record itself.
+-    ** But, we use the record'v version value in the computation.
+-    */
+-    if (spec->version <= SSL_LIBRARY_VERSION_3_0) {
+-	temp[9]  = MSB(inputLength);
+-	temp[10] = LSB(inputLength);
+-	tempLen  = 11;
+-#ifndef NO_PKCS11_BYPASS
+-	isTLS    = PR_FALSE;
+-#endif
+-    } else {
+-    	/* New TLS hash includes version. */
+-	if (isDTLS) {
+-	    SSL3ProtocolVersion dtls_version;
+-
+-	    dtls_version = dtls_TLSVersionToDTLSVersion(version);
+-	    temp[9]  = MSB(dtls_version);
+-	    temp[10] = LSB(dtls_version);
+-        } else {
+-	    temp[9]  = MSB(version);
+-	    temp[10] = LSB(version);
+-        }
+-	temp[11] = MSB(inputLength);
+-	temp[12] = LSB(inputLength);
+-	tempLen  = 13;
+-#ifndef NO_PKCS11_BYPASS
+-	isTLS    = PR_TRUE;
+-#endif
+-    }
+ 
+-    PRINT_BUF(95, (NULL, "frag hash1: temp", temp, tempLen));
++    PRINT_BUF(95, (NULL, "frag hash1: header", header, headerLen));
+     PRINT_BUF(95, (NULL, "frag hash1: input", input, inputLength));
+ 
+     mac_def = spec->mac_def;
+@@ -2082,7 +2272,10 @@
+ 	    return SECFailure;
+ 	}
+ 
+-	if (!isTLS) {
++	if (spec->version <= SSL_LIBRARY_VERSION_3_0) {
++	    unsigned int tempLen;
++	    unsigned char temp[MAX_MAC_LENGTH];
++
+ 	    /* compute "inner" part of SSL3 MAC */
+ 	    hashObj->begin(write_mac_context);
+ 	    if (useServerMacKey)
+@@ -2094,7 +2287,7 @@
+ 				spec->client.write_mac_key_item.data,
+ 				spec->client.write_mac_key_item.len);
+ 	    hashObj->update(write_mac_context, mac_pad_1, pad_bytes);
+-	    hashObj->update(write_mac_context, temp,  tempLen);
++	    hashObj->update(write_mac_context, header, headerLen);
+ 	    hashObj->update(write_mac_context, input, inputLength);
+ 	    hashObj->end(write_mac_context,    temp, &tempLen, sizeof temp);
+ 
+@@ -2125,7 +2318,7 @@
+ 	    }
+ 	    if (rv == SECSuccess) {
+ 		HMAC_Begin(cx);
+-		HMAC_Update(cx, temp, tempLen);
++		HMAC_Update(cx, header, headerLen);
+ 		HMAC_Update(cx, input, inputLength);
+ 		rv = HMAC_Finish(cx, outbuf, outLength, spec->mac_size);
+ 		HMAC_Destroy(cx, PR_FALSE);
+@@ -2139,7 +2332,7 @@
+ 	    (useServerMacKey ? spec->server.write_mac_context
+ 	                     : spec->client.write_mac_context);
+ 	rv  = PK11_DigestBegin(mac_context);
+-	rv |= PK11_DigestOp(mac_context, temp, tempLen);
++	rv |= PK11_DigestOp(mac_context, header, headerLen);
+ 	rv |= PK11_DigestOp(mac_context, input, inputLength);
+ 	rv |= PK11_DigestFinal(mac_context, outbuf, outLength, spec->mac_size);
+     }
+@@ -2165,10 +2358,8 @@
+ ssl3_ComputeRecordMACConstantTime(
+     ssl3CipherSpec *   spec,
+     PRBool             useServerMacKey,
+-    PRBool             isDTLS,
+-    SSL3ContentType    type,
+-    SSL3ProtocolVersion version,
+-    SSL3SequenceNumber seq_num,
++    const unsigned char *header,
++    unsigned int       headerLen,
+     const SSL3Opaque * input,
+     int                inputLen,
+     int                originalLen,
+@@ -2179,9 +2370,7 @@
+     CK_NSS_MAC_CONSTANT_TIME_PARAMS params;
+     SECItem                      param, inputItem, outputItem;
+     SECStatus                    rv;
+-    unsigned char                header[13];
+     PK11SymKey *                 key;
+-    int                          recordLength;
+ 
+     PORT_Assert(inputLen >= spec->mac_size);
+     PORT_Assert(originalLen >= inputLen);
+@@ -2197,42 +2386,15 @@
+ 	return SECSuccess;
+     }
+ 
+-    header[0] = (unsigned char)(seq_num.high >> 24);
+-    header[1] = (unsigned char)(seq_num.high >> 16);
+-    header[2] = (unsigned char)(seq_num.high >>  8);
+-    header[3] = (unsigned char)(seq_num.high >>  0);
+-    header[4] = (unsigned char)(seq_num.low  >> 24);
+-    header[5] = (unsigned char)(seq_num.low  >> 16);
+-    header[6] = (unsigned char)(seq_num.low  >>  8);
+-    header[7] = (unsigned char)(seq_num.low  >>  0);
+-    header[8] = type;
+-
+     macType = CKM_NSS_HMAC_CONSTANT_TIME;
+-    recordLength = inputLen - spec->mac_size;
+     if (spec->version <= SSL_LIBRARY_VERSION_3_0) {
+ 	macType = CKM_NSS_SSL3_MAC_CONSTANT_TIME;
+-	header[9] = recordLength >> 8;
+-	header[10] = recordLength;
+-	params.ulHeaderLen = 11;
+-    } else {
+-	if (isDTLS) {
+-	    SSL3ProtocolVersion dtls_version;
+-
+-	    dtls_version = dtls_TLSVersionToDTLSVersion(version);
+-	    header[9] = dtls_version >> 8;
+-	    header[10] = dtls_version;
+-	} else {
+-	    header[9] = version >> 8;
+-	    header[10] = version;
+-	}
+-	header[11] = recordLength >> 8;
+-	header[12] = recordLength;
+-	params.ulHeaderLen = 13;
+     }
+ 
+     params.macAlg = spec->mac_def->mmech;
+     params.ulBodyTotalLen = originalLen;
+-    params.pHeader = header;
++    params.pHeader = (unsigned char *) header;  /* const cast */
++    params.ulHeaderLen = headerLen;
+ 
+     param.data = (unsigned char*) &params;
+     param.len = sizeof(params);
+@@ -2272,9 +2434,8 @@
+     /* ssl3_ComputeRecordMAC expects the MAC to have been removed from the
+      * length already. */
+     inputLen -= spec->mac_size;
+-    return ssl3_ComputeRecordMAC(spec, useServerMacKey, isDTLS, type,
+-				 version, seq_num, input, inputLen,
+-				 outbuf, outLen);
++    return ssl3_ComputeRecordMAC(spec, useServerMacKey, header, headerLen,
++				 input, inputLen, outbuf, outLen);
+ }
+ 
+ static PRBool
+@@ -2323,6 +2484,8 @@
+     PRUint16                  headerLen;
+     int                       ivLen = 0;
+     int                       cipherBytes = 0;
++    unsigned char             pseudoHeader[13];
++    unsigned int              pseudoHeaderLen;
+ 
+     cipher_def = cwSpec->cipher_def;
+     headerLen = isDTLS ? DTLS_RECORD_HEADER_LENGTH : SSL3_RECORD_HEADER_LENGTH;
+@@ -2368,11 +2531,39 @@
+ 	contentLen = outlen;
+     }
+ 
++    pseudoHeaderLen = ssl3_BuildRecordPseudoHeader(
++	pseudoHeader, cwSpec->write_seq_num, type,
++	cwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_0, cwSpec->version,
++	isDTLS, contentLen);
++    PORT_Assert(pseudoHeaderLen <= sizeof(pseudoHeader));
++    if (cipher_def->type == type_aead) {
++	const int nonceLen = cipher_def->explicit_nonce_size;
++	const int tagLen = cipher_def->tag_size;
++
++	if (headerLen + nonceLen + contentLen + tagLen > wrBuf->space) {
++	    PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
++	    return SECFailure;
++	}
++
++	cipherBytes = contentLen;
++	rv = cwSpec->aead(
++		isServer ? &cwSpec->server : &cwSpec->client,
++		PR_FALSE,                                   /* do encrypt */
++		wrBuf->buf + headerLen,                     /* output  */
++		&cipherBytes,                               /* out len */
++		wrBuf->space - headerLen,                   /* max out */
++		pIn, contentLen,                            /* input   */
++		pseudoHeader, pseudoHeaderLen);
++	if (rv != SECSuccess) {
++	    PORT_SetError(SSL_ERROR_ENCRYPTION_FAILURE);
++	    return SECFailure;
++	}
++    } else {
+     /*
+      * Add the MAC
+      */
+-    rv = ssl3_ComputeRecordMAC( cwSpec, isServer, isDTLS,
+-	type, cwSpec->version, cwSpec->write_seq_num, pIn, contentLen,
++	rv = ssl3_ComputeRecordMAC(cwSpec, isServer,
++	    pseudoHeader, pseudoHeaderLen, pIn, contentLen,
+ 	wrBuf->buf + headerLen + ivLen + contentLen, &macLen);
+     if (rv != SECSuccess) {
+ 	ssl_MapLowLevelError(SSL_ERROR_MAC_COMPUTATION_FAILURE);
+@@ -2417,7 +2608,8 @@
+ 	p2Len += oddLen;
+ 	PORT_Assert( (cipher_def->block_size < 2) || \
+ 		     (p2Len % cipher_def->block_size) == 0);
+-	memmove(wrBuf->buf + headerLen + ivLen + p1Len, pIn + p1Len, oddLen);
++	    memmove(wrBuf->buf + headerLen + ivLen + p1Len, pIn + p1Len,
++		    oddLen);
+     }
+     if (p1Len > 0) {
+ 	int cipherBytesPart1 = -1;
+@@ -2448,6 +2640,8 @@
+ 	}
+ 	cipherBytes += cipherBytesPart2;
+     }	
++    }
++
+     PORT_Assert(cipherBytes <= MAX_FRAGMENT_LENGTH + 1024);
+ 
+     wrBuf->len    = cipherBytes + headerLen;
+@@ -2990,9 +3184,6 @@
+ static SECStatus
+ ssl3_IllegalParameter(sslSocket *ss)
+ {
+-    PRBool isTLS;
+-
+-    isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0);
+     (void)SSL3_SendAlert(ss, alert_fatal, illegal_parameter);
+     PORT_SetError(ss->sec.isServer ? SSL_ERROR_BAD_CLIENT
+                                    : SSL_ERROR_BAD_SERVER );
+@@ -3516,7 +3707,6 @@
+     }
+ 
+     key_material_params.bIsExport = (CK_BBOOL)(kea_def->is_limited);
+-    /* was:	(CK_BBOOL)(cipher_def->keygen_mode != kg_strong); */
+ 
+     key_material_params.RandomInfo.pClientRandom     = cr;
+     key_material_params.RandomInfo.ulClientRandomLen = SSL3_RANDOM_LENGTH;
+@@ -7426,7 +7616,7 @@
+     goto alert_loser;
+ 
+ suite_found:
+-    /* Look for a matching compression algorithm. */
++    /* Select a compression algorithm. */
+     for (i = 0; i < comps.len; i++) {
+ 	if (!compressionEnabled(ss, comps.data[i]))
+ 	    continue;
+@@ -9685,7 +9875,6 @@
+ static void
+ ssl3_RecordKeyLog(sslSocket *ss)
+ {
+-    sslSessionID *sid;
+     SECStatus rv;
+     SECItem *keyData;
+     char buf[14 /* "CLIENT_RANDOM " */ +
+@@ -9697,8 +9886,6 @@
+ 
+     PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
+ 
+-    sid = ss->sec.ci.sid;
+-
+     if (!ssl_keylog_iob)
+ 	return;
+ 
+@@ -10504,7 +10691,7 @@
+     /* SSLv3 padding bytes are random and cannot be checked. */
+     t = plaintext->len;
+     t -= paddingLength+overhead;
+-    /* If len >= padding_length+overhead then the MSB of t is zero. */
++    /* If len >= paddingLength+overhead then the MSB of t is zero. */
+     good = DUPLICATE_MSB_TO_ALL(~t);
+     /* SSLv3 requires that the padding is minimal. */
+     t = blockSize - (paddingLength+1);
+@@ -10670,6 +10857,8 @@
+     unsigned int         originalLen = 0;
+     unsigned int         good;
+     unsigned int         minLength;
++    unsigned char        header[13];
++    unsigned int         headerLen;
+ 
+     PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
+ 
+@@ -10737,7 +10926,7 @@
+ 	}
+     }
+ 
+-    good = (unsigned)-1;
++    good = ~0U;
+     minLength = crSpec->mac_size;
+     if (cipher_def->type == type_block) {
+ 	/* CBC records have a padding length byte at the end. */
+@@ -10746,19 +10935,14 @@
+ 	    /* With >= TLS 1.1, CBC records have an explicit IV. */
+ 	    minLength += cipher_def->iv_size;
+ 	}
++    } else if (cipher_def->type == type_aead) {
++	minLength = cipher_def->explicit_nonce_size + cipher_def->tag_size;
+     }
+ 
+     /* We can perform this test in variable time because the record's total
+      * length and the ciphersuite are both public knowledge. */
+     if (cText->buf->len < minLength) {
+-	SSL_DBG(("%d: SSL3[%d]: HandleRecord, record too small.",
+-		 SSL_GETPID(), ss->fd));
+-	/* must not hold spec lock when calling SSL3_SendAlert. */
+-	ssl_ReleaseSpecReadLock(ss);
+-	SSL3_SendAlert(ss, alert_fatal, bad_record_mac);
+-	/* always log mac error, in case attacker can read server logs. */
+-	PORT_SetError(SSL_ERROR_BAD_MAC_READ);
+-	return SECFailure;
++	goto decrypt_loser;
+     }
+ 
+     if (cipher_def->type == type_block &&
+@@ -10826,11 +11010,44 @@
+ 	return SECFailure;
+     }
+ 
++    rType = cText->type;
++    if (cipher_def->type == type_aead) {
++	/* XXX For many AEAD ciphers, the plaintext is shorter than the
++	 * ciphertext by a fixed byte count, but it is not true in general.
++	 * Each AEAD cipher should provide a function that returns the
++	 * plaintext length for a given ciphertext. */
++	unsigned int decryptedLen =
++	    cText->buf->len - cipher_def->explicit_nonce_size -
++	    cipher_def->tag_size;
++	headerLen = ssl3_BuildRecordPseudoHeader(
++	    header, IS_DTLS(ss) ? cText->seq_num : crSpec->read_seq_num,
++	    rType, isTLS, cText->version, IS_DTLS(ss), decryptedLen);
++	PORT_Assert(headerLen <= sizeof(header));
++	rv = crSpec->aead(
++		ss->sec.isServer ? &crSpec->client : &crSpec->server,
++		PR_TRUE,                          /* do decrypt */
++		plaintext->buf,                   /* out */
++		(int*) &plaintext->len,           /* outlen */
++		plaintext->space,                 /* maxout */
++		cText->buf->buf,                  /* in */
++		cText->buf->len,                  /* inlen */
++		header, headerLen);
++	if (rv != SECSuccess) {
++	    good = 0;
++	}
++    } else {
++	if (cipher_def->type == type_block &&
++	    ((cText->buf->len - ivLen) % cipher_def->block_size) != 0) {
++	    goto decrypt_loser;
++	}
++
+     /* decrypt from cText buf to plaintext. */
+     rv = crSpec->decode(
+ 	crSpec->decodeContext, plaintext->buf, (int *)&plaintext->len,
+ 	plaintext->space, cText->buf->buf + ivLen, cText->buf->len - ivLen);
+-    good &= SECStatusToMask(rv);
++	if (rv != SECSuccess) {
++	    goto decrypt_loser;
++	}
+ 
+     PRINT_BUF(80, (ss, "cleartext:", plaintext->buf, plaintext->len));
+ 
+@@ -10838,10 +11055,10 @@
+ 
+     /* If it's a block cipher, check and strip the padding. */
+     if (cipher_def->type == type_block) {
+-	const unsigned int blockSize = cipher_def->iv_size;
++	    const unsigned int blockSize = cipher_def->block_size;
+ 	const unsigned int macSize = crSpec->mac_size;
+ 
+-	if (crSpec->version <= SSL_LIBRARY_VERSION_3_0) {
++	    if (!isTLS) {
+ 	    good &= SECStatusToMask(ssl_RemoveSSLv3CBCPadding(
+ 			plaintext, blockSize, macSize));
+ 	} else {
+@@ -10851,12 +11068,14 @@
+     }
+ 
+     /* compute the MAC */
+-    rType = cText->type;
++	headerLen = ssl3_BuildRecordPseudoHeader(
++	    header, IS_DTLS(ss) ? cText->seq_num : crSpec->read_seq_num,
++	    rType, isTLS, cText->version, IS_DTLS(ss),
++	    plaintext->len - crSpec->mac_size);
++	PORT_Assert(headerLen <= sizeof(header));
+     if (cipher_def->type == type_block) {
+ 	rv = ssl3_ComputeRecordMACConstantTime(
+-	    crSpec, (PRBool)(!ss->sec.isServer),
+-	    IS_DTLS(ss), rType, cText->version,
+-	    IS_DTLS(ss) ? cText->seq_num : crSpec->read_seq_num,
++		crSpec, (PRBool)(!ss->sec.isServer), header, headerLen,
+ 	    plaintext->buf, plaintext->len, originalLen,
+ 	    hash, &hashBytes);
+ 
+@@ -10874,14 +11093,11 @@
+ 	plaintext->len -= crSpec->mac_size;
+ 
+ 	rv = ssl3_ComputeRecordMAC(
+-	    crSpec, (PRBool)(!ss->sec.isServer),
+-	    IS_DTLS(ss), rType, cText->version,
+-	    IS_DTLS(ss) ? cText->seq_num : crSpec->read_seq_num,
+-	    plaintext->buf, plaintext->len,
+-	    hash, &hashBytes);
++		crSpec, (PRBool)(!ss->sec.isServer), header, headerLen,
++		plaintext->buf, plaintext->len, hash, &hashBytes);
+ 
+-	/* We can read the MAC directly from the record because its location is
+-	 * public when a stream cipher is used. */
++	    /* We can read the MAC directly from the record because its location
++	     * is public when a stream cipher is used. */
+ 	givenHash = plaintext->buf + plaintext->len;
+     }
+ 
+@@ -10892,12 +11108,14 @@
+ 	/* We're allowed to leak whether or not the MAC check was correct */
+ 	good = 0;
+     }
++    }
+ 
+     if (good == 0) {
++decrypt_loser:
+ 	/* must not hold spec lock when calling SSL3_SendAlert. */
+ 	ssl_ReleaseSpecReadLock(ss);
+ 
+-	SSL_DBG(("%d: SSL3[%d]: mac check failed", SSL_GETPID(), ss->fd));
++	SSL_DBG(("%d: SSL3[%d]: decryption failed", SSL_GETPID(), ss->fd));
+ 
+ 	if (!IS_DTLS(ss)) {
+ 	    SSL3_SendAlert(ss, alert_fatal, bad_record_mac);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl3ecc.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3ecc.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl3ecc.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3ecc.c	2013-11-29 02:20:03.366129775 +0400
+@@ -896,6 +896,7 @@
+     TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
++    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
+     TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_NULL_SHA,
+     TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
+@@ -906,6 +907,7 @@
+     TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
++    TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
+     TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_NULL_SHA,
+     TLS_ECDHE_RSA_WITH_RC4_128_SHA,
+@@ -917,12 +919,14 @@
+     TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
++    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
+     TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
+     TLS_ECDHE_ECDSA_WITH_NULL_SHA,
+     TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
+     TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
++    TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
+     TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
+     TLS_ECDHE_RSA_WITH_NULL_SHA,
+     TLS_ECDHE_RSA_WITH_RC4_128_SHA,
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl3ext.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3ext.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/ssl3ext.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/ssl3ext.c	2013-11-29 02:20:03.367129766 +0400
+@@ -1411,7 +1411,7 @@
+ 	    goto no_ticket;
+ 	
+ 	/* Allow for the wrapped master secret to be longer. */
+-	if (buffer_len < sizeof(SSL3_MASTER_SECRET_LENGTH))
++	if (buffer_len < parsed_session_ticket->ms_length)
+ 	    goto no_ticket;
+ 	PORT_Memcpy(parsed_session_ticket->master_secret, buffer,
+ 	    parsed_session_ticket->ms_length);
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslcon.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslcon.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslcon.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslcon.c	2013-11-29 02:20:03.367129766 +0400
+@@ -20,7 +20,6 @@
+ #include "prinit.h"
+ #include "prtime.h" 	/* for PR_Now() */
+ 
+-#define XXX
+ static PRBool policyWasSet;
+ 
+ /* This ordered list is indexed by (SSL_CK_xx * 3)   */
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslenum.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslenum.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslenum.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslenum.c	2013-11-29 02:20:03.367129766 +0400
+@@ -29,6 +29,14 @@
+  * Finally, update the ssl_V3_SUITES_IMPLEMENTED macro in sslimpl.h.
+  */
+ const PRUint16 SSL_ImplementedCiphers[] = {
++    /* AES-GCM */
++#ifdef NSS_ENABLE_ECC
++    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
++    TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
++#endif /* NSS_ENABLE_ECC */
++    TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
++    TLS_RSA_WITH_AES_128_GCM_SHA256,
++
+     /* 256-bit */
+ #ifdef NSS_ENABLE_ECC
+     TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslimpl.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslimpl.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslimpl.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslimpl.h	2013-11-29 02:20:03.368129756 +0400
+@@ -54,6 +54,7 @@
+ #define calg_aes	ssl_calg_aes
+ #define calg_camellia	ssl_calg_camellia
+ #define calg_seed	ssl_calg_seed
++#define calg_aes_gcm    ssl_calg_aes_gcm
+ 
+ #define mac_null	ssl_mac_null
+ #define mac_md5 	ssl_mac_md5
+@@ -61,6 +62,7 @@
+ #define hmac_md5	ssl_hmac_md5
+ #define hmac_sha	ssl_hmac_sha
+ #define hmac_sha256	ssl_hmac_sha256
++#define mac_aead	ssl_mac_aead
+ 
+ #define SET_ERROR_CODE		/* reminder */
+ #define SEND_ALERT		/* reminder */
+@@ -280,9 +282,9 @@
+ } ssl3CipherSuiteCfg;
+ 
+ #ifdef NSS_ENABLE_ECC
+-#define ssl_V3_SUITES_IMPLEMENTED 57
++#define ssl_V3_SUITES_IMPLEMENTED 61
+ #else
+-#define ssl_V3_SUITES_IMPLEMENTED 35
++#define ssl_V3_SUITES_IMPLEMENTED 37
+ #endif /* NSS_ENABLE_ECC */
+ 
+ #define MAX_DTLS_SRTP_CIPHER_SUITES 4
+@@ -430,20 +432,6 @@
+ #define GS_DATA		3
+ #define GS_PAD		4
+ 
+-typedef SECStatus (*SSLCipher)(void *               context, 
+-                               unsigned char *      out,
+-			       int *                outlen, 
+-			       int                  maxout, 
+-			       const unsigned char *in,
+-			       int                  inlen);
+-typedef SECStatus (*SSLCompressor)(void *               context,
+-                                   unsigned char *      out,
+-                                   int *                outlen,
+-                                   int                  maxout,
+-                                   const unsigned char *in,
+-                                   int                  inlen);
+-typedef SECStatus (*SSLDestroy)(void *context, PRBool freeit);
+-
+ 
+ 
+ /*
+@@ -467,11 +455,12 @@
+     cipher_camellia_128,
+     cipher_camellia_256,
+     cipher_seed,
++    cipher_aes_128_gcm,
+     cipher_missing              /* reserved for no such supported cipher */
+     /* This enum must match ssl3_cipherName[] in ssl3con.c.  */
+ } SSL3BulkCipher;
+ 
+-typedef enum { type_stream, type_block } CipherType;
++typedef enum { type_stream, type_block, type_aead } CipherType;
+ 
+ #define MAX_IV_LENGTH 24
+ 
+@@ -513,6 +502,30 @@
+     PRUint64    cipher_context[MAX_CIPHER_CONTEXT_LLONGS];
+ } ssl3KeyMaterial;
+ 
++typedef SECStatus (*SSLCipher)(void *               context, 
++                               unsigned char *      out,
++			       int *                outlen, 
++			       int                  maxout, 
++			       const unsigned char *in,
++			       int                  inlen);
++typedef SECStatus (*SSLAEADCipher)(
++			       ssl3KeyMaterial *    keys,
++			       PRBool               doDecrypt,
++			       unsigned char *      out,
++			       int *                outlen,
++			       int                  maxout,
++			       const unsigned char *in,
++			       int                  inlen,
++			       const unsigned char *additionalData,
++			       int                  additionalDataLen);
++typedef SECStatus (*SSLCompressor)(void *               context,
++                                   unsigned char *      out,
++                                   int *                outlen,
++                                   int                  maxout,
++                                   const unsigned char *in,
++                                   int                  inlen);
++typedef SECStatus (*SSLDestroy)(void *context, PRBool freeit);
++
+ /* The DTLS anti-replay window. Defined here because we need it in
+  * the cipher spec. Note that this is a ring buffer but left and
+  * right represent the true window, with modular arithmetic used to
+@@ -539,6 +552,7 @@
+     int                mac_size;
+     SSLCipher          encode;
+     SSLCipher          decode;
++    SSLAEADCipher      aead;
+     SSLDestroy         destroy;
+     void *             encodeContext;
+     void *             decodeContext;
+@@ -685,8 +699,6 @@
+     PRBool                   tls_keygen;
+ } ssl3KEADef;
+ 
+-typedef enum { kg_null, kg_strong, kg_export } SSL3KeyGenMode;
+-
+ /*
+ ** There are tables of these, all const.
+ */
+@@ -698,7 +710,8 @@
+     CipherType      type;
+     int             iv_size;
+     int             block_size;
+-    SSL3KeyGenMode  keygen_mode;
++    int             tag_size;  /* authentication tag size for AEAD ciphers. */
++    int             explicit_nonce_size;               /* for AEAD ciphers. */
+ };
+ 
+ /*
+@@ -1730,7 +1743,7 @@
+ extern PRFileDesc *ssl_NewPRSocket(sslSocket *ss, PRFileDesc *fd);
+ extern void ssl_FreePRSocket(PRFileDesc *fd);
+ 
+-/* Internal config function so SSL2 can initialize the present state of 
++/* Internal config function so SSL3 can initialize the present state of
+  * various ciphers */
+ extern int ssl3_config_match_init(sslSocket *);
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslinfo.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslinfo.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslinfo.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslinfo.c	2013-11-29 02:20:03.368129756 +0400
+@@ -117,6 +117,7 @@
+ #define C_3DES	"3DES", calg_3des
+ #define C_NULL  "NULL", calg_null
+ #define C_SJ 	"SKIPJACK", calg_sj
++#define C_AESGCM "AES-GCM", calg_aes_gcm
+ 
+ #define B_256	256, 256, 256
+ #define B_128	128, 128, 128
+@@ -127,12 +128,16 @@
+ #define B_40    128,  40,  40
+ #define B_0  	  0,   0,   0
+ 
++#define M_AEAD_128 "AEAD", ssl_mac_aead, 128
+ #define M_SHA256 "SHA256", ssl_hmac_sha256, 256
+ #define M_SHA	"SHA1", ssl_mac_sha, 160
+ #define M_MD5	"MD5",  ssl_mac_md5, 128
++#define M_NULL	"NULL", ssl_mac_null,  0
+ 
+ static const SSLCipherSuiteInfo suiteInfo[] = {
+ /* <------ Cipher suite --------------------> <auth> <KEA>  <bulk cipher> <MAC> <FIPS> */
++{0,CS(TLS_RSA_WITH_AES_128_GCM_SHA256),       S_RSA, K_RSA, C_AESGCM, B_128, M_AEAD_128, 1, 0, 0, },
++
+ {0,CS(TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA), S_RSA, K_DHE, C_CAMELLIA, B_256, M_SHA, 0, 0, 0, },
+ {0,CS(TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA), S_DSA, K_DHE, C_CAMELLIA, B_256, M_SHA, 0, 0, 0, },
+ {0,CS(TLS_DHE_RSA_WITH_AES_256_CBC_SHA256),   S_RSA, K_DHE, C_AES, B_256, M_SHA256, 1, 0, 0, },
+@@ -146,6 +151,7 @@
+ {0,CS(TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA), S_DSA, K_DHE, C_CAMELLIA, B_128, M_SHA, 0, 0, 0, },
+ {0,CS(TLS_DHE_DSS_WITH_RC4_128_SHA),          S_DSA, K_DHE, C_RC4, B_128, M_SHA, 0, 0, 0, },
+ {0,CS(TLS_DHE_RSA_WITH_AES_128_CBC_SHA256),   S_RSA, K_DHE, C_AES, B_128, M_SHA256, 1, 0, 0, },
++{0,CS(TLS_DHE_RSA_WITH_AES_128_GCM_SHA256),   S_RSA, K_DHE, C_AESGCM, B_128, M_AEAD_128, 1, 0, 0, },
+ {0,CS(TLS_DHE_RSA_WITH_AES_128_CBC_SHA),      S_RSA, K_DHE, C_AES, B_128, M_SHA, 1, 0, 0, },
+ {0,CS(TLS_DHE_DSS_WITH_AES_128_CBC_SHA),      S_DSA, K_DHE, C_AES, B_128, M_SHA, 1, 0, 0, },
+ {0,CS(TLS_RSA_WITH_SEED_CBC_SHA),             S_RSA, K_RSA, C_SEED,B_128, M_SHA, 1, 0, 0, },
+@@ -175,6 +181,9 @@
+ 
+ #ifdef NSS_ENABLE_ECC
+ /* ECC cipher suites */
++{0,CS(TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256), S_RSA, K_ECDHE, C_AESGCM, B_128, M_AEAD_128, 1, 0, 0, },
++{0,CS(TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256), S_ECDSA, K_ECDHE, C_AESGCM, B_128, M_AEAD_128, 1, 0, 0, },
++
+ {0,CS(TLS_ECDH_ECDSA_WITH_NULL_SHA),          S_ECDSA, K_ECDH, C_NULL, B_0, M_SHA, 0, 0, 0, },
+ {0,CS(TLS_ECDH_ECDSA_WITH_RC4_128_SHA),       S_ECDSA, K_ECDH, C_RC4, B_128, M_SHA, 0, 0, 0, },
+ {0,CS(TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA),  S_ECDSA, K_ECDH, C_3DES, B_3DES, M_SHA, 1, 0, 0, },
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslproto.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslproto.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslproto.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslproto.h	2013-11-29 02:20:03.368129756 +0400
+@@ -162,6 +162,10 @@
+ 
+ #define TLS_RSA_WITH_SEED_CBC_SHA		0x0096
+ 
++#define TLS_RSA_WITH_AES_128_GCM_SHA256         0x009C
++#define TLS_DHE_RSA_WITH_AES_128_GCM_SHA256     0x009E
++#define TLS_DHE_DSS_WITH_AES_128_GCM_SHA256     0x00A2
++
+ /* TLS "Signaling Cipher Suite Value" (SCSV). May be requested by client.
+  * Must NEVER be chosen by server.  SSL 3.0 server acknowledges by sending
+  * back an empty Renegotiation Info (RI) server hello extension.
+@@ -204,6 +208,11 @@
+ #define TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 0xC023
+ #define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256   0xC027
+ 
++#define TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 0xC02B
++#define TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256  0xC02D
++#define TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256   0xC02F
++#define TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256    0xC031
++
+ /* Netscape "experimental" cipher suites. */
+ #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA	0xffe0
+ #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA	0xffe1
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslreveal.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslreveal.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslreveal.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslreveal.c	2013-11-29 02:20:03.368129756 +0400
+@@ -77,7 +77,6 @@
+ {
+   /* some decisions derived from SSL_GetChannelInfo */
+   sslSocket * sslsocket = NULL;
+-  PRBool enoughFirstHsDone = PR_FALSE;
+ 
+   if (!pYes) {
+     PORT_SetError(SEC_ERROR_INVALID_ARGS);
+@@ -93,14 +92,8 @@
+ 
+   *pYes = PR_FALSE;
+ 
+-  if (sslsocket->firstHsDone) {
+-    enoughFirstHsDone = PR_TRUE;
+-  } else if (sslsocket->ssl3.initialized && ssl3_CanFalseStart(sslsocket)) {
+-    enoughFirstHsDone = PR_TRUE;
+-  }
+-
+   /* according to public API SSL_GetChannelInfo, this doesn't need a lock */
+-  if (sslsocket->opt.useSecurity && enoughFirstHsDone) {
++  if (sslsocket->opt.useSecurity) {
+     if (sslsocket->ssl3.initialized) { /* SSL3 and TLS */
+       /* now we know this socket went through ssl3_InitState() and
+        * ss->xtnData got initialized, which is the only member accessed by
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslsock.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslsock.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslsock.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslsock.c	2013-11-29 02:20:03.369129746 +0400
+@@ -21,88 +21,6 @@
+ 
+ #define SET_ERROR_CODE   /* reminder */
+ 
+-struct cipherPolicyStr {
+-	int		cipher;
+-	unsigned char 	export;	/* policy value for export policy */
+-	unsigned char 	france;	/* policy value for france policy */
+-};
+-
+-typedef struct cipherPolicyStr cipherPolicy;
+-
+-/* This table contains two preconfigured policies: Export and France.
+-** It is used only by the functions NSS_SetDomesticPolicy, 
+-** NSS_SetExportPolicy, and NSS_SetFrancePolicy.
+-** Order of entries is not important.
+-*/
+-static cipherPolicy ssl_ciphers[] = {	   /*   Export           France   */
+- {  SSL_EN_RC4_128_WITH_MD5,		    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_EN_RC4_128_EXPORT40_WITH_MD5,	    SSL_ALLOWED,     SSL_ALLOWED },
+- {  SSL_EN_RC2_128_CBC_WITH_MD5,	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_EN_RC2_128_CBC_EXPORT40_WITH_MD5,   SSL_ALLOWED,     SSL_ALLOWED },
+- {  SSL_EN_DES_64_CBC_WITH_MD5,		    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_EN_DES_192_EDE3_CBC_WITH_MD5,	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_RSA_WITH_RC4_128_MD5,		    SSL_RESTRICTED,  SSL_NOT_ALLOWED },
+- {  SSL_RSA_WITH_RC4_128_SHA,		    SSL_RESTRICTED,  SSL_NOT_ALLOWED },
+- {  SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA,	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_RSA_WITH_3DES_EDE_CBC_SHA,	    SSL_RESTRICTED,  SSL_NOT_ALLOWED },
+- {  SSL_RSA_FIPS_WITH_DES_CBC_SHA,	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_RSA_WITH_DES_CBC_SHA,		    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_RSA_EXPORT_WITH_RC4_40_MD5,	    SSL_ALLOWED,     SSL_ALLOWED },
+- {  SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5,	    SSL_ALLOWED,     SSL_ALLOWED },
+- {  SSL_DHE_RSA_WITH_DES_CBC_SHA,           SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_DHE_DSS_WITH_DES_CBC_SHA,           SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,      SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,      SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_DSS_WITH_RC4_128_SHA,           SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  SSL_RSA_WITH_NULL_MD5,		    SSL_ALLOWED,     SSL_ALLOWED },
+- {  SSL_RSA_WITH_NULL_SHA,		    SSL_ALLOWED,     SSL_ALLOWED },
+- {  TLS_RSA_WITH_NULL_SHA256,		    SSL_ALLOWED,     SSL_ALLOWED },
+- {  TLS_DHE_DSS_WITH_AES_128_CBC_SHA, 	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_RSA_WITH_AES_128_CBC_SHA,       SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_AES_128_CBC_SHA,     	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_AES_128_CBC_SHA256,        SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_DSS_WITH_AES_256_CBC_SHA, 	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_RSA_WITH_AES_256_CBC_SHA,       SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_AES_256_CBC_SHA,     	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_AES_256_CBC_SHA256,        SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,  SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,  SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_CAMELLIA_128_CBC_SHA, 	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,  SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,  SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 	    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_WITH_SEED_CBC_SHA,		    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA,    SSL_ALLOWED,     SSL_NOT_ALLOWED },
+- {  TLS_RSA_EXPORT1024_WITH_RC4_56_SHA,     SSL_ALLOWED,     SSL_NOT_ALLOWED },
+-#ifdef NSS_ENABLE_ECC
+- {  TLS_ECDH_ECDSA_WITH_NULL_SHA,           SSL_ALLOWED,     SSL_ALLOWED },
+- {  TLS_ECDH_ECDSA_WITH_RC4_128_SHA,        SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA,   SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_ECDSA_WITH_NULL_SHA,          SSL_ALLOWED,     SSL_ALLOWED },
+- {  TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,       SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,  SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,   SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,   SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_RSA_WITH_NULL_SHA,             SSL_ALLOWED,     SSL_ALLOWED },
+- {  TLS_ECDH_RSA_WITH_RC4_128_SHA,          SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,     SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,      SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,      SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_RSA_WITH_NULL_SHA,            SSL_ALLOWED,     SSL_ALLOWED },
+- {  TLS_ECDHE_RSA_WITH_RC4_128_SHA,         SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,     SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,  SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+- {  TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,     SSL_NOT_ALLOWED, SSL_NOT_ALLOWED },
+-#endif /* NSS_ENABLE_ECC */
+- {  0,					    SSL_NOT_ALLOWED, SSL_NOT_ALLOWED }
+-};
+-
+ static const sslSocketOps ssl_default_ops = {	/* No SSL. */
+     ssl_DefConnect,
+     NULL,
+@@ -1338,10 +1256,10 @@
+ NSS_SetDomesticPolicy(void)
+ {
+     SECStatus      status = SECSuccess;
+-    cipherPolicy * policy;
++    const PRUint16 *cipher;
+ 
+-    for (policy = ssl_ciphers; policy->cipher != 0; ++policy) {
+-	status = SSL_SetPolicy(policy->cipher, SSL_ALLOWED);
++    for (cipher = SSL_ImplementedCiphers; *cipher != 0; ++cipher) {
++	status = SSL_SetPolicy(*cipher, SSL_ALLOWED);
+ 	if (status != SECSuccess)
+ 	    break;
+     }
+@@ -2947,6 +2865,7 @@
+ 	ss->opt.useSocks       = PR_FALSE;
+ 	ss->opt.noLocks        = !makeLocks;
+ 	ss->vrange             = *VERSIONS_DEFAULTS(protocolVariant);
++	ss->protocolVariant    = protocolVariant;
+ 
+ 	ss->peerID             = NULL;
+ 	ss->rTimeout	       = PR_INTERVAL_NO_TIMEOUT;
+@@ -3000,7 +2919,6 @@
+ 	    PORT_Free(ss);
+ 	    ss = NULL;
+ 	}
+-	ss->protocolVariant = protocolVariant;
+     }
+     return ss;
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslt.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslt.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/ssl/sslt.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/ssl/sslt.h	2013-11-29 02:20:03.369129746 +0400
+@@ -78,9 +78,10 @@
+     ssl_calg_3des     = 4,
+     ssl_calg_idea     = 5,
+     ssl_calg_fortezza = 6,      /* deprecated, now unused */
+-    ssl_calg_aes      = 7,      /* coming soon */
++    ssl_calg_aes      = 7,
+     ssl_calg_camellia = 8,
+-    ssl_calg_seed     = 9
++    ssl_calg_seed     = 9,
++    ssl_calg_aes_gcm  = 10
+ } SSLCipherAlgorithm;
+ 
+ typedef enum { 
+@@ -89,7 +90,8 @@
+     ssl_mac_sha       = 2, 
+     ssl_hmac_md5      = 3, 	/* TLS HMAC version of mac_md5 */
+     ssl_hmac_sha      = 4, 	/* TLS HMAC version of mac_sha */
+-    ssl_hmac_sha256   = 5
++    ssl_hmac_sha256   = 5,
++    ssl_mac_aead      = 6
+ } SSLMACAlgorithm;
+ 
+ typedef enum {
+@@ -145,6 +147,9 @@
+     PRUint16             effectiveKeyBits;
+ 
+     /* MAC info */
++    /* AEAD ciphers don't have a MAC. For an AEAD cipher, macAlgorithmName
++     * is "AEAD", macAlgorithm is ssl_mac_aead, and macBits is the length in
++     * bits of the authentication tag. */
+     const char *         macAlgorithmName;
+     SSLMACAlgorithm      macAlgorithm;
+     PRUint16             macBits;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/nssutil.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/nssutil.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/nssutil.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/nssutil.h	2013-11-29 02:20:03.369129746 +0400
+@@ -19,10 +19,10 @@
+  * The format of the version string should be
+  *     "<major version>.<minor version>[.<patch level>[.<build number>]][ <Beta>]"
+  */
+-#define NSSUTIL_VERSION  "3.15.1"
++#define NSSUTIL_VERSION  "3.15.2"
+ #define NSSUTIL_VMAJOR   3
+ #define NSSUTIL_VMINOR   15
+-#define NSSUTIL_VPATCH   1
++#define NSSUTIL_VPATCH   2
+ #define NSSUTIL_VBUILD   0
+ #define NSSUTIL_BETA     PR_FALSE
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/secalgid.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/secalgid.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/secalgid.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/secalgid.c	2013-11-29 02:20:03.369129746 +0400
+@@ -9,7 +9,7 @@
+ #include "secerr.h"
+ 
+ SECOidTag
+-SECOID_GetAlgorithmTag(SECAlgorithmID *id)
++SECOID_GetAlgorithmTag(const SECAlgorithmID *id)
+ {
+     if (id == NULL || id->algorithm.data == NULL)
+ 	return SEC_OID_UNKNOWN;
+@@ -97,7 +97,8 @@
+ }
+ 
+ SECStatus
+-SECOID_CopyAlgorithmID(PLArenaPool *arena, SECAlgorithmID *to, SECAlgorithmID *from)
++SECOID_CopyAlgorithmID(PLArenaPool *arena, SECAlgorithmID *to,
++                       const SECAlgorithmID *from)
+ {
+     SECStatus rv;
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/secoid.h seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/secoid.h
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/secoid.h	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/secoid.h	2013-11-29 02:20:03.369129746 +0400
+@@ -54,12 +54,12 @@
+ ** to do that).
+ */
+ extern SECStatus SECOID_CopyAlgorithmID(PLArenaPool *arena, SECAlgorithmID *dest,
+-				    SECAlgorithmID *src);
++				        const SECAlgorithmID *src);
+ 
+ /*
+ ** Get the tag number for the given algorithm-id object.
+ */
+-extern SECOidTag SECOID_GetAlgorithmTag(SECAlgorithmID *aid);
++extern SECOidTag SECOID_GetAlgorithmTag(const SECAlgorithmID *aid);
+ 
+ /*
+ ** Destroy an algorithm-id object.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/utilmod.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/utilmod.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/utilmod.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/utilmod.c	2013-11-29 02:20:03.369129746 +0400
+@@ -358,6 +358,7 @@
+ 	status = PR_Access(olddbname, PR_ACCESS_EXISTS);
+ 	if (status == PR_SUCCESS) {
+ 	    PR_smprintf_free(olddbname);
++	    PORT_ZFree(moduleList, useCount*sizeof(char **));
+ 	    PORT_SetError(SEC_ERROR_LEGACY_DATABASE);
+ 	    return NULL;
+ 	}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/utilpars.c seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/utilpars.c
+--- seamonkey-2.21/comm-release/mozilla/security/nss/lib/util/utilpars.c	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/lib/util/utilpars.c	2013-11-29 02:20:03.369129746 +0400
+@@ -677,7 +677,7 @@
+     int i,j;
+ 
+     for (i=0; i < sizeof(defaultFlags)*8; i++) {
+-	if (defaultFlags & (1<<i)) {
++	if (defaultFlags & (1UL <<i)) {
+ 	    char *string = NULL;
+ 
+ 	    for (j=0; j < nssutil_argSlotFlagTableSize; j++) {
+@@ -889,12 +889,12 @@
+     int i;
+ 
+     for (i=0; i < sizeof(ssl0)*8; i++) {
+-	if (ssl0 & (1<<i)) {
++	if (ssl0 & (1UL <<i)) {
+ 	    char *string;
+-	    if ((1<<i) == SECMOD_FORTEZZA_FLAG) {
++	    if ((1UL <<i) == SECMOD_FORTEZZA_FLAG) {
+ 		string = PR_smprintf("%s",NSSUTIL_ARG_FORTEZZA_FLAG);
+ 	    } else {
+-		string = PR_smprintf("0h0x%08x",1<<i);
++		string = PR_smprintf("0h0x%08lx", 1UL <<i);
+ 	    }
+ 	    if (cipher) {
+ 		char *tmp;
+@@ -908,14 +908,14 @@
+ 	}
+     }
+     for (i=0; i < sizeof(ssl0)*8; i++) {
+-	if (ssl1 & (1<<i)) {
++	if (ssl1 & (1UL <<i)) {
+ 	    if (cipher) {
+ 		char *tmp;
+-		tmp = PR_smprintf("%s,0l0x%08x",cipher,1<<i);
++		tmp = PR_smprintf("%s,0l0x%08lx",cipher, 1UL <<i);
+ 		PR_smprintf_free(cipher);
+ 		cipher = tmp;
+ 	    } else {
+-		cipher = PR_smprintf("0l0x%08x",1<<i);
++		cipher = PR_smprintf("0l0x%08lx", 1UL <<i);
+ 	    }
+ 	}
+     }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/tests/ocsp/ocsp.sh seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ocsp/ocsp.sh
+--- seamonkey-2.21/comm-release/mozilla/security/nss/tests/ocsp/ocsp.sh	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ocsp/ocsp.sh	2013-11-29 02:20:03.370129737 +0400
+@@ -51,46 +51,49 @@
+ 
+ ocsp_stapling()
+ {
++  # Parameter -4 is used as a temporary workaround for lack of IPv6 connectivity
++  # on some build bot slaves.
++
+   TESTNAME="startssl valid, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5143 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5143 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5143 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5143 -d . < ${REQF}
+   html_msg $? 0 "$TESTNAME"
+ 
+   TESTNAME="startssl revoked, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5144 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5144 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5144 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5144 -d . < ${REQF}
+   html_msg $? 3 "$TESTNAME"
+ 
+   TESTNAME="comodo trial test expired revoked, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5145 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5145 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5145 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5145 -d . < ${REQF}
+   html_msg $? 1 "$TESTNAME"
+ 
+   TESTNAME="thawte (expired) valid, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5146 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5146 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5146 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5146 -d . < ${REQF}
+   html_msg $? 1 "$TESTNAME"
+ 
+   TESTNAME="thawte (expired) revoked, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5147 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5147 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5147 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5147 -d . < ${REQF}
+   html_msg $? 1 "$TESTNAME"
+ 
+   TESTNAME="digicert valid, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5148 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5148 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5148 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5148 -d . < ${REQF}
+   html_msg $? 0 "$TESTNAME"
+ 
+   TESTNAME="digicert revoked, supports OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5149 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5149 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5149 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5149 -d . < ${REQF}
+   html_msg $? 3 "$TESTNAME"
+ 
+   TESTNAME="live valid, supports OCSP stapling"
+@@ -101,8 +104,8 @@
+ 
+   TESTNAME="startssl valid, doesn't support OCSP stapling"
+   echo "$SCRIPTNAME: $TESTNAME"
+-  echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 443 -d . < ${REQF}"
+-  ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 443 -d . < ${REQF}
++  echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 443 -d . < ${REQF}"
++  ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 443 -d . < ${REQF}
+   html_msg $? 2 "$TESTNAME"
+ 
+   TESTNAME="cacert untrusted, doesn't support OCSP stapling"
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/tests/ssl/ssl.sh seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ssl/ssl.sh
+--- seamonkey-2.21/comm-release/mozilla/security/nss/tests/ssl/ssl.sh	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ssl/ssl.sh	2013-11-29 02:20:03.370129737 +0400
+@@ -88,8 +88,8 @@
+       ECC_STRING=""
+   fi
+ 
+-  CSHORT="-c ABCDEF:003B:003C:003D:0041:0084cdefgijklmnvyz"
+-  CLONG="-c ABCDEF:C001:C002:C003:C004:C005:C006:C007:C008:C009:C00A:C00B:C00C:C00D:C00E:C00F:C010:C011:C012:C013:C014:C023:C027:003B:003C:003D:0041:0084cdefgijklmnvyz"
++  CSHORT="-c ABCDEF:003B:003C:003D:0041:0084:009Ccdefgijklmnvyz"
++  CLONG="-c ABCDEF:C001:C002:C003:C004:C005:C006:C007:C008:C009:C00A:C00B:C00C:C00D:C00E:C00F:C010:C011:C012:C013:C014:C023:C027:C02B:C02F:003B:003C:003D:0041:0084:009Ccdefgijklmnvyz"
+ 
+   if [ "${OS_ARCH}" != "WINNT" ]; then
+       ulimit -n 1000 # make sure we have enough file descriptors
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/tests/ssl/sslcov.txt seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ssl/sslcov.txt
+--- seamonkey-2.21/comm-release/mozilla/security/nss/tests/ssl/sslcov.txt	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ssl/sslcov.txt	2013-11-29 02:20:03.370129737 +0400
+@@ -87,6 +87,7 @@
+   noECC  TLS12 :003B  TLS12_RSA_WITH_NULL_SHA256
+   noECC  TLS12 :003C  TLS12_RSA_WITH_AES_128_CBC_SHA256
+   noECC  TLS12 :003D  TLS12_RSA_WITH_AES_256_CBC_SHA256
++  noECC  TLS12 :009C  TLS12_RSA_WITH_AES_128_GCM_SHA256
+ #
+ # ECC ciphers (TLS)
+ #
+@@ -154,3 +155,5 @@
+    ECC   TLS12  :C014 TLS12_ECDHE_RSA_WITH_AES_256_CBC_SHA
+    ECC   TLS12  :C023 TLS12_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
+    ECC   TLS12  :C027 TLS12_ECDHE_RSA_WITH_AES_128_CBC_SHA256
++   ECC   TLS12  :C02B TLS12_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
++   ECC   TLS12  :C02F TLS12_ECDHE_RSA_WITH_AES_128_GCM_SHA256
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/security/nss/tests/ssl/sslstress.txt seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ssl/sslstress.txt
+--- seamonkey-2.21/comm-release/mozilla/security/nss/tests/ssl/sslstress.txt	2013-09-16 22:26:57.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/security/nss/tests/ssl/sslstress.txt	2013-11-29 02:20:03.370129737 +0400
+@@ -37,10 +37,12 @@
+ #
+    ECC      0      -c_:C009  -V_ssl3:_-c_100_-C_:C009_-N  Stress TLS  ECDHE-ECDSA AES 128 CBC with SHA (no reuse)
+    ECC      0      -c_:C023  -V_ssl3:_-c_100_-C_:C023_-N  Stress TLS  ECDHE-ECDSA AES 128 CBC with SHA256 (no reuse)
++   ECC      0      -c_:C02B  -V_ssl3:_-c_100_-C_:C02B_-N  Stress TLS  ECDHE-ECDSA AES 128 GCM (no reuse)
+    ECC      0      -c_:C004  -V_ssl3:_-c_100_-C_:C004_-N  Stress TLS  ECDH-ECDSA  AES 128 CBC with SHA (no reuse)
+    ECC      0      -c_:C00E  -V_ssl3:_-c_100_-C_:C00E_-N  Stress TLS  ECDH-RSA    AES 128 CBC with SHA (no reuse)
+    ECC      0      -c_:C013  -V_ssl3:_-c_1000_-C_:C013    Stress TLS  ECDHE-RSA   AES 128 CBC with SHA
+    ECC      0      -c_:C027  -V_ssl3:_-c_1000_-C_:C027    Stress TLS  ECDHE-RSA   AES 128 CBC with SHA256
++   ECC      0      -c_:C02F  -V_ssl3:_-c_1000_-C_:C02F    Stress TLS  ECDHE-RSA   AES 128 GCM
+    ECC      0   -c_:C004_-u  -V_ssl3:_-c_1000_-C_:C004_-u Stress TLS  ECDH-ECDSA  AES 128 CBC with SHA (session ticket)
+ #
+ # add client auth versions here...
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/testing/mochitest/runtests.py seamonkey-2.21-esr1.0/comm-release/mozilla/testing/mochitest/runtests.py
+--- seamonkey-2.21/comm-release/mozilla/testing/mochitest/runtests.py	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/testing/mochitest/runtests.py	2013-11-29 02:20:03.370129737 +0400
+@@ -450,7 +450,7 @@
+     self._process = self._automation.Process([xpcshell] + args, env = env)
+     pid = self._process.pid
+     if pid < 0:
+-      print "Error starting server."
++      print "TEST-UNEXPECTED-FAIL | runtests.py | Error starting server."
+       sys.exit(2)
+     self._automation.log.info("INFO | runtests.py | Server pid: %d", pid)
+ 
+@@ -465,7 +465,7 @@
+       time.sleep(1)
+       i += 1
+     else:
+-      print "Timed out while waiting for server startup."
++      print "TEST-UNEXPECTED-FAIL | runtests.py | Timed out while waiting for server startup."
+       self.stop()
+       sys.exit(1)
+ 
+@@ -511,7 +511,7 @@
+     self._process = self._automation.Process(cmd)
+     pid = self._process.pid
+     if pid < 0:
+-      print "Error starting websocket server."
++      print "TEST-UNEXPECTED-FAIL | runtests.py | Error starting websocket server."
+       sys.exit(2)
+     self._automation.log.info("INFO | runtests.py | Websocket server pid: %d", pid)
+ 
+@@ -796,7 +796,7 @@
+       self.automation.log.info("INFO | runtests.py | Received keyboard interrupt.\n");
+       status = -1
+     except:
+-      self.automation.log.exception("INFO | runtests.py | Received unexpected exception while running application\n")
++      self.automation.log.exception("Automation Error: Received unexpected exception while running application\n")
+       status = 1
+ 
+     if options.vmwareRecording:
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/testing/mochitest/runtestsremote.py seamonkey-2.21-esr1.0/comm-release/mozilla/testing/mochitest/runtestsremote.py
+--- seamonkey-2.21/comm-release/mozilla/testing/mochitest/runtestsremote.py	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/testing/mochitest/runtestsremote.py	2013-11-29 02:20:03.370129737 +0400
+@@ -424,7 +424,7 @@
+         if fail_found:
+             result = 1
+         if not end_found:
+-            print "ERROR: missing end of test marker (process crashed?)"
++            print "Automation Error: Missing end of test marker (process crashed?)"
+             result = 1
+         return result
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.cpp
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.cpp	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.cpp	2013-11-29 02:20:03.371129728 +0400
+@@ -2525,10 +2525,7 @@
+ }
+ 
+ NS_IMETHODIMP nsDownload::SetSha256Hash(const nsACString& aHash) {
+-  MOZ_ASSERT(NS_IsMainThread(), "Must call SetSha256Hash on main thread");
+-  // This will be used later to query the application reputation service.
+-  mHash = aHash;
+-  return NS_OK;
++  return NS_ERROR_NOT_IMPLEMENTED;
+ }
+ 
+ #ifdef MOZ_ENABLE_GIO
+@@ -2593,6 +2590,7 @@
+ #endif
+     case nsIDownloadManager::DOWNLOAD_FINISHED:
+     {
++      // Do what exthandler would have done if necessary
+       nsresult rv = ExecuteDesiredAction();
+       if (NS_FAILED(rv)) {
+         // We've failed to execute the desired action.  As a result, we should
+@@ -2934,8 +2932,6 @@
+                           nsIRequest *aRequest, uint32_t aStateFlags,
+                           nsresult aStatus)
+ {
+-  MOZ_ASSERT(NS_IsMainThread(), "Must call OnStateChange in main thread");
+-
+   // We don't want to lose access to our member variables
+   nsRefPtr<nsDownload> kungFuDeathGrip = this;
+ 
+@@ -3195,12 +3191,10 @@
+ nsresult
+ nsDownload::ExecuteDesiredAction()
+ {
+-  // nsExternalHelperAppHandler is the only caller of AddDownload that sets a
+-  // tempfile parameter. In this case, execute the desired action according to
+-  // the saved mime info.
+-  if (!mTempFile) {
++  // If we have a temp file and we have resumed, we have to do what the
++  // external helper app service would have done.
++  if (!mTempFile || !WasResumed())
+     return NS_OK;
+-  }
+ 
+   // We need to bail if for some reason the temp file got removed
+   bool fileExists;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.h seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.h
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.h	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsDownloadManager.h	2013-11-29 02:20:03.371129728 +0400
+@@ -421,11 +421,6 @@
+   enum AutoResume { DONT_RESUME, AUTO_RESUME };
+   AutoResume mAutoResume;
+ 
+-  /**
+-   * Stores the SHA-256 hash associated with the downloaded file.
+-   */
+-  nsAutoCString mHash;
+-
+   friend class nsDownloadManager;
+ };
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsDownloadProxy.h seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsDownloadProxy.h
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsDownloadProxy.h	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsDownloadProxy.h	2013-11-29 02:20:03.371129728 +0400
+@@ -16,11 +16,6 @@
+ #define PREF_BDM_SHOWWHENSTARTING "browser.download.manager.showWhenStarting"
+ #define PREF_BDM_FOCUSWHENSTARTING "browser.download.manager.focusWhenStarting"
+ 
+-// This class only exists because nsDownload cannot inherit from nsITransfer
+-// directly. The reason for this is that nsDownloadManager (incorrectly) keeps
+-// an nsCOMArray of nsDownloads, and nsCOMArray is only intended for use with
+-// abstract classes. Using a concrete class that multiply inherits from classes
+-// deriving from nsISupports will throw ambiguous base class errors.
+ class nsDownloadProxy : public nsITransfer
+ {
+ public:
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsIDownloadManager.idl seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsIDownloadManager.idl
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/downloads/nsIDownloadManager.idl	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/downloads/nsIDownloadManager.idl	2013-11-29 02:20:03.371129728 +0400
+@@ -114,12 +114,8 @@
+    * @param aTempFile The location of a temporary file; i.e. a file in which
+    *                  the received data will be stored, but which is not
+    *                  equal to the target file. (will be moved to the real
+-   *                  target by the DownloadManager, when the download is
+-   *                  finished). This will be null for all callers except for
+-   *                  nsExternalHelperAppHandler. Addons should generally pass
+-   *                  null for aTempFile. This will be moved to the real target
+-   *                  by the download manager when the download is finished,
+-   *                  and the action indicated by aMIMEInfo will be executed.
++   *                  target by the caller, when the download is finished)
++   *                  May be null.
+    *
+    * @param aCancelable An object that can be used to abort the download.
+    *                    Must not be null.
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi	2013-09-16 22:26:58.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi	2013-11-29 02:20:03.371129728 +0400
+@@ -202,7 +202,7 @@
+   ; These keys are used to bypass the installation dir is a valid installation
+   ; check from the service so that tests can be run.
+   WriteRegStr HKLM "${FallbackKey}\0" "name" "Mozilla Corporation"
+-  WriteRegStr HKLM "${FallbackKey}\0" "issuer" "Thawte Code Signing CA - G2"
++  WriteRegStr HKLM "${FallbackKey}\0" "issuer" "DigiCert Assured ID Code Signing CA-1"
+   WriteRegStr HKLM "${FallbackKey}\1" "name" "Mozilla Fake SPC"
+   WriteRegStr HKLM "${FallbackKey}\1" "issuer" "Mozilla Fake CA"
+   ${If} ${RunningX64}
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js	2013-09-16 22:26:59.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js	2013-11-29 02:20:03.372129719 +0400
+@@ -44,7 +44,7 @@
+                                          true);
+ 
+   // Check that bookmarks that are not corrupt have been imported.
+-  yield Task.spawn(database_check);
++  yield database_check();
+ });
+ 
+ add_task(function test_corrupt_database() {
+@@ -66,7 +66,7 @@
+   // Import again and check for correctness.
+   remove_all_bookmarks();
+   yield BookmarkHTMLUtils.importFromFile(bookmarksFile, true);
+-  yield Task.spawn(database_check);
++  yield database_check();
+ });
+ 
+ /*
+@@ -77,6 +77,7 @@
+  * @rejects Never.
+  */
+ function database_check() {
++  return Task.spawn(function() {
+   // BOOKMARKS MENU
+   var query = hs.getNewQuery();
+   query.setFolders([bs.bookmarksMenuFolder], 1);
+@@ -153,6 +154,8 @@
+   var livemark = toolbar.getChild(1);
+   // title
+   do_check_eq("Latest Headlines", livemark.title);
++
++    let deferGetLivemark = Promise.defer();
+   PlacesUtils.livemarks.getLivemark(
+     { id: livemark.itemId },
+     function (aStatus, aLivemark) {
+@@ -161,8 +164,10 @@
+                   aLivemark.siteURI.spec);
+       do_check_eq("http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml",
+                   aLivemark.feedURI.spec);
++        deferGetLivemark.resolve();
+     }
+   );
++    yield deferGetLivemark.promise;
+ 
+   // cleanup
+   toolbar.containerOpen = false;
+@@ -176,6 +181,7 @@
+   unfiledBookmarks.containerOpen = false;
+ 
+   // favicons
++    let deferGetFaviconData = Promise.defer();
+   icos.getFaviconDataForPage(uri(TEST_FAVICON_PAGE_URL),
+     function DC_onComplete(aURI, aDataLen, aData, aMimeType) {
+       // aURI should never be null when aDataLen > 0.
+@@ -184,6 +190,9 @@
+       // simplicity, instead of converting the data we receive to a "data:" URI
+       // and comparing it, we just check the data size.
+       do_check_eq(TEST_FAVICON_DATA_SIZE, aDataLen);
++        deferGetFaviconData.resolve();
+     }
+   );
++    yield deferGetFaviconData.promise;
++  });
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/satchel/test/Makefile.in seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/satchel/test/Makefile.in
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/satchel/test/Makefile.in	2013-09-16 22:26:59.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/satchel/test/Makefile.in	2013-11-29 02:20:03.372129719 +0400
+@@ -10,10 +10,12 @@
+ 
+ include $(DEPTH)/config/autoconf.mk
+ 
++# Test disabled for too many intermittent failures (bug 874429)
++#		test_form_autocomplete.html \
++
+ MOCHITEST_FILES = \
+ 		test_bug_511615.html \
+ 		test_bug_787624.html \
+-		test_form_autocomplete.html \
+ 		test_form_autocomplete_with_list.html \
+ 		test_form_submission.html \
+ 		test_form_submission_cap.html \
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/social/test/browser/browser_frameworker.js seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/social/test/browser/browser_frameworker.js
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/social/test/browser/browser_frameworker.js	2013-09-16 22:26:59.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/social/test/browser/browser_frameworker.js	2013-11-29 02:20:03.372129719 +0400
+@@ -396,7 +396,7 @@
+         port.onmessage = function(e) {
+           if (e.data.topic == "ping") {
+             try {
+-              importScripts("http://foo.bar/error");
++              importScripts("http://mochi.test:8888/error");
+             } catch(ex) {
+               port.postMessage({topic: "pong", data: ex});
+               return;
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/toolkit/components/thumbnails/test/browser_thumbnails_background.js seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/thumbnails/test/browser_thumbnails_background.js
+--- seamonkey-2.21/comm-release/mozilla/toolkit/components/thumbnails/test/browser_thumbnails_background.js	2013-09-16 22:26:59.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/toolkit/components/thumbnails/test/browser_thumbnails_background.js	2013-11-29 02:20:03.372129719 +0400
+@@ -13,6 +13,7 @@
+ });
+ 
+ function test() {
++  requestLongerTimeout(2);
+   waitForExplicitFinish();
+   spawnNextTest();
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp
+--- seamonkey-2.21/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp	2013-09-16 22:27:02.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp	2013-11-29 02:20:03.373129710 +0400
+@@ -141,8 +141,8 @@
+ // of PR_LOG_DEBUG (4), and we want less detailed output here
+ // Using 3 instead of PR_LOG_WARN because we don't output warnings
+ #undef LOG
+-#define LOG(args) PR_LOG(nsExternalHelperAppService::mLog, 3, args)
+-#define LOG_ENABLED() PR_LOG_TEST(nsExternalHelperAppService::mLog, 3)
++#define LOG(args) PR_LOG(mLog, 3, args)
++#define LOG_ENABLED() PR_LOG_TEST(mLog, 3)
+ 
+ static const char NEVER_ASK_FOR_SAVE_TO_DISK_PREF[] =
+   "browser.helperApps.neverAsk.saveToDisk";
+@@ -1112,13 +1112,14 @@
+ , mForceSave(aForceSave)
+ , mCanceled(false)
+ , mShouldCloseWindow(false)
++, mReceivedDispositionInfo(false)
+ , mStopRequestIssued(false)
++, mProgressListenerInitialized(false)
+ , mReason(aReason)
+ , mContentLength(-1)
+ , mProgress(0)
+ , mSaver(nullptr)
+-, mDialogProgressListener(nullptr)
+-, mTransfer(nullptr)
++, mKeepRequestAlive(false)
+ , mRequest(nullptr)
+ , mExtProtSvc(aExtProtSvc)
+ {
+@@ -1158,9 +1159,24 @@
+ 
+ NS_IMETHODIMP nsExternalAppHandler::SetWebProgressListener(nsIWebProgressListener2 * aWebProgressListener)
+ {
+-  // This is always called by nsHelperDlg.js. Go ahead and register the
+-  // progress listener. At this point, we don't have mTransfer.
+-  mDialogProgressListener = aWebProgressListener;
++  // this call back means we've successfully brought up the 
++  // progress window so set the appropriate flag, even though
++  // aWebProgressListener might be null
++  
++  if (mReceivedDispositionInfo)
++    mProgressListenerInitialized = true;
++
++  // Go ahead and register the progress listener....
++  mWebProgressListener = aWebProgressListener;
++
++  // while we were bringing up the progress dialog, we actually finished processing the
++  // url. If that's the case then mStopRequestIssued will be true. We need to execute the
++  // operation since we are actually done now.
++  if (mStopRequestIssued && aWebProgressListener)
++  {
++    return ExecuteDesiredAction();
++  }
++
+   return NS_OK;
+ }
+ 
+@@ -1198,6 +1214,13 @@
+   return NS_OK;
+ }
+ 
++NS_IMETHODIMP nsExternalAppHandler::CloseProgressWindow()
++{
++  // release extra state...
++  mWebProgressListener = nullptr;
++  return NS_OK;
++}
++
+ void nsExternalAppHandler::RetargetLoadNotifications(nsIRequest *request)
+ {
+   // we are going to run the downloading of the helper app in our own little docloader / load group context. 
+@@ -1378,10 +1401,6 @@
+     return rv;
+   }
+ 
+-  rv = mSaver->EnableSha256();
+-  NS_ENSURE_SUCCESS(rv, rv);
+-  LOG(("Enabled hashing"));
+-
+   rv = mSaver->SetTarget(mTempFile, false);
+   NS_ENSURE_SUCCESS(rv, rv);
+ 
+@@ -1576,18 +1595,25 @@
+   
+   if (alwaysAsk)
+   {
++    // do this first! make sure we don't try to take an action until the user tells us what they want to do
++    // with it...
++    mReceivedDispositionInfo = false; 
++    mKeepRequestAlive = true;
++
+     // invoke the dialog!!!!! use mWindowContext as the window context parameter for the dialog request
+     mDialog = do_CreateInstance( NS_HELPERAPPLAUNCHERDLG_CONTRACTID, &rv );
+     NS_ENSURE_SUCCESS(rv, rv);
+ 
+     // this will create a reference cycle (the dialog holds a reference to us as
+-    // nsIHelperAppLauncher), which will be broken in Cancel or CreateTransfer.
++    // nsIHelperAppLauncher), which will be broken in Cancel or
++    // CreateProgressListener.
+     rv = mDialog->Show( this, mWindowContext, mReason );
+ 
+     // what do we do if the dialog failed? I guess we should call Cancel and abort the load....
+   }
+   else
+   {
++    mReceivedDispositionInfo = true; // no need to wait for a response from the user
+ 
+     // We need to do the save/open immediately, then.
+ #ifdef XP_WIN
+@@ -1632,8 +1658,8 @@
+   return NS_OK;
+ }
+ 
+-// Convert error info into proper message text and send OnStatusChange
+-// notification to the dialog progress listener or nsITransfer implementation.
++// Convert error info into proper message text and send OnStatusChange notification
++// to the web progress listener.
+ void nsExternalAppHandler::SendStatusChange(ErrorType type, nsresult rv, nsIRequest *aRequest, const nsAFlatString &path)
+ {
+     nsAutoString msgId;
+@@ -1699,7 +1725,7 @@
+     }
+     PR_LOG(nsExternalHelperAppService::mLog, PR_LOG_ERROR,
+         ("Error: %s, type=%i, listener=0x%p, rv=0x%08X\n",
+-         NS_LossyConvertUTF16toASCII(msgId).get(), type, mDialogProgressListener.get(), rv));
++         NS_LossyConvertUTF16toASCII(msgId).get(), type, mWebProgressListener.get(), rv));
+     PR_LOG(nsExternalHelperAppService::mLog, PR_LOG_ERROR,
+         ("       path='%s'\n", NS_ConvertUTF16toUTF8(path).get()));
+ 
+@@ -1715,12 +1741,10 @@
+             const PRUnichar *strings[] = { path.get() };
+             if(NS_SUCCEEDED(bundle->FormatStringFromName(msgId.get(), strings, 1, getter_Copies(msgText))))
+             {
+-              if (mDialogProgressListener)
++              if (mWebProgressListener)
+               {
+                 // We have a listener, let it handle the error.
+-                mDialogProgressListener->OnStatusChange(nullptr, (type == kReadError) ? aRequest : nullptr, rv, msgText);
+-              } else if (mTransfer) {
+-                mTransfer->OnStatusChange(nullptr, (type == kReadError) ? aRequest : nullptr, rv, msgText);
++                mWebProgressListener->OnStatusChange(nullptr, (type == kReadError) ? aRequest : nullptr, rv, msgText);
+               }
+               else
+               if (XRE_GetProcessType() == GeckoProcessType_Default) {
+@@ -1761,8 +1785,9 @@
+     if (NS_SUCCEEDED(rv))
+     {
+       // Send progress notification.
+-      if (mTransfer) {
+-        mTransfer->OnProgressChange64(nullptr, request, mProgress,
++      if (mWebProgressListener)
++      {
++        mWebProgressListener->OnProgressChange64(nullptr, request, mProgress,
+                                       mContentLength, mProgress,
+                                       mContentLength);
+       }
+@@ -1787,6 +1812,9 @@
+ {
+   mStopRequestIssued = true;
+ 
++  if (!mKeepRequestAlive)
++    mRequest = nullptr;
++
+   // Cancel if the request did not complete successfully.
+   if (!mCanceled && NS_FAILED(aStatus))
+   {
+@@ -1817,15 +1845,12 @@
+ nsExternalAppHandler::OnSaveComplete(nsIBackgroundFileSaver *aSaver,
+                                      nsresult aStatus)
+ {
++  // Free the reference that the saver keeps on us.
++  mSaver = nullptr;
++
+   if (mCanceled)
+     return NS_OK;
+ 
+-  // Save the hash
+-  nsresult rv = mSaver->GetSha256Hash(mHash);
+-  // Free the reference that the saver keeps on us, even if we couldn't get the
+-  // hash.
+-  mSaver = nullptr;
+-
+   if (NS_FAILED(aStatus)) {
+     nsAutoString path;
+     mTempFile->GetPath(path);
+@@ -1835,45 +1860,55 @@
+     return NS_OK;
+   }
+ 
+-  // Notify the transfer object that we are done if the user has chosen an
+-  // action. If the user hasn't chosen an action, the progress listener
+-  // (nsITransfer) will be notified in CreateTransfer.
+-  if (mTransfer) {
+-    rv = NotifyTransfer();
+-    NS_ENSURE_SUCCESS(rv, rv);
+-  }
++  // Do what the user asked for
++  ExecuteDesiredAction();
++
++  // This nsITransfer object holds a reference to us (we are its observer), so
++  // we need to release the reference to break a reference cycle (and therefore
++  // to prevent leaking)
++  mWebProgressListener = nullptr;
+ 
+   return NS_OK;
+ }
+ 
+-nsresult nsExternalAppHandler::NotifyTransfer()
++nsresult nsExternalAppHandler::ExecuteDesiredAction()
+ {
+-  MOZ_ASSERT(NS_IsMainThread(), "Must notify on main thread");
+-  MOZ_ASSERT(!mCanceled, "Can't notify if canceled or action "
+-             "hasn't been chosen");
+-  MOZ_ASSERT(mTransfer, "We must have an nsITransfer");
+-
+-  LOG(("Notifying progress listener"));
+-
+-  nsresult rv = mTransfer->SetSha256Hash(mHash);
+-  NS_ENSURE_SUCCESS(rv, rv);
+-
+-  rv = mTransfer->OnProgressChange64(nullptr, nullptr, mProgress,
+-    mContentLength, mProgress, mContentLength);
+-  NS_ENSURE_SUCCESS(rv, rv);
++  nsresult rv = NS_OK;
++  if (mProgressListenerInitialized && !mCanceled)
++  {
++    rv = MoveFile(mFinalFileDestination);
++    if (NS_SUCCEEDED(rv))
++    {
++      nsHandlerInfoAction action = nsIMIMEInfo::saveToDisk;
++      mMimeInfo->GetPreferredAction(&action);
++      if (action == nsIMIMEInfo::useHelperApp ||
++          action == nsIMIMEInfo::useSystemDefault)
++      {
++        rv = OpenWithApplication();
++      }
++      else if(action == nsIMIMEInfo::saveToDisk)
++      {
++        mExtProtSvc->FixFilePermissions(mFinalFileDestination);
++      }
++    }
+ 
+-  rv = mTransfer->OnStateChange(nullptr, nullptr,
++    // Notify dialog that download is complete.
++    // By waiting till this point, it ensures that the progress dialog doesn't indicate
++    // success until we're really done.
++    if(mWebProgressListener)
++    {
++      if (!mCanceled)
++      {
++        mWebProgressListener->OnProgressChange64(nullptr, nullptr, mProgress, mContentLength, mProgress, mContentLength);
++      }
++      mWebProgressListener->OnStateChange(nullptr, nullptr,
+     nsIWebProgressListener::STATE_STOP |
+     nsIWebProgressListener::STATE_IS_REQUEST |
+     nsIWebProgressListener::STATE_IS_NETWORK, NS_OK);
+-  NS_ENSURE_SUCCESS(rv, rv);
+-
+-  // This nsITransfer object holds a reference to us (we are its observer), so
+-  // we need to release the reference to break a reference cycle (and therefore
+-  // to prevent leaking)
+-  mTransfer = nullptr;
++    }
++  }
+ 
+-  return NS_OK;
++  return rv;
+ }
+ 
+ NS_IMETHODIMP nsExternalAppHandler::GetMIMEInfo(nsIMIMEInfo ** aMIMEInfo)
+@@ -1897,39 +1932,20 @@
+   return NS_OK;
+ }
+ 
+-nsresult nsExternalAppHandler::CreateTransfer()
++nsresult nsExternalAppHandler::InitializeDownload(nsITransfer* aTransfer)
+ {
+-  MOZ_ASSERT(NS_IsMainThread(), "Must create transfer on main thread");
+-  // We are back from the helper app dialog (where the user chooses to save or
+-  // open), but we aren't done processing the load. in this case, throw up a
+-  // progress dialog so the user can see what's going on.
+-  // Also, release our reference to mDialog. We don't need it anymore, and we
+-  // need to break the reference cycle.
+-  mDialog = nullptr;
+-  if (!mDialogProgressListener) {
+-    NS_WARNING("The dialog should nullify the dialog progress listener");
+-  }
+   nsresult rv;
+ 
+-  // We must be able to create an nsITransfer object. If not, it doesn't matter
+-  // much that we can't launch the helper application or save to disk. Work on
+-  // a local copy rather than mTransfer until we know we succeeded, to make it
+-  // clearer that this function is re-entrant.
+-  nsCOMPtr<nsITransfer> transfer = do_CreateInstance(
+-    NS_TRANSFER_CONTRACTID, &rv);
+-  NS_ENSURE_SUCCESS(rv, rv);
+-
+-  // Initialize the download
+   nsCOMPtr<nsIURI> target;
+   rv = NS_NewFileURI(getter_AddRefs(target), mFinalFileDestination);
+-  NS_ENSURE_SUCCESS(rv, rv);
++  if (NS_FAILED(rv)) return rv;
+ 
+   nsCOMPtr<nsIChannel> channel = do_QueryInterface(mRequest);
+ 
+-  rv = transfer->Init(mSourceUrl, target, EmptyString(),
++  rv = aTransfer->Init(mSourceUrl, target, EmptyString(),
+                        mMimeInfo, mTimeDownloadStarted, mTempFile, this,
+                        channel && NS_UsePrivateBrowsing(channel));
+-  NS_ENSURE_SUCCESS(rv, rv);
++  if (NS_FAILED(rv)) return rv;
+ 
+   // Now let's add the download to history
+   nsCOMPtr<nsIDownloadHistory> dh(do_GetService(NS_DOWNLOADHISTORY_CONTRACTID));
+@@ -1945,34 +1961,36 @@
+     }
+   }
+ 
+-  // If we were cancelled since creating the transfer, just return. It is
+-  // always ok to return NS_OK if we are cancelled. Callers of this function
+-  // must call Cancel if CreateTransfer fails, but there's no need to cancel
+-  // twice.
+-  if (mCanceled) {
+-    return NS_OK;
+-  }
+-  rv = transfer->OnStateChange(nullptr, mRequest,
+-    nsIWebProgressListener::STATE_START |
++  return rv;
++}
++
++nsresult nsExternalAppHandler::CreateProgressListener()
++{
++  // we are back from the helper app dialog (where the user chooses to save or open), but we aren't
++  // done processing the load. in this case, throw up a progress dialog so the user can see what's going on...
++  // Also, release our reference to mDialog. We don't need it anymore, and we
++  // need to break the reference cycle.
++  mDialog = nullptr;
++  nsresult rv;
++  
++  nsCOMPtr<nsITransfer> tr = do_CreateInstance(NS_TRANSFER_CONTRACTID, &rv);
++  if (NS_SUCCEEDED(rv))
++    InitializeDownload(tr);
++
++  if (tr)
++    tr->OnStateChange(nullptr, mRequest, nsIWebProgressListener::STATE_START |
+     nsIWebProgressListener::STATE_IS_REQUEST |
+     nsIWebProgressListener::STATE_IS_NETWORK, NS_OK);
+-  NS_ENSURE_SUCCESS(rv, rv);
+ 
+-  if (mCanceled) {
+-    return NS_OK;
+-  }
++  // note we might not have a listener here if the QI() failed, or if
++  // there is no nsITransfer object, but we still call
++  // SetWebProgressListener() to make sure our progress state is sane
++  // NOTE: This will set up a reference cycle (this nsITransfer has us set up as
++  // its observer). This cycle will be broken in Cancel, CloseProgressWindow or
++  // OnStopRequest.
++  SetWebProgressListener(tr);
+ 
+   mRequest = nullptr;
+-  // Finally, save the transfer to mTransfer.
+-  mTransfer = transfer;
+-  transfer = nullptr;
+-
+-  // While we were bringing up the progress dialog, we actually finished
+-  // processing the url. If that's the case then mStopRequestIssued will be
+-  // true and OnSaveComplete has been called.
+-  if (mStopRequestIssued && !mSaver && mTransfer) {
+-    return NotifyTransfer();
+-  }
+ 
+   return rv;
+ }
+@@ -2032,9 +2050,68 @@
+   }
+ }
+ 
++nsresult nsExternalAppHandler::MoveFile(nsIFile * aNewFileLocation)
++{
++  nsresult rv = NS_OK;
++  NS_ASSERTION(mStopRequestIssued, "uhoh, how did we get here if we aren't done getting data?");
++ 
++  // if the on stop request was actually issued then it's now time to actually perform the file move....
++  if (mStopRequestIssued && aNewFileLocation)
++  {
++    // Unfortunately, MoveTo will fail if a file already exists at the user specified location....
++    // but the user has told us, this is where they want the file! (when we threw up the save to file dialog,
++    // it told them the file already exists and do they wish to over write it. So it should be okay to delete
++    // fileToUse if it already exists.
++    bool equalToTempFile = false;
++    bool filetoUseAlreadyExists = false;
++    aNewFileLocation->Equals(mTempFile, &equalToTempFile);
++    aNewFileLocation->Exists(&filetoUseAlreadyExists);
++    if (filetoUseAlreadyExists && !equalToTempFile)
++      aNewFileLocation->Remove(false);
++
++     // extract the new leaf name from the file location
++     nsAutoString fileName;
++     aNewFileLocation->GetLeafName(fileName);
++     nsCOMPtr<nsIFile> directoryLocation;
++     rv = aNewFileLocation->GetParent(getter_AddRefs(directoryLocation));
++     if (directoryLocation)
++     {
++       rv = mTempFile->MoveTo(directoryLocation, fileName);
++     }
++     if (NS_FAILED(rv))
++     {
++       // Send error notification.        
++       nsAutoString path;
++       aNewFileLocation->GetPath(path);
++       SendStatusChange(kWriteError, rv, nullptr, path);
++       Cancel(rv); // Cancel (and clean up temp file).
++     }
++#if defined(XP_OS2)
++     else
++     {
++       // tag the file with its source URI
++       nsCOMPtr<nsILocalFileOS2> localFileOS2 = do_QueryInterface(aNewFileLocation);
++       if (localFileOS2)
++       {
++         nsAutoCString url;
++         mSourceUrl->GetSpec(url);
++         localFileOS2->SetFileSource(url);
++       }
++     }
++#endif
++  }
++
++  return rv;
++}
++
+ // SaveToDisk should only be called by the helper app dialog which allows
+ // the user to say launch with application or save to disk. It doesn't actually
+-// perform the save, it just prompts for the destination file name.
++// perform the save, it just prompts for the destination file name. The actual save
++// won't happen until we are done downloading the content and are sure we've 
++// shown a progress dialog. This was done to simplify the 
++// logic that was showing up in this method. Internal callers who actually want
++// to preform the save should call ::MoveFile
++
+ NS_IMETHODIMP nsExternalAppHandler::SaveToDisk(nsIFile * aNewFileLocation, bool aRememberThisPreference)
+ {
+   if (mCanceled)
+@@ -2042,6 +2119,9 @@
+ 
+   mMimeInfo->SetPreferredAction(nsIMIMEInfo::saveToDisk);
+ 
++  // The helper app dialog has told us what to do.
++  mReceivedDispositionInfo = true;
++
+   if (!aNewFileLocation) {
+     if (mSuggestedFileName.IsEmpty())
+       RequestSaveDestination(mTempLeafName, mTempFileExtension);
+@@ -2064,9 +2144,6 @@
+ }
+ nsresult nsExternalAppHandler::ContinueSave(nsIFile * aNewFileLocation)
+ {
+-  if (mCanceled)
+-    return NS_OK;
+-
+   NS_PRECONDITION(aNewFileLocation, "Must be called with a non-null file");
+ 
+   nsresult rv = NS_OK;
+@@ -2074,10 +2151,9 @@
+   mFinalFileDestination = do_QueryInterface(fileToUse);
+ 
+   // Move what we have in the final directory, but append .part
+-  // to it, to indicate that it's unfinished.  Do not call SetTarget on the
+-  // saver if we are done (Finish has been called) but OnSaverComplete has not
+-  // been called.
+-  if (mFinalFileDestination && mSaver && !mStopRequestIssued)
++  // to it, to indicate that it's unfinished.
++  // do not do that if we're already done
++  if (mFinalFileDestination && !mStopRequestIssued)
+   {
+     nsCOMPtr<nsIFile> movedFile;
+     mFinalFileDestination->Clone(getter_AddRefs(movedFile));
+@@ -2088,6 +2164,8 @@
+       name.AppendLiteral(".part");
+       movedFile->SetLeafName(name);
+ 
++      if (mSaver)
++      {
+       rv = mSaver->SetTarget(movedFile, true);
+       if (NS_FAILED(rv)) {
+         nsAutoString path;
+@@ -2096,19 +2174,14 @@
+         Cancel(rv);
+         return NS_OK;
+       }
++      }
+ 
+       mTempFile = movedFile;
+     }
+   }
+ 
+-  // The helper app dialog has told us what to do and we have a final file
+-  // destination.
+-  rv = CreateTransfer();
+-  // If we fail to create the transfer, Cancel.
+-  if (NS_FAILED(rv)) {
+-    Cancel(rv);
+-    return rv;
+-  }
++  if (!mProgressListenerInitialized)
++    CreateProgressListener();
+ 
+   // now that the user has chosen the file location to save to, it's okay to fire the refresh tag
+   // if there is one. We don't want to do this before the save as dialog goes away because this dialog
+@@ -2120,9 +2193,68 @@
+ }
+ 
+ 
+-// LaunchWithApplication should only be called by the helper app dialog which
+-// allows the user to say launch with application or save to disk. It doesn't
+-// actually perform launch with application.
++nsresult nsExternalAppHandler::OpenWithApplication()
++{
++  nsresult rv = NS_OK;
++  if (mCanceled)
++    return NS_OK;
++  
++  // we only should have gotten here if the on stop request had been fired already.
++
++  NS_ASSERTION(mStopRequestIssued, "uhoh, how did we get here if we aren't done getting data?");
++  // if a stop request was already issued then proceed with launching the application.
++  if (mStopRequestIssued)
++  {
++
++    // Note for the default value:
++    // Mac users have been very verbal about temp files being deleted on
++    // app exit - they don't like it - but we'll continue to do this on
++    // other platforms for now.
++    bool deleteTempFileOnExit =
++      Preferences::GetBool("browser.helperApps.deleteTempFileOnExit",
++#if !defined(XP_MACOSX)
++                           true);
++#else
++                           false);
++#endif
++
++    // See whether the channel has been opened in private browsing mode
++    NS_ASSERTION(mRequest, "This should never be called with a null request");
++    nsCOMPtr<nsIChannel> channel = do_QueryInterface(mRequest);
++    bool inPrivateBrowsing = channel && NS_UsePrivateBrowsing(channel);
++
++    // make the tmp file readonly so users won't edit it and lose the changes
++    // only if we're going to delete the file
++    if (deleteTempFileOnExit || inPrivateBrowsing)
++      mFinalFileDestination->SetPermissions(0400);
++
++    rv = mMimeInfo->LaunchWithFile(mFinalFileDestination);
++    if (NS_FAILED(rv))
++    {
++      // Send error notification.
++      nsAutoString path;
++      mFinalFileDestination->GetPath(path);
++      SendStatusChange(kLaunchError, rv, nullptr, path);
++      Cancel(rv); // Cancel, and clean up temp file.
++    }
++    // Always schedule files to be deleted at the end of the private browsing
++    // mode, regardless of the value of the pref.
++    else if (deleteTempFileOnExit) {
++      mExtProtSvc->DeleteTemporaryFileOnExit(mFinalFileDestination);
++    }
++    else if (inPrivateBrowsing) {
++      mExtProtSvc->DeleteTemporaryPrivateFileWhenPossible(mFinalFileDestination);
++    }
++  }
++
++  return rv;
++}
++
++// LaunchWithApplication should only be called by the helper app dialog which allows
++// the user to say launch with application or save to disk. It doesn't actually 
++// perform launch with application. That won't happen until we are done downloading
++// the content and are sure we've shown a progress dialog. This was done to simplify the 
++// logic that was showing up in this method. 
+ NS_IMETHODIMP nsExternalAppHandler::LaunchWithApplication(nsIFile * aApplication, bool aRememberThisPreference)
+ {
+   if (mCanceled)
+@@ -2131,6 +2263,7 @@
+   // user has chosen to launch using an application, fire any refresh tags now...
+   ProcessAnyRefreshTags(); 
+   
++  mReceivedDispositionInfo = true; 
+   if (mMimeInfo && aApplication) {
+     PlatformLocalHandlerApp_t *handlerApp =
+       new PlatformLocalHandlerApp_t(EmptyString(), aApplication);
+@@ -2160,13 +2293,12 @@
+     return rv;
+   }
+ 
+-  // Now that the user has elected to launch the downloaded file with a helper
+-  // app, we're justified in removing the 'salted' name.  We'll rename to what
+-  // was specified in mSuggestedFileName after the download is done prior to
+-  // launching the helper app.  So that any existing file of that name won't be
+-  // overwritten we call CreateUnique().  Also note that we use the same
+-  // directory as originally downloaded so nsDownload can rename in place
+-  // later.
++  // Now that the user has elected to launch the downloaded file with a helper app, we're justified in
++  // removing the 'salted' name.  We'll rename to what was specified in mSuggestedFileName after the
++  // download is done prior to launching the helper app.  So that any existing file of that name won't
++  // be overwritten we call CreateUnique() before calling MoveFile().  Also note that we use the same
++  // directory as originally downloaded to so that MoveFile() just does an in place rename.
++
+   nsCOMPtr<nsIFile> fileToUse;
+   (void) GetDownloadDirectory(getter_AddRefs(fileToUse));
+ 
+@@ -2187,10 +2319,8 @@
+   {
+     mFinalFileDestination = do_QueryInterface(fileToUse);
+     // launch the progress window now that the user has picked the desired action.
+-    rv = CreateTransfer();
+-    if (NS_FAILED(rv)) {
+-      Cancel(rv);
+-    }
++    if (!mProgressListenerInitialized)
++      CreateProgressListener();
+   }
+   else
+   {
+@@ -2224,8 +2354,7 @@
+ 
+   // Release the listener, to break the reference cycle with it (we are the
+   // observer of the listener).
+-  mDialogProgressListener = nullptr;
+-  mTransfer = nullptr;
++  mWebProgressListener = nullptr;
+ 
+   return NS_OK;
+ }
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.h seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.h
+--- seamonkey-2.21/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.h	2013-09-16 22:27:02.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/exthandler/nsExternalHelperAppService.h	2013-11-29 02:20:03.373129710 +0400
+@@ -282,9 +282,12 @@
+   bool mShouldCloseWindow;
+ 
+   /**
+-   * True if a stop request has been issued.
++   * have we received information from the user about how they want to
++   * dispose of this content
+    */
++  bool mReceivedDispositionInfo;
+   bool mStopRequestIssued; 
++  bool mProgressListenerInitialized;
+ 
+   bool mIsFileChannel;
+ 
+@@ -321,11 +324,6 @@
+   nsCOMPtr<nsIBackgroundFileSaver> mSaver;
+ 
+   /**
+-   * Stores the SHA-256 hash associated with the file that we downloaded.
+-   */
+-  nsAutoCString mHash;
+-
+-  /**
+    * Creates the temporary file for the download and an output stream for it.
+    * Upon successful return, both mTempFile and mSaver will be valid.
+    */
+@@ -338,11 +336,13 @@
+    */
+   void RetargetLoadNotifications(nsIRequest *request);
+   /**
+-   * Once the user tells us how they want to dispose of the content
+-   * create an nsITransfer so they know what's going on. If this fails, the
+-   * caller MUST call Cancel.
++   * If the user tells us how they want to dispose of the content and
++   * we still haven't finished downloading while they were deciding,
++   * then create a progress listener of some kind so they know
++   * what's going on...
+    */
+-  nsresult CreateTransfer();
++  nsresult CreateProgressListener();
++
+ 
+   /*
+    * The following two functions are part of the split of SaveToDisk
+@@ -381,16 +381,33 @@
+   void ProcessAnyRefreshTags();
+ 
+   /**
+-   * Notify our nsITransfer object that we are done with the download.
++   * An internal method used to actually move the temp file to the final
++   * destination once we done receiving data AND have showed the progress dialog
+    */
+-  nsresult NotifyTransfer();
++  nsresult MoveFile(nsIFile * aNewFileLocation);
++  /**
++   * An internal method used to actually launch a helper app given the temp file
++   * once we are done receiving data AND have showed the progress dialog.
++   * Uses the application specified in the mime info.
++   */
++  nsresult OpenWithApplication();
+ 
+   /**
++   * Helper routine which peaks at the mime action specified by mMimeInfo
++   * and calls either MoveFile or OpenWithApplication
++   */
++  nsresult ExecuteDesiredAction();
++  /**
+    * Helper routine that searches a pref string for a given mime type
+    */
+   bool GetNeverAskFlagFromPref(const char * prefName, const char * aContentType);
+ 
+   /**
++   * Initialize an nsITransfer object for use as a progress object
++   */
++  nsresult InitializeDownload(nsITransfer*);
++  
++  /**
+    * Helper routine to ensure mSuggestedFileName is "correct";
+    * this ensures that mTempFileExtension only contains an extension when it
+    * is different from mSuggestedFileName's extension.
+@@ -410,17 +427,7 @@
+    */
+   nsresult MaybeCloseWindow();
+ 
+-  /**
+-   * Set in nsHelperDlgApp.js. This is always null after the user has chosen an
+-   * action.
+-   */
+-  nsCOMPtr<nsIWebProgressListener2> mDialogProgressListener;
+-  /**
+-   * Set once the user has chosen an action. This is null after the download
+-   * has been canceled or completes.
+-   */
+-  nsCOMPtr<nsITransfer> mTransfer;
+-
++  nsCOMPtr<nsIWebProgressListener2> mWebProgressListener;
+   nsCOMPtr<nsIChannel> mOriginalChannel; /**< in the case of a redirect, this will be the pre-redirect channel. */
+   nsCOMPtr<nsIHelperAppLauncherDialog> mDialog;
+ 
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/uriloader/exthandler/nsIExternalHelperAppService.idl seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/exthandler/nsIExternalHelperAppService.idl
+--- seamonkey-2.21/comm-release/mozilla/uriloader/exthandler/nsIExternalHelperAppService.idl	2013-09-16 22:27:02.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/exthandler/nsIExternalHelperAppService.idl	2013-11-29 02:20:03.373129710 +0400
+@@ -96,16 +96,14 @@
+   readonly attribute AString suggestedFileName;
+ 
+   /**
+-   * Saves the final destination of the file. Does not actually perform the
+-   * save.
+-   * NOTE: This will release the reference to the
+-   * nsIHelperAppLauncherDialog.
++   * Called when we want to just save the content to a particular file.
++   * NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
++   * @param aNewFileLocation Location where the content should be saved
+    */
+   void saveToDisk(in nsIFile aNewFileLocation, in boolean aRememberThisPreference);
+ 
+   /**
+-   * Remembers that aApplication should be used to launch this content. Does
+-   * not actually launch the application.
++   * Use aApplication to launch with this content.
+    * NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
+    * @param aApplication nsIFile corresponding to the location of the application to use.
+    * @param aRememberThisPreference TRUE if we should remember this choice.
+@@ -146,4 +144,10 @@
+    * The download content length, or -1 if the length is not available.
+    */
+   readonly attribute int64_t contentLength;
++
++  /**
++   * when the stand alone progress window actually closes, it calls this method
++   * so we can release any local state...
++   */
++  void closeProgressWindow();
+ };
+diff -Nrbu seamonkey-2.21/comm-release/mozilla/uriloader/prefetch/nsOfflineCacheUpdateService.cpp seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/prefetch/nsOfflineCacheUpdateService.cpp
+--- seamonkey-2.21/comm-release/mozilla/uriloader/prefetch/nsOfflineCacheUpdateService.cpp	2013-09-16 22:27:02.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/mozilla/uriloader/prefetch/nsOfflineCacheUpdateService.cpp	2013-11-29 02:20:03.373129710 +0400
+@@ -132,6 +132,7 @@
+         : mService(aService)
+         , mManifestURI(aManifestURI)
+         , mDocumentURI(aDocumentURI)
++        , mDidReleaseThis(false)
+         {
+             mDocument = do_GetWeakReference(aDocument);
+         }
+@@ -141,6 +142,7 @@
+     nsCOMPtr<nsIURI> mManifestURI;
+     nsCOMPtr<nsIURI> mDocumentURI;
+     nsCOMPtr<nsIWeakReference> mDocument;
++    bool mDidReleaseThis;
+ };
+ 
+ NS_IMPL_ISUPPORTS2(nsOfflineCachePendingUpdate,
+@@ -169,11 +171,16 @@
+                                            uint32_t progressStateFlags,
+                                            nsresult aStatus)
+ {
++    if (mDidReleaseThis) {
++        return NS_OK;
++    }
+     nsCOMPtr<nsIDOMDocument> updateDoc = do_QueryReferent(mDocument);
+     if (!updateDoc) {
+         // The document that scheduled this update has gone away,
+         // we don't need to listen anymore.
+         aWebProgress->RemoveProgressListener(this);
++        MOZ_ASSERT(!mDidReleaseThis);
++        mDidReleaseThis = true;
+         NS_RELEASE_THIS();
+         return NS_OK;
+     }
+@@ -209,9 +216,14 @@
+         mService->Schedule(mManifestURI, mDocumentURI,
+                            updateDoc, window, nullptr,
+                            appId, isInBrowserElement, getter_AddRefs(update));
++        if (mDidReleaseThis) {
++            return NS_OK;
++        }
+     }
+ 
+     aWebProgress->RemoveProgressListener(this);
++    MOZ_ASSERT(!mDidReleaseThis);
++    mDidReleaseThis = true;
+     NS_RELEASE_THIS();
+ 
+     return NS_OK;
+diff -Nrbu seamonkey-2.21/comm-release/suite/themes/classic/messenger/messageBody.css seamonkey-2.21-esr1.0/comm-release/suite/themes/classic/messenger/messageBody.css
+--- seamonkey-2.21/comm-release/suite/themes/classic/messenger/messageBody.css	2013-09-16 22:20:11.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/suite/themes/classic/messenger/messageBody.css	2013-11-29 02:20:03.373129710 +0400
+@@ -79,9 +79,11 @@
+ 
+ /* ::::: signature ::::: */
+ 
+-.moz-txt-sig,
+-.moz-signature {
++ at media not print {
++  .moz-txt-sig,
++  .moz-signature {
+   opacity: 0.5;
++  }
+ }
+ 
+ /* ::::: vcard ::::: */
+diff -Nrbu seamonkey-2.21/comm-release/suite/themes/modern/messenger/messageBody.css seamonkey-2.21-esr1.0/comm-release/suite/themes/modern/messenger/messageBody.css
+--- seamonkey-2.21/comm-release/suite/themes/modern/messenger/messageBody.css	2013-09-16 22:20:11.000000000 +0400
++++ seamonkey-2.21-esr1.0/comm-release/suite/themes/modern/messenger/messageBody.css	2013-11-29 02:20:03.373129710 +0400
+@@ -79,9 +79,11 @@
+ 
+ /* ::::: signature ::::: */
+ 
+-.moz-txt-sig,
+-.moz-signature {
++ at media not print {
++  .moz-txt-sig,
++  .moz-signature {
+   opacity: 0.5;
++  }
+ }
+ 
+ /* ::::: vcard ::::: */
diff --git a/seamonkey-2.21-nspr_4_9_5.patch b/seamonkey-2.21-nspr_4_9_5.patch
new file mode 100644
index 0000000..e6ffbd3
--- /dev/null
+++ b/seamonkey-2.21-nspr_4_9_5.patch
@@ -0,0 +1,64 @@
+diff -Nrbu seamonkey-2.19/comm-release/mozilla/configure seamonkey-2.19-OK/comm-release/mozilla/configure
+--- seamonkey-2.19/comm-release/mozilla/configure	2013-06-29 09:01:16.000000000 +0400
++++ seamonkey-2.19-OK/comm-release/mozilla/configure	2013-07-05 20:55:48.600947214 +0400
+@@ -14846,13 +14846,13 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ 
+-	min_nspr_version=4.9.6
++	min_nspr_version=4.9.5
+ 	echo $ac_n "checking for NSPR - version >= $min_nspr_version""... $ac_c" 1>&6
+ echo "configure:14788: checking for NSPR - version >= $min_nspr_version" >&5
+ 
+ 	no_nspr=""
+ 	if test "$NSPR_CONFIG" != "no"; then
+-		NSPR_CFLAGS=`$NSPR_CONFIG $nspr_config_args --cflags`
++		NSPR_CFLAGS="-I$topsrcdir/../nspr495 `$NSPR_CONFIG $nspr_config_args --cflags`"
+ 		NSPR_LIBS=`$NSPR_CONFIG $nspr_config_args --libs`
+ 		NSPR_VERSION_STRING=`$NSPR_CONFIG $nspr_config_args --version`	
+ 	elif test -n "${NO_NSPR_CONFIG_SYSTEM_VERSION}"; then
+diff -Nrbu seamonkey-2.19/comm-release/nspr495/plarena.h seamonkey-2.19-OK/comm-release/nspr495/plarena.h
+--- seamonkey-2.19/comm-release/nspr495/plarena.h	1970-01-01 03:00:00.000000000 +0300
++++ seamonkey-2.19-OK/comm-release/nspr495/plarena.h	2013-07-05 20:52:45.000000000 +0400
+@@ -0,0 +1,41 @@
++#ifndef nspr495_plarena_h___
++#define nspr495_plarena_h___
++
++#include_next "plarena.h"
++
++
++PR_BEGIN_EXTERN_C
++
++/*  Backport from nspr-4.9.6   */
++
++/*
++** A function like malloc_size() or malloc_usable_size() that measures the
++** size of a heap block.
++*/
++typedef size_t (*PLMallocSizeFn)(const void *ptr);
++
++/*
++** Measure all memory used by a PLArenaPool, excluding the PLArenaPool
++** structure.
++*/
++
++static size_t PL_SizeOfArenaPoolExcludingPool(
++    const PLArenaPool *pool, PLMallocSizeFn mallocSizeOf)
++{
++    /*
++     * The first PLArena is within |pool|, so don't measure it.  Subsequent
++     * PLArenas are separate and must be measured.
++     */
++    size_t size = 0;
++    const PLArena *arena = pool->first.next;
++    while (arena) {
++        size += mallocSizeOf(arena);
++        arena = arena->next;
++    }
++    return size;
++}
++
++PR_END_EXTERN_C
++
++
++#endif /* nspr495_plarena_h___ */
diff --git a/seamonkey-2.21-nss_3_14_3.patch b/seamonkey-2.21-nss_3_14_3.patch
new file mode 100644
index 0000000..1935dcb
--- /dev/null
+++ b/seamonkey-2.21-nss_3_14_3.patch
@@ -0,0 +1,28 @@
+diff -Nrbu seamonkey-2.20/comm-release/mozilla/configure seamonkey-2.20-OK/comm-release/mozilla/configure
+--- seamonkey-2.20/comm-release/mozilla/configure	2013-08-04 07:06:08.000000000 +0400
++++ seamonkey-2.20-OK/comm-release/mozilla/configure	2013-08-08 17:36:48.083511798 +0400
+@@ -15256,7 +15256,7 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ 
+-	min_nss_version=3.15
++	min_nss_version=3.14.3
+ 	echo $ac_n "checking for NSS - version >= $min_nss_version""... $ac_c" 1>&6
+ echo "configure:15223: checking for NSS - version >= $min_nss_version" >&5
+ 
+diff -Nrbu seamonkey-2.20/comm-release/mozilla/security/manager/ssl/src/JARSignatureVerification.cpp seamonkey-2.20-OK/comm-release/mozilla/security/manager/ssl/src/JARSignatureVerification.cpp
+--- seamonkey-2.20/comm-release/mozilla/security/manager/ssl/src/JARSignatureVerification.cpp	2013-08-04 07:05:47.000000000 +0400
++++ seamonkey-2.20-OK/comm-release/mozilla/security/manager/ssl/src/JARSignatureVerification.cpp	2013-08-08 18:24:55.382891240 +0400
+@@ -587,9 +587,9 @@
+   }
+ 
+   // Verify that the signature file is a valid signature of the SF file
+-  if (!SEC_PKCS7VerifyDetachedSignatureAtTime(p7_info, certUsageObjectSigner,
+-                                              &sfCalculatedDigest.get(),
+-                                              HASH_AlgSHA1, false, PR_Now())) {
++  if (!SEC_PKCS7VerifyDetachedSignature(p7_info, certUsageObjectSigner,
++                                              (SECItem *) &sfCalculatedDigest.get(),
++                                              HASH_AlgSHA1, false)) {
+     PRErrorCode error = PR_GetError();
+     const char * errorName = PR_ErrorToName(error);
+     PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("Failed to verify detached signature: %s",
diff --git a/seamonkey.spec b/seamonkey.spec
index a066faa..4225896 100644
--- a/seamonkey.spec
+++ b/seamonkey.spec
@@ -24,13 +24,13 @@
 
 Name:           seamonkey
 Summary:        Web browser, e-mail, news, IRC client, HTML editor
-Version:        2.22
-Release:        1%{?dist}
+Version:        2.21
+Release:        2.esr1%{?dist}
 URL:            http://www.mozilla.org/projects/seamonkey/
 License:        MPLv2.0
 Group:          Applications/Internet
 
-Source0:        http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/seamonkey-%{version}%{?prerelease_tag}.source.tar.bz2
+Source0:        ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/seamonkey-%{version}%{?prerelease_tag}.source.tar.bz2
 
 #  Generate it by moz-grab-langpacks script, which can be obtained from
 #  http://fedorapeople.org/cgit/caillon/public_git/gecko-maint.git/
@@ -38,7 +38,7 @@ Source0:        http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%
 #
 #   Run script as  ./moz-grab-langpacks --app seamonkey %{version}
 #
-Source1:        seamonkey-langpacks-%{version}-20131101.tar.xz
+Source1:        seamonkey-langpacks-%{version}-20130918.tar.xz
 
 Source3:        seamonkey.sh.in
 Source4:        seamonkey.desktop
@@ -52,15 +52,16 @@ Source20:       seamonkey-epel-default-prefs.js
 Source100:      find-external-requires
 %{?bundled_python:Source200: http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.xz}
 
+Patch0:		seamonkey-2.21-esr1.0.patch
 Patch1:         xulrunner-24.0-gcc47.patch
 Patch2:		xulrunner-24.0-jemalloc-ppc.patch
 Patch5:         seamonkey-8.0-enable-addons.patch
 Patch10:        seamonkey-idl-parser-cachepath.patch
 Patch20:	seamonkey-2.21-c++0x.patch
 Patch22:	seamonkey-2.14-installdir.patch
-Patch23:	seamonkey-2.22-elfhack.patch
-Patch24:	seamonkey-2.22-nspr_4_9_5.patch
-Patch26:	seamonkey-2.22-nss_3_14_3.patch
+Patch23:	seamonkey-2.19-elfhack.patch
+Patch24:	seamonkey-2.21-nspr_4_9_5.patch
+Patch26:	seamonkey-2.21-nss_3_14_3.patch
 
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %if %{with system_nspr}
@@ -140,6 +141,9 @@ application formerly known as Mozilla Application Suite.
 %setup -q -c %{?bundled_python:-a 200}
 cd %{sources_subdir}
 
+#  estended support release patches
+%patch0 -p2 -b .esr1
+
 pushd mozilla
 %patch1 -p2 -b .gcc47
 %patch2 -p2 -b .jemalloc-ppc
@@ -181,9 +185,6 @@ echo "ac_add_options --disable-webrtc" >> .mozconfig
 #  enabled by default since 2.21
 echo "ac_add_options --disable-gstreamer" >> .mozconfig
 
-#  needed to compile with the current gcc-4.4
-echo "ac_add_options --enable-cpp-rtti" >>.mozconfig
-
 
 %build
 %if %{?bundled_python}
@@ -502,11 +503,10 @@ fi
 
 
 %changelog
-* Fri Nov  1 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.22-1
-- update to 2.22
-- fix for BEAST iissue in startup script (as in #1005611 for Firefox)
-- now need to enable rtti for C++ compiling by gcc-4.4
-  (ie. drop -fno-rtti flag)
+* Fri Nov 29 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.21-2.esr1
+- apply extended support release patch, derived from the thunderbird
+  esr24.1.0 tree
+- fix for BEAST issue in startup script (as in #1005611 for Firefox)
 
 * Wed Sep 18 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.21-1
 - update to 2.21
diff --git a/seamonkey.spec-2.22.1 b/seamonkey.spec-2.22.1
new file mode 100644
index 0000000..da4147f
--- /dev/null
+++ b/seamonkey.spec-2.22.1
@@ -0,0 +1,901 @@
+%define bundled_python 1
+
+%bcond_without	system_nspr
+%bcond_without	system_nss
+%bcond_with	system_libvpx
+
+%define homepage file:///usr/share/doc/HTML/index.html
+%define default_bookmarks_file %{_datadir}/bookmarks/default-bookmarks.html
+%define cairo_version 0.5
+
+%global minimum_build_nspr_version 4.9.5
+%global minimum_build_nss_version 3.14.3
+%global minimum_build_vpx_version 1.0.0
+
+%define build_langpacks 1
+
+%define _unpackaged_files_terminate_build 0
+%define builddir %{_builddir}/%{name}-%{version}
+%define mozdir %{_libdir}/seamonkey
+%define sources_subdir comm-release
+
+%define seamonkey_app_id	\{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a\}
+
+
+Name:           seamonkey
+Summary:        Web browser, e-mail, news, IRC client, HTML editor
+Version:        2.22.1
+Release:        1%{?dist}
+URL:            http://www.mozilla.org/projects/seamonkey/
+License:        MPLv2.0
+Group:          Applications/Internet
+
+Source0:        ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/seamonkey-%{version}%{?prerelease_tag}.source.tar.bz2
+
+#  Generate it by moz-grab-langpacks script, which can be obtained from
+#  http://fedorapeople.org/cgit/caillon/public_git/gecko-maint.git/
+#  and probably perform "sed -i 's/pyfedpkg/pyrpkg/g' moz-grab-langpacks"
+#
+#   Run script as  ./moz-grab-langpacks --app seamonkey %{version}
+#
+Source1:        seamonkey-langpacks-%{version}-20131119.tar.xz
+
+Source3:        seamonkey.sh.in
+Source4:        seamonkey.desktop
+Source7:        seamonkey-make-package.pl
+Source10:       seamonkey-mozconfig
+Source12:       seamonkey-mail.desktop
+Source13:       seamonkey-mail.svg
+Source17:       mozilla-psm-exclude-list
+Source18:       mozilla-xpcom-exclude-list
+Source20:       seamonkey-epel-default-prefs.js
+Source100:      find-external-requires
+%{?bundled_python:Source200: http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.xz}
+
+Patch1:         xulrunner-24.0-gcc47.patch
+Patch2:		xulrunner-24.0-jemalloc-ppc.patch
+Patch5:         seamonkey-8.0-enable-addons.patch
+Patch10:        seamonkey-idl-parser-cachepath.patch
+Patch20:	seamonkey-2.21-c++0x.patch
+Patch22:	seamonkey-2.14-installdir.patch
+Patch23:	seamonkey-2.22-elfhack.patch
+Patch24:	seamonkey-2.22-nspr_4_9_5.patch
+Patch26:	seamonkey-2.22-nss_3_14_3.patch
+
+Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%if %{with system_nspr}
+BuildRequires:  nspr-devel >= %{minimum_build_nspr_version}
+%endif
+%if %{with system_nss}
+BuildRequires:  nss-devel >= %{minimum_build_nss_version}
+BuildRequires:  nss-static >= %{minimum_build_nss_version}
+%endif
+BuildRequires:  cairo-devel >= %{cairo_version}
+BuildRequires:  libpng-devel
+BuildRequires:  libjpeg-turbo-devel
+BuildRequires:  zlib-devel
+BuildRequires:  zip
+BuildRequires:  libIDL-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk2-devel
+BuildRequires:  dbus-glib-devel
+BuildRequires:  gnome-vfs2-devel
+BuildRequires:  libgnome-devel
+BuildRequires:  libgnomeui-devel
+BuildRequires:  krb5-devel
+BuildRequires:  pango-devel
+BuildRequires:  freetype-devel >= 2.1.9
+BuildRequires:  glib2-devel
+BuildRequires:  libXt-devel
+BuildRequires:  libXrender-devel
+BuildRequires:  fileutils
+BuildRequires:  perl
+BuildRequires:  alsa-lib-devel
+BuildRequires:  hunspell-devel
+BuildRequires:  system-bookmarks
+BuildRequires:  libnotify-devel
+%if %{with system_libvpx}
+BuildRequires:  libvpx-devel >= %{minimum_build_vpx_version}
+%else
+BuildRequires:  yasm >= 1.1
+%endif
+BuildRequires:  mesa-libGL-devel
+#BuildRequires: python >= 2.7
+
+Requires:       system-bookmarks
+Requires:       redhat-indexhtml
+Requires:       mozilla-filesystem
+Requires:       hicolor-icon-theme
+%if %{with system_nspr}
+Requires:       nspr >= %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo %{minimum_build_nspr_version})
+%endif
+%if %{with system_nss}
+Requires:       nss >= %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo %{minimum_build_nss_version})
+%endif
+Requires:       libjpeg-turbo
+
+Obsoletes: seamonkey-chat
+Obsoletes: seamonkey-devel
+Obsoletes: seamonkey-dom-inspector
+Obsoletes: seamonkey-js-debugger
+Obsoletes: seamonkey-mail
+
+# see http://bugzilla.redhat.com/bugzilla/866589
+ExcludeArch: ppc64
+
+AutoProv: 0
+%define _use_internal_dependency_generator 0
+%define __find_requires %{SOURCE100}
+
+
+%description
+SeaMonkey is an all-in-one Internet application suite. It includes 
+a browser, mail/news client, IRC client, JavaScript debugger, and 
+a tool to inspect the DOM for web pages. It is derived from the 
+application formerly known as Mozilla Application Suite.
+ 
+
+%prep
+
+%setup -q -c %{?bundled_python:-a 200}
+cd %{sources_subdir}
+
+pushd mozilla
+%patch1 -p2 -b .gcc47
+%patch2 -p2 -b .jemalloc-ppc
+popd
+
+%patch5 -p2 -b .addons
+%patch10 -p2 -b .idl-parser-cachepath
+
+%patch20 -p2 -b .c++0x
+%patch22 -p2 -b .installdir
+%patch23 -p2 -b .elfhack
+
+%if %{with system_nspr}
+%patch24 -p2 -b .nspr495
+%endif
+%if %{with system_nss}
+%patch26 -p2 -b .nss3143
+%endif
+
+
+# fix obsoleted modifier in inspector
+sed -i -e 's/ *xpcnativewrappers=no//' mozilla/extensions/inspector/jar.mn
+
+%{__rm} -f .mozconfig
+%{__cp} %{SOURCE10} .mozconfig
+
+%ifarch %{arm}
+echo "ac_add_options --disable-elf-hack" >> .mozconfig
+%endif
+
+echo "ac_add_options --with%{!?with_system_nspr:out}-system-nspr" >> .mozconfig
+echo "ac_add_options --with%{!?with_system_nss:out}-system-nss" >> .mozconfig
+echo "ac_add_options --with%{!?with_system_libvpx:out}-system-libvpx" >> .mozconfig
+
+%ifnarch %{ix86} x86_64
+echo "ac_add_options --disable-webrtc" >> .mozconfig
+%endif
+
+#  enabled by default since 2.21
+echo "ac_add_options --disable-gstreamer" >> .mozconfig
+
+#  needed to compile with the current gcc-4.4
+echo "ac_add_options --enable-cpp-rtti" >>.mozconfig
+
+
+%build
+%if %{?bundled_python}
+
+#  install the bundled python here (ie. somewhere in the build tree)
+PYTHON_DIR=$PWD/python
+
+pushd Python-2.7.5
+# just use upstream defaults for this temporary build-time-only bundled one...
+./configure --prefix=$PYTHON_DIR
+
+make %{?_smp_mflags}
+
+make install
+popd
+%endif	# bundled_python
+cd %{sources_subdir}
+
+# Mozilla builds with -Wall with exception of a few warnings which show up
+# everywhere in the code; so, don't override that.
+#
+# Disable C++ exceptions since Mozilla code is not exception-safe
+#
+MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | \
+                     %{__sed} -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g')
+export CFLAGS=$MOZ_OPT_FLAGS
+export CXXFLAGS=$MOZ_OPT_FLAGS
+
+export PREFIX='%{_prefix}'
+export LIBDIR='%{_libdir}'
+
+MOZ_SMP_FLAGS=-j1
+%ifnarch ppc ppc64 s390 s390x
+MOZ_SMP_FLAGS=%{?_smp_mflags}
+%endif
+
+%if %{?bundled_python}
+export PATH=$PYTHON_DIR/bin:$PATH
+%endif  # bundled_python
+make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
+
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+
+cd %{sources_subdir}
+
+DESTDIR=$RPM_BUILD_ROOT make -C objdir install
+
+# create a list of all of the different package and the files that
+# will hold them
+
+%{__rm} -f %{builddir}/seamonkey.list
+
+echo %defattr\(-,root,root\) > %{builddir}/seamonkey.list
+
+# we don't want to ship mozilla's default sidebar components
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/bugzilla.gif
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/bugzilla.src
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/dmoz.gif
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/dmoz.src
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/lxrmozilla.gif
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/lxrmozilla.src
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/mozilla.gif
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/searchplugins/mozilla.src
+
+# build all of the default browser components 
+# base Seamonkey package (seamonkey.list) 
+%{SOURCE7} --package xpcom --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir} \
+    %{?with_system_nspr:--exclude-file=%{SOURCE18}}
+
+%{SOURCE7} --package browser --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir}
+
+%{SOURCE7} --package spellcheck --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir}
+
+%{SOURCE7} --package psm --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir} \
+    %{?with_system_nss:--exclude-file=%{SOURCE17}}
+
+%{SOURCE7} --package mail --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir}
+
+%{SOURCE7} --package chatzilla --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir}
+
+%{SOURCE7} --package venkman --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir}
+
+%{SOURCE7} --package inspector --output-file %{builddir}/seamonkey.list \
+    --package-file objdir/suite/installer/package-manifest \
+    --install-dir $RPM_BUILD_ROOT/%{mozdir} \
+    --install-root %{mozdir}
+
+echo > ../%{name}.lang
+
+%if %{build_langpacks}
+# Install langpacks 
+%{__mkdir_p} $RPM_BUILD_ROOT/%{mozdir}/extensions
+%{__tar} xf %{SOURCE1}
+
+for langpack in `ls seamonkey-langpacks/*.xpi`; do
+  #  seamonkey-langpacks/seamonkey-VERSION.LANG.langpack.xpi
+  language=${langpack%.langpack.xpi}
+  #  seamonkey-langpacks/seamonkey-VERSION.LANG
+  language=${language##*.}
+  #  LANG
+  extensiondir=$RPM_BUILD_ROOT/%{mozdir}/extensions/langpack-$language at seamonkey.mozilla.org
+  %{__mkdir_p} $extensiondir
+  unzip $langpack -d $extensiondir
+  find $extensiondir -type f | xargs chmod 644
+  find $extensiondir -name ".mkdir.done" | xargs rm -f
+
+  sed -i -e "s|browser.startup.homepage.*$|browser.startup.homepage = %{homepage}|g" \
+         $extensiondir/chrome/$language/locale/$language/navigator-region/region.properties
+
+  jarfile=$extensiondir/chrome/$language.jar
+  pushd $extensiondir/chrome/$language
+  zip -r -D $jarfile locale
+  popd
+  %{__rm} -rf $extensiondir/chrome/$language  #  now in jarfile
+
+  mv -f $extensiondir/chrome/$language.manifest $extensiondir/chrome.manifest
+  #  fix manifest to point to jar
+  sed -i -e "s,$language/locale,jar:chrome/$language.jar!/locale," \
+	 $extensiondir/chrome.manifest 
+
+  language=`echo $language | sed -e 's/-/_/g'`
+  extensiondir=`echo $extensiondir | sed -e "s,^$RPM_BUILD_ROOT,,"`
+  echo "%%lang($language) $extensiondir" >> ../%{name}.lang
+done
+
+%{__rm} -rf seamonkey-langpacks
+%endif # build_langpacks
+
+# install desktop files in correct directory
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/applications/
+desktop-file-install --vendor mozilla \
+    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+    --add-category X-Fedora \
+    --add-category Application \
+    --add-category Network \
+    %{SOURCE4}
+desktop-file-install --vendor mozilla \
+    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+    --add-category X-Fedora \
+    --add-category Application \
+    --add-category Network \
+    %{SOURCE12}
+
+# install icons
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
+
+# seamonkey icons
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/main-window16.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/seamonkey.png
+
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/main-window.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/seamonkey.png
+
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/main-window48.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/seamonkey.png
+
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/seamonkey.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/seamonkey.png
+
+# seamonkey mail icons
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/messengerWindow16.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/seamonkey-mail.png
+
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/messengerWindow.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/seamonkey-mail.png
+
+install -p -m 644 $RPM_BUILD_ROOT%{mozdir}/chrome/icons/default/messengerWindow48.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/seamonkey-mail.png
+
+install -p -m 644 %{SOURCE13} \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/seamonkey-mail.svg
+
+if [ ! -d $RPM_BUILD_ROOT/%{mozdir}/plugins/ ]; then
+  mkdir -m 755 $RPM_BUILD_ROOT/%{mozdir}/plugins
+fi
+
+# install our seamonkey.sh file
+rm -rf $RPM_BUILD_ROOT/usr/bin/seamonkey
+cat %{SOURCE3} | sed -e 's/-MOZILLA_VERSION//g' \
+		     -e 's,LIBDIR,%{_libdir},g' > \
+  $RPM_BUILD_ROOT/usr/bin/seamonkey
+
+chmod 755 $RPM_BUILD_ROOT/usr/bin/seamonkey
+
+# set up our default preferences
+%{__cat} %{SOURCE20} | %{__sed} -e 's,SEAMONKEY_RPM_VR,%{version}-%{release},g' > \
+        $RPM_BUILD_ROOT/fc-default-prefs
+%{__cp} $RPM_BUILD_ROOT/fc-default-prefs $RPM_BUILD_ROOT/%{mozdir}/defaults/pref/all-fedora.js
+%{__rm} $RPM_BUILD_ROOT/fc-default-prefs
+
+# set up our default bookmarks
+%{__rm} -f $RPM_BUILD_ROOT/%{mozdir}/defaults/profile/bookmarks.html
+ln -s %{default_bookmarks_file} $RPM_BUILD_ROOT/%{mozdir}/defaults/profile/bookmarks.html
+
+# System extensions
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{seamonkey_app_id}
+%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{seamonkey_app_id}
+
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+
+%post
+update-desktop-database %{_datadir}/applications
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+update-desktop-database %{_datadir}/applications
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f seamonkey.list
+%defattr(-,root,root)
+%{_bindir}/seamonkey
+%{_datadir}/icons/hicolor/16x16/apps/seamonkey.png
+%{_datadir}/icons/hicolor/16x16/apps/seamonkey-mail.png
+%{_datadir}/icons/hicolor/32x32/apps/seamonkey.png
+%{_datadir}/icons/hicolor/32x32/apps/seamonkey-mail.png
+%{_datadir}/icons/hicolor/48x48/apps/seamonkey.png
+%{_datadir}/icons/hicolor/48x48/apps/seamonkey-mail.png
+%{_datadir}/icons/hicolor/128x128/apps/seamonkey.png
+%{_datadir}/icons/hicolor/scalable/apps/seamonkey-mail.svg
+
+# search engines
+%{mozdir}/searchplugins/*.xml
+
+# dictionaries
+%{mozdir}/dictionaries/*
+
+# Profile?
+%{mozdir}/defaults/profile/*
+
+# some rest
+%{mozdir}/omni.ja
+%{mozdir}/chrome.manifest
+%{mozdir}/components/*.manifest
+#%{mozdir}/components/*.xpt
+%{mozdir}/components/*.so
+%{mozdir}/defaults/messenger/mailViews.dat
+%dir %{mozdir}/extensions
+%{mozdir}/extensions/*
+
+%dir %{mozdir}/distribution
+%dir %{mozdir}/distribution/extensions
+
+#%doc %{_mandir}/man1/seamonkey.1.gz
+
+%dir %{mozdir}
+%dir %{mozdir}/defaults/pref
+%dir %{mozdir}/defaults/profile
+%dir %{mozdir}/defaults/messenger
+%dir %{mozdir}/defaults
+
+%dir %{mozdir}/chrome/icons/default
+%dir %{mozdir}/chrome/icons
+%dir %{mozdir}/chrome
+
+
+%dir %{mozdir}/components
+%dir %{mozdir}/searchplugins
+
+%dir %{mozdir}/isp
+%dir %{mozdir}/dictionaries
+
+%dir %{mozdir}/plugins
+
+%{mozdir}/defaults/pref/all-fedora.js
+
+%{_datadir}/applications/mozilla-%{name}.desktop
+%{_datadir}/applications/mozilla-%{name}-mail.desktop
+
+%dir %{_datadir}/mozilla/extensions/%{seamonkey_app_id}
+%dir %{_libdir}/mozilla/extensions/%{seamonkey_app_id}
+
+%if %{without system_nss}
+%{mozdir}/*.chk
+%endif
+
+%ghost %{mozdir}/removed-files
+
+
+%changelog
+* Thu Nov 21 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.22.1-1
+- update to 2.22.1
+
+* Fri Nov  1 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.22-1
+- update to 2.22
+- fix for BEAST issue in startup script (as in #1005611 for Firefox)
+- now need to enable rtti for C++ compiling by gcc-4.4
+  (ie. drop -fno-rtti flag)
+
+* Wed Sep 18 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.21-1
+- update to 2.21
+- add patch to avoid c++0x code (not supported with gcc-4.4)
+
+* Wed Aug 14 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.20-2
+- rebuild with new system's nspr-4.9.5 and nss-3.14.3
+
+* Thu Aug  8 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.20-1
+- update to 2.20
+- fix build with system nss-3.14.0
+
+* Mon Jul 15 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.19-2
+- use native nspr (version of 4.9.6) instead of the system one (4.9.2).
+  Seamonkey-2.19 with nspr patches seems to require at least nspr >= 4.9.3
+
+* Sat Jul  6 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.19-1
+- update to 2.19
+- use bundled python-2.7 for build
+- no more touch omni.ja
+
+* Mon Apr 15 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.17.1-1
+- update to 2.17.1
+
+* Wed Apr  3 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.17-1
+- update to 2.17
+- enable WebRTC
+- explicitly require libjpeg-turbo (since old libjpeg
+  does not provide all the needed features), drop libjpeg62 patch
+- fix build with NSS's hasht.h header from the system nss-softokn-devel < 3.14
+
+* Fri Mar 15 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.16.2-1
+- update to 2.16.2
+
+* Tue Mar 12 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.16.1-1
+- update to 2.16.1
+
+* Fri Feb 22 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.16-1
+- update to 2.16
+- fix patch to allow build with system's nspr-4.9.2 instead of nspr-4.9.4
+- fix build langpacks
+
+* Mon Feb  4 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.15.2-1
+- update to 2.15.2
+- fix build with new system nspr-4.9.2
+
+* Mon Jan 21 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.15.1-1
+- update to 2.15.1
+- add fix for #304121 (derived from Xulrunner)
+
+* Wed Jan  9 2013 Dmitry Butskoy <Dmitry at Butskoy.name> 2.15-1
+- update to 2.15
+- disable WebRTC support until nss >= 3.14 appear in RHEL6
+- fix build with RHEL6 system nss-3.13.5 (actually cosmetic things was changed)
+- fix build with RHEL6 libjpeg library (just use some little old stuff from 3.14.1)
+- don't try to change global user settings for default browser/mail etc.
+
+* Mon Dec  3 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.14.1-1
+- update to 2.14.1
+
+* Wed Nov 21 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.14-1
+- update to 2.14
+- change collapsed sidebar patch to upstream git applied one
+- fix elfhack compile
+ 
+* Wed Oct 31 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.13.2-1
+- update to 2.13.2
+
+* Tue Oct 16 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.13.1-2
+- add patch for broken context menus when started with collapsed sidebar
+  (upstream bug 802166)
+
+* Mon Oct 15 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.13.1-1
+- update to 2.13.1
+- build with separate objdir
+- exclude ppc64 arch (hoping it is temporary, #866589)
+
+* Thu Oct 11 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.13-1
+- update to 2.13
+- add patch to avoid decommit memory on powerpc arches (#852698)
+- add seamonkey-related directories in mozilla-filesystem (#865054)
+- fix build with RHEL6 system nspr-4.9.1 (drop setting nspr thread names,
+  as it requires nspr >= 4.9.2, but just can be safely removed from the code)
+
+* Mon Oct  8 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.12.1-2
+- drop version from install directories (follow the current
+  firefox and thunderbird way)
+- change License to MPLv2.0
+
+* Thu Sep 27 2012 Dmitry Butskoy <Dmitry at Butskoy.name> 2.12.1-1.el6
+- port to EPEL6
+- use EL6 homepage way
+- use proper MOZ_SMP_FLAGS
+- fix build langpacks
+- fix startup warnings (error console) for omni and inspector
+- complete default prefs from the latest RHEL6 Firefox and Fedora 18 Seamonkey
+- add patch for jemalloc for powerpc arches (#852698)
+
+* Tue Aug 28 2012 Martin Stransky <stransky at redhat.com> 2.12.1-1
+- Update to 2.12.1
+
+* Tue Aug 28 2012 Martin Stransky <stransky at redhat.com> 2.12-1
+- Update to 2.12
+
+* Fri Jul 27 2012 Martin Stransky <stransky at redhat.com> 2.11-1
+- Update to 2.11
+
+* Thu Jun 21 2012 Martin Stransky <stransky at redhat.com> 2.10.1-1
+- Update to 2.10.1
+
+* Thu Jun 7 2012 Allen Hewes <allen at decisiv.net> 2.10-1
+- Update to 2.10
+- change sed string for version number to support 2 digits
+- remove specific .so's from installer manifest
+- fix the cache path for header.py and associated files when building
+  in srcdir (vs using seperate objdir)
+
+* Mon May 7 2012 Martin Stransky <stransky at redhat.com> 2.9.1-4
+- Fixed #717242 - does not adhere to Static Library Packaging Guidelines
+
+* Thu May 3 2012 Martin Stransky <stransky at redhat.com> 2.9.1-3
+- Fixed #747411 - seamonkey needs better icons (by Edward Sheldrake)
+
+* Thu May 3 2012 Martin Stransky <stransky at redhat.com> 2.9.1-2
+- Fixed directories (#566901)
+
+* Wed May 2 2012 Martin Stransky <stransky at redhat.com> 2.9.1-1
+- Update to 2.9.1
+
+* Fri Apr 27 2012 Martin Stransky <stransky at redhat.com> 2.9-1
+- Update to 2.9
+
+* Wed Apr  4 2012 Peter Robinson <pbrobinson at fedoraproject.org> 2.8-3
+- Add ARM configuration options
+
+* Fri Mar 16 2012 Martin Stransky <stransky at redhat.com> 2.8-2
+- gcc 4.7 build fixes
+
+* Thu Mar 15 2012 Martin Stransky <stransky at redhat.com> 2.8-1
+- Update to 2.8
+
+* Fri Feb 24 2012 Martin Stransky <stransky at redhat.com> 2.7.1-2
+- Added fix for mozbz#727401 - libpng crash
+
+* Tue Feb 14 2012 Martin Stransky <stransky at redhat.com> 2.7.1-1
+- Update to 2.7.1
+
+* Mon Feb  6 2012 Martin Stransky <stransky at redhat.com> 2.7-2
+- gcc 4.7 build fixes
+
+* Fri Feb  3 2012 Martin Stransky <stransky at redhat.com> 2.7-1
+- Update to 2.7
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Dec 14 2011 Martin Stransky <stransky at redhat.com> 2.5-2
+- Fixed langpacks
+
+* Thu Dec  8 2011 Martin Stransky <stransky at redhat.com> 2.5-1
+- Update to 2.5
+
+* Fri Oct 14 2011 Dan Horák <dan[at]danny.cz> - 2.4.1-3
+- fix build on secondary arches
+
+* Tue Oct 11 2011 Kai Engert <kaie at redhat.com> - 2.4.1-2
+- Update to 2.4.1
+
+* Tue Sep 06 2011 Kai Engert <kaie at redhat.com> - 2.3.3-2
+- Update to 2.3.3
+ 
+* Sun Aug 21 2011 Kai Engert <kaie at redhat.com> - 2.3-2
+- Update to 2.3
+ 
+* Wed May 25 2011 Caolán McNamara <caolanm at redhat.com> - 2.0.14-2
+- rebuild for new hunspell
+
+* Fri Apr 29 2011 Jan Horak <jhorak at redhat.com> - 2.0.14-1
+- Update to 2.0.14
+
+* Sat Apr  9 2011 Christopher Aillon <caillon at redhat.com> 2.0.13-1
+- Update to 2.0.13
+
+* Mon Mar  7 2011 Martin Stransky <stransky at redhat.com> 2.0.12-1
+- Update to 2.0.12
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.11-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Jan 04 2011 Adel Gadllah <adel.gadllah at gmail.com> 2.0.11-3
+- BR dbus-glib-devel
+
+* Tue Jan 04 2011 Adel Gadllah <adel.gadllah at gmail.com> 2.0.11-2
+- disabled system cairo, breaks animated gifs (rhbz#628331)
+
+* Mon Dec 13 2010 Martin Stransky <stransky at redhat.com> 2.0.11-1
+- Update to 2.0.11
+
+* Mon Nov 1 2010 Martin Stransky <stransky at redhat.com> 2.0.10-1
+- Update to 2.0.10
+
+* Thu Oct 21 2010 Martin Stransky <stransky at redhat.com> 2.0.9-1
+- Update to 2.0.9
+
+* Wed Oct 13 2010 Martin Stransky <stransky at redhat.com> 2.0.8-2
+- Added fix for mozbz#522635
+
+* Wed Sep 22 2010 Martin Stransky <stransky at redhat.com> 2.0.8-1
+- Update to 2.0.8
+
+* Tue Jul 20 2010 Martin Stransky <stransky at redhat.com> 2.0.6-1
+- Update to 2.0.6
+
+* Wed Jun 23 2010 Martin Stransky <stransky at redhat.com> 2.0.5-1
+- Update to 2.0.5
+
+* Thu Apr  1 2010 Martin Stransky <stransky at redhat.com> 2.0.4-1
+- Update to 2.0.4
+
+* Wed Feb 17 2010 Martin Stransky <stransky at redhat.com> 2.0.3-1
+- Update to 2.0.3
+
+* Thu Dec 17 2009 Jan Horak <jhorak at redhat.com> - 2.0.1-1
+- Update to 2.0.1
+
+* Tue Oct 27 2009 Martin Stransky <stransky at redhat.com> 2.0-7
+- Update to 2.0
+
+* Wed Oct 21 2009 Martin Stransky <stransky at redhat.com> 2.0-6
+- Fixed launcher script
+
+* Mon Oct 19 2009 Martin Stransky <stransky at redhat.com> 2.0-5
+- Update to 2.0 RC2
+
+* Tue Oct 13 2009 Martin Stransky <stransky at redhat.com> 2.0-4
+- Update to 2.0 RC1
+
+* Wed Sep 23 2009 Martin Stransky <stransky at redhat.com> 2.0-3.beta2
+- Update to 2.0 beta 2
+
+* Thu Aug 6 2009 Martin Stransky <stransky at redhat.com> 2.0-2.beta1
+- Added fix for #437596
+
+* Wed Jul 22 2009 Martin Stransky <stransky at redhat.com> 2.0-1.beta1
+- Update to 2.0 beta 1
+
+* Fri Jul 10 2009 Martin Stransky <stransky at redhat.com> 1.1.17-1
+- Update to 1.1.17
+
+* Thu Jun 18 2009 Kai Engert <kaie at redhat.com> 1.1.16-3
+- fix categories in desktop files
+
+* Thu May  7 2009 Kai Engert <kaie at redhat.com> 1.1.16-2
+- Update to 1.1.16
+
+* Wed May 6 2009 Martin Stransky <stransky at redhat.com> 1.1.15-4
+- build with -fno-strict-aliasing (#468415)
+
+* Fri Mar 27 2009 Christopher Aillon <caillon at redhat.com> - 1.15.1-3
+- Add patches for MFSA-2009-12, MFSA-2009-13
+
+* Wed Mar 25 2009 Christopher Aillon <caillon at redhat.com> - 1.15.1-2
+- Update default homepage
+
+* Wed Mar  4 2009 Fedora Security Response Team <fedora-security-list at redhat.com> - 1.1.15-1
+- Update to 1.1.15
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.14-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 11 2009 Christopher Aillon <caillon at redhat.com> - 1.1.14-3
+- Drop explicit requirement on desktop-file-utils
+
+* Wed Jan 07 2009 Christopher Aillon <caillon at redhat.com> - 1.1.14-2
+- Disable the crash dialog
+
+* Wed Dec 17 2008 Kai Engert <kengert at redhat.com> - 1.1.14-1
+- Update to 1.1.14
+* Thu Dec 11 2008 Kai Engert <kengert at redhat.com> - 1.1.13-1
+- Update to 1.1.13
+- own additional directories, bug 474039
+* Thu Sep 25 2008 Christopher Aillon <caillon at redhat.com> - 1.1.12-1
+- Update to 1.1.12
+* Sat Jul  6 2008 Christopher Aillon <caillon at redhat.com> - 1.1.10-1
+- Update to 1.1.10
+- Use bullet characters to match GTK+
+* Wed Apr 30 2008 Christopher Aillon <caillon at redhat.com> - 1.1.9-4
+- Require mozilla-filesystem and drop its requires
+* Thu Apr 17 2008 Kai Engert <kengert at redhat.com> - 1.1.9-3
+- add several upstream patches, not yet released:
+  425576 (crash), 323508, 378132, 390295, 421622
+* Fri Mar 28 2008 Kai Engert <kengert at redhat.com> - 1.1.9-2
+- SeaMonkey 1.1.9
+* Sat Mar 15 2008 Christopher Aillon <caillon at redhat.com> - 1.1.8-6
+- Use the Fedora system bookmarks as default
+* Sat Mar 15 2008 Christopher Aillon <caillon at redhat.com> - 1.1.8-5
+- Avoid conflicts between gecko debuginfo packages
+* Thu Feb 14 2008 Kai Engert <kengert at redhat.com> - 1.1.8-4
+- remove workaround for 432138, use upstream patch
+* Sat Feb 09 2008 Kai Engert <kengert at redhat.com> - 1.1.8-3
+- make it build with nss 3.12, mozilla bug 399589
+- work around an issue with gcc 4.3.0, redhat bug 432138
+* Fri Feb 08 2008 Kai Engert <kengert at redhat.com> - 1.1.8-2
+- SeaMonkey 1.1.8
+* Mon Jan 07 2008 Kai Engert <kengert at redhat.com> - 1.1.7-4
+- Create and own /etc/skel/.mozilla
+* Mon Dec 03 2007 Kai Engert <kengert at redhat.com> - 1.1.7-3
+- fix dependencies, requires nspr 4.6.99 / nss 3.11.99
+* Sun Dec 02 2007 Kai Engert <kengert at redhat.com> - 1.1.7-2
+- SeaMonkey 1.1.7
+* Mon Nov 05 2007 Kai Engert <kengert at redhat.com> - 1.1.6-2
+- SeaMonkey 1.1.6
+* Fri Oct 19 2007 Kai Engert <kengert at redhat.com> - 1.1.5-2
+- SeaMonkey 1.1.5
+* Mon Sep 10 2007 Martin Stransky <stransky at redhat.com> 1.1.3-8
+- added fix for #246248 - firefox crashes when searching for word "do"
+* Tue Aug 28 2007 Kai Engert <kengert at redhat.com> - 1.1.3-7
+- Updated license tag
+* Tue Aug  7 2007 Martin Stransky <stransky at redhat.com> 1.1.3-6
+- removed plugin configuration utility
+* Mon Aug 6 2007 Martin Stransky <stransky at redhat.com> 1.1.3-5
+- unwrapped plugins moved to the old location
+* Mon Jul 30 2007 Martin Stransky <stransky at redhat.com> 1.1.3-4
+- added nspluginwrapper support
+* Fri Jul 27 2007 Martin Stransky <stransky at redhat.com> - 1.1.3-3
+- added pango patches
+* Fri Jul 20 2007 Kai Engert <kengert at redhat.com> - 1.1.3-2
+- SeaMonkey 1.1.3
+* Thu May 31 2007 Kai Engert <kengert at redhat.com> 1.1.2-2
+- SeaMonkey 1.1.2
+* Wed Feb 28 2007 Kai Engert <kengert at redhat.com> 1.1.1-2
+- SeaMonkey 1.1.1
+* Wed Feb 07 2007 Kai Engert <kengert at redhat.com> 1.1-2
+- Update to SeaMonkey 1.1
+- Pull in patches used by Firefox Fedora RPM package.
+- Fix the DND implementation to not grab, so it works with new GTK+.
+- Fix upgrade path from FC-5 by obsoleting the seamonkey subset
+  packages which recently obsoleted mozilla in FC-5.
+* Sat Dec 23 2006 Kai Engert <kengert at redhat.com> 1.0.7-1
+- SeaMonkey 1.0.7
+* Fri Nov 10 2006 Kai Engert <kengert at redhat.com> 1.0.6-2
+- Do not run regchrome.
+- Fix some .dat and .rdf ghost files.
+* Thu Nov 09 2006 Kai Engert <kengert at redhat.com> 1.0.6-1
+- SeaMonkey 1.0.6
+* Thu Sep 14 2006 Kai Engert <kengert at redhat.com> 1.0.5-1
+- SeaMonkey 1.0.5
+* Wed Sep 06 2006 Kai Engert <kengert at redhat.com> 1.0.4-8
+- patch5 -p0
+* Wed Sep 06 2006 Kai Engert <kengert at redhat.com> 1.0.4-7
+- Synch patches with those found in the Firefox package.
+- Add missing, clean up BuildRequires
+- Use --enable-system-cairo
+- Use a dynamic approach to require at least the NSPR/NSS 
+  library release used at build time.
+* Tue Aug 15 2006 Kai Engert <kengert at redhat.com> 1.0.4-6
+- Yet another forgotten patch file.
+* Tue Aug 15 2006 Kai Engert <kengert at redhat.com> 1.0.4-5
+- Commit forgotten visibility patch file.
+* Fri Aug  4 2006 Kai Engert <kengert at redhat.com> 1.0.4-4
+- Use a different patch to disable visibility.
+* Fri Aug  4 2006 Kai Engert <kengert at redhat.com> 1.0.4-3
+- Fix a build failure in mailnews mime code.
+* Thu Aug 03 2006 Kai Engert <kengert at redhat.com> 1.0.4-2
+- SeaMonkey 1.0.4
+* Wed Jun 07 2006 Kai Engert <kengert at redhat.com> 1.0.2-1
+- Update to SeaMonkey 1.0.2 release
+* Fri Apr 14 2006 Kai Engert <kengert at redhat.com> 1.0.1-1
+- Update to SeaMonkey 1.0.1 release
+* Tue Apr 11 2006 Kai Engert <kengert at redhat.com> 1.0-11
+- Fix PreReq statements
+* Tue Apr 11 2006 Kai Engert <kengert at redhat.com> 1.0-10
+- Added libXt-devel BuildRequires
+* Mon Apr 10 2006 Kai Engert <kengert at redhat.com> 1.0-9
+- Added dist suffix to release
+* Fri Mar 17 2006 Kai Engert <kengert at redhat.com> 1.0-8
+- Changed license to MPL
+* Tue Mar 14 2006 Kai Engert <kengert at redhat.com> 1.0-7
+- updated %%files section, removed %%preun,
+- removed explicit nspr/nss requires
+* Thu Mar 02 2006 Kai Engert <kengert at redhat.com> 1.0-6
+- Use a single package for all included applications.
+- Make sure installed JavaScript files are not executable.
+- Disable AutoProv, use find-external-requires.
+* Fri Feb 10 2006 Kai Engert <kengert at redhat.com> 1.0-4
+- Addressed several review comments, see bugzilla.redhat.com #179802.
+* Sat Jan 28 2006 Kai Engert <kengert at redhat.com> 1.0-1
+- Initial version based on Seamonkey 1.0, using a combination of patches 
+  from Mozilla 1.7.x, Firefox 1.5 and Thunderbird 1.5 RPM packages.
diff --git a/sources b/sources
index 22f60f6..e7da37f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-49b92ed98c23efdbdafa39b9dee920a7  seamonkey-2.22.source.tar.bz2
-3cd57ff116eb24d951690b270b303787  seamonkey-langpacks-2.22-20131101.tar.xz
+f2ddfea12f80aab48cc3cfca9f15f2a2  seamonkey-2.21.source.tar.bz2
+2add02f1213d2bfba25e8264aa74690f  seamonkey-langpacks-2.21-20130918.tar.xz
 5eea8462f69ab1369d32f9c4cd6272ab  Python-2.7.5.tar.xz


More information about the scm-commits mailing list