Closed Bug 1068448 Opened 10 years ago Closed 4 years ago

getProperty threw an exception: TypeError: aObj.getOwnPropertyDescriptor is not a function

Categories

(DevTools :: Console, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rnewman, Unassigned)

References

Details

Open Browser Console.

Type:

  let s = "en-US, en";

Hit enter.

Type:

  s.split(",").

Upon hitting '.', it'll dump an error:

getProperty threw an exception: TypeError: aObj.getOwnPropertyDescriptor is not a function
Stack: getProperty@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:253:20
JSPropertyProvider@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/toolkit/webconsole/utils.js:921:13
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:83:14
WCA_onAutocomplete@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/webconsole.js:824:18
DSC_onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js:1230:15
LocalDebuggerTransport.prototype.send/<@resource://gre/modules/devtools/dbg-client.jsm -> resource://gre/modules/devtools/transport/transport.js:545:11
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:83:14
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:83:14
Line: 253, column: 19
FWIW I was seeing a similar problem the other day, but I tried this
with a new build today and was unable to reproduce.  I think it's been
fixed.
(In reply to Tom Tromey :tromey from comment #1)
> FWIW I was seeing a similar problem the other day, but I tried this
> with a new build today and was unable to reproduce.  I think it's been
> fixed.

Totally wrong about that!  I found today that I could reproduce it the
same way I did with bug 1050000.  The fix there seems to work, too.
Turns out this is still a reproducible bug. Assigning P3.
Priority: -- → P3
Version: 35 Branch → Trunk
Product: Firefox → DevTools

can't reproduce

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.