Closed Bug 521143 Opened 15 years ago Closed 15 years ago

xpcshell-tests: test_autocomplete.js fails when 'strict' & 'werror' is on

Categories

(Toolkit :: Autocomplete, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1
Tracking Status
status1.9.2 --- final-fixed
status1.9.1 --- unaffected

People

(Reporter: lusian, Assigned: lusian)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091007 Minefield/3.7a1pre (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091007 Minefield/3.7a1pre (.NET CLR 3.5.30729)

$ make SOLO_FILE="test_autocomplete.js" -C toolkit/components/satchel/test/ che
ck-one
make: Entering directory `/c/mozilla-build/mozilla-central/toolkit/components/sa
tchel/test'
c:/mozilla-build/python25/python2.5.exe -u /c/mozilla-build/mozilla-central/conf
ig/pythonpath.py \
          -I/c/mozilla-build/mozilla-central/build \
          /c/mozilla-build/mozilla-central/testing/xpcshell/runxpcshelltests.py
\
          --symbols-path=../../../../dist/crashreporter-symbols \
          --test-path=test_autocomplete.js \
          ../../../../dist/bin/xpcshell \
          ../../../../_tests/xpcshell/test_satchel/unit
TEST-UNEXPECTED-FAIL | c:\mozilla-build\mozilla-central\_tests\xpcshell\test_sat
chel\unit\test_autocomplete.js | test failed (with xpcshell return code: 0), see
 following log:
  >>>>>>>
  TEST-INFO | (xpcshell/head.js) | test 1 pending
TEST-UNEXPECTED-FAIL | (xpcshell/head.js) | FAILED in test #0 -- TypeError: assi
gnment to undeclared variable timeGroupingSize

  <<<<<<<
INFO | Result summary:
INFO | Passed: 0
INFO | Failed: 1
make: *** [check-one] Error 1
make: Leaving directory `/c/mozilla-build/mozilla-central/toolkit/components/sat
chel/test'

Reproducible: Always

Steps to Reproduce:
1. Run the xpcshell test with the '-S' option
Actual Results:  
Failed

Expected Results:  
Passed
Attachment #405185 - Attachment description: Fix 'assignment to undeclared varialbe' → Fix 'assignment to undeclared variable'
Attachment #405185 - Flags: review?(enndeakin)
Attachment #405185 - Attachment is obsolete: true
Attachment #405441 - Flags: review?(enndeakin)
Attachment #405185 - Flags: review?(enndeakin)
Attachment #405441 - Flags: review?(enndeakin) → review+
Keywords: checkin-needed
Assignee: nobody → lusian
Component: Location Bar and Autocomplete → Autocomplete
Product: Firefox → Toolkit
QA Contact: location.bar → autocomplete
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
http://hg.mozilla.org/mozilla-central/rev/5cfc030d928d
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Blocks: 524781
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [c-n: m-1.9.2, m-1.9.1]
Version: unspecified → Trunk
Pushed to 1.9.2: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/1a4b504432ac

Is this really clear to land on 1.9.1? I.e., no approval necessary?
Whiteboard: [c-n: m-1.9.2, m-1.9.1] → [c-n: m-1.9.1]
any patch landing on a stability branch needs approval, regardless the entity of the patch, so i'd say no, this is not clear to land on 1.9.1.
Clearing keyword then...
Keywords: checkin-needed
Whiteboard: [c-n: m-1.9.1]
Comment on attachment 405441 [details] [diff] [review]
Convert to UNIX newline

Test-only change...
Attachment #405441 - Flags: approval1.9.1.8?
Comment on attachment 405441 [details] [diff] [review]
Convert to UNIX newline

Approved for 1.9.1.8, a=dveditz for release-drivers
Attachment #405441 - Flags: approval1.9.1.8? → approval1.9.1.8+
Natch: can you do the check-in for 1.9.1 as well? Thanks.
Whiteboard: [needs 1.9.1 landing]
Comment on attachment 405441 [details] [diff] [review]
Convert to UNIX newline

$ hg qpush
applying werror_ac
unable to find 'toolkit/components/satchel/test/unit/test_autocomplete.js' for p
atching
2 out of 2 hunks FAILED -- saving rejects to file toolkit/components/satchel/tes
t/unit/test_autocomplete.js.rej
patch failed, unable to continue (try -v)
toolkit\components\satchel\test\unit\test_autocomplete.js: The system cannot fin
d the file specified
toolkit/components/satchel/test/unit/test_autocomplete.js not tracked!
patch failed, rejects left in working dir
errors during apply, please fix and refresh werror_ac


Patch doesn't apply to 1.9.1
Attachment #405441 - Flags: approval1.9.1.8+
Whiteboard: [needs 1.9.1 landing]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: