{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6724","labels_url":"https://api.github.com/repos/servo/servo/issues/6724/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6724/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6724/events","html_url":"https://github.com/servo/servo/issues/6724","id":96995198,"number":6724,"title":"Evaluating objects in devtools panics","user":{"login":"samfoo","id":26163,"avatar_url":"https://avatars.githubusercontent.com/u/26163?v=3","gravatar_id":"","url":"https://api.github.com/users/samfoo","html_url":"https://github.com/samfoo","followers_url":"https://api.github.com/users/samfoo/followers","following_url":"https://api.github.com/users/samfoo/following{/other_user}","gists_url":"https://api.github.com/users/samfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/samfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfoo/subscriptions","organizations_url":"https://api.github.com/users/samfoo/orgs","repos_url":"https://api.github.com/users/samfoo/repos","events_url":"https://api.github.com/users/samfoo/events{/privacy}","received_events_url":"https://api.github.com/users/samfoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-devtools","name":"A-devtools","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/C-assigned","name":"C-assigned","color":"02d7e1"},{"url":"https://api.github.com/repos/servo/servo/labels/E-less%20easy","name":"E-less easy","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-24T08:05:34Z","updated_at":"2015-08-08T01:22:09Z","closed_at":null,"body":"`./mach run http://google.com --devtools`\r\n\r\nConnecting with Firefox devtools and then evaluating any object (e.g. `document` or `window`) panics the devtools task.\r\n\r\n```\r\nthread 'ScriptTask PipelineId(0)' panicked at 'object values unimplemented', /Users/sam/projects/servo/components/script/devtools.rs:50\r\nstack backtrace:\r\n   1:        0x102d637a5 - sys::backtrace::write::hde88a3e3a343e9f8zms\r\n   2:        0x102d66d95 - panicking::on_panic::h8c73c8f1e33f6d60hIw\r\n   3:        0x102d54882 - rt::unwind::begin_unwind_inner::h781ff1cd39e7f47etqw\r\n   4:        0x100f003ec - rt::unwind::begin_unwind::h15770877120634109354\r\n   5:        0x101789dcc - devtools::handle_evaluate_js::hf8d8e4268a15ef34FY4\r\n   6:        0x101781250 - script_task::ScriptTask::handle_msg_from_devtools::h3c951bf348a2287bxW2\r\n   7:        0x10175849e - script_task::ScriptTask::handle_msgs::hde3428ec29da044dGI2\r\n   8:        0x101752441 - script_task::ScriptTask::start::h4783a580cf5c8363wI2\r\n   9:        0x10174da45 - script_task::ScriptTask.ScriptTaskFactory::create::closure.134253\r\n  10:        0x10174cca4 - task::spawn_named_with_send_on_failure::closure.134247\r\n  11:        0x10174cbc4 - boxed::F.FnBox<A>::call_box::h2611840778800251138\r\n  12:        0x100f0dfe0 - boxed::Box<FnBox<A, Output $u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h14693085358217845385\r\n  13:        0x100f0da52 - thread::Builder::spawn_inner::closure.98608\r\n  14:        0x100f0d9ce - rt::unwind::try::try_fn::__rust_abi::h8177367170001023707\r\n  15:        0x100f0d969 - rt::unwind::try::try_fn::h8177367170001023707\r\n  16:        0x102d68798 - rust_try_inner\r\n  17:        0x102d68785 - rust_try\r\n  18:        0x102d61d45 - rt::unwind::try::inner_try::h9e58480e93edc0cdmmw\r\n  19:        0x100f0d8c8 - rt::unwind::try::h11073724077922564883\r\n  20:        0x100f0d701 - thread::Builder::spawn_inner::closure.98557\r\n  21:        0x100f0e36d - boxed::F.FnBox<A>::call_box::h5636230815545634927\r\n  22:        0x102d6575d - sys::thread::Thread::new::thread_start::hf153915745363fa7wKv\r\n  23:     0x7fff904de267 - _pthread_body\r\n  24:     0x7fff904de1e4 - _pthread_start\r\nerror: devtools actor stopped responding\r\nthread 'Constellation' panicked at 'called `Result::unwrap()` on an `Err` value: \"SendError(..)\"', src/libcore/result.rs:731\r\nstack backtrace:\r\n   1:        0x102d637a5 - sys::backtrace::write::hde88a3e3a343e9f8zms\r\n   2:        0x102d66d95 - panicking::on_panic::h8c73c8f1e33f6d60hIw\r\n   3:        0x102d54882 - rt::unwind::begin_unwind_inner::h781ff1cd39e7f47etqw\r\n   4:        0x102d54ee9 - rt::unwind::begin_unwind_fmt::h9c0f8818a5804071zpw\r\n   5:        0x102d6676c - rust_begin_unwind\r\n   6:        0x102d8f695 - panicking::panic_fmt::h205f328075c6fc3cneC\r\n   7:        0x101fcc1fb - result::Result<T, E>::unwrap::h5435619241656079582\r\n   8:        0x101fcc3ee - pipeline::Pipeline::force_exit::h4aa03399d83aa6c4cpd\r\n   9:        0x100627395 - constellation::Constellation<LTF, STF>::close_pipeline::h3521612086826290407\r\n  10:        0x10062542d - constellation::Constellation<LTF, STF>::handle_failure_msg::h10865159116871904329\r\n  11:        0x100615be9 - constellation::Constellation<LTF, STF>::handle_request::h5498979617141514060\r\n  12:        0x10060ff98 - constellation::Constellation<LTF, STF>::run::h5118925239686868095\r\n  13:        0x1005a62e5 - constellation::Constellation<LTF, STF>::start::closure.9848\r\n  14:        0x1005a532c - task::spawn_named::closure.9841\r\n  15:        0x1005a5254 - boxed::F.FnBox<A>::call_box::h1820792377988725481\r\n  16:        0x1005a4cc0 - boxed::Box<FnBox<A, Output $u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13389399701390328953\r\n  17:        0x1005a4732 - thread::Builder::spawn_inner::closure.9813\r\n  18:        0x1005a46ae - rt::unwind::try::try_fn::__rust_abi::h17700210914073968490\r\n  19:        0x1005a4649 - rt::unwind::try::try_fn::h17700210914073968490\r\n  20:        0x102d68798 - rust_try_inner\r\n  21:        0x102d68785 - rust_try\r\n  22:        0x102d61d45 - rt::unwind::try::inner_try::h9e58480e93edc0cdmmw\r\n  23:        0x1005a45a8 - rt::unwind::try::h14919764121984243442\r\n  24:        0x1005a43e1 - thread::Builder::spawn_inner::closure.9762\r\n  25:        0x1005a4fdd - boxed::F.FnBox<A>::call_box::h14823684526542255053\r\n  26:        0x102d6575d - sys::thread::Thread::new::thread_start::hf153915745363fa7wKv\r\n  27:     0x7fff904de267 - _pthread_body\r\n  28:     0x7fff904de1e4 - _pthread_start\r\nthread 'StorageManager' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:731\r\nstack backtrace:\r\n   1:        0x102d637a5 - sys::backtrace::write::hde88a3e3a343e9f8zms\r\n   2:        0x102d66d95 - panicking::on_panic::h8c73c8f1e33f6d60hIw\r\n   3:        0x102d54882 - rt::unwind::begin_unwind_inner::h781ff1cd39e7f47etqw\r\n   4:        0x102d54ee9 - rt::unwind::begin_unwind_fmt::h9c0f8818a5804071zpw\r\n   5:        0x102d6676c - rust_begin_unwind\r\n   6:        0x102d8f695 - panicking::panic_fmt::h205f328075c6fc3cneC\r\n   7:        0x102386450 - result::Result<T, E>::unwrap::h11400035761813964212\r\n   8:        0x102383f23 - storage_task::StorageManager::start::hecbe625afc3088f8Nfh\r\n   9:        0x102383e45 - storage_task::StorageTask.StorageTaskFactory::new::closure.32083\r\n  10:        0x102383d1e - task::spawn_named::closure.32077\r\n  11:        0x102383c75 - boxed::F.FnBox<A>::call_box::h15748374251615744040\r\n  12:        0x1021beb30 - boxed::Box<FnBox<A, Output $u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h6047560300349904354\r\n  13:        0x1021be5a2 - thread::Builder::spawn_inner::closure.17305\r\n  14:        0x1021be51e - rt::unwind::try::try_fn::__rust_abi::h14670310686226058315\r\n  15:        0x1021be4b9 - rt::unwind::try::try_fn::h14670310686226058315\r\n  16:        0x102d68798 - rust_try_inner\r\n  17:        0x102d68785 - rust_try\r\n  18:        0x102d61d45 - rt::unwind::try::inner_try::h9e58480e93edc0cdmmw\r\n  19:        0x1021be418 - rt::unwind::try::h10446798129399980646\r\n  20:        0x1021be251 - thread::Builder::spawn_inner::closure.17254\r\n  21:        0x1021beebd - boxed::F.FnBox<A>::call_box::h17345501370248332910\r\n  22:        0x102d6575d - sys::thread::Thread::new::thread_start::hf153915745363fa7wKv\r\n  23:     0x7fff904de267 - _pthread_body\r\n  24:     0x7fff904de1e4 - _pthread_start\r\n```"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/128879140","html_url":"https://github.com/servo/servo/issues/6724#issuecomment-128879140","issue_url":"https://api.github.com/repos/servo/servo/issues/6724","id":128879140,"user":{"login":"HarryLovesCode","id":12660259,"avatar_url":"https://avatars.githubusercontent.com/u/12660259?v=3","gravatar_id":"","url":"https://api.github.com/users/HarryLovesCode","html_url":"https://github.com/HarryLovesCode","followers_url":"https://api.github.com/users/HarryLovesCode/followers","following_url":"https://api.github.com/users/HarryLovesCode/following{/other_user}","gists_url":"https://api.github.com/users/HarryLovesCode/gists{/gist_id}","starred_url":"https://api.github.com/users/HarryLovesCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarryLovesCode/subscriptions","organizations_url":"https://api.github.com/users/HarryLovesCode/orgs","repos_url":"https://api.github.com/users/HarryLovesCode/repos","events_url":"https://api.github.com/users/HarryLovesCode/events{/privacy}","received_events_url":"https://api.github.com/users/HarryLovesCode/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T01:22:09Z","updated_at":"2015-08-08T01:22:09Z","body":"Should `JS_GetClass()` really return `Proxy` for these?\r\n\r\n![screen shot 2015-08-07 at 9 11 50 pm](https://cloud.githubusercontent.com/assets/12660259/9148443/9914d118-3d49-11e5-90f8-bcf6fd6dfe13.png)\r\n\r\nI would have thought it should output `Object.constructor.name` or something similar."}}