{"json_modified": "2016-03-28T07:40:44.868510", "uuid": "574366dc-e4d7-43b3-8294-42247b6f741e", "title": "Browser chrome tests", "url": "/en-US/docs/Mozilla/Browser_chrome_tests", "tags": ["Developing Mozilla", "NeedsUpdate", "Automated testing"], "translations": [{"uuid": "7383e163-c8c5-44cc-8d98-0cbafbc81d51", "title": "Browser chrome\u30c6\u30b9\u30c8", "url": "/ja/docs/Browser_chrome_tests", "tags": [], "summary": "Browser chrome\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u306f\u3001JavaScript\u3092\u7528\u3044\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eChrome\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u30c6\u30b9\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u305f\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u73fe\u5728\u306e\u6240\u3001JavaScript\u306e\u30b3\u30fc\u30c9\u3092Firefox\u306e\u30e1\u30a4\u30f3\u306e\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3068\u540c\u3058\u30b9\u30b3\u30fc\u30d7\u3067\u5b9f\u884c\u3057\u3001\u7d50\u679c\u3092Mochitest\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u540c\u3058\u95a2\u6570\u3092\u4f7f\u3063\u3066\u5831\u544a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Browser chrome\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u306fMochitest\u304c\u7121\u52b9\u5316\u3055\u308c\u305f\u30d3\u30eb\u30c9\uff08--disable-tests \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f\u30d3\u30eb\u30c9\uff09\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2014-12-08T18:46:38", "review_tags": []}], "modified": "2016-02-29T10:44:21", "label": "Browser chrome tests", "localization_tags": [], "locale": "en-US", "id": 310, "last_edit": "2015-12-31T04:38:14", "summary": "The browser chrome test suite is an automated testing framework designed to allow testing of application chrome windows using JavaScript. It currently allows you to run JavaScript code in the same scope as the main Firefox browser window and report results using the same functions as the Mochitest test framework. As all tests, they won't work in a build with tests disabled (--disable-tests
).", "sections": [{"id": "Running_the_browser_chrome_tests", "title": "Running the browser chrome tests"}, {"id": "Writing_browser_chrome_tests", "title": "Writing browser chrome tests"}, {"id": "Test_functions", "title": "Asynchronous tests"}, {"id": "Test_functions", "title": "Exceptions in tests"}, {"id": "Test_functions", "title": "Cleaning up after yourself"}, {"id": "Adding_a_new_browser_chrome_test_to_the_tree", "title": "Adding a new browser chrome test to the tree"}, {"id": "Support-files", "title": "Support-files"}], "slug": "Mozilla/Browser_chrome_tests", "review_tags": []}