{"json_modified": "2016-07-07T09:57:04.808795", "uuid": "8c019f9e-1a0c-4733-bec0-e6f8f577fb8c", "title": "SpecialPowers", "url": "/en-US/docs/SpecialPowers", "tags": ["Mochitest", "QA:Tools", "NeedsContent", "Reference", "R\u00e9f\u00e9rence", "QA"], "translations": [{"uuid": "aa3cc245-ae1e-4257-8df6-ba184a64bf5e", "title": "SpecialPowers", "url": "/ja/docs/SpecialPowers", "tags": ["QA:Tools", "NeedsContent", "Reference", "QA"], "summary": "SpecialPowers \u306f Mochitest \u306e\u30c6\u30b9\u30c8\u3067\u5229\u7528\u53ef\u80fd\u306a API \u7fa4\u306e 1 \u3064\u3067\u3059\u3002Mochitest \u306f\u901a\u5e38\u306e Web \u30da\u30fc\u30b8\u3068\u3057\u3066\u304b\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306a\u7406\u7531\u304b\u3089\u6a29\u9650\u306e\u7121\u3044\u901a\u5e38\u306e Web \u30da\u30fc\u30b8\u3067\u306f\u30c6\u30b9\u30c8\u3067\u304d\u306a\u3044\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3044\u3063\u305f\u5834\u5408\u306b SpecialPowers API \u3092\u4f7f\u3046\u4e8b\u3067\u901a\u5e38\u306e Web \u30da\u30fc\u30b8\u3067\u306f\u89e6\u308c\u308b\u3053\u3068\u306e\u3067\u304d\u306a\u3044\u64cd\u4f5c\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-09-16T20:10:21", "review_tags": []}], "modified": "2016-07-07T09:57:04", "label": "SpecialPowers", "localization_tags": [], "locale": "en-US", "id": 4834, "last_edit": "2016-07-07T09:57:00", "summary": "SpecialPowers is a set of APIs available to Mochitest tests. Mochitests are intended to be written like regular web pages. However, sometimes tests need to do things that regular web pages are not permitted to do for security reasons. In these cases, the SpecialPowers APIs can be used to perform specific actions outside of the reach of normal web pages.", "sections": [{"id": "Method_overview", "title": "Method overview"}, {"id": "Preference_APIs", "title": "Preference APIs"}, {"id": "Permission_APIs", "title": "Permission APIs"}, {"id": "Event_Listener_Observer_APIs", "title": "Event Listener / Observer APIs"}, {"id": "Garbage_Collection_APIs", "title": "Garbage Collection APIs"}, {"id": "Privilege_Wrapper_APIs", "title": "Privilege Wrapper APIs"}, {"id": "XPCOM_Components_APIs", "title": "XPCOM Components APIs"}, {"id": "Log_APIs", "title": "Log APIs"}, {"id": "Environment_APIs", "title": "Environment APIs"}, {"id": "Focus_Management_APIs", "title": "Focus Management APIs"}, {"id": "Mock_APIs", "title": "Mock APIs"}, {"id": "Form_History_APIs", "title": "Form History APIs"}, {"id": "Snapshot_APIs", "title": "Snapshot APIs"}, {"id": "Clipboard_APIs", "title": "Clipboard APIs"}, {"id": "Console_APIs", "title": "Console APIs"}, {"id": "Layout_APIs", "title": "Layout APIs"}, {"id": "Frame_Message_APIs", "title": "Frame Message APIs"}, {"id": "Apps_APIs", "title": "Apps APIs"}, {"id": "Other_APIs", "title": "Other APIs"}, {"id": "Attributes", "title": "Attributes"}, {"id": "Methods", "title": "Methods"}, {"id": "Preference_APIs_2", "title": "Preference APIs"}, {"id": "getBoolPref(aPrefName)", "title": null}, {"id": "getIntPref(aPrefName)", "title": null}, {"id": "getCharPref(aPrefName)", "title": null}, {"id": "getComplexValue(aPrefName)", "title": null}, {"id": "setBoolPref(aPrefName_aValue)", "title": null}, {"id": "setIntPref(aPrefName_aValue)", "title": null}, {"id": "setCharPref(aPrefName_aValue)", "title": null}, {"id": "setComplexValue(aPrefName_aValue)", "title": null}, {"id": "clearUserPref(aPrefName)", "title": null}, {"id": "Permission_APIs_2", "title": "Permission APIs"}, {"id": "Event_Listener_Observer_APIs_2", "title": "Event Listener / Observer APIs"}, {"id": "addChromeEventListener(type_listener_capture_allowUntrusted)", "title": null}, {"id": "removeChromeEventListener(type_listener_capture)", "title": null}, {"id": "Garbage_Collection_APIs_2", "title": "Garbage Collection APIs"}, {"id": "gc()", "title": null}, {"id": "Privilege_Wrapper_APIs_2", "title": "Privilege Wrapper APIs"}, {"id": "Object_wrap(Object)", "title": null}, {"id": "XPCOM_Components_APIs_2", "title": "XPCOM Components APIs"}, {"id": "Cc", "title": null}, {"id": "Ci", "title": null}, {"id": "Cr", "title": null}, {"id": "Cu", "title": null}, {"id": "Log_APIs_2", "title": "Log APIs"}, {"id": "Environment_APIs_2", "title": "Environment APIs"}, {"id": "Focus_Management_APIs_2", "title": "Focus Management APIs"}, {"id": "Mock_APIs_2", "title": "Mock APIs"}, {"id": "MockFilePicker", "title": null}, {"id": "Form_History_APIs_2", "title": "Form History APIs"}, {"id": "Snapshot_APIs_2", "title": "Snapshot APIs"}, {"id": "Clipboard_APIs_2", "title": "Clipboard APIs"}, {"id": "Console_APIs_2", "title": "Console APIs"}, {"id": "Layout_APIs_2", "title": "Layout APIs"}, {"id": "Frame_Message_APIs_2", "title": "Frame Message APIs"}, {"id": "loadChromeScript()", "title": null}, {"id": "Apps_APIs_2", "title": "Apps APIs"}, {"id": "Other_APIs_2", "title": "Other APIs"}, {"id": "createSystemXHR()", "title": null}, {"id": "sanityCheck()", "title": null}, {"id": "Adding_new_APIs", "title": "Adding new APIs"}, {"id": "A_simple_example", "title": "A simple example"}], "slug": "SpecialPowers", "review_tags": ["technical"]}