{"action":"closed","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/1296","repository_url":"https://api.github.com/repos/nwjs/nw.js","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/1296/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/1296/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/1296/events","html_url":"https://github.com/nwjs/nw.js/issues/1296","id":22103526,"number":1296,"title":"Error of devtools in jailed headless mode","user":{"login":"ghostoy","id":471928,"avatar_url":"https://avatars.githubusercontent.com/u/471928?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostoy","html_url":"https://github.com/ghostoy","followers_url":"https://api.github.com/users/ghostoy/followers","following_url":"https://api.github.com/users/ghostoy/following{/other_user}","gists_url":"https://api.github.com/users/ghostoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostoy/subscriptions","organizations_url":"https://api.github.com/users/ghostoy/orgs","repos_url":"https://api.github.com/users/ghostoy/repos","events_url":"https://api.github.com/users/ghostoy/events{/privacy}","received_events_url":"https://api.github.com/users/ghostoy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nwjs/nw.js/labels/dpd","name":"dpd","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-11-05T07:33:32Z","updated_at":"2016-04-14T02:33:26Z","closed_at":"2016-04-14T02:33:26Z","body":"Following error shows when inspecting devtools with devtools:\r\n```\r\nUncaught TypeError: Cannot read property 'frameId' of undefined 127.0.0.1:65134/devtools/inspector.js:3395\r\nWebInspector.CSSRule._setRawLocationAndFrameId 127.0.0.1:65134/devtools/inspector.js:3395\r\nWebInspector.CSSRule 127.0.0.1:65134/devtools/inspector.js:3390\r\nWebInspector.CSSRule.parsePayload 127.0.0.1:65134/devtools/inspector.js:3392\r\nWebInspector.CSSStyleModel.parseRuleMatchArrayPayload 127.0.0.1:65134/devtools/inspector.js:3238\r\ncallback 127.0.0.1:65134/devtools/inspector.js:3248\r\nInspectorBackendClass.dispatch 127.0.0.1:65134/devtools/inspector.js:955\r\nWebInspector.socket.onmessage 127.0.0.1:65134/devtools/inspector.js:760\r\n```\r\n\r\nSteps to reproduce the bug:\r\n 1. Open devtools in jailed headless mode `win.showDevTools(jailed, true)`\r\n 2. Inspect the element panel with devtools\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1064846-error-of-devtools-in-jailed-headless-mode?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}