[Webkit-unassigned] [Bug 198975] New: Non-standard Error properties should not be enumerable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 18 13:35:38 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198975

            Bug ID: 198975
           Summary: Non-standard Error properties should not be enumerable
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shvaikalesh at gmail.com

Results for `Object.getOwnPropertyDescriptors(new Error)`:

// V8 7.7.84

{
  "stack": {
    "value": "Error\n    at <anonymous>:1:49",
    "writable": true,
    "enumerable": false,
    "configurable": true
  }
}

// SpiderMonkey 69.0a1

{
  "fileName": {
    "value": "debugger eval code",
    "writable": true,
    "enumerable": false,
    "configurable": true
  },
  "lineNumber": {
    "value": 1,
    "writable": true,
    "enumerable": false,
    "configurable": true
  },
  "columnNumber": {
    "value": 49,
    "writable": true,
    "enumerable": false,
    "configurable": true
  }
}

// ChakraCore 1.11.9.0

{
  "number": {
    "value": 0,
    "writable": true,
    "enumerable": false,
    "configurable": true
  },
  "description": {
    "value": "",
    "writable": true,
    "enumerable": false,
    "configurable": true
  },
  "stack": {
    "enumerable": false,
    "configurable": true
  }
}

// WebKit rev. 246561

{
  "line": {
    "value": 3,
    "writable": true,
    "enumerable": true, // !
    "configurable": true
  },
  "column": {
    "value": 58,
    "writable": true,
    "enumerable": true, // !
    "configurable": true
  },
  "stack": {
    "value": "global code\\nevaluateWithScopeExtension@[native code]\\n\\n_wrapCall",
    "writable": true,
    "enumerable": false,
    "configurable": true
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190618/0187ce73/attachment-0001.html>


More information about the webkit-unassigned mailing list