Open Bug 898813 Opened 11 years ago Updated 2 years ago

Some ecma_3/String/15.5.4.11.js test cases fail

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: yeukhon, Unassigned)

References

Details

Attachments

(1 file)

      No description provided.
Attached file output.txt
I ran this against 2268ff80683a which is about 1 week old. 
Please take a look at the output, some test cases are marked FAILED. I haven't gone through all of them yet, but quite a few look like typo.

e.g. test case 24, the expected is yyy0 but we assigned index to be 1, thus the test case fail.

Before I make a patch to fix these test cases, can someone confirm they are not intend to fail?
Looking only at the `lastIndex`-related tests, those should definitely fail right now. My guess is that the entire test is disabled because we know that we don't pass all those tests.

Waldo, is that correct? If so, shouldn't we either move the passing tests to another non-skipped, file? Or, maybe better, change the failing tests to pass but change their descriptions to make them canaries that fail once our behavior is correct?
Blocks: 887676
Flags: needinfo?(jwalden+bmo)
Hardware: x86_64 → All
Huh, we have tests marked unconditionally as failing, without any explanation?  Bleh.  I'd say just remove all such tests, honestly.  We have plenty of tests, and if we're not actually checking these tests' results, we're unlikely to gain anything from them.  (Other than knowledge that what they're doing won't crash us, but that's so scattershot it hardly seems worth having, without other independent value.)  Does that seem reasonable to you?
Flags: needinfo?(jwalden+bmo)
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: