{"json_modified": "2016-05-18T09:36:12.043690", "uuid": "a19e4a11-f92c-4ad9-8a53-a46ee1f354d3", "title": "Components.utils.evalInSandbox", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.evalInSandbox", "tags": ["XPCOM:Language Bindings", "Extensions", "Developing Mozilla", "Add-ons", "add-ons", "JavaScript", "XPConnect"], "translations": [{"uuid": "3623ce4f-e88b-45ac-a5cc-753ec465e9e4", "title": "Components.utils.evalInSandbox", "url": "/fr/docs/Components.utils.evalInSandbox", "tags": [], "summary": "Il peut arriver que vous vouliez ex\u00e9cuter du code JavaScript avec des droits restreints. Depuis Firefox 1.5 (Gecko 1.8) vous pouvez faire cela en utilisant une API qui permet la cr\u00e9ation de \"bacs \u00e0 sables\" \u00e0 l'int\u00e9rieur desquels le code sera interpr\u00e9t\u00e9 avec des droits restreints, comme le code ex\u00e9cut\u00e9 dans une page web.", "localization_tags": [], "locale": "fr", "last_edit": "2014-04-26T09:44:14", "review_tags": []}, {"uuid": "aa800dd6-45cb-47d5-8eaf-8e2125beb41c", "title": "Components.utils.evalInSandbox", "url": "/ja/docs/Components.utils.evalInSandbox", "tags": ["JavaScript", "Extensions", "Developing Mozilla", "Add-ons", "XPCOM:Language Bindings", "XPConnect"], "summary": "", "localization_tags": [], "locale": "ja", "last_edit": "2008-08-05T09:08:48", "review_tags": []}, {"uuid": "ef761d94-55d8-4108-8b65-6d911d628bbe", "title": "Components.utils.evalInSandbox", "url": "/zh-CN/docs/Components.utils.evalInSandbox", "tags": ["Extensions", "Developing Mozilla", "XPConnect", "JavaScript"], "summary": "", "localization_tags": [], "locale": "zh-CN", "last_edit": "2008-06-29T03:04:48", "review_tags": []}], "modified": "2016-05-18T09:36:12", "label": "Components.utils.evalInSandbox", "localization_tags": [], "locale": "en-US", "id": 10314, "last_edit": "2016-05-18T09:36:10", "summary": "The evalInSandbox()
function enables you to evaluate JavaScript code inside a sandbox you've previously created using the Components.utils.Sandbox
constructor.", "sections": [{"id": "Use", "title": "Use"}, {"id": "Optional_Arguments", "title": "Optional Arguments"}], "slug": "Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.evalInSandbox", "review_tags": []}