Closed
Bug 752770
Opened 13 years ago
Closed 13 years ago
re-enable 'arguments' portion of browser_dbg_propertyview-07 and 08
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 15
People
(Reporter: luke, Assigned: past)
References
Details
Attachments
(1 file, 3 obsolete files)
8.88 KB,
patch
|
Details | Diff | Splinter Review |
In bug 746601 I made a change to how 'arguments' is exposed to the debugger. This apparently changed the enumeration order which broke browser_dbg_propertyview-07.js and 08. These tests make assumptions about where 'arguments' will be in the list as well as where 'length' will be in the list of arguments's properties. Instead of just poking around to use different magic constants, I think the tests need to be fixed to not depend on these internal details. The attached patch shows the tests I had to comment out.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → past
Status: NEW → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Priority: -- → P2
![]() |
Reporter | |
Comment 1•13 years ago
|
||
Comment on attachment 621830 [details] [diff] [review]
disabled tests
In the meantime, it's not trivial to fix these tests, so could I temporarily disable them (assuming I patch in this bug # to the patch)?
Attachment #621830 -
Flags: review?(past)
![]() |
Reporter | |
Comment 2•13 years ago
|
||
Comment on attachment 621830 [details] [diff] [review]
disabled tests
Oops, didn't see bug 690135 comment 32.
Attachment #621830 -
Flags: review?(past)
Assignee | ||
Comment 3•13 years ago
|
||
Luke, when I apply the patch from bug 746601 (fix arguments) on top of the patch from bug 690135 (combined for Panos) I get lots of conflicts. What is the proper way to get a working patch queue?
![]() |
Reporter | |
Comment 4•13 years ago
|
||
Sorry for not being more clear: all you need is the (combined for Panos) patch.
Assignee | ||
Comment 5•13 years ago
|
||
This patch removes the workaround of using 'frame.arguments', now that the environment bindings always contain an 'arguments' property.
Luke, we just need to make sure that both this patch and yours land in the same push, to avoid test breakage.
Attachment #622662 -
Flags: review?(rcampbell)
![]() |
Reporter | |
Comment 6•13 years ago
|
||
Fantastic, thanks! If it sounds good to you, I'll push this with bug 746601.
Assignee | ||
Comment 7•13 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #6)
> Fantastic, thanks! If it sounds good to you, I'll push this with bug 746601.
Sure. I assume you'll push to m-i, whereas we usually work off fx-team, and I wonder if we should coordinate a subsequent merge of m-c to fx-team, to avoid any merge conflicts. Of course Rob would know better.
Updated•13 years ago
|
Attachment #622662 -
Flags: review?(rcampbell) → review+
Comment 8•13 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #6)
> Fantastic, thanks! If it sounds good to you, I'll push this with bug 746601.
sure thing. This is ready-to-land. When you've done so, I'll keep an eye on m-c to watch for your merge and pull it over.
Thanks!
Updated•13 years ago
|
Whiteboard: [land me!]
![]() |
Reporter | |
Comment 9•13 years ago
|
||
Great; I'll land it and the m-i/m-c csets will be posted here.
Whiteboard: [land me!]
Comment 10•13 years ago
|
||
Since the Array hack for frame.arguments was removed, isn't it good to rewrite the monstrous if in SF__addExpander?
Assignee | ||
Comment 11•13 years ago
|
||
(In reply to Victor Porof from comment #10)
> Since the Array hack for frame.arguments was removed, isn't it good to
> rewrite the monstrous if in SF__addExpander?
Yes, I forgot about that, but only the last isArray() check can go. The rest is necessary to avoid arrows in null, etc. Patch updated with the trivial change.
Attachment #621830 -
Attachment is obsolete: true
Attachment #622662 -
Attachment is obsolete: true
![]() |
Reporter | |
Comment 12•13 years ago
|
||
So I tried out the patch in comment 11 (with bug 746601 applied) but even more tests seem to fail. In the interest of time (this is blocking IonMonkey big time), I just landed the original patch which disables the 'arguments' portion of the tests:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f3395398d9f3
so that the tests can be fixed independently. (Btw, debugger-only 'arguments' is being tested in a number of jsdbg shell tests.)
Summary: make browser_dbg_propertyview-07 and 08 order-independent → re-enable 'arguments' portion of browser_dbg_propertyview-07 and 08
Whiteboard: [leave open]
Assignee | ||
Comment 13•13 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #12)
> So I tried out the patch in comment 11 (with bug 746601 applied) but even
> more tests seem to fail. In the interest of time (this is blocking
> IonMonkey big time), I just landed the original patch which disables the
> 'arguments' portion of the tests:
>
> https://hg.mozilla.org/integration/mozilla-inbound/rev/f3395398d9f3
>
> so that the tests can be fixed independently. (Btw, debugger-only
> 'arguments' is being tested in a number of jsdbg shell tests.)
OK thanks, I'll take a look on Monday.
![]() |
Reporter | |
Comment 14•13 years ago
|
||
Great; sorry for the trouble.
Comment 15•13 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #12)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/f3395398d9f3
https://hg.mozilla.org/mozilla-central/rev/f3395398d9f3
Assignee | ||
Comment 16•13 years ago
|
||
Apparently the tests didn't need any changes, besides uncommenting the commented-out parts. I sent it to try, just to be on the safe side, though.
Attachment #623111 -
Attachment is obsolete: true
Assignee | ||
Comment 17•13 years ago
|
||
Whiteboard: [leave open] → [fixed-in-fx-team]
Comment 18•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 15
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•