Last Comment Bug 758384 - IonMonkey: Differential Testing: Getting "TypeError: is not a function" with ion and XML
: IonMonkey: Differential Testing: Getting "TypeError: is not a function" with...
: regression, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Other Branch
: x86_64 Linux
-- critical (vote)
: ---
Assigned To: David Anderson [:dvander]
: Jason Orendorff [:jorendorff]
Depends on:
Blocks: langfuzz IonFuzz
  Show dependency treegraph
Reported: 2012-05-24 14:17 PDT by Christian Holler (:decoder)
Modified: 2012-05-30 08:00 PDT (History)
7 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix (1.14 KB, patch)
2012-05-25 18:09 PDT, David Anderson [:dvander]
jdemooij: review+
Details | Diff | Splinter Review

Description User image Christian Holler (:decoder) 2012-05-24 14:17:19 PDT
+++ This bug was initially created as a clone of Bug #758376 +++

The following testcase shows different behavior with options --ion -n -m --ion-eager vs. --no-ion on ionmonkey revision c05b873dad48:

function TEST(section, expected, actual) {}
function TEST_XML(section, expected, actual) {
        return TEST(section, expected, actual.toXMLString());
x = new XML("");
TEST_XML(2, "", x);
TEST_XML(3, "", x);

$ debug64/js --ion -n -m --ion-eager test.js
test.js:3: TypeError:  is not a function

$ debug64/js --no-ion test.js
<no output or error>
Comment 1 User image Christian Holler (:decoder) 2012-05-24 14:17:46 PDT
Oh and ignore the clone message at the beginning. I just clone bugs to save some time :)
Comment 2 User image David Anderson [:dvander] 2012-05-25 18:09:57 PDT
Created attachment 627419 [details] [diff] [review]

Use interpreter logic.
Comment 3 User image David Anderson [:dvander] 2012-05-30 08:00:53 PDT

Note You need to log in before you can comment on or make changes to this bug.