Intermittent browser/devtools/debugger/test/browser_dbg_propertyview-06.js | The localScope doesn't contain all the created variable elements. - Got 6, expected 7

RESOLVED FIXED in Firefox 15

Status

()

Firefox
Developer Tools: Debugger
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: emorley, Assigned: vporof)

Tracking

({intermittent-failure})

15 Branch
Firefox 15
x86
Windows 7
intermittent-failure
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

5 years ago
Rev3 WINNT 6.1 fx-team pgo test mochitest-other on 2012-04-25 18:49:42 PDT for push c7523bf07e12
slave: talos-r3-w7-046

https://tbpl.mozilla.org/?tree=Fx-Team&rev=c7523bf07e12
https://tbpl.mozilla.org/php/getParsedLog.php?id=11213326&tree=Fx-Team

{
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_propertyview-05.js | Console message: [JavaScript Error: "gDebuggee.simpleCall is not a function" {file: "chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_propertyview-05.js" line: 90}]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_propertyview-05.js | Test timed out
args: ['c:\\talos-slave\\test\\build\\bin\\screenshot.exe', 'c:\\users\\cltbld\\appdata\\local\\temp\\mozilla-test-fail_2o6ife']
SCREENSHOT: <snip>
INFO TEST-END | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_propertyview-05.js | finished in 30055ms
...
...
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_propertyview-06.js | The localScope doesn't contain all the created variable elements. - Got 6, expected 7
Stack trace:
    JS frame :: chrome://mochikit/content/browser-test.js :: test_is :: line 418
    JS frame :: chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_propertyview-06.js :: <TOP_LEVEL> :: line 86
}
(Assignee)

Comment 1

5 years ago
Created attachment 618614 [details] [diff] [review]
v1

Derp.
We get the additional "this" variable in the local scope. This test doesn't and shouldn't handle that.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #618614 - Flags: review?(past)
(Assignee)

Comment 2

5 years ago
Note: the failure in propertyview-05 is unrelated to the one in propertyview-06 (fixed by the attached patch), but the reason is identical to the other timeout debugger test failures ("gDebuggee.simpleCall is not a function" and "this._model is null in source-editor-orion.jsm").
(Reporter)

Comment 3

5 years ago
Thanks for fixing this so quickly :-)

And yeah missed the 05/06, read them both as the same. I'll morph this to be about 06.
Summary: Intermittent browser/devtools/debugger/test/browser_dbg_propertyview-05.js | Test timed out | The localScope doesn't contain all the created variable elements. - Got 6, expected 7 → Intermittent browser/devtools/debugger/test/browser_dbg_propertyview-06.js | The localScope doesn't contain all the created variable elements. - Got 6, expected 7
(Assignee)

Comment 4

5 years ago
Created attachment 618625 [details] [diff] [review]
v1.1

Updated commit message.
(In reply to Victor Porof from comment #2)
> Note: the failure in propertyview-05 is unrelated to the one in
> propertyview-06 (fixed by the attached patch), but the reason is identical
> to the other timeout debugger test failures ("gDebuggee.simpleCall is not a
> function" and "this._model is null in source-editor-orion.jsm").

This seems like a case where the editor API is used before it is initialized.
(Assignee)

Comment 6

5 years ago
(In reply to Mihai Sucan [:msucan] from comment #5)
> (In reply to Victor Porof from comment #2)
> 
> This seems like a case where the editor API is used before it is initialized.

Yup, just as we discussed on IRC. The originating problem for the propertyview-05 failure is the same as everywhere else.
Attachment #618625 - Flags: review+
Attachment #618614 - Attachment is obsolete: true
Attachment #618614 - Flags: review?(past)
Whiteboard: [orange] → [orange][land-inf-fx-team]
Whiteboard: [orange][land-inf-fx-team] → [orange][land-in-fx-team]
https://hg.mozilla.org/integration/fx-team/rev/0e296599e861
Whiteboard: [orange][land-in-fx-team] → [orange][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/0e296599e861
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [orange][fixed-in-fx-team] → [orange]
Target Milestone: --- → Firefox 15
Keywords: intermittent-failure
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.