From 16764b5df2934ac854a414be2079598aef20c8a5 Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Fri, 10 Jun 2011 12:12:32 -0400 Subject: [PATCH] Test for bug 653083 - "temporary" string NPIdentifiers (those not requested explicitly with NPN_GetStringIdentifier) are being cached incorrectly across GCs --HG-- extra : rebase_source : 15e38546e0c7beeb3cab5a981dc27e15c2316757 --- dom/plugins/test/mochitest/Makefile.in | 1 + .../npruntime_identifiers_subpage.html | 4 ++ .../mochitest/test_npruntime_identifiers.html | 41 +++++++++++++++---- 3 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 dom/plugins/test/mochitest/npruntime_identifiers_subpage.html diff --git a/dom/plugins/test/mochitest/Makefile.in b/dom/plugins/test/mochitest/Makefile.in index 65985c8ad7b..dc48592f145 100644 --- a/dom/plugins/test/mochitest/Makefile.in +++ b/dom/plugins/test/mochitest/Makefile.in @@ -52,6 +52,7 @@ _MOCHITEST_FILES = \ test_npruntime_npninvoke.html \ test_npruntime_npninvokedefault.html \ test_npruntime_identifiers.html \ + npruntime_identifiers_subpage.html \ loremipsum.txt \ loremipsum_file.txt \ loremipsum_nocache.txt \ diff --git a/dom/plugins/test/mochitest/npruntime_identifiers_subpage.html b/dom/plugins/test/mochitest/npruntime_identifiers_subpage.html new file mode 100644 index 00000000000..38c62e017bc --- /dev/null +++ b/dom/plugins/test/mochitest/npruntime_identifiers_subpage.html @@ -0,0 +1,4 @@ + + + + diff --git a/dom/plugins/test/mochitest/test_npruntime_identifiers.html b/dom/plugins/test/mochitest/test_npruntime_identifiers.html index e9020041abd..9c43f2cbac2 100644 --- a/dom/plugins/test/mochitest/test_npruntime_identifiers.html +++ b/dom/plugins/test/mochitest/test_npruntime_identifiers.html @@ -8,11 +8,10 @@ - +

- - +