diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/tools | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/tools')
165 files changed, 16450 insertions, 0 deletions
diff --git a/files/ja/tools/about_colon_debugging/index.html b/files/ja/tools/about_colon_debugging/index.html new file mode 100644 index 0000000000..86bb30533a --- /dev/null +++ b/files/ja/tools/about_colon_debugging/index.html @@ -0,0 +1,211 @@ +--- +title: 'about:debugging' +slug: 'Tools/about:debugging' +translation_of: 'Tools/about:debugging' +--- +<p>{{ToolsSidebar}}</p> + +<p>about:debugging ããŒãžã¯ã1 ãæããããŸããŸãªãããã°å¯Ÿè±¡ã« Firefox ã®éçºããŒã«ãæ¥ç¶ã§ããå ŽæãæäŸããŸããçŸåšãµããŒãããŠãããããã°å¯Ÿè±¡ã¯ããªã¹ã¿ãŒãã¬ã¹ã¢ããªã³ãã¿ããWorker ã® 3 çš®é¡ã§ãã</p> + +<h2 id="Opening_the_aboutdebugging_page" name="Opening_the_aboutdebugging_page">about:debugging ããŒãžãéã</h2> + +<p>about:debugging ãéãæ¹æ³ãããã€ããããŸã:</p> + +<ul> + <li>Firefox ã® URL ããŒã« "about:debugging" ãšå
¥åããŸãã</li> + <li><em>Firefox 47 ã®æ°æ©èœ</em>: ã¡ãã¥ãŒã® [ããŒã«] > [ãŠã§ãéçº] ã§ã[Service Worker] ãã¯ãªãã¯ããŸãã</li> + <li><em>Firefox 47 ã®æ°æ©èœ</em>: ã¡ã€ã³ããŒã«ããŒãŸãã¯ãã³ããŒã¬ãŒã¡ãã¥ãŒ (<img alt="" src="https://mdn.mozillademos.org/files/12712/hamburger.png" style="height: 20px; width: 22px;">) ã®äžã«ããã¬ã³ãã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/12710/wrench-icon.png" style="height: 21px; width: 21px;">) ãã¯ãªãã¯ããŠã[Service Worker] ãéžæããŸãã</li> +</ul> + +<p>about:debugging ãéããšå·ŠåŽã«ã2 ã€ã®äž»èŠãªãã¥ãŒ (ã¢ããªã³ãš Worker) ãåãæ¿ããããšãã§ãããµã€ãããŒããããŸãã</p> + +<p>ã·ã¹ãã ã¢ããªã³ããã®ããŒãžã®ãªã¹ãã«è¡šç€ºããããã©ããã¯ã<code>devtools.aboutdebugging.showSystemAddons</code> ããªãã¡ã¬ã³ã¹ã®èšå®ã«ãã£ãŠç°ãªããŸããã·ã¹ãã ã¢ããªã³ã衚瀺ããå¿
èŠãããå Žå㯠<code>about:config</code> ã«ç§»åãããã®å€ã <code>true</code> ã«èšå®ãããŠããããšã確èªããŸãã</p> + +<h2 id="Add-ons" name="Add-ons">ã¢ããªã³</h2> + +<div class="note"> +<p>about:debugging ã®ã¢ããªã³ã»ã¯ã·ã§ã³ã¯ã<a href="/ja/Add-ons/Bootstrapped_extensions">åºæ¬çãªããŒãã¹ãã©ããåæ¡åŒµæ©èœ</a>ã<a href="/ja/Add-ons/SDK">Add-on SDK ã䜿çšããã¢ããªã³</a>ã<a href="/ja/docs/Mozilla/Add-ons/WebExtensions">WebExtensions</a> ãå«ããåèµ·åäžèŠãªã¢ããªã³ã®ã¿ãµããŒãããŠããŸãã</p> +</div> + +<p>ãã®ããŒãžã§ã¯ 2 ã€ã®ããšãè¡ããŸã:</p> + +<ul> + <li>ãã£ã¹ã¯ããäžæçã«ã¢ããªã³ãèªã¿èŸŒã</li> + <li><a href="/ja/Add-ons/Add-on_Debugger">ã¢ããªã³ãããã¬ãŒ</a> ããªã¹ã¿ãŒãã¬ã¹ã¢ããªã³ã«æ¥ç¶ãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15009/debugger-revised.png" style="display: block; height: 612px; margin-left: auto; margin-right: auto; width: 700px;"></p> + +<h3 id="Connecting_the_Add-on_Debugger" name="Connecting_the_Add-on_Debugger">ã¢ããªã³ãããã¬ãŒãæ¥ç¶ãã</h3> + +<div class="note"> +<p>çŸåšãWebExtensions ã®ãããã°ã«ã¯ã¢ããªã³ãããã¬ãŒã§ã¯ãªããã©ãŠã¶ãŒããŒã«ããã¯ã¹ã䜿çšããããšãæšå¥šããŠããŸãã®ã§æ³šæããŠãã ããã詳ãã㯠<a href="/ja/Add-ons/WebExtensions/Debugging">WebExtensions ã®ãããã°</a> ãã芧ãã ããã</p> +</div> + +<p>about:debugging ã®ããŒãžã«ãçŸåšã€ã³ã¹ããŒã«ãããŠãããªã¹ã¿ãŒãã¬ã¹ã¢ããªã³ãäžèŠ§è¡šç€ºããŸã (泚èš: ãã®ãªã¹ãã«ã¯ãFirefox ã®ããªã€ã³ã¹ããŒã«ã¢ããªã³ãå«ãŸããŸã)ãã¢ããªã³åã®é£ã«ã[ãããã°] ãã¿ã³ããããŸãã</p> + +<p>[ãããã°] ãã¿ã³ãç¡å¹åãããŠããå Žåã¯ã[ã¢ããªã³ã®ãããã°ãæå¹å] ã«ãã§ãã¯ãå
¥ããŠãã ããã</p> + +<p>[ãããã°] ãã¯ãªãã¯ãããšãæ¥ç¶ãèš±å¯ããããå°ãããã€ã¢ãã°ããã¯ã¹ã衚瀺ãããŸãã[OK] ãã¯ãªãã¯ãããšã<a href="/ja/docs/Mozilla/Add-ons/Add-on_Debugger">ã¢ããªã³ãããã¬ãŒ</a> ãæ°ãããŠã£ã³ããŠã§è¡šç€ºããŸããæã
ããããã¬ãŒã®ãŠã£ã³ããŠã Firefox ã®ã¡ã€ã³ãŠã£ã³ããŠã®è£ã«é ããå ŽåããããŸãã®ã§æ³šæããŠãã ããã</p> + +<p>{{EmbedYouTube("tGGcA3bT3VA")}}</p> + +<p>ãã®ããŒã«ã§ã§ããããšã«ã€ããŠã¯ã<a href="/ja/docs/Mozilla/Add-ons/Add-on_Debugger">ã¢ããªã³ãããã¬ãŒ</a> ã®ããŒãžãã芧ãã ããã</p> + +<div class="note"> +<p><a id="Enabling_add-on_debugging" name="Enabling_add-on_debugging">[ã¢ããªã³ã®ãããã°ãæå¹å]</a> ã¯ãèšå®é
ç® <code>devtools.chrome.enabled</code> ããã³ <code>devtools.debugger.remote-enabled</code> ãæå¹åããããšã«ããåäœããŸããã¢ããªã³ã®ãããã°ãæå¹ã«ãããããäž¡æ¹ã®èšå®ãæå¹ã«ããªããã°ãªããŸããããã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ãããšäž¡æ¹ã®èšå®ã <code>true</code> ã«ããŸããã§ãã¯ãå€ããšäž¡æ¹ã®èšå®ã <code>false</code> ã«å€æŽããŸãã</p> + +<p>about:config ã§èšå®é
ç®ãå€æŽãããããã㯠<a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> 㧠[ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã°ãæå¹] ããã³ [ãªã¢ãŒããããã¬ãŒãæå¹] ã«ãã§ãã¯ãå
¥ããæ¹æ³ã䜿çšã§ããŸãã</p> +</div> + +<h3 id="Loading_a_temporary_add-on" name="Loading_a_temporary_add-on">äžæçã«ã¢ããªã³ãèªã¿èŸŒã</h3> + +<p>[äžæçãªã¢ããªã³ãèªã¿èŸŒã] ãã¿ã³ã䜿çšããŠãä»»æã®çš®é¡ã®ãªã¹ã¿ãŒãã¬ã¹ã¢ããªã³ãããã£ã¹ã¯äžã®ãã£ã¬ã¯ããªãŒããäžæçã«èªã¿èŸŒãããšãã§ããŸãããã¿ã³ãã¯ãªãã¯ããŠãã¢ããªã³ã®ãã¡ã€ã«ããããã£ã¬ã¯ããªãŒã«ç§»åããŠãã¡ã€ã«ãéžæããŠãã ãããäžæçãªã¢ããªã³ãã"äžæçãªæ¡åŒµæ©èœ" ã®èŠåºãã®äžã«è¡šç€ºãããŸãã</p> + +<p>ã¢ããªã³ã®ããã±ãŒãžã³ã°ã眲åã¯äžèŠã§ããFirefox ãåèµ·åãããŸã§ãã¢ããªã³ãã€ã³ã¹ããŒã«ãããç¶æ
ã«ãªããŸãã</p> + +<p>{{EmbedYouTube("sAM78GU4P34")}}</p> + +<p>XPI ããã¢ããªã³ãã€ã³ã¹ããŒã«ããå Žåãšæ¯èŒããŠããã®æ¹æ³ã«ã¯ä»¥äžã®å€§ããªå©ç¹ããããŸã:</p> + +<ul> + <li>ã¢ããªã³ã®ã³ãŒããå€æŽãããšãã«ãXPI ããªãã«ãããŠåã€ã³ã¹ããŒã«ããå¿
èŠã¯ãããŸããã</li> + <li>眲åæ©èœãç¡å¹åããå¿
èŠãªãã«ãæªçœ²åã®ã¢ããªã³ãèªã¿èŸŒãããšãã§ããŸãã</li> +</ul> + +<h3 id="Updating_a_temporary_add-on" name="Updating_a_temporary_add-on">äžæçãªã¢ããªã³ãæŽæ°ãã</h3> + +<p>ãã®æ¹æ³ã§ã¢ããªã³ãã€ã³ã¹ããŒã«ããå Žåã«ãã¢ããªã³ã®ãã¡ã€ã«ãæŽæ°ãããšã©ããªãã®ã§ãããã?</p> + +<h4 id="Before_Firefox_48" name="Before_Firefox_48">Firefox 48 ããå</h4> + +<ul> + <li><a href="/ja/docs/Mozilla/Add-ons/WebExtensions/Content_scripts">content scripts</a> ã <a href="/ja/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Browser_actions_2">ãããã¢ãã</a> ãšãã£ããªã³ããã³ãã§èªã¿èŸŒããã¡ã€ã«ãå€æŽããå Žåã¯ãå€æŽç®æã¯èªåçã«åã蟌ãŸããŠã次㫠content script ãèªã¿èŸŒããšãããããã¢ããã衚瀺ãããšãã«ç¢ºèªã§ããŸãã</li> + <li><a href="/ja/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Background_scripts">background scripts</a> ãšãã£ãçµå§èªã¿èŸŒãŸããŠãããã¡ã€ã«ãå€æŽããå Žåã¯ãabout:addons ããŒãžã§ã¢ããªã³ãç¡å¹åããã³åæå¹åããããšã«ãããå€æŽç®æãåã蟌ãããšãã§ããŸãã</li> + <li><a href="/ja/docs/Mozilla/Add-ons/WebExtensions/manifest.json">manifest.json</a> ãã¡ã€ã«ãšãã£ãã€ã³ã¹ããŒã«æã«ã®ã¿ããŒã¹ããããã¡ã€ã«ãå€æŽããå Žåã¯ãFirefox ãåèµ·åããŠã¢ããªã³ãå床èªã¿èŸŒãŸãªããã°ãªããŸããã</li> +</ul> + +<div class="note"> +<p>Firefox 48 ããåã®ããŒãžã§ã³ã§ã¯ãFirefox ãåèµ·åããã« [äžæçãªã¢ããªã³ãèªã¿èŸŒã] ãã¿ã³ãæŒããŠã¢ããªã³ãå床èªã¿èŸŒãããšã¯<em>ã§ããŸãã</em>ã®ã§æ³šæããŠãã ããã</p> +</div> + +<h4 id="Firefox_48_onwards" name="Firefox_48_onwards">Firefox 48 以é</h4> + +<ul> +</ul> + +<p>Firefox 48 ãã以äžã®ããã«ãªããŸã:</p> + +<ul> + <li>åŸæ¥ã©ãã: <a href="/ja/docs/Mozilla/Add-ons/WebExtensions/Content_scripts">content scripts</a> ã <a href="/ja/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Browser_actions_2">ãããã¢ãã</a> ãšãã£ããªã³ããã³ãã§èªã¿èŸŒããã¡ã€ã«ãå€æŽããå Žåã¯ãå€æŽç®æã¯èªåçã«åã蟌ãŸããŠã次㫠content script ãèªã¿èŸŒããšãããããã¢ããã衚瀺ãããšãã«ç¢ºèªã§ããŸãã</li> + <li>äžèšä»¥å€ã®å Žåã®ããããæ¹æ³: [ãããã°] ãã¿ã³ã®é£ã«ãã [åèªã¿èŸŒã¿] ãã¯ãªãã¯ããŸããããã¯ä»¥äžã®ããšãè¡ããŸã: + <ul> + <li><a href="/ja/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Background_scripts">background scripts</a> ã®ãããªãæ°žç¶çãªã¹ã¯ãªãããåèªã¿èŸŒã¿ããŸãã</li> + <li>manifest.json ãã¡ã€ã«ãå床解æããŸãã®ã§ã<code><a href="/ja/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions">permissions</a></code>ã<code><a href="/ja/docs/Mozilla/Add-ons/WebExtensions/manifest.json/content_scripts">content_scripts</a></code>ã<code><a href="/ja/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action">browser_action</a></code> ãªã©ã®ããŒã®å€æŽç¹ã®å¹æãçããŸãã</li> + </ul> + </li> +</ul> + +<div class="note"> +<p>Firefox 49 ãããåèªã¿èŸŒã¿ãã¿ã³ã¯äžæçãªã¢ããªã³ã«éã䜿çšã§ããŸãã®ã§æ³šæããŠãã ãããä»ã®ã¢ããªã³ã§ã¯ç¡å¹ã«ãªããŸãã</p> +</div> + +<h2 id="Tabs" name="Tabs">ã¿ã</h2> + +<p>Firefox 49 ããã<code>about:debugging</code> 㧠ã¿ã ããŒãžã䜿çšã§ããŸããããã¯çŸåšã® Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã§éããŠããããããã°å¯èœãªãã¹ãŠã®ã¿ããäžèŠ§è¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13617/about-debugging-tabs.png" style="display: block; height: 628px; margin: 0px auto; width: 900px;"></p> + +<p>ããããã®é
ç®ã®é£ã«ã<em>ãããã°</em> ãã¿ã³ããããŸãããã¿ã³ãã¯ãªãã¯ãããšãã®ã¿ãã«ç¹åããããŒã«ããã¯ã¹ãéããã¿ãã®å
容ããããã°ã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13619/about-debugging-tabs-toolbox.png" style="display: block; height: 628px; margin: 0px auto; width: 900px;"></p> + +<div class="note"> +<p>ãã®æ©èœã¯ããã¹ã¯ãããçã®ã¿ãã®ãããã°ã§å³åº§ã«æçšãªãã®ã§ã¯ãããŸããããã§ã«ååãªã»ã©ç°¡åã«ãã¿ãããããã°ããããã®ããŒã«ããã¯ã¹ãéãããšãã§ããŸããäžæ¹ããªã¢ãŒããããã°ã®ãµããŒããå§ããããã« <code>about:debugging</code> ã䜿ããšãã¯ãšãŠãæçšã§ããããŸããã®ããŒãžã¯ãã¢ãã€ã«ããã€ã¹ã®ãã©ãŠã¶ãŒãã·ãã¥ã¬ãŒã¿ãŒãªã©ã§ãããã°ãå¯èœãªã¿ãã衚瀺ããŸãããã®äœæ¥ã®ææ°ç¶æ³ã«ã€ããŠã¯ {{bug(1212802)}} ãã芧ãã ããã</p> +</div> + +<h2 id="Workers" name="Workers">Worker</h2> + +<p>Worker ããŒãžã§ã¯ãWorker ã以äžã®ããã«ã«ããŽã©ã€ãºããŠè¡šç€ºããŸã:</p> + +<ul> + <li>ãã¹ãŠã®ç»é²æžã¿ <a href="/ja/docs/Web/API/Service_Worker_API">Service Worker</a></li> + <li>ãã¹ãŠã®ç»é²æžã¿ <a href="/ja/docs/Web/API/SharedWorker">Shared Worker</a></li> + <li><a href="/ja/docs/Web/API/ChromeWorker">Chrome Worker</a> ã <a href="/ja/docs/Web/API/Web_Workers_API/Using_web_workers#Dedicated_workers">Dedicated Worker</a> ãå«ãããã®ä»ã® Worker</li> +</ul> + +<p>ããããã® Worker ã«éçºããŒã«ãæ¥ç¶ãããããã³ Service Worker ã«ããã·ã¥éç¥ãéãããšãã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13058/about-debugging-workers.png" style="display: block; height: 642px; margin-left: auto; margin-right: auto; width: 784px;"></p> + +<h3 id="Service_worker_state" name="Service_worker_state">Service Worker ã®ç¶æ
</h3> + +<p>Firefox 52 ãã Service Worker ã®ãªã¹ãã§ãService Worker ã® <a href="https://developers.google.com/web/fundamentals/instant-and-offline/service-worker/lifecycle">ã©ã€ããµã€ã¯ã«</a> ã«ãããç¶æ
ã衚瀺ããŸãã以äžã® 3 çš®é¡ã®ç¶æ
ã«åé¡ããŸã:</p> + +<ul> + <li><em>"ç»é²äž"</em>: ãã㯠Service Worker ã®åæç»é²ãããããŒãžãå¶åŸ¡ãããŸã§ã®éã®ãã¹ãŠã®ç¶æ
ã瀺ããŸããããªãã¡ "installing"ã"activating"ã"waiting" ã®ç¶æ
ãå«ã¿ãŸãã</li> + <li><em>"å®è¡äž"</em>: Service Worker ã¯ãçŸåšå®è¡äžã§ããService Worker ã¯ã€ã³ã¹ããŒã«ããã³ã¢ã¯ãã£ããŒã·ã§ã³æžã¿ã§ãããçŸåšã€ãã³ããåŠçããŠããŸãã</li> + <li><em>"åæ¢"</em>: Service Worker ã¯ã€ã³ã¹ããŒã«ããã³ã¢ã¯ãã£ããŒã·ã§ã³æžã¿ã§ãããã¢ã€ãã«ç¶æ
ã®åŸã«çµäºãããŸããã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14488/service-worker-status.png" style="display: block; height: 555px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<div class="note"> +<p>ãã®ç« ã§ã¯ <a href="https://serviceworke.rs/push-simple/">https://serviceworke.rs/push-simple/</a> ã«ãããã·ã³ãã«ãª Service Worker ã®ãã¢ã䜿çšããŠããŸãã</p> +</div> + +<h3 id="Debugging_workers" name="Debugging_workers">Worker ããããã°ãã</h3> + +<p>ãã§ã« Service Worker ãå®è¡äžã§ããå Žåã¯ãWorker ã®é£ã« [ãããã°] ãã¿ã³ããã³ [ããã·ã¥] ãã¿ã³ããããŸããWorker ãæªå®è¡ã§ããå Žåã¯ã[éå§] ãã¿ã³ 1 ã€ã ãããããŸãããã¿ã³ãã¯ãªãã¯ãããš Service Worker ãéå§ããŸãã</p> + +<p>[ãããã°] ãã¿ã³ãæŒããšãJavaScript ãããã¬ãŒãšã³ã³ãœãŒã«ã Worker ã«æ¥ç¶ããŸãããã¬ãŒã¯ãã€ã³ããèšçœ®ãããã³ãŒããã¹ãããå®è¡ãããå€æ°ã確èªãããã³ãŒããè©äŸ¡ãããªã©ã®æäœãã§ããŸã:</p> + +<p>{{EmbedYouTube("Z8ax79sHWDU")}}</p> + +<h3 id="Registering_workers" name="Registering_workers">Worker ãç»é²ãã</h3> + +<p>æåã¯ã<em>Service Worker</em> ã <em>Shared Worker</em> ã®é
äžã« Worker ã衚瀺ãããŠããªãã§ããããWorker ãç»é²ãããšããªã¹ããæŽæ°ãããŸã:</p> + +<p>{{EmbedYouTube("wy4kyWFhFF4")}}</p> + +<div class="note"> +<p>Firefox 47 ããåã®ããŒãžã§ã³ã§ã¯ãService Worker ãå®éã«åäœãããšãã«ã®ã¿è¡šç€ºããŸãã</p> +</div> + +<h3 id="Unregistering_service_workers" name="Unregistering_service_workers">Service Worker ã®ç»é²ã解é€ãã</h3> + +<div class="geckoVersionNote"> +<p>Firefox 48 ã®æ°æ©èœ</p> +</div> + +<p>Firefox 48 ãããç»é²æžã¿ã® Service Worker ã®é£ã« [ç»é²è§£é€] ãšããå称ã®ãªã³ã¯ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13056/unregister-sw.png" style="display: block; margin-left: auto; margin-right: auto; width: 700px;"></p> + +<p>ãªã³ã¯ãã¯ãªãã¯ãããšãService Worker ã®ç»é²ã解é€ããŸãã</p> + +<h3 id="Sending_push_events_to_service_workers" name="Sending_push_events_to_service_workers">Service Worker ã« Push ã€ãã³ããéã</h3> + +<div class="note"> +<p>about:debugging ã§ã® Push ã€ãã³ãéä¿¡ã¯ãFirefox 47 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ããã·ã¥éç¥ããããã°ããã«ã¯ã<a href="/ja/docs/Web/API/PushEvent">PushEvent</a> ã®ãªã¹ããŒã«ãã¬ãŒã¯ãã€ã³ããèšå®ããŠãã ããããã ããããã·ã¥éç¥ã®ãããã°ã¯ãµãŒããŒãäžèŠã§ãããããŒã«ã«ã§å®æœã§ããŸãã[ããã·ã¥] ãã¿ã³ãã¯ãªãã¯ãããšãService Worker ã« Push ã€ãã³ããéä¿¡ã§ããŸã:</p> + +<p>{{EmbedYouTube("62SkLyA-Zno")}}</p> + +<h3 id="Service_workers_not_compatible" name="Service_workers_not_compatible">äºææ§ããªã Service Worker</h3> + +<div> +<p>Firefox 49 ãããçŸåšã®ãã©ãŠã¶ãŒã®èšå®ã«å¯ŸããŠäºææ§ããªããã䜿çšããããã°ãè¡ããªã Service Worker ã«ã€ããŠãWorker ããŒãžã® Service Worker ã»ã¯ã·ã§ã³ã§èŠåã¡ãã»ãŒãžã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13613/sw-not-compatible.png" style="display: block; height: 705px; margin: 0px auto; width: 1011px;"></p> +</div> + +<p>Service Worker ã¯ãããã€ãã®çç±ã§äœ¿çšã§ããªãå ŽåããããŸã:</p> + +<ul> + <li>ãã©ã€ããŒããã©ãŠãžã³ã°ãŠã£ã³ããŠã䜿çšããŠãããšã</li> + <li>å±¥æŽã®èšå®ãã[å±¥æŽãäžåèšæ¶ãããªã] ãŸã㯠[åžžã«ãã©ã€ããŒããã©ãŠãžã³ã°ã¢ãŒã] ã«èšå®ããŠãããšã</li> + <li><code>about:config</code> ã§èšå®é
ç® <code>dom.serviceWorkers.enable</code> ã false ã«èšå®ããŠãããšã</li> +</ul> diff --git a/files/ja/tools/accessibility_inspector/index.html b/files/ja/tools/accessibility_inspector/index.html new file mode 100644 index 0000000000..446c790fee --- /dev/null +++ b/files/ja/tools/accessibility_inspector/index.html @@ -0,0 +1,160 @@ +--- +title: ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒ +slug: Tools/Accessibility_inspector +tags: + - Accessibility + - Accessibility inspector + - DevTools + - Guide + - Tools +translation_of: Tools/Accessibility_inspector +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary">ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒã¯ãã¢ã¯ã»ã·ããªãã£ããªãŒã«ãã£ãŠçŸåšã®ããŒãžã§æ¯æŽæè¡ã«å
¬éãããéèŠãªæ
å ±ãžã¢ã¯ã»ã¹ããæ段ãæäŸããŠãæ¬ ããŠããæ
å ±ãã»ãã«æ³šæãå¿
èŠãªããšã確èªã§ããŸãããã®èšäºã§ã¯ãã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒã®äž»ãªæ©èœã䜿çšæ¹æ³ã説æããŸãã</p> + +<h2 id="A_(very)_brief_guide_to_accessibility" name="A_(very)_brief_guide_to_accessibility">ã¢ã¯ã»ã·ããªãã£ã® (ãšãŠã) ç°¡åãªã¬ã€ã</h2> + +<p>ã¢ã¯ã»ã·ããªãã£ã¯ãå¯èœãªéãå€ãã®äººã
ãããªãã®ãŠã§ããµã€ããå©çšã§ããããã«ããããã®æ
£ç¿ã§ããããã¯å©çšè
ã®éãããã䜿çšãã端æ«ã»ãããã¯ãŒã¯é床ã»å°ççãªäœçœ®ãšãã£ãå人ã®ç¶æ³ã«ãã£ãŠæ
å ±ãžã¢ã¯ã»ã¹ã§ããªãç¶æ
ã«ããªãããã«ãæåãå°œããããšã§ãã</p> + +<p>ããã§ã¯äž»ã«ãèŠèŠéãããæã€äººã
ã«æ
å ±ãæäŸããããš (ããã¯ãŠã§ããã©ãŠã¶ãŒã§äœ¿çšã§ãã <a href="https://www.smashingmagazine.com/2015/03/web-accessibility-with-accessibility-api/">accessibility API</a> ã§å®çŸããŸã) ã«ã€ããŠæ±ããŸããããã¯ãããªãã®ããŒãžã§ããŸããŸãªèŠçŽ ãã©ã®ãããªåœ¹å²ãæã€ããšããæ
å ±ãæäŸããŸã (äŸãã°åçŽãªããã¹ãããã¿ã³ããªã³ã¯ããã©ãŒã èŠçŽ ãªã©)ã</p> + +<p>ã»ãã³ãã£ã㯠DOM èŠçŽ ã¯ããã©ã«ãã§ããã®çšéã瀺åãã圹å²ãå²ãåœãŠãããŠããŸããããããæã«ã¯è€éãªç¬èªã®ã³ã³ãããŒã«ãäœæããããã«ã»ãã³ãã£ãã¯ã§ã¯ãªãããŒã¯ã¢ãã (äŸãã° {{htmlelement("div")}}) ã䜿çšããªããã°ãªãããããã¯çšéãåæ ããããã©ã«ãã®åœ¹å²ãæã£ãŠããŸããããã®ãããªç¶æ³ã§ã¯ãèªèº«ã®åœ¹å²ãäžããããã« <a href="/ja/docs/Learn/Accessibility/WAI-ARIA_basics">WAI-ARIA</a> ããŒã«å±æ§ã䜿çšã§ããŸãã</p> + +<p>ãã©ãŠã¶ãŒã® accessibility API ã«ãã£ãŠå
¬éããã圹å²ãã»ãã®æ
å ±ã¯ãã¢ã¯ã»ã·ããªãã£ããªãŒãšåŒã°ããéå±€æ§é ã§æäŸãããŸãããã㯠DOM ããªãŒã«å°ã䌌ãŠããŸãããå«ãŸããèŠçŽ äžåŒãããå¶éãããŠããããŸãããªãŒãæã€æ
å ±ãè¥å¹²ç°ãªã£ãŠããŸãã</p> + +<p>ã¹ã¯ãªãŒã³ãªãŒããŒãªã©ã®æ¯æŽæè¡ã¯ããŠã§ãããŒãžã«äœãããããèŠã€ããããã«ãã®æ
å ±ã䜿çšããŠããŠãŒã¶ãŒã«ãããäœã§ããããäŒããŠãããŒãžãšå¯Ÿè©±ã§ããããã«ããŸããéçºããŒã«ã®ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒããã®æ
å ±ã䜿çšããŠã䟡å€ãããã¢ã¯ã»ã·ããªãã£ã®ãããã°æ©èœãæäŸããŸãã</p> + +<h2 id="Accessing_the_accessibility_inspector" name="Accessing_the_accessibility_inspector">ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒã«ã¢ã¯ã»ã¹ãã</h2> + +<p>ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒ (Firefox 61 ãã䜿çšå¯èœ) ã¯ãããã©ã«ãã§éçºããŒã«ã«è¡šç€ºãããŠããŸãããæå¹åããã«ã¯éçºããŒã«ã®èšå® (<kbd>F1</kbd> ãæŒäžãããã"äžç¹ãªãŒããŒ" ã¡ãã¥ãŒã§ <em>èšå®</em> ãéžæãã) ãéããŠã<em>æšæºã®éçºããŒã«</em> ã® <em>ã¢ã¯ã»ã·ããªãã£</em> ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ããŠãã ãããããã«ããéçºããŒã«ã« <em>ã¢ã¯ã»ã·ããªãã£</em> ã¿ããçŸããŸããã¿ããã¯ãªãã¯ãããšãã¢ã¯ã»ã·ããªãã£ããã«ã衚瀺ããŸã:</p> + +<p><img alt="Accessibility tab in firefox devtools, turned off, with a button labeled Turn On Accessibility Features" src="https://mdn.mozillademos.org/files/16021/accessibility-inspector-panel-off.png" style="border-style: solid; border-width: 1px; height: 654px; width: 1692px;"></p> + +<p>åæç¶æ
ã§ã¯éçºããŒã«ã®ã¢ã¯ã»ã·ããªãã£æ©èœãç¡å¹ã«ããŠãã (å¥ã®ãã©ãŠã¶ãŒã¿ãã§ãã§ã«æå¹ã«ããŠããå Žåããã¹ã¯ãªãŒã³ãªãŒããŒã®ãŠãŒã¶ãŒããã¹ã¿ãŒã§ãããªã©ã®çç±ã§ Firefox ã®ã¢ã¯ã»ã·ããªãã£ãšã³ãžã³ããã§ã«éå§ããŠããå Žåãé€ããŸã)ãããã¯ãã¢ã¯ã»ã·ããªãã£æ©èœãæå¹ã§ãããšãã«ããã¯ã°ã©ãŠã³ãã§ã¢ã¯ã»ã·ããªãã£ãšã³ãžã³ãå®è¡ããããã§ãããšã³ãžã³ãå®è¡ãããšãããã©ãŒãã³ã¹ãäœäžããŠã¡ã¢ãªæ¶è²»ãå¢ããŸããããã«ããã<a href="/ja/docs/Tools/Memory">ã¡ã¢ãªãŒ</a> ã <a href="/ja/docs/Tools/Performance">ããã©ãŒãã³ã¹</a> ãšãã£ãã»ãã®ããã«ã®æž¬å®ã劚ãããããã©ãŠã¶ãŒå
šäœã®ããã©ãŒãã³ã¹ãäœäžãããããŸãããã®ãããç¹ã«äœ¿çšããªããšãã¯ã¢ã¯ã»ã·ããªãã£æ©èœãç¡å¹ã«ããŠããã¹ãã§ãã</p> + +<p>[<em>ã¢ã¯ã»ã·ããªãã£æ©èœãæå¹ã«ãã</em>] ãã¿ã³ãæŒããšãã¢ã¯ã»ã·ããªãã£æ©èœãæå¹ã«ããŸãã</p> + +<p>ããã«ã®å
容ãèªã¿èŸŒãŸããããå·Šäžã«ãã [<em>ã¢ã¯ã»ã·ããªãã£æ©èœãç¡å¹ã«ãã</em>] ãã¿ã³ãæŒããšåã³ç¡å¹ã«ã§ããŸãããã ããã¹ã¯ãªãŒã³ãªãŒããŒã䜿çšããããã«ã¢ã¯ã»ã·ããªãã£ãšã³ãžã³ããã§ã«åäœããŠããå Žåã¯é€ããŸãããã®å Žåã¯ãã¿ã³ã䜿çšã§ããŸããã</p> + +<div class="note"> +<p><strong>泚èš</strong>: è€æ°ã®ã¿ãã§ã¢ã¯ã»ã·ããªãã£æ©èœã䜿çšããŠããå Žåã¯ãããã¿ãã§ç¡å¹ã«ãããšãã¹ãŠã®ã¿ãã§ç¡å¹ã«ãªããŸãã</p> +</div> + +<h2 id="Features_of_the_Accessibility_panel" name="Features_of_the_Accessibility_panel">ã¢ã¯ã»ã·ããªãã£ããã«ã®æ©èœ</h2> + +<p>ã¢ã¯ã»ã·ããªãã£ããã«ãæå¹ã«ãããšä»¥äžã®ããã«ãªããŸã:</p> + +<p><img alt="Accessibility tab in firefox devtools, turned on, showing two information panels plus a button labeled Turn Off Accessibility Features" src="https://mdn.mozillademos.org/files/16022/accessibility-inspector-panel-on.png" style="border-style: solid; border-width: 1px; height: 654px; width: 1692px;"></p> + +<p>å·ŠåŽã«ãçŸåšã®ããŒãžã®ã¢ã¯ã»ã·ããªãã£ããªãŒå
ã®ãã¹ãŠã®ã¢ã€ãã ãè¡šã暹圢å³ããããŸããå
¥ãåã®åå«ãæã€ã¢ã€ãã ã«ã¯ã¯ãªãã¯ããŠåå«ã衚瀺ã§ããç¢å°ããããŸãã®ã§ãéå±€ã®æ·±ãéšåãžç§»åã§ããŸããããããã®ã¢ã€ãã ã§ã2 ã€ã®ããããã£ã瀺ããŸã:</p> + +<ul> + <li><em>圹å²</em> â ããŒãžäžã§ãã®ã¢ã€ãã ãæã€åœ¹å² (äŸãã° <code>pushbutton</code> ã <code>footer</code>)ãããã¯ãã©ãŠã¶ãŒãäžããããã©ã«ãã®åœ¹å²ããWAI-ARIA ã® <code>role</code> å±æ§ã§äžãã圹å²ã®ããããã§ãã</li> + <li><em>åå</em> â ããŒãžäžã§ãã®ã¢ã€ãã ãæã€ååããããäœã«ç±æ¥ãããã¯ãèŠçŽ ã«ãã£ãŠç°ãªããŸããäŸãã°ã»ãšãã©ã®ããã¹ãèŠçŽ ã®ååã¯åã« <code>textContent</code> ã§ããããã©ãŒã èŠçŽ ã®ååã¯ããã®èŠçŽ ã«é¢é£ä»ãããã {{htmlelement("label")}} ã®å
容ç©ã§ãã</li> +</ul> + +<p>å³åŽã«ã¯ãéžæäžã®ã¢ã€ãã ã«é¢ãã詳现æ
å ±ã衚瀺ããŸããããã«ã¯ä»¥äžã®ããããã£ã衚瀺ããŸã:</p> + +<ul> + <li><em>name</em> â åè¿°ãããã¢ã€ãã ã®ååã</li> + <li><em>role</em> â åè¿°ãããã¢ã€ãã ã®åœ¹å²ã</li> + <li><em>actions</em> â ã¢ã€ãã ã§å®è¡ã§ããã¢ã€ãã ã®äžèŠ§ãäŸãã°æŒããã¿ã³ã§ã¯ "Press"ããªã³ã¯ã§ã¯ "Jump" ããããŸãã</li> + <li><em>value</em> â ã¢ã€ãã ã®å€ããã®æå³ã¯ã¢ã€ãã ã®çš®é¡ã«ãã£ãŠç°ãªããŸããäŸãã°å
¥åãã©ãŒã (role: entry) ã§ã¯ãã©ãŒã ã«å
¥åãããå€ããªã³ã¯ã§ã¯å¯Ÿå¿ãã <code><a></code> èŠçŽ ã® <code>href</code> å±æ§ã«ãã URL ã§ãã</li> + <li><em>DOMNode</em> â ã¢ã¯ã»ã·ããªãã£ããªãŒå
ã®ã¢ã€ãã ãè¡šããDOM ããŒãã®ã¿ã€ãã§ããå€ã®åŸãã«ãã "æšç" ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšã<a href="/ja/docs/Tools/Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</a> ã§ããŒããéžæã§ããŸãã"æšç" ã®ã¢ã€ã³ã³ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžã§ DOM ããŒãããã€ã©ã€ã衚瀺ããŸãã<br> + <img alt="DOMNode property in accessibility inspector with target icon highlighted" src="https://mdn.mozillademos.org/files/16025/dom-node-target-icon.png" style="height: 55px; width: 294px;"></li> + <li><em>description</em> â èŠçŽ ã§æäŸããã詳现説æãé垞㯠title å±æ§ã®å
容ã§ãã</li> + <li><em>help</em> â ãã㯠Gecko ã§å®è£
ããŠããŸããã®ã§ãåžžã«ç©ºæååãè¿ããŸããFirefox 62 ã§ã€ã³ã¹ãã¯ã¿ãŒããåé€ããäºå®ã§ã ({{bug(1467643)}})ã</li> + <li><em>keyboardShortcut</em> â èŠçŽ ãã¢ã¯ãã£ãã«ããããã«äœ¿çšã§ããããŒããŒãã·ã§ãŒãã«ããã§ããã<code>accessKey</code> å±æ§ã§æå®ããŸãããã㯠Firefox 62 ããæ£åžžã«åäœããŸã ({{bug("1467381")}})ã</li> + <li><em>childCount</em> â ã¢ã¯ã»ã·ããªãã£ããªãŒã®éå±€ã§ãçŸåšã®ã¢ã€ãã ãæã€åå«ã®æ°ã§ãã</li> + <li><em>indexInParent</em> â 芪ã¢ã€ãã ã®äžã§äœçªç®ã®åã¢ã€ãã ã§ãããã瀺ãã€ã³ããã¯ã¹ã®å€ã§ãã芪ã¢ã€ãã ã®äžã§æåã®ã¢ã€ãã ã§ããå Žå㯠0 ã«ãªããŸãã2 çªç®ã®ã¢ã€ãã ã§ããã° 1 ã«ãªããŸãã以éãåãã§ãã</li> + <li><em>states</em> â çŸåšã®ã¢ã€ãã ã«é©çšå¯èœãªãããŸããŸãªã¢ã¯ã»ã·ããªãã£é¢é£ã®ç¶æ
ã®ãªã¹ãã§ããäŸãã°ããããã¢ã®äžã®ãªã³ã¯ã®ã²ãšã€ã¯ focusableãlinkedãselectable textãopaqueãenabledãsensitive ã®ç¶æ
ãæã¡ãŸããå
éšç¶æ
ã®äžèŠ§ã«ã€ããŠã¯ã<a href="/ja/docs/Web/Accessibility/AT-APIs/Gecko/States">Gecko states</a> ãã芧ãã ããã</li> + <li><em>attributes</em> â ã¢ã€ãã ã«é©çšãããŠããããã¹ãŠã®ã¢ã¯ã»ã·ããªãã£é¢é£ã®å±æ§ã®äžèŠ§ã§ãããã㯠margin-left ã text-indent ãªã©ã¹ã¿ã€ã«é¢é£ã®å±æ§ããã©ãã°å¯èœãã¬ãã« (äŸãã°èŠåºãã§ããã°ãèŠåºãã®ã¬ãã«) ãšãã£ãã¢ã¯ã»ã·ããªãã£æ
å ±ã«é¢ããŠåœ¹ã«ç«ã€ç¶æ
ãå«ãŸããŸãã䜿çšå¯èœãªç¶æ
ã®äžèŠ§ã«ã€ããŠã¯ã<a href="/ja/docs/Web/Accessibility/AT-APIs/Gecko/Attrs">Gecko object attributes</a> ãã芧ãã ããã</li> +</ul> + +<div class="note"> +<p><strong>泚èš</strong>: å
¬éãããæ
å ±ã¯ããã¹ãŠã®ãã©ãããã©ãŒã ã§åãã§ããã€ã³ã¹ãã¯ã¿ãŒã¯ãã©ãããã©ãŒã ã®ã¢ã¯ã»ã·ããªãã£å±€ã®æ
å ±ã§ã¯ãªããGecko ã®ã¢ã¯ã»ã·ããªãã£ããªãŒãå
¬éããŸãã</p> +</div> + +<h3 id="Keyboard_controls" name="Keyboard_controls">ããŒããŒãæäœ</h3> + +<p><em>ã¢ã¯ã»ã·ããªãã£</em> ã¿ãã¯ãããŒããŒãã§æäœå¯èœã§ã:</p> + +<ul> + <li>Tab ããŒã§ [<em>ã¢ã¯ã»ã·ããªãã£æ©èœãç¡å¹ã«ãã</em>] ãã¿ã³ãå·Šå³ã®ããã«ãè¡ãæ¥ã§ããŸãã</li> + <li>ããããã®ããã«ã«ãã©ãŒã«ã¹ããããšããäžäžç¢å°ããŒã䜿çšããŠã¢ã€ãã ã®ãã©ãŒã«ã¹ãäžäžã«ç§»åã§ããŸãããŸãå·Šå³ç¢å°ããŒã䜿çšããŠãå±éå¯èœãªè¡ (äŸãã°ã¢ã¯ã»ã·ããªãã£ããªãŒã®ããŸããŸãªéå±€ã¬ãã«) ã®å±éãæãããã¿ãå¯èœã§ãã</li> +</ul> + +<h2 id="Notable_related_features" name="Notable_related_features">泚ç®ãã¹ãé¢é£æ©èœ</h2> + +<p>ã¢ã¯ã»ã·ããªãã£æ©èœãæå¹ã«ãããšãéçºããŒã«ã§ããã€ãã®æçšãªè¿œå æ©èœãå©çšã§ããŸããããã§ã¯ããããã詳ãã説æããŸã:</p> + +<h3 id="Context_menu_options" name="Context_menu_options">ã³ã³ããã¹ãã¡ãã¥ãŒã®é
ç®</h3> + +<p>ãŠã§ãããŒãžã§ UI ãå³ã¯ãªãã¯ãŸã㯠<kbd>Ctrl</kbd> + ã¯ãªãã¯ãããšãã®éåžžã®ã³ã³ããã¹ãã¡ãã¥ãŒãšãã€ã³ã¹ãã¯ã¿ãŒã® HTML ãã€ã³ã§ DOM èŠçŽ ãå³ã¯ãªãã¯ãŸã㯠<kbd>Ctrl</kbd> + ã¯ãªãã¯ãããšãã®ã³ã³ããã¹ãã¡ãã¥ãŒã®äž¡æ¹ã«ãé
ç®ãè¿œå ãããŸã:</p> + +<p><img alt="context menu in the browser viewport, with a highlighted option: Inspect Accessibility Properties" src="https://mdn.mozillademos.org/files/16028/web-page-context-menu.png" style="border-style: solid; border-width: 1px; height: 798px; width: 1200px;"></p> + +<p><img alt="context menu in the DOM inspector, with a highlighted option: Show Accessibility Properties" src="https://mdn.mozillademos.org/files/16020/dom-inspector-context-menu.png" style="border-style: solid; border-width: 1px; height: 803px; width: 1200px;"></p> + +<p>ã³ã³ããã¹ãã¡ãã¥ãŒã® [<em>ã¢ã¯ã»ã·ããªãã£ããããã£ã調æ»</em>]/[<em>ã¢ã¯ã»ã·ããªãã£ããããã£ã衚瀺</em>] ãéžæãããšã察å¿ããã¢ã¯ã»ã·ããªãã£ããªãŒã®ã¢ã€ãã ãããããã£ã衚瀺ããããã«ã<em>ã¢ã¯ã»ã·ããªãã£</em> ã¿ããçŽã¡ã«éããŸãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: äžéšã® DOM èŠçŽ ã¯ã¢ã¯ã»ã·ããªãã£ããããã£ããããŸããããã®ãããªå Žå㯠[<em>ã¢ã¯ã»ã·ããªãã£ããããã£ã調æ»</em>]/[<em>ã¢ã¯ã»ã·ããªãã£ããããã£ã衚瀺</em>] ã®ã¡ãã¥ãŒé
ç®ãã°ã¬ãŒã¢ãŠãããŸãã</p> +</div> + +<h3 id="Highlighting_of_UI_items" name="Highlighting_of_UI_items">UI ã¢ã€ãã ã®ãã€ã©ã€ã衚瀺</h3> + +<p>ã¢ã¯ã»ã·ããªãã£ã¿ãã§ã¢ã¯ã»ã·ããªãã£ã¢ã€ãã ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãå¯èœã§ããã°é¢é£ãã UI ã¢ã€ãã ã§åéæã®ãã€ã©ã€ã衚瀺ãè¡ããŸããå°ããªæ
å ±ããŒã«ãã¢ã€ãã ã®åœ¹å²ãååã衚瀺ããŸããããã¯ãã¢ã¯ã»ã·ããªãã£ããªãŒã®ã¢ã€ãã ãå®éã®ããŒãžã§ã©ã® UI ã¢ã€ãã ã«é¢é£ããŠããããå€æããã®ã«åœ¹ç«ã¡ãŸãã</p> + +<p>以äžã®äŸã§ã¯ç»åããã€ã©ã€ã衚瀺ãããŠãããåœ¹å² "graphic" ãšåå "Road, Asphalt, Sky, Clouds, Fall" ãäžã®æ
å ±ããŒã«è¡šç€ºããŠããããšãããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16302/image_accessibility.png" style="border: 1px solid black; display: block; height: 347px; margin: 0px auto; width: 451px;"></p> + +<h4 id="ã«ã©ãŒã³ã³ãã©ã¹ã">ã«ã©ãŒã³ã³ãã©ã¹ã</h4> + +<p>ã³ã³ãã©ã¹ãæ¯ãååã§ãªãå Žåãè²ç²ãªã©ã®èŠèŠé害ãæã€èªè
ã¯ããã¹ããèªã¿åãããšãã§ããªããããã³ã³ãã©ã¹ãæ¯ã®æ
å ±ã¯ããŠã§ããµã€ãã®ã«ã©ãŒãã¬ãããèšèšãããšãã«ç¹ã«äŸ¿å©ã§ããWeb ã³ã³ãã³ãã¢ã¯ã»ã·ããªãã£ã¬ã€ãã©ã€ã³ (WCAG) 2.0 ã§ã¯ãWeb ããŒãžäžã®å°ããªããã¹ãã®åæ¯è²ãšèæ¯è²ãšã®æå°ã³ã³ãã©ã¹ãæ¯ãšã㊠4.5:1 ãå®çŸ©ããŠããŸããäŸãã°ïŒ</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16305/text_contrast_2.png" style="display: block; height: 67px; margin: 0px auto; width: 259px;"></p> + +<p>äžèšã®ç»åã®è²ã®ã³ã³ãã©ã¹ã㯠2.77 ã§ãããèªã¿ãããããã«ã³ã³ãã©ã¹ããäžååã§ããå¯èœæ§ããããŸããã³ã³ãã©ã¹ãã蚱容ãããã³ã³ãã©ã¹ãæ¯ãæºãããŠããªãããšã瀺ãèŠåèšå·ã«æ³šç®ããŠãã ãããããã以äžãšæ¯èŒããŠãã ããïŒ</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16304/text_contrast_1.png" style="display: block; height: 64px; margin: 0 auto; width: 336px;"></p> + +<p>ãã®äŸã§ã¯ãã³ã³ãã©ã¹ã㯠12.63 ã§ããä»å㯠AAA ãšãã§ãã¯ããŒã¯ãç·è²ã§è¡šç€ºãããããã¹ãã®ã³ã³ãã©ã¹ãæ¯ã 7:1 以äžã§ããããšã瀺ããŠããŸããã€ãŸããã³ã³ãã©ã¹ãã®åŒ·ååºæºããŸãã¯ã¬ãã« AAA ãæºãããŠããŸãã</p> + +<p> </p> + +<h3 id="Accessibility_picker" name="Accessibility_picker">ã¢ã¯ã»ã·ããªãã£ããã«ãŒ</h3> + +<p><a href="/ja/docs/Tools/Page_Inspector/How_to/Select_an_element#With_the_node_picker">ã€ã³ã¹ãã¯ã¿ãŒã® HTML ãã€ã³ããã«ãŒ</a> ãšåæ§ã«ã<em>ã¢ã¯ã»ã·ããªãã£</em>ã¿ãã®ããã«ãŒãã¿ã³ãæŒããšçŸåšã®ããŒãžã§ UI ã¢ã€ãã ãéžæã§ããŸãããããŠãã¢ã¯ã»ã·ããªãã£ããªãŒã§å¯Ÿå¿ãããªããžã§ã¯ãããã€ã©ã€ã衚瀺ããŸãã</p> + +<p>ã¢ã¯ã»ã·ããªãã£ã¿ãã®ããã«ãŒã¯ã以äžã®ããã«ã€ã³ã¹ãã¯ã¿ãŒã® HTML ãã€ã³ããã«ãŒãšã¯å€èŠãè¥å¹²ç°ãªããŸã:</p> + +<p><img alt="highlighted dom inspector picker button, with a tooltip saying Pick an element from the page" src="https://mdn.mozillademos.org/files/16024/dom-inspector-picker.png" style="border-style: solid; border-width: 1px; height: 677px; width: 1716px;"></p> + +<p><img alt="highlighted accessibility inspector button, with a tooltip saying Pick accessible object from the page" src="https://mdn.mozillademos.org/files/16023/accessibility-inspector-picker.png" style="border-style: solid; border-width: 1px; height: 677px; width: 1717px;"></p> + +<p>"ãªããžã§ã¯ããéžæ" ãããšã¢ã¯ã»ã·ããªãã£ããªãŒã§ã¢ã¯ã»ã¹å¯èœãªãªããžã§ã¯ãããã€ã©ã€ã衚瀺ããŠãããã«ãŒãéã¢ã¯ãã£ãåããŸãããã ã <kbd>Shift</kbd> ããŒãæŒããªãã "ãªããžã§ã¯ããéžæ" ãããšãããªãŒã§ã¢ã¯ã»ã¹å¯èœãªãªããžã§ã¯ãã "ãã¬ãã¥ãŒ" ã§ããŸã (å³ãã€ã³ã«ãªããžã§ã¯ãã®ããããã£ã衚瀺ããŸã) ãã<kbd>Shift</kbd> ããŒãé¢ããŸã§ã¯ããã€ã§ãéžæãç¶ãã (ããã«ãŒããã£ã³ã»ã«ãããŸãã) ããšãã§ããŸãã</p> + +<p>ããã«ãŒãã¢ã¯ãã£ãã§ãããšããããã«ãŒãã¿ã³ãå床æŒãã <kbd>Esc</kbd> ããŒãæŒããšãããã«ãŒãéã¢ã¯ãã£ãåã§ããŸãã</p> + +<h2 id="Typical_use_cases" name="Typical_use_cases">å
žåçãªäœ¿çšæ¹æ³</h2> + +<p>ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒã¯ãã¢ã¯ã»ã·ããªãã£ã®åé¡ãäžç®ã§èŠæãããã«ãšãŠã圹ã«ç«ã¡ãŸãã第äžã«ãé©åãªåçæååããªãã¢ã€ãã (äŸãã° <code>alt</code> æååããªãç»åãã<code>name</code> ããããã£ã <code>null</code> ã§é©åãªã©ãã«ããªããã©ãŒã èŠçŽ ) ã調æ»ã§ããŸãã</p> + +<p><img alt="A form input highlighted in the UI, with information about it shown in the accessibility inspector to reveal that it has no label â it has a name property of null" src="https://mdn.mozillademos.org/files/16027/use-case-no-label.png" style="border-style: solid; border-width: 1px; height: 1180px; width: 1182px;"></p> + +<p>ãŸããã»ãã³ãã£ã¯ã¹ã®æ€èšŒã§ã圹ã«ç«ã¡ãŸãã[<em>ã¢ã¯ã»ã·ããªãã£ãªããžã§ã¯ãã調æ»</em>] ã³ã³ããã¹ãã¡ãã¥ãŒé
ç®ã䜿çšããŠãã¢ã€ãã ã«æ£ããåœ¹å² (äŸãã°ãã¿ã³ãå®éã«ãã¿ã³ã®åœ¹å²ããªã³ã¯ãå®éã«ãªã³ã¯ã®åœ¹å²ãæã€ã) ãèšå®ããŠãããããã°ãã確èªã§ããŸãã</p> + +<p><img alt="A UI element that looks like a button, with information about it shown in the accessibility inspector to reveal that it isn't a button, it is a section element. It has a name property of null" src="https://mdn.mozillademos.org/files/16026/use-case-fake-button.png" style="border-style: solid; border-width: 1px; height: 1180px; width: 1182px;"></p> + +<h2 id="See_also" name="See_also">é¢é£æ
å ±</h2> + +<ul> + <li><a href="/ja/docs/Learn/Accessibility">ã¢ã¯ã»ã·ããªãã£ã®åºç€</a></li> + <li><a href="/ja/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility">å®è·µçãªãããã°æ
å ±</a></li> + <li><a href="/ja/docs/Web/Accessibility/Understanding_WCAG">WCAG ãç解ãã</a></li> + <li><a href="/ja/docs/Learn/Accessibility/WAI-ARIA_basics">WAI-ARIA ã®åºæ¬</a></li> + <li><a href="https://www.smashingmagazine.com/2015/03/web-accessibility-with-accessibility-api/">Accessibility APIs: A Key To Web Accessibility</a> by Léonie Watson</li> +</ul> diff --git a/files/ja/tools/accessing_the_developer_tools/index.html b/files/ja/tools/accessing_the_developer_tools/index.html new file mode 100644 index 0000000000..237c6e1bc2 --- /dev/null +++ b/files/ja/tools/accessing_the_developer_tools/index.html @@ -0,0 +1,22 @@ +--- +title: Webéçºè
ã¡ãã¥ãŒ +slug: Tools/Accessing_the_Developer_Tools +translation_of: Tools/Accessing_the_Developer_Tools +--- +<div>{{ToolsSidebar}}</div> + +<p>Web Developerã¡ãã¥ãŒã¯Firefoxã«çµã¿èŸŒãŸããŠããéçºããŒã«ã«ã¢ã¯ã»ã¹ããäž»ãªæ¹æ³ã§ãã OS XãšLinuxã§ã¯ãããã¯ãããŒã«ãã¡ãã¥ãŒã®äžã«ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5269/web-developer-tools-menu-osx.png"></p> + +<p>Windows 7ã§ã¯ãFirefoxãã¡ãã¥ãŒã®äžã«ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5271/web-developer-tools-menu-windows-7.png" style="height: 595px; width: 506px;"></p> + +<p>ã¡ãã¥ãŒã¯3ã€ã®ã»ã¯ã·ã§ã³ã«åå²ãããŠããŸãïŒ</p> + +<ul> + <li>æåã®ã»ã¯ã·ã§ã³ã«ã¯ãéçºããŒã«çšã®å°çšãŠã£ã³ããŠã§ããToolboxã§ãã¹ããããŠããããŒã«ãäžèŠ§è¡šç€ºãããŠããŸã</li> + <li>2çªç®ã®ã»ã¯ã·ã§ã³ã«ã¯ãToolboxã§ãã¹ããããŠããªãçµ±åããŒã«ãšãã¢ããªã³ãšããŠã€ã³ã¹ããŒã«ãããããŒã«ããªã¹ããããŠããŸãïŒäžèšã®Windowsã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãFirefox OS Simulatorãã€ã³ã¹ããŒã«ããŠããŸãïŒ</li> + <li>3çªç®ã®ã»ã¯ã·ã§ã³ãGet More Toolsãã¯ãFirefoxçšã®ãã®ä»ã®Webéçºã¢ããªã³ãžã®ãªã³ã¯ã§ã</li> +</ul> diff --git a/files/ja/tools/add-ons/index.html b/files/ja/tools/add-ons/index.html new file mode 100644 index 0000000000..9478dd0d88 --- /dev/null +++ b/files/ja/tools/add-ons/index.html @@ -0,0 +1,18 @@ +--- +title: ã¢ããªã³ +slug: Tools/Add-ons +tags: + - NeedsTranslation + - TopicStub + - Web Development + - 'Web Development:Tools' +translation_of: Tools/Add-ons +--- +<div>{{ToolsSidebar}}</div> + +<p>Firefoxã«ã¯çµã¿èŸŒãŸããŠããªãããå¥ã
ã®ã¢ããªã³ãšããŠæäŸãããéçºããŒã«ã§ãã</p> + +<dl> + <dt><a href="https://addons.mozilla.org/ja/firefox/addon/websocket-monitor/">WebSocket Monitor</a></dt> + <dd>WebSocketæ¥ç¶ã§ãããšããããããŒã¿ã調ã¹ãŸãã</dd> +</dl> diff --git a/files/ja/tools/browser_console/index.html b/files/ja/tools/browser_console/index.html new file mode 100644 index 0000000000..12b87526ca --- /dev/null +++ b/files/ja/tools/browser_console/index.html @@ -0,0 +1,179 @@ +--- +title: ãã©ãŠã¶ãŒã³ã³ãœãŒã« +slug: Tools/Browser_Console +tags: + - Web Development + - 'WebDevelopment:Tools' + - ããŒã« + - ãããã° + - ãã©ãŠã¶ +translation_of: Tools/Browser_Console +--- +<p>{{ToolsSidebar}}</p> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã¯ <a href="/ja/docs/Tools/Web_Console" title="Tools/Web_Console">Web ã³ã³ãœãŒã« </a>ã«äŒŒãŠããŸãããã²ãšã€ã®ã³ã³ãã³ãã¿ãã§ã¯ãªããã©ãŠã¶ãŒå
šäœã«é©çšãããŸãã</p> + +<p>ãã£ãŠ Web ã³ã³ãœãŒã«ãšåãçš®é¡ã®æ
å ± (ãããã¯ãŒã¯èŠæ±ãJavaScriptãCSSãã»ãã¥ãªãã£ã®ãšã©ãŒãèŠåãããã³ JavaScript ã³ãŒãããæ瀺çã«åºåããã¡ãã»ãŒãž) ãèšé²ããŸãããããã²ãšã€ã®ã³ã³ãã³ãã¿ãã®æ
å ±ãèšé²ããã®ã§ã¯ãªãããã¹ãŠã®ã³ã³ãã³ãã¿ããã¢ããªã³ããã©ãŠã¶ãŒèªäœã®ã³ãŒãã®æ
å ±ãèšé²ããŸãã</p> + +<p>ã¢ããªã³ããã©ãŠã¶ãŒã®ã³ãŒãã«å¯ŸããŠãéåžžã®<a href="/ja/docs/Tools/Tools_Toolbox"> ããŒã«ããã¯ã¹ </a>ã«å«ãŸããä»ã® ãŠã§ãéçºããŒã«ã䜿çšãããå Žåã¯ã<a href="/ja/docs/Tools/Browser_Toolbox">ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ </a>ã®äœ¿çšãæ€èšããŠãã ããã</p> + +<p>åæ§ã«ããã©ãŠã¶ãŒã³ã³ãœãŒã«ã§ JavaScript ã®åŒãå®è¡ã§ããŸãããã ã Web ã³ã³ãœãŒã«ãããŒãžã® window ã¹ã³ãŒãå
ã§ã³ãŒããå®è¡ããã®ã«å¯ŸããŠããã©ãŠã¶ãŒã³ã³ãœãŒã«ã¯ãã©ãŠã¶ãŒã® chrome ãŠã£ã³ããŠã®ã¹ã³ãŒãã§ã³ãŒããå®è¡ããŸãããã㯠<a href="/ja/docs/Code_snippets/Tabbed_browser" title="Code_snippets/Tabbed_browser"><code>gBrowser</code></a> ã°ããŒãã«å€æ°ã䜿çšãããã¹ãŠã®ãã©ãŠã¶ãŒã¿ããšå¯Ÿè©±ã§ãããšããããšã§ããããŸããã©ãŠã¶ãŒã®ãŠãŒã¶ã€ã³ã¿ãŒãã§ã€ã¹ãå®çŸ©ããããã«äœ¿çšããã XUL ãšã®å¯Ÿè©±ãå¯èœã§ãã</p> + +<div class="geckoVersionNote"> +<p>泚æ: ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã® (JavaScript ã®åŒãå®è¡ããããã®) ã³ãã³ãã©ã€ã³ã¯ãããã©ã«ãã§ç¡å¹ã§ããæå¹åããã«ã¯ about:config ã§èšå®é
ç® <code>devtools.chrome.enabled</code> ã <code>true</code> ã«ãããã<a href="/ja/docs/Tools/Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> 㧠"ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã¬ãŒãæå¹" (Firefox 40 以é) / "ãã©ãŠã¶ãŒãããã¬ãŒãæå¹" (Firefox 38.0.5 以å) ãæå¹ã«ããŠãã ããã</p> +</div> + +<h2 id="Opening_the_Browser_Console" name="Opening_the_Browser_Console">ãã©ãŠã¶ãŒã³ã³ãœãŒã«ãéã</h2> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã¯ 2 çš®é¡ã®æ¹æ³ã§éãããšãã§ããŸã:</p> + +<ol> + <li>ã¡ãã¥ãŒãã: Firefox ã¡ãã¥ãŒ (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã OS X ã§ã¯ããŒã«ã¡ãã¥ãŒ) ã® Web éçºãµãã¡ãã¥ãŒã§ "ãã©ãŠã¶ãŒã³ã³ãœãŒã«" ãéžæããŸãã</li> + <li>ããŒããŒãã§: Ctrl+Shift+J (Mac ã§ã¯ Cmd+Shift+J) ãæŒäžããŸãã</li> +</ol> + +<p>ãªãã·ã§ã³ <code>-jsconsole</code> ãæž¡ããŠã³ãã³ãã©ã€ã³ãã Firefox ãèµ·åããæ¹æ³ã§ãããã©ãŠã¶ãŒã³ã³ãœãŒã«ãéå§ã§ããŸã:</p> + +<pre>/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin -jsconsole</pre> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5847/browser-console-window.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã®å€èŠãåäœã¯ã<a href="/ja/docs/Tools/Web_Console" title="Tools/Web_Console">Web ã³ã³ãœãŒã«</a>ãšãšãŠã䌌ãŠããããšããããã§ããã:</p> + +<ul> + <li>ãŠã£ã³ããŠã®å€§éšåã¯ã<a href="/ja/docs/Tools/Web_Console#Message_Display_Pane" title="Tools/Web_Console#Message_Display_Pane">ã¡ãã»ãŒãžã衚瀺ãããã€ã³</a> ãå ããŠããŸãã</li> + <li>äžæ®µã«ã衚瀺ããã¡ãã»ãŒãžã®ãã£ã«ã¿ãªã³ã°ãå¯èœãª <a href="/ja/docs/Tools/Web_Console#Filtering_and_searching" title="Tools/Web_Console#Filtering_and_searching">ããŒã«ã㌠</a>ããããŸãã</li> + <li>äžæ®µã«ãJavaScript ã®åŒã®è©äŸ¡ãå¯èœãª <a href="/ja/docs/Tools/Web_Console#The_command_line_interpreter" title="Tools/Web_Console#The_command_line_interpreter">ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒããªã¿ãŒ </a>ããããŸãã</li> +</ul> + +<h2 id="Browser_Console_logging" name="Browser_Console_logging">ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã®ãã®ã³ã°</h2> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ãèšé²ããã¡ãã»ãŒãžã®çš®é¡ã¯ãWeb ã³ã³ãœãŒã«ãèšé²ãããã®ãšåãã§ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console#HTTP_requests" title="Tools/Web_Console#HTTP_requests">HTTP èŠæ±</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Warnings_and_errors" title="Tools/Web_Console#Warnings_and_errors">èŠåãšãšã©ãŒ</a> (JavaScriptãCSSãã»ãã¥ãªãã£ã®èŠåããšã©ãŒãããã³ <a href="https://developer.mozilla.org/ja/docs/Web/API/console" title="Web/API/console">console</a> API ã䜿çšã㊠JavaScript ã³ãŒãããæ瀺çã«èšé²ãããã¡ãã»ãŒãžãå«ã¿ãŸã)</li> + <li><a href="/ja/docs/Tools/Web_Console#Input.2Foutput_messages" title="Tools/Web_Console#Input.2Foutput_messages">å
¥å/åºåã¡ãã»ãŒãž</a>: ã³ãã³ãã©ã€ã³ãããã©ãŠã¶ãŒã«éä¿¡ããã³ãã³ããšããã®ã³ãã³ãã®å®è¡çµæ</li> +</ul> + +<p>ãã ãããã¡ãã®ã¡ãã»ãŒãžã®çºä¿¡å
ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li>ãã¹ãŠã®ãã©ãŠã¶ãŒã¿ãã§æäŸããŠãã ãŠã§ãã³ã³ãã³ã</li> + <li>ãã©ãŠã¶ãŒèªäœã®ã³ãŒã</li> + <li>ã¢ããªã³</li> +</ul> + +<h3 id="Messages_from_add-ons" name="Messages_from_add-ons">ã¢ããªã³çºã®ã¡ãã»ãŒãž</h3> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã¯ããã¹ãŠã® Firefox ã¢ããªã³ãåºåããã¡ãã»ãŒãžã衚瀺ããŸãã</p> + +<h4 id="Console.jsm" name="Console.jsm">Console.jsm</h4> + +<p>åŸæ¥åãããã¯ããŒãã¹ãã©ããåã®ã¢ããªã³ãã console API ã䜿çšããããã«ãConsole ã¢ãžã¥ãŒã«ããååŸããŸãã</p> + +<p>Console.jsm ãããšã¯ã¹ããŒããããã·ã³ãã«ã¯ "console" ã§ãã以äžã«ãAPI ã«ã¢ã¯ã»ã¹ããŠãã©ãŠã¶ãŒã³ã³ãœãŒã«ã«ã¡ãã»ãŒãžãåºåããæ¹æ³ã®äŸã瀺ããŸãã</p> + +<pre class="brush: js">Components.utils.import("resource://gre/modules/Console.jsm"); +console.log("Hello from Firefox code"); //output messages to the console</pre> + +<p>詳ããã¯ãã¡ã:</p> + +<ul> + <li><a href="/ja/docs/Web/API/console">console API reference</a></li> + <li><a href="https://dxr.mozilla.org/mozilla-central/source/toolkit/modules/Console.jsm">Console.jsm source code in the Mozilla DXR</a></li> +</ul> + +<h4 id="HUDService" name="HUDService">HUDService</h4> + +<p>HUDService ã§ããã©ãŠã¶ãŒã³ã³ãœãŒã«ã«ã¢ã¯ã»ã¹ã§ããŸããã¢ãžã¥ãŒã«ã¯ <a href="https://dxr.mozilla.org/mozilla-central/source/devtools/client/webconsole/hudservice.js">Mozilla DXR</a> ã§ç¢ºèªã§ããŸãããã©ãŠã¶ãŒã³ã³ãœãŒã«ã ãã§ãªã Web ã³ã³ãœãŒã«ã«ãã¢ã¯ã»ã¹ã§ããããšãããããŸãã</p> + +<p>以äžã¯ããã©ãŠã¶ãŒã³ã³ãœãŒã«ã®å
容ãæ¶å»ããæ¹æ³ã®äŸã§ã:</p> + +<pre class="brush: js">Components.utils.import("resource://devtools/shared/Loader.jsm"); +var HUDService = devtools.require("devtools/client/webconsole/hudservice"); + +var hud = HUDService.getBrowserConsole(); +hud.jsterm.clearOutput(true);</pre> + +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã® content ããã¥ã¡ã³ãã«ã¢ã¯ã»ã¹ãããå ŽåããHUDService ã§å®çŸã§ããŸãã以äžã®äŸã§ã¯ããã©ãŠã¶ãŒã³ã³ãœãŒã«ã® "æ¶å»" ãã¿ã³ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãã«ãã³ã³ãœãŒã«ãã¯ãªã¢ããããã«ããŠããŸã:</p> + +<pre class="brush: js">Components.utils.import("resource://devtools/shared/Loader.jsm"); +var HUDService = devtools.require("devtools/client/webconsole/hudservice"); + +var hud = HUDService.getBrowserConsole(); + +var clearBtn = hud.chromeWindow.document.querySelector('.webconsole-clear-console-button'); +clearBtn.addEventListener('mouseover', function() { + hud.jsterm.clearOutput(true); +}, false);</pre> + +<h4 id="Bonus_Features_Available" name="Bonus_Features_Available">ç¹å
žæ©èœ</h4> + +<p><a href="/ja/docs/Mozilla/Add-ons/SDK" title="/ja/docs/Mozilla/Add-ons/SDK">Add-on SDK</a> ã«ããã¢ããªã³ã§ã¯ãconsole API ãèªåçã«å©çšå¯èœã«ãªããŸãããŠã£ãžã§ãããã¯ãªãã¯ãããšãã«ãšã©ãŒãåºåããã¢ããªã³ã®äŸã瀺ããŸã:</p> + +<pre class="brush: js">widget = require("sdk/widget").Widget({ + id: "an-error-happened", + label: "Error!", + width: 40, + content: "Error!", + onClick: logError +}); + +function logError() { + console.error("something went wrong!"); +}</pre> + +<p>ãã®ã³ãŒãã <a href="/ja/docs/Mozilla/Add-ons/SDK/ãã¥ãŒããªã¢ã«/Installation" title="/ja/docs/Mozilla/Add-ons/SDK/ãã¥ãŒããªã¢ã«/Installation">XPI ãã¡ã€ã«ãšããŠæ§ç¯</a>ããŠããã©ãŠã¶ãŒã³ã³ãœãŒã«ãéãããã㊠XPI ãã¡ã€ã«ã Firefox ã§éããŠã€ã³ã¹ããŒã«ãããšãã¢ããªã³ããŒã« "Error!" ãšããã©ãã«ã®ãŠã£ãžã§ãããçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5937/browser-console-addon.png" style="display: block; margin-left: auto; margin-right: auto;">ã¢ã€ã³ã³ãã¯ãªãã¯ããŸãããããããšããã©ãŠã¶ãŒã³ã³ãœãŒã«ã§ä»¥äžã®ãããªåºåã確èªã§ããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5851/browser-console-addon-output.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>Add-on SDK ããŒã¹ã®ã¢ããªã³ã«éãã¡ãã»ãŒãžã®å
é ã«ã¢ããªã³ã®å称 ("log-error") ãä»ãããã<a href="/ja/docs/Tools/Web_Console#Filtering_and_searching" title="Tools/Web_Console#Filtering_and_searching">"ãã£ã«ã¿ãŒåºå"</a> æ€çŽ¢ããã¯ã¹ã䜿çšããŠãã®ã¢ããªã³ç±æ¥ã®ã¡ãã»ãŒãžãèŠã€ããã®ã容æã«ãªããŸããããã©ã«ãã§ã¯ãšã©ãŒã¡ãã»ãŒãžã®ã¿ã³ã³ãœãŒã«ã«èšé²ãããŸããã<a href="/ja/Add-ons/SDK/Tools/console#Logging_Levels" title="/ja/Add-ons/SDK/Tools/console#Logging_Levels">ãã©ãŠã¶ãŒã®èšå®ã§ãããå€æŽã§ããŸã</a>ã</p> + +<h2 id="Browser_Console_command_line" name="Browser_Console_command_line">ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³</h2> + +<div class="geckoVersionNote"> +<p>ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã¯ãããã©ã«ãã§ç¡å¹ã§ããæå¹åããã«ã¯ about:config ã§èšå®é
ç® <code>devtools.chrome.enabled</code> ã <code>true</code> ã«ãããã<a href="/ja/docs/Tools/Settings">éçºããŒã«ã®ãªãã·ã§ã³</a>㧠"ãã©ãŠã¶ãããã¬ãŒãæå¹" ãæå¹ã«ããŠãã ããã</p> +</div> + +<p>Web ã³ã³ãœãŒã«ãšåæ§ã«ãã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒããªã¿ãŒã§ãªã¢ã«ã¿ã€ã ã« JavaScript åŒã®è©äŸ¡ãå¯èœã§ã:<img alt="" src="https://mdn.mozillademos.org/files/5855/browser-console-commandline.png" style="display: block; margin-left: auto; margin-right: auto;">ãŸã Web ã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ãšåæ§ã«ããã¡ãã®ã³ãã³ãã©ã€ã³ã<a href="/ja/docs/Tools/Web_Console#Autocomplete" title="Tools/Web_Console#Autocomplete">ãªãŒãã³ã³ããªãŒã</a>ã<a href="/ja/docs/Tools/Web_Console#Command_history" title="Tools/Web_Console#Command_history">å±¥æŽ</a>ãããŸããŸãª<a href="/ja/docs/Tools/Web_Console#Keyboard_shortcuts" title="Tools/Web_Console#Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a>ã<a href="/ja/docs/Tools/Web_Console#Helper_commands" title="Tools/Web_Console#Helper_commands">æ¯æŽã³ãã³ã</a>ããµããŒãããŠããŸããã³ãã³ãã®å®è¡çµæããªããžã§ã¯ãã§ããå Žåã¯ã<a href="/ja/docs/Tools/Web_Console#Inspecting_objects" title="Tools/Web_Console#Inspecting_objects">ãªããžã§ã¯ããã¯ãªãã¯ããŠè©³çŽ°ã確èªã§ããŸã</a>ã</p> + +<p>ãã ã Web ã³ã³ãœãŒã«ã¯æ¥ç¶ããã content window ã®ã¹ã³ãŒãã§ã³ãŒããå®è¡ããã®ã«å¯ŸããŠããã©ãŠã¶ãŒã³ã³ãœãŒã«ã¯ãã©ãŠã¶ãŒã® chrome window ã®ã¹ã³ãŒãã§ã³ãŒããå®è¡ããŸãããã㯠<code>window</code> ãè©äŸ¡ããããšã§ç¢ºèªã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5867/browser-console-chromewindow.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ããã¯ããã©ãŠã¶ãŒãå¶åŸ¡ã§ãããšããããšã§ã: ã¿ãããŠã£ã³ããŠãéããŸãã¯éãããéããŠããã³ã³ãã³ããå€æŽãããXUL èŠçŽ ã®çæãå€æŽãåé€ã«ãããã©ãŠã¶ãŒã® UI ã®å€æŽãå¯èœã§ãã</p> + +<h3 id="Controlling_the_browser" name="Controlling_the_browser">ãã©ãŠã¶ãŒã®å¶åŸ¡</h3> + +<p>ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒããªã¿ãŒã¯ <code>gBrowser</code> ã°ããŒãã«å€æ°ãéããŠã<a href="/ja/docs/XUL/tabbrowser" title="XUL/tabbrowser"><code>tabbrowser</code></a> ãªããžã§ã¯ãã«ã¢ã¯ã»ã¹ã§ãããŸãã³ãã³ãã©ã€ã³ãéããŠãã©ãŠã¶ãŒãå¶åŸ¡ããããšãå¯èœã§ãã以äžã®ã³ãŒãããã©ãŠã¶ãŒã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã§å®è¡ããŠã¿ãŸããã (ãã©ãŠã¶ãŒã³ã³ãœãŒã«ãžè€æ°è¡éãå Žå㯠Shift+Enter ã䜿çšããããšãå¿ããã«):</p> + +<pre class="brush: js">var newTabBrowser = gBrowser.getBrowserForTab(gBrowser.selectedTab); +newTabBrowser.addEventListener("load", function() { + newTabBrowser.contentDocument.body.innerHTML = "<h1>this page has been eaten</h1>"; +}, true); +newTabBrowser.contentDocument.location.href = "https://mozilla.org/";</pre> + +<p>ããã¯çŸåšéžæããŠããã¿ãã®ãæ°ããããŒãžãé£ã¹ãŠããŸã <code>load</code> ã€ãã³ãã®ãªã¹ããŒãè¿œå ããŠãããæ°ããããŒãžãèªã¿èŸŒã¿ãŸãã</p> + +<h3 id="Modifying_the_browser_UI" name="Modifying_the_browser_UI">ãã©ãŠã¶ãŒ UI ã®å€æŽ</h3> + +<p>ã°ããŒãã«ã® <code>window</code> ãªããžã§ã¯ãã¯ãã©ãŠã¶ãŒã® chrome window ã§ããããããã©ãŠã¶ãŒã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãå€æŽã§ããŸããWindows ã§ã¯ã以äžã®ã³ãŒãã§ãã©ãŠã¶ãŒã®ã¡ã€ã³ã¡ãã¥ãŒã«æ°ããªã¢ã€ãã ãè¿œå ããŸã:</p> + +<pre class="brush: js">var parent = window.document.getElementById("appmenuPrimaryPane"); +var makeTheTea = gBrowser.ownerDocument.defaultView.document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem"); +makeTheTea.setAttribute("label", "A nice cup of tea?"); +parent.appendChild(makeTheTea);</pre> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5859/browser-console-modify-ui-windows.png" style="display: block; margin-left: auto; margin-right: auto;">OS X ã§ã¯ãååºã®ã³ãŒãã«äŒŒãŠãã以äžã®ã³ãŒã㧠"ããŒã«" ã¡ãã¥ãŒã«æ°ããªã¢ã€ãã ãè¿œå ããŸã:</p> + +<pre class="brush: js">var parent = window.document.getElementById("menu_ToolsPopup"); +var makeTheTea = gBrowser.ownerDocument.defaultView.document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem"); +makeTheTea.setAttribute("label", "A nice cup of tea?"); +parent.appendChild(makeTheTea);</pre> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5861/browser-console-modify-ui-osx.png" style="display: block; margin-left: auto; margin-right: auto;"></p> diff --git a/files/ja/tools/browser_toolbox/index.html b/files/ja/tools/browser_toolbox/index.html new file mode 100644 index 0000000000..446ef88fc2 --- /dev/null +++ b/files/ja/tools/browser_toolbox/index.html @@ -0,0 +1,74 @@ +--- +title: ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ +slug: Tools/Browser_Toolbox +tags: + - Debug + - Firefox + - JavaScript +translation_of: Tools/Browser_Toolbox +--- +<p>{{ToolsSidebar}}</p> + +<p>ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ã¯éåžžã® <a href="/ja/docs/Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a> ãšã¯ç°ãªãããŠã§ãããŒãžã ãã§ãªãã¢ããªã³ããã©ãŠã¶ãŒèªäœã® JavaScript ããããã°ããããšãã§ããŸãããã©ãŠã¶ãŒããŒã«ããã¯ã¹ã®ã³ã³ããã¹ãã¯åäžã®ã¿ãå
ã®ããŒãžã§ã¯ãªãããã©ãŠã¶ãŒå
šäœã«ãªããŸãã</p> + +<div class="note"> +<p><em>泚èš: ãªã¹ã¿ãŒãã¬ã¹ãŸã㯠SDK ããŒã¹ã®ã¢ããªã³ããããã°ãããå Žåã¯ã<a href="/ja/docs/Mozilla/Add-ons/Add-on_Debugger">ã¢ããªã³ãããã¬ãŒ</a> ãè©ŠããŠãã ãããããã以å€ã®ã¢ããªã³ã§ã¯ããã©ãŠã¶ãŒããŒã«ããã¯ã¹ã䜿çšããŠãã ããã</em></p> +</div> + +<h2 id="Enabling_the_Browser_Toolbox" name="Enabling_the_Browser_Toolbox">ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ã®æå¹å</h2> + +<div> +<p>ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ã¯ããã©ã«ãã§ç¡å¹ã§ããæå¹åããã«ã¯ã"ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã¬ãæå¹" ããã³ "ãªã¢ãŒããããã¬ãæå¹" ã«ãã§ãã¯ãå
¥ããªããã°ãªããŸããã</p> + +<p>éçºããŒã«ã® <a href="/ja/docs/Tools/Settings">ãªãã·ã§ã³</a> ãéããŠã"<a href="/ja/docs/Tools/Settings#Advanced_settings">詳现ãªèšå®</a>" 㧠"ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã¬ãŒãæå¹" ããã³ "ãªã¢ãŒããããã¬ãŒãæå¹" ã«ãã§ãã¯ãå
¥ããŠãã ããã</p> + +<p><img alt="Developer Tools Settings" src="https://mdn.mozillademos.org/files/16236/settings_for_browser_debugger.png" style="border: 1px solid black; display: block; height: 744px; margin: 0 auto; width: 900px;"></p> +</div> + +<h2 id="Opening_the_Browser_Toolbox" name="Opening_the_Browser_Toolbox">ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ãéã</h2> + +<p>ã¡ãã¥ãŒãã¿ã³ <img alt="new fx menu" class="frameless wiki-image" src="https://support.cdn.mozilla.net/media/uploads/gallery/images/2014-01-10-13-08-08-f52b8c.png" style="line-height: 1.5;" title=""> ãã¯ãªãã¯ããŠãã¡ãã¥ãŒé
ç® "éçºããŒã«"ã"ãã©ãŠã¶ãŒããŒã«ããã¯ã¹" ã®é ã«éžæãããšããã©ãŠã¶ãŒããŒã«ããã¯ã¹ãéããŸãã</p> + +<p>Firefox 39 ããã<kbd>Ctrl</kbd> + <kbd>Alt</kbd> +<kbd>Shift</kbd> + <kbd>I</kbd> ã®ããŒã³ã³ãããŒã·ã§ã³ (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>Opt</kbd> +<kbd>Shift</kbd> + <kbd>I</kbd>) ã§ãéãããšãã§ããŸãã</p> + +<p>ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ãéããšã以äžã®ãããªãã€ã¢ãã°ã衚瀺ããŸã (ããã¯èšå®é
ç® <code>devtools.debugger.prompt-connection</code> ã false ã«ããããšã§ç¡å¹åã§ããŸã):</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11119/browser-toolbox-warning.png" style="display: block; height: 326px; margin-left: auto; margin-right: auto; width: 600px;">OK ãã¯ãªãã¯ãããšããã©ãŠã¶ãŒããŒã«ããã¯ã¹ãåå¥ã®ãŠã£ã³ããŠã§è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11121/browser-toolbox.png" style="display: block; height: 649px; margin-left: auto; margin-right: auto; width: 900px;">ãã©ãŠã¶ãŒã® chrome ãŠã£ã³ããŠã®èª¿æ»ããŸããã©ãŠã¶ãŒèªäœããã³å®è¡äžã®ã¢ããªã³ãèªã¿èŸŒãã§ãããã¹ãŠã® JavaScript ãã¡ã€ã«ã®ç¢ºèªãšãããã°ãå¯èœã§ãããŸãã以äžã®éçºããŒã«ãžå
šé¢çã«ã¢ã¯ã»ã¹ã§ããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger">ãããã¬ãŒ</a> (<em>泚èš: ãªã¹ã¿ãŒãã¬ã¹ãŸã㯠SDK ããŒã¹ã®ã¢ããªã³ããããã°ãããå Žåã¯ã<a href="/ja/docs/Mozilla/Add-ons/Add-on_Debugger">ã¢ããªã³ãããã¬ãŒ</a>ãè©ŠããŠãã ããã)</em></li> + <li><a href="/ja/docs/Tools/Browser_Console">ã³ã³ãœãŒã«</a></li> + <li><a href="/ja/docs/Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Profiler">ããã©ãŒãã³ã¹</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Scratchpad">ã¹ã¯ã©ããããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</a></li> +</ul> + +<p>chrome: ããã³ about: ã®ããŒãžã¯äžè¬ã®ã³ã³ãã³ãããŒãžãšåæ§ã«ãéåžžã® <a href="/ja/docs/Tools/Debugger">ãããã¬ãŒ</a> ã§ãããã°ã§ããŸãã</p> + +<h2 id="Targeting_a_document" name="Targeting_a_document">察象ããã¥ã¡ã³ãã決ãã</h2> + +<p>éåžžã®ããŒã«ããã¯ã¹ã§ã¯ã<a href="/ja/docs/Tools/Working_with_iframes">ããã¥ã¡ã³ãå
ã®ç¹å®ã® iframe ã察象ã«ããããšãã§ãããã¿ã³ãããŒã«ããŒã«ãããŸã</a>ãFirefox 40 ãããã©ãŠã¶ãŒããŒã«ããã¯ã¹ã«ãåãå€èŠã®ãã¿ã³ããããŸããããã¡ã㯠iframe ã ãã§ãªããããã¬ãã«ã® chrome ãŠã£ã³ããŠã content ãŠã£ã³ããŠããªã¹ãã«å«ãŸããŠããŸããããã«ãã content ã¿ãã ãã§ãªãåã
ã® chrome ãŠã£ã³ããŠããããã¢ããå
ã®ããã¥ã¡ã³ãã調æ»ã§ããŸãã</p> + +<p>äŸãã°ãã©ãŠã¶ãŒãŠã£ã³ããŠã 2 ã€ããããã®ãã¡ã²ãšã€ã« content ã¿ãã 1 ã€ãããã²ãšã€ã®ãŠã£ã³ããŠã« content ã¿ãã 2 ã€ããå Žåã¯ããã¬ãŒã éžæã®ãªã¹ãã以äžã®ããã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11117/browser-toolbox-iframes.png" style="display: block; height: 652px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h2 id="Debugging_popups" name="Debugging_popups">ãããã¢ããããããã°ãã</h2> + +<p>ãããã¢ããããããã°ããã®ã¯é£ããã§ãããããã¢ãããå€ã«åºããšããã«ãã©ãŠã¶ãããããé ãããã§ãããã®åäœãç¡å¹ã«ããæ¹æ³ããããŸããããŒã«ããã¯ã¹ã¡ãã¥ãŒãã¯ãªãã¯ãã<strong>ãããã¢ããã®èªåé衚瀺ãç¡å¹ã«ãã</strong>ãéžæããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16234/popup_auto-hide.png" style="display: block; height: 249px; margin: 0px auto; width: 350px;"></p> + +<p>ããã§ãããã¢ãããéããšã<kbd>Esc</kbd> ããŒãæŒããŸã§éãããŸãŸã«ãªããŸãã Inspector ã®ããŒãããã«ãŒã䜿çšããŠãã®ããã«ãéžæãããã®å
容ã調ã¹ãŠå€æŽããããšãã§ããŸãã</p> + +<p>{{EmbedYouTube("6edXcunw4jM")}}</p> + +<p>åããã¯ããã¯ã䜿ã£ãŠã<a href="/ja/docs/Mozilla/Add-ons/WebExtensions/ãããã°#Debugging_popups">ã¢ããªã³ã«ãã£ãŠäœæããããããã¢ãã</a>ããããã°ã§ããŸãã</p> + +<div class="note"> +<p><strong>ã¡ã¢</strong>: ãã®å€æŽã¯ãã©ãŠã¶ãåèµ·åããŠãæ°žç¶çã§ã¯ãããŸããããã©ãŠã¶ã®ããŒã«ããã¯ã¹ãéãããšãèšå®ã¯ã¯ãªã¢ãããŸãã</p> +</div> diff --git a/files/ja/tools/css_coverage/index.html b/files/ja/tools/css_coverage/index.html new file mode 100644 index 0000000000..cf45c2988e --- /dev/null +++ b/files/ja/tools/css_coverage/index.html @@ -0,0 +1,149 @@ +--- +title: CSSã«ãã¬ããž +slug: Tools/CSS_Coverage +tags: + - Experimental + - Firefox + - ã¬ã€ã + - ããŒã« + - åå¿è
+translation_of: Tools/CSS_Coverage +--- +<p>{{ToolsSidebar}}</p> + +<div class="note"> +<p>ãã®æ©èœã¯å®éšçãªãã®ã§ãFirefoxã§ã¯ãŸã å©çšã§ããŸããã</p> +</div> + +<p>CSSã«ãã¬ããžã¯ãFirefoxéçºè
åãã®ã³ãã³ãã»ããã§ã䜿ãå€ãããŠããªãCSSãææããåæã¬ã³ããªã³ã°ã«å¿
èŠãªCSSãã¡ã€ã«ã®éšåã瀺ãããšã§ãä¹±éãªCSSã解ãã®ã«åœ¹ç«ã¡ãŸãã</p> + +<p>ãããã®ããŒã«ã¯ãã䜿çšãã®å®çŸ©ãè€éã§ãããããå€å°å®éšçã§ãããå®éã«äœãèµ·ãã£ãŠããããç解ããæå©ããšãªãããšãæåŸ
ãããŸãã</p> + +<p>ããããäžè¬çã«äœ¿çšãããæ¹æ³ã¯æ¬¡ã®ãšããã§ãã</p> + +<ul> + <li>ã«ãã¬ããžãã©ãã«ãŒãéå§("<code>csscoverage start</code>")ãã</li> + <li>ããªãã®ãŠã§ããµã€ãã®ä»£è¡šçãªããŒãžã«ã¢ã¯ã»ã¹ãã</li> + <li>ãã©ãã«ãŒãåæ¢("<code>csscoverage stop</code>")ããã¹ã¿ã€ã«ãšãã£ã¿ã§æªäœ¿çšã®ã«ãŒã«ã衚瀺ãã</li> + <li>åããŒãžã«è¡šç€ºãããã«ãŒã«ãå«ãã¬ããŒãã衚瀺("<code>csscoverage report</code>")ãã</li> +</ul> + +<p>ãã1ã€ã®ã³ãã³ã("<code>csscoverage oneshot</code>")ã§ã¯ãå¹æçã«å®è¡("<code>csscoverage start; csscoverage stop</code>")ã§ããŸãã</p> + +<h2 id="ã䜿çšããæå³ããã®ã¯">ã䜿çšããæå³ããã®ã¯?</h2> + +<h3 id="TLDR">TL;DR:</h3> + +<p>CSSã«ãã¬ããžã¯ã以äžã®äŸã®<span style="color: #008000;"><code>tag#id.class</code></span>ã»ã¬ã¯ã¿ãäžé£ã®WebããŒãžã«ååšãããã©ããã確èªããŸãã</p> + +<pre class="brush: css">@media thing { + tag#id.class:hover { + foo: bar; + } +}</pre> + +<h3 id="ãªã">ãªã?</h3> + +<p>ããªãã®CSSã«æ¬¡ã®ãã®ãèšå®ãããŠãããšããŸãããã¹ãäžã«ããŠã¹ãã¹ãã³ã«å
¥ã£ãŠããªãå Žåã ã«ãŒã«ã¯äœ¿çšãããã§ããããïŒ</p> + +<pre class="brush: html"><style> + span:hover { + color: purple; + } +</style> + +<span>Test</span> +</pre> + +<p>æè¡çã«ã¯ <code>span:hover</code> ã¯ãããã¹ãããšããèšèããã€ã玫è²ã§ã¯ãªãã£ããšããç¹ã§äœ¿ãããŠããŸããã§ãããããããªãã CSS ã®ã«ãã¬ããžã¯å®éã«ã«ãŒã«ãé¢é£æ§ããããç¡é¢ä¿ãã調ã¹ãããšã§ãããŸã <code>span:hover</code> ã¯æããã«ããŒãžãšã®é¢é£æ§ããããŸãã</p> + +<p>åæ§ã«ãããªãã®CSSã次ã®ãã®ãæã£ãŠãããšããŸãïŒ</p> + +<pre class="brush: html"><style> + @media tv { + span { + color: purple; + } + } +</style> + +<span>Test</span> +</pre> + +<p>é¢é£æ§ã枬å®ããã«ã¯ããã¬ããèªåã®ç°å¢ã«æ¥ç¶ããå¿
èŠããããŸããïŒ</p> + +<p>ããããã䜿çšãã¯é¢é£æ§ã ãã§ã¯ãããŸãã...<br> + 次ã®ã«ãŒã«ã¯é©åã§ããïŒ</p> + +<pre class="brush: html"><style> + span { } +</style> + +<span>Test</span> +</pre> + +<p>ããŒãžã«åœ±é¿ãåãŒããå®å
šã«åé€ã§ãããããé¢é£æ§ããªããšäž»åŒµããããšãã§ããŸãã</p> + +<p>ãããã次ã®ãã®ã¯ã©ãã§ããããïŒ</p> + +<pre class="brush: html"><style> + span { + -o-text-curl: minor; + } +</style> + +<span>Test</span> +</pre> + +<p>ããã䜿çšãããŠãããã©ãããç¥ã£ãŠãããã©ããã¯ãããããæ€çŽ¢ãšã³ãžã³ãšåææè¡ã®äœ¿çšãå¿
èŠãšãããããããµã€ãã®ãµããŒããããŠãããã©ãŠã¶ã®ããŒãžã§ã³ã«é¢ããç¥èã§ãã ãããã¯ãã¹ãŠç¹ç°ç¹ãŸã§ãã®ããŒã«ã®ç¯å²ãè¶
ããŠãããšã¿ãªãããŸãã</p> + +<p>以äžã®äŸã§ div ã«ãŒã«ã "used" ãšã¿ãªãããçç±ã«ã€ããŠã説æããŸãã</p> + +<pre class="brush: html"><style> + div { color: red; } + span { color: blue; } +</style> + +<div><span>Test</span></div> +</pre> + +<p>div ã«ãŒã«ã¯ããŒãžã®æçµçãªã¬ã³ããªã³ã°ã«ã¯åœ±é¿ããªãã®ã§æªäœ¿çšã ãšäž»åŒµã§ããŸããããã®ä»£æ¿å®çŸ©ãæ€èšããŠãã ããïŒ</p> + +<pre class="brush: html"><style> + div { color: red; border: none; } + span { color: blue; } +</style> +</pre> + +<p>ããŒããŒã«ãŒã«ã䜿çšãããŠãããã©ãããç¥ãããšã¯é£ãããä»ã«ãããŸããŸãªããªãšãŒã·ã§ã³ããããŸãã ã䜿çšãã®å®çŸ©ãããã«è€éã«ããäžéæ床ãå¯èŠæ§ããã³è²å€æãèæ
®ããã ç©äºãåçŽã«ããããã«ã "use"ã¯ã»ã¬ã¯ã¿ãèŠçŽ ã«ãããããããšãæå³ããŸãã</p> + +<p>æããã«ããã¹ãäžã«ã¿ããããã¹ã¿ã€ã«ã·ãŒãã«ããã¹ãäžã«èŠãããªãç¹å®ã®ããŒãžã ãã®ã«ãŒã«ãå«ãŸããŠããå Žåã¯ããã®ã«ãŒã«ã䜿çšãããŠããã«ããããããããã®ã«ãŒã«ããæªäœ¿çšããšããŠããŒã¯ããŸãã å®éã«CSSãã¡ã€ã«ããã«ãŒã«ãåé€ããåã«ãäºéãã§ãã¯ã®äŸ¡å€ããããŸãã</p> + +<h2 id="èŠå">èŠå</h2> + +<p>ç¥ã£ãŠããã¹ãããšïŒ</p> + +<ul> + <li>URL ã¯ãã¹ãã®æéãéããŠåç
§ããããã³ã«åããã€ãã»ãããè¿ããã®ãšããŸãã</li> + <li><a href="/ja/docs/Web/CSS/Alternative_style_sheets">代æ¿ã¹ã¿ã€ã«ã·ãŒã</a>ããã©ããã³ã°ããŸããã</li> +</ul> + +<h2 id="ãã°">ãã°</h2> + +<p>ç§ãã¡ã¯ããã€ãã®éèŠãªãã°ã«åãçµãã§ããŸãïŒ</p> + +<ul> + <li>çŸåšãã¹ã¿ã€ã«ã·ãŒããè¿œå ãããªã©ãJavaScript ã«ãã CSSOM ã®å€æŽã远跡ããŠããŸããã<a href="https://bugzil.la/1007533">bug 1007533</a> ãåç
§ããŠãã ããã</li> + <li>ã¹ã¿ã€ã«ãšãã£ã¿ã®ããŒã¯ã¢ããã¯ã©ã€ã³åäœã§è¡ãããŠããŸãããçŸåšã¯ãœãŒã¹ããããåŠçããŠããªããããå§çž®ããã CSS ã§ãããå®è¡ãããšæ··ä¹±ããŸãã<a href="https://bugzil.la/1007073">bug 1007073</a> ãåç
§ããŠãã ããã</li> + <li>@keyframe ã®æ
å ±ã¯ããªããŒãèŠçŽã«å«ãŸããŸããã<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1034062">bug 1034062</a> ãåç
§ããŠãã ããã</li> +</ul> + +<h2 id="代æ¿åè£">代æ¿åè£</h2> + +<p>Firefox ã䜿ããã«æªäœ¿çšã®CSSãèŠã€ããã®ã«åœ¹ç«ã€è€æ°ã®ããŒã«ããããŸãã</p> + +<ul> + <li><a href="https://www.jitbit.com/unusedcss/">Unused CSS</a> <em>ã¯ååž°çã«ãµã€ããã¯ããŒã«ããŠæªäœ¿çšã® CSS ã»ã¬ã¯ã¿ãæ€åºããŸããåºåã®ãªãç¡æã®ãªã³ã©ã€ã³ããŒã«ã§ãã</em></li> + <li><a href="https://github.com/purifycss/purifycss">PurifyCSS </a>ã¯ã€ã³ã¹ããŒã«åŸã«ã³ã³ãœãŒã«ããŒã«ãšããŠäœ¿çšã§ãã NPM ããã±ãŒãžã§ã</li> + <li><a href="https://unused-css.com/">unused-css.com </a>å¥ã®ãªã³ã©ã€ã³ããŒã«ãããã¯ç¡æã§ã¯ãããŸããã</li> +</ul> diff --git a/files/ja/tools/debugger.object/index.html b/files/ja/tools/debugger.object/index.html new file mode 100644 index 0000000000..719a359274 --- /dev/null +++ b/files/ja/tools/debugger.object/index.html @@ -0,0 +1,321 @@ +--- +title: Tools/Debugger.Object +slug: Tools/Debugger.Object +translation_of: Tools/Debugger.Object +--- +<div>{{ToolsSidebar}}</div> + +<h1 id="Debugger.Object">Debugger.Object</h1> + +<p><code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã¯ãããã°å¯Ÿè±¡ã®ãªããžã§ã¯ããè¡šãããã®åç
§ãªããžã§ã¯ããæ€æ»ããã³å€æŽããããã®ãªãã¬ã¯ã·ã§ã³æåã®ã¡ãœãããæäŸããŸããåç
§å
ã®ããããã£ã¯ã<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã®ããããã£ãšããŠçŽæ¥è¡šç€ºãããŸããããããã¬ã¯<code>Debugger.Object.prototype.getOwnPropertyDescriptor</code> ã <code>Debugger.Object.prototype.defineProperty</code> ã®ãããªã¡ãœãããä»ããŠã®ã¿ãããã¬ã«ã¢ã¯ã»ã¹ãããããã¬ã誀ã£ãŠãªãã¡ã¬ã³ã¹ã® getter ãš setter ãåŒã³åºããªãããã«ããŸãã</p> + +<p>SpiderMonkey ã¯ãç¹å®ã® <a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã€ã³ã¹ã¿ã³ã¹ã«æ瀺ããåãããã°ãªããžã§ã¯ãã«å¯ŸããŠã<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã1ã€ã ãäœæããŸããã€ãŸãããããã¬ã2ã€ã®ç°ãªãã«ãŒããä»ããŠåããªããžã§ã¯ãã«ééããå Žå (ãããã2ã€ã®é¢æ°ãåããªããžã§ã¯ãã§åŒã³åºããã)ãSpiderMonkey ã¯æ¯ååã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ããããã¬ã«æ瀺ããŸããããã¯ããããã¬ã <code>==</code> æŒç®åã䜿çšããŠã2ã€ã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãåããããã°ãªããžã§ã¯ããåç
§ããŠããããšãèªèãã<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã«ç¬èªã®ããããã£ãé
眮ããŠç¹å®ã®ãããã°ãªããžã§ã¯ãã«é¢ããã¡ã¿ããŒã¿ãæ ŒçŽã§ããããšãæå³ããŸãã</p> + +<p>ç°ãªãã³ã³ããŒãã¡ã³ãã® JavaScript ã³ãŒãã¯ãåããªããžã§ã¯ãã®ç°ãªããã¥ãŒãæã€ããšãã§ããŸããããšãã° Firefox ã§ã¯ãç¹æš©åºç»å
ã®ã³ãŒãã¯ãã³ã³ãã³ãã³ãŒãã«ãã£ãŠãã®ãªããžã§ã¯ãã®ããããã£ã«å¯ŸããŠè¡ãããåå®çŸ©ãŸãã¯æ¡åŒµã䌎ããã«ã³ã³ãã³ã DOM èŠçŽ ãªããžã§ã¯ããèªèããŸãããããã¬ã®ã³ãŒãããããã°å¯Ÿè±¡ãšåãããã«åãªããžã§ã¯ãã確å®ã«èŠãããã«ãå <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã¯ç¹å®ã®ã³ã³ããŒãã¡ã³ãããèŠããããã«ãã®åç
§ã衚瀺ããŸãããã®ã衚瀺ã³ã³ããŒãã¡ã³ããã¯ããããã¬ãæ瀺察象ãã©ã®ããã«ããŠæ¥ããã«åãããŠéžæãããŸããçµæãšããŠãåäžã® <a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã€ã³ã¹ã¿ã³ã¹ã¯å®éã«ã¯è€æ°ã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãæã€ããšãã§ããŸããã€ãŸããåç
§å
ã衚瀺ãããåã³ã³ããŒãã¡ã³ãã«1ã€ã§ãã</p> + +<p>è€æ°ã® <a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã€ã³ã¹ã¿ã³ã¹ãåãã³ãŒãããããã°ããŠããå Žåãå <a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã¯æå®ããããªããžã§ã¯ãã«å¯ŸããŠåå¥ã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãååŸããŸããããã«ãããå <a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã€ã³ã¹ã¿ã³ã¹ã䜿çšããã³ãŒãã¯ãä»ã®ãããã¬ãšã®å¹²æžãå¿é
ããããšãªããç¬èªã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã«ä»»æã®ããããã£ãé
眮ã§ããŸãã</p> + +<p>ã»ãšãã©ã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã¯ããããã¬ã®åäœãšç¶æ
ããããã¬ã«å
¬éããããã»ã¹ã§ SpiderMonkey ã«ãã£ãŠäœæãããŸããããããã¬ã¯<code>Debugger.Object.prototype.makeDebuggeeValue</code> ã䜿çšããŠãæå®ããããããã°å¯Ÿè±¡ãªããžã§ã¯ãã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãäœæãããã<code>Debugger.Object.prototype.copy</code> ããã³ <code>Debugger.Object.prototype.create</code> ã䜿çšããŠããããã°åºç»ã«æ°ãããªããžã§ã¯ããäœæããŸãã</p> + +<p><code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã¯ã¬ããŒãžã³ã¬ã¯ã¿ããåç
§å
ãä¿è·ããŸãã<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãçåããŠããéããæ瀺察象ã¯ãã®ãŸãŸæ®ããŸããããã¯ãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã«ç®ã«èŠãã圱é¿ãäžããªãããšãæå³ããŸãã</p> + +<h2 id="Debugger.Object_ãããã¿ã€ãã®Accessorããããã£">Debugger.Object ãããã¿ã€ãã®Accessorããããã£</h2> + +<p><code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã¯ããããã¿ã€ããã次ã®ã¢ã¯ã»ãµããããã£ãç¶æ¿ããŸãã</p> + +<dl> + <dt><code>proto</code></dt> + <dd> + <p>åç
§å
ã®ãããã¿ã€ã (æ°ãã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹)ããŸãã¯ãããã¿ã€ãããªãå Žå㯠<code>null</code></p> + </dd> + <dt><code>class</code></dt> + <dd> + <p>æ瀺察象㮠ECMAScript <code>[[Class]]</code> ãè¡šãæååã</p> + </dd> + <dt><code>callable</code></dt> + <dd> + <p>åç
§å
ãåŒã³åºãå¯èœãªãªããžã§ã¯ã (é¢æ°ãé¢æ°ãããã·ãªã©) ã§ããã° <code>true</code>ãããã§ãªããã° falseã</p> + </dd> + <dt><code>name</code></dt> + <dd> + <p>åç
§å
ã®åå (ååä»ãé¢æ°ã®å Žå)ãæ瀺察象ãç¡åé¢æ°ãå
šãé¢æ°ã§ãªãå Žåããã㯠<code>undefined</code> ã§ãã</p> + + <p>ãã®ã¢ã¯ã»ãµã¯ã<br> + é¢æ°ã (é¢æ°ãå²ã¿ã¹ã³ãŒãå
ã®ååã«ãã€ã³ããã) é¢æ°å®£èšãã€ã³ã¹ã¿ã³ã¹åããçµæã§ãããã(é¢æ°ãæ¬äœã®å
éšã§ã®ã¿ååã«ãã€ã³ããã) é¢æ°åŒãè©äŸ¡ããŠãããã«ãããããããœãŒã¹ã³ãŒãå
㧠<code>function</code> ããŒã¯ãŒãã®åŸã«çŸããååãè¿ããŸãã</p> + </dd> + <dt><code>displayName</code></dt> + <dd> + <p>æ瀺察象ã衚瀺åãæã€é¢æ°ã§ããã°ãæ瀺察象ã®è¡šç€ºåãåç
§å
ãé¢æ°ã§ãªãå ŽåããŸãã¯è¡šç€ºåããªãå Žåã¯ããã㯠<code>undefined</code> ã§ãã</p> + + <p>é¢æ°ã«æå®ãããååãããå Žåããã®è¡šç€ºåã¯æå®ãããååãšåãã§ãããã®å Žåã<code>displayName</code> ãš <code>name</code> ããããã£ã¯çãããªããŸãã</p> + + <p>é¢æ°ã«ååããªãå ŽåãSpiderMonkey ã¯ãã®ã³ã³ããã¹ãã«å¿ããŠé©åãªååãæšæž¬ããããšããŸããäŸãã°ïŒ</p> + + <pre><code>function f() {} // display name: f (the given name) +var g = function () {}; // display name: g +o.p = function () {}; // display name: o.p +var q = { + r: function () {} // display name: q.r +};</code></pre> + + <p>衚瀺åã¯é©å㪠JavaScript èå¥åããŸãã¯é©åãªåŒã§ãªããŠãããããšã«æ³šæããŠãã ãããé¢æ°ãç¹å®ã®å€æ°ãŸãã¯ããããã£ã®å€ãšããŠããã«å²ãåœãŠãããªãå Žåã§ã圹ç«ã€ååãèŠã€ããããšããŸãããããã£ãŠãa ã®äžã§å®çŸ©ããã b ãåç
§ããããã« <code><em>a</em>/<em>b</em></code> ã䜿çšããa ã«å²ãåœãŠãããåŒã®ã©ããã§çºçããé¢æ°ãåç
§ããããã« <code><em>a</em><</code> ã䜿çšããŸããäŸãã°ïŒ</p> + + <pre><code>function h() { + var i = function() {}; // display name: h/i + f(function () {}); // display name: h/< +} + +var s = f(function () {}); // display name: s<</code></pre> + </dd> + <dt><code>parameterNames</code></dt> + <dd> + <p>æ瀺察象ããããã°é¢æ°ã®å Žåããã®ãã©ã¡ãŒã¿ã®ååãæååã®é
åãšããŠæå®ããŸããæ瀺察象ããããã°æ©èœã§ãªããããŸã£ããæ©èœããŠããªãå Žåããã㯠<code>undefined</code> ã§ãã</p> + + <p>æ瀺察象ããã©ã¡ãŒã¿åã䜿çšã§ããªããã¹ãé¢æ°ã§ããå Žåã¯ããã©ã¡ãŒã¿ããšã«1ã€ã®èŠçŽ ãæã€é
åãè¿ããŸããããããã®é
å㯠<code>undefined</code> ã§ãã</p> + + <p>åç
§å
ãé¢æ°ãããã·ã®å Žåã¯ã空ã®é
åãè¿ããŸãã</p> + + <p>æ瀺察象ãéæ§é åãã©ã¡ãŒã¿ã䜿çšããå Žåãé
åã®èŠçŽ ã¯ãã©ã¡ãŒã¿ã®æ§é ãåæ ããŸããããšãã°ãåç
§å
ã次ã®ããã«å®£èšãããé¢æ°ã§ããå Žåã</p> + + <pre><code>function f(a, [b, c], {d, e:f}) { ... }</code></pre> + + <p>ãã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã® <code>parameterNames</code> ããããã£ã®å€ã¯æ¬¡ã®ããã«ãªããŸãã</p> + + <pre><code>["a", ["b", "c"], {d:"d", e:"f"}]</code></pre> + </dd> + <dt><code>script</code></dt> + <dd> + <p>åç
§å
ããããã°ã³ãŒãã§ããé¢æ°ã®å Žåã<a href="/ja/docs/Tools/Debugger-API/Debugger.Script" title="Debugger.Script"><code>Debugger.Script</code></a> ã€ã³ã¹ã¿ã³ã¹ãšããŠã®ããã®é¢æ°ã®ã¹ã¯ãªããã§ããåç
§å
ãé¢æ°ãããã·ã§ããããããã°ã³ãŒãã§ãªãå Žåããã㯠<code>undefined</code> ã§ãã</p> + </dd> + <dt><code>environment</code></dt> + <dd> + <p>åç
§å
ããããã°ã³ãŒãã§ããé¢æ°ã§ããå Žåãäœææã«ãã®é¢æ°ãå²ãåå¥ç°å¢ãè¡šã <a href="/ja/docs/Tools/Debugger-API/Debugger.Environment" title="Debugger.Environment"><code>Debugger.Environment</code></a> ã€ã³ã¹ã¿ã³ã¹ãåç
§å
ãé¢æ°ãããã·ã§ããããããã°ã³ãŒãã§ãªãå Žåããã㯠<code>undefined</code> ã§ãã</p> + </dd> + <dt><code>proxyHandler</code></dt> + <dd> + <p>åç
§å
ããããã°ã³ãŒãã«ãã£ãŠå²ãåœãŠããããã³ãã©ãªããžã§ã¯ãã®ãããã·ã§ããå Žåãããã¯ãã³ãã©ãªããžã§ã¯ãã§ãããããã·ã®ããããã£ã®ã¢ã¯ã»ã¹ãå®è£
ããããã«ã¡ãœãããåŒã³åºããããªããžã§ã¯ãã§ããæ瀺察象ãããããã°ã³ãŒãã«ãã£ãŠãã³ãã©ãªããžã§ã¯ããå²ãåœãŠããããããã·ã§ãªãå Žåããã㯠<code>null</code> ã§ãã</p> + </dd> + <dt><code>proxyCallTrap</code></dt> + <dd> + <p>åç
§å
ããããã°ã³ãŒãã«ãã£ãŠãã³ãã©ãªããžã§ã¯ããå²ãåœãŠãããé¢æ°ãããã·ã®å Žåãããã¯ã³ãŒã«ãã©ããé¢æ°ã§ããããã¯é¢æ°ãããã·ãåŒã³åºããããšãã«åŒã³åºãããé¢æ°ã§ããæ瀺察象ãããããã°ã³ãŒãã«ãã£ãŠãã³ãã©ãªããžã§ã¯ããå²ãåœãŠãããé¢æ°ãããã·ã§ãªãå Žåããã㯠<code>null</code> ã§ãã</p> + </dd> + <dt><code>proxyConstructTrap</code></dt> + <dd> + <p>察象ãªããžã§ã¯ãããããã°ã³ãŒãã«ãã£ãŠå²ãåœãŠãããé¢æ°ãããã·ã§ããå Žåããã®æ§ç¯ãã©ããé¢æ°ãã€ãŸãé¢æ°ãããã·ã <code>new</code> ã®åŒãä»ããŠåŒã³åºããããšãã«åŒã³åºãããé¢æ°ãæ瀺察象ãããããã°ã³ãŒãã«ãã£ãŠãã³ãã©ãªããžã§ã¯ããå²ãåœãŠãããé¢æ°ãããã·ã§ãªãå Žåããã㯠<code>null</code> ã§ãã</p> + </dd> + <dt><code>global</code></dt> + <dd> + <p>åç
§å
ãå²ãåœãŠãããã¹ã³ãŒãã®ã°ããŒãã«ãªããžã§ã¯ããåç
§ãã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãããã¯ãã¯ãã¹ã³ã³ããŒãã¡ã³ãã©ãããŒãã¢ã³ã©ããããŸãããåç
§å
ãã©ãããŒã§ããå Žåãçµæã¯ã©ãããŒã®ã°ããŒãã«ã§ãããã©ããããããªããžã§ã¯ãã®ã°ããŒãã«ã§ã¯ãããŸãããçµæã¯ã©ãããŒãä»ããã«ã°ããŒãã«ã«çŽæ¥åç
§ãããŸãã</p> + </dd> + <dt><code>hostAnnotations</code></dt> + <dd> + <p>åç
§å
ã«é¢ããè¿œå ã®ã¡ã¿ããŒã¿ãæäŸãã JavaScript ãªããžã§ã¯ããååšããªãå Žå㯠<code>null</code>ãã¡ã¿ããŒã¿ãªããžã§ã¯ãã¯ããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãšåãã³ã³ããŒãã¡ã³ãã«ãããŸããåãã¡ã¿ããŒã¿ãªããžã§ã¯ãããæå®ããã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã«å¯ŸããŠæ¯åè¿ãããŸãã</p> + + <p>å
žåç㪠JavaScript çµã¿èŸŒã¿ã¯ãã¢ããªã±ãŒã·ã§ã³åºæã®æ©èœãã¹ã¯ãªããã«å
¬éããããã®ããã¹ããªããžã§ã¯ãããæäŸããŸãã<code>hostAnnotations</code> ã¢ã¯ã»ãµã¯ããããã¬ãé¢å¿ãæã£ãŠããå¯èœæ§ãããåç
§å
ã«é¢ããè¿œå æ
å ±ã®åã蟌ã¿ã調ã¹ãŸããè¿ããããªããžã§ã¯ãã®ããããã£ã®æå³ã¯ãåã蟌ã¿ãŸã§ã§ãã ããšãã°ãWeb ãã©ãŠã¶ã¯ãã°ããŒãã«ãªããžã§ã¯ãã®ãã¹ã泚éãæäŸããŠããããã¬ãã«ã®ãŠã£ã³ããŠãiframeãããã³å
éš JavaScript ã¹ã³ãŒããåºå¥ããããšããããŸãã</p> + + <p>èŠçŽã§ã¯ããã¹ãã¢ãããŒã·ã§ã³ãªããžã§ã¯ãã«æååå€ã® <code>"type"</code> ããããã£ããããããã¯ãªããžã§ã¯ãã®ã¯ã©ã¹ãšäžç·ã«ãåç
§å
ãã©ã®ãããªãã®ã§ãããã瀺ããŸãããã¹ãã¢ãããŒã·ã§ã³ãªããžã§ã¯ãã®ä»ã®ããããã£ã¯ãåã«å¿ããŠè©³çŽ°ãæäŸããŸããããšãã°ãFirefox ã§ã¯ãJavaScript ã¢ãžã¥ãŒã«ã®ã°ããŒãã«ãªããžã§ã¯ãã®ã¡ã¿ããŒã¿ãªããžã§ã¯ãã¯æ¬¡ã®ããã«ãªããŸãã</p> + + <pre><code>{ "type":"jsm", "uri":"resource:://gre/modules/XPCOMUtils.jsm" }</code></pre> + + <p>Firefox ã¯ãã®ãã¹ããªããžã§ã¯ãã«å¯Ÿã㊠[DebuggerHostAnnotationsForFirefox annotations] ãæäŸããŸãã</p> + </dd> +</dl> + +<h2 id="Debugger.Object_ãããã¿ã€ãã®é¢æ°ããããã£">Debugger.Object ãããã¿ã€ãã®é¢æ°ããããã£</h2> + +<p>以äžã§èª¬æããé¢æ°ã¯ããã®å€ã䜿çšã㊠<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãåç
§ããå Žåã«ã®ã¿åŒã³åºãããšãã§ããŸããä»ã®çš®é¡ã®ãªããžã§ã¯ãã®ã¡ãœãããšããŠäœ¿çšããããšã¯ã§ããŸããã ãã®èª¬æã§ã¯ãããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã®åç
§å
ããæå³ããããã«ãåç
§å
ãã䜿çšãããŠããŸãã</p> + +<p>ä»ã«æå®ãããŠããªãéãããããã®ã¡ãœããã¯<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame#Invocation_Functions_and_%E2%80%9Cdebugger%E2%80%9D_Frames">åŒã³åºãé¢æ°</a>ã§ã¯ãããŸãããåŒã³åºãã«ãã£ãŠãããã°ã³ãŒããå®è¡ããããš (ãã³ãã©ããããã°ã³ãŒãã§ããã¢ã¯ã»ãµããããã£ãååŸãŸãã¯èšå®ããããããŸãã¯ãããã°ã³ãŒãã§ãããã©ãããæã€ãããã·ã§ãããã)ãã³ãŒã«ã¯ <a href="Conventions#the-debugger.debuggeewouldrun-exception" title="Debugger API: DebuggeeWouldRun"><code>Debugger.DebuggeeWouldRun</code></a> äŸå€ãã¹ããŒããŸãã</p> + +<dl> + <dt><code>getProperty(<em>name</em>)</code></dt> + <dd> + <p>åç
§å
ã®ååä»ãããããã£ã®å€ãè¿ããŸããååããªãå Žå㯠<code>undefined</code> ãè¿ããŸããååã¯æååã§ãªããã°ãªããŸããã çµæã¯ãããã°å€ã§ãã</p> + </dd> + <dt><code>setProperty(<em>name</em>,<em>value</em>)</code></dt> + <dd> + <p>å€ãååšããªãå Žåã¯ããããã£ãäœæããŸããååã¯æååã§ãªããã°ãªãããå€ã¯ãããã°å€ã§ãªããã°ãªããŸããã</p> + </dd> + <dt><code>getOwnPropertyDescriptor(<em>name</em>)</code></dt> + <dd> + <p>åç
§å
ã®nameãšããååã®ããããã£ã®ããããã£èšè¿°åãè¿ããŸããæ瀺察象ã«ãã®ãããªããããã£ããªãå Žå㯠<code>undefined</code> ãè¿ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.getOwnPropertyDescriptor</code> é¢æ°ã®ããã«åäœããŸãããæ€æ»å¯Ÿè±¡ãªããžã§ã¯ãã¯æé»çã§ããè¿ãããããããã£èšè¿°åã¯ããããã¬ã®ã°ããŒãã«ãªããžã§ã¯ãã«ã¹ã³ãŒããããã³ãŒãã«ãã£ãŠå²ãåœãŠãããŸã<br> +  (ãããã£ãŠããããã¬ã®ã³ã³ããŒãã¡ã³ãã«ãããŸã)ããããŠãã® <code>value</code>ã<code>get</code>ã<code>set</code> ããããã£(ååšããå Žå) 㯠debuggee ã®å€ã§ã)ã</p> + </dd> + <dt><code>getOwnPropertyNames()</code></dt> + <dd> + <p>ãããã¬ã§ <code>Object.getOwnPropertyNames(<em>referent</em>)</code> ãåŒã³åºããããã®çµæããããã¬ã®ã°ããŒãã«ãªããžã§ã¯ãã®ã¹ã³ãŒãã«ã³ããŒããããã®ããã«ããã¹ãŠã®åç
§å
ã®ããããã£ãæå®ããæååã®é
åãè¿ããŸãã</p> + </dd> + <dt><code>defineProperty(<em>name</em>,<em>attributes</em>)</code></dt> + <dd> + <p>ããããã£ãã£ã¹ã¯ãªãã¿èšè¿°åã§èª¬æãããŠããããã«ãname ãšããååã®åç
§å
ã«ããããã£ãå®çŸ©ããŸããå±æ§ã® <code>value</code>ã<code>get</code>ãããã³ <code>set</code> ããããã£ã¯ãã¹ãŠãããã°å¯Ÿè±¡ã®å€ã§ãªããã°ãªããŸããã(ãã®é¢æ°ã¯å¯Ÿè±¡ãªããžã§ã¯ããæé»çã§ãé¢æ°ãšèšè¿°åãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ããããšãé€ããŠã<code>Object.defineProperty</code> ã®ããã«åäœããŸã)ã</p> + </dd> + <dt><code>defineProperties(<em>properties</em>)</code></dt> + <dd> + <p>properties ã«ãã£ãŠäžããããããããã£ãåç
§ã«è¿œå ããŸãã(ãã®é¢æ°ã¯ã¿ãŒã²ãããªããžã§ã¯ããæé»çã§ããããšãé€ããŠã<code>Object.defineProperties</code> ã®ããã«åäœããproperties åŒæ°ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãããŸã)ã</p> + </dd> + <dt><code>deleteProperty(<em>name</em>)</code></dt> + <dd> + <p>åç
§ã® name ãšããååã®ããããã£ãåé€ããŸããããããã£ãæ£åžžã«åé€ãããå ŽåããŸãã¯åç
§å
ã«ãã®ãããªããããã£ããªãå Žå㯠true ãè¿ããŸããããããã£ãèšå®å¯èœã§ãªãå Žå㯠false ãè¿ããŸãã</p> + </dd> + <dt><code>seal()</code></dt> + <dd> + <p>ã¬ããžããªãžã®ããããã£ã®è¿œå ãåé€ãé²æ¢ããŸãããããŠãã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãè¿ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.seal</code> é¢æ°ã®ããã«åäœããŸãããå°å°ããããªããžã§ã¯ãã¯æé»çã§ãåŒã³åºãå
ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãããŸã)ã</p> + </dd> + <dt><code>freeze()</code></dt> + <dd> + <p>ããããã£ãåç
§ã«è¿œå ããããåç
§ããåé€ããããããã®ãé²ããåããããã£ãæžã蟌ã¿äžèœãšããŠããŒã¯ããŸãããããŠãã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãè¿ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.freeze</code> é¢æ°ã®ããã«åäœããŸãããå°å°ããããªããžã§ã¯ãã¯æé»çã§ãåŒã³åºãå
ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãããŸã)ã</p> + </dd> + <dt><code>preventExtensions()</code></dt> + <dd> + <p>ã¬ããžããªã«ããããã£ãè¿œå ãããªãããã«ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.preventExtensions</code> é¢æ°ãšåãããã«åäœããŸãããæäœå¯Ÿè±¡ã¯æé»çã§ãåŒã³åºãå
ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãªããŸã)ã</p> + </dd> + <dt><code>isSealed()</code></dt> + <dd> + <p>æ瀺察象ãå°å°ãããŠããå Žåãã€ãŸãæ¡åŒµå¯èœã§ã¯ãªãããã¹ãŠã®ããããã£ãèšå®äžå¯èœãšããŒã¯ãããŠããå Žåã« true ãè¿ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.isSealed</code> é¢æ°ãšåãããã«åäœããŸãããæ€æ»ããããªããžã§ã¯ãã¯æé»çã§ãåŒã³åºãå
ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãããŸã)ã</p> + </dd> + <dt><code>isFrozen()</code></dt> + <dd> + <p>åç
§å
ãåºå®ãããŠããå Žåãã€ãŸãæ¡åŒµå¯èœã§ã¯ãªãããã¹ãŠã®ããããã£ãèšå®äžå¯èœã§èªã¿åãå°çšã§ãããšããŒã¯ãããŠããå Žåã« true ãè¿ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.isSealed</code> é¢æ°ã®ããã«åäœããŸãããæ€æ»ããããªããžã§ã¯ãã¯æé»çã§ãåŒã³åºãå
ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãããŸã)ã</p> + </dd> + <dt><code>isExtensible()</code></dt> + <dd> + <p>åç
§å
ãæ¡åŒµå¯èœã§ããå Žåãã€ãŸãæ°ããåç
§å
ãå®çŸ©å¯èœãªå Žå㯠true ãè¿ããŸãã(ãã®é¢æ°ã¯æšæºã® <code>Object.isExtensible</code> é¢æ°ã®ããã«åäœããŸãããæ€æ»ããããªããžã§ã¯ãã¯æé»çã§ãåŒã³åºãå
ãšã¯ç°ãªãã³ã³ããŒãã¡ã³ãã«ãããŸã)ã</p> + </dd> + <dt><code>copy(<em>value</em>)</code></dt> + <dd> + <p>HTML5 ã® "æ§é åã¯ããŒãã³ã°" ã¢ã«ãŽãªãºã ãé©çšããŠãåç
§ãªããžã§ã¯ãã®ã°ããŒãã«ãªããžã§ã¯ã (ãããã£ãŠåç
§ãªããžã§ã¯ãã®ã³ã³ããŒãã¡ã³ã) ã«å€ã®ã³ããŒãäœæãããã®ã³ããŒãåç
§ãã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãè¿ããŸãã</p> + + <p>ããã¯ããªããã£ãå€ããã®ãŸãŸè¿ããŸããã€ãŸãã<code>Debugger.Object.prototype.copy</code> ããæ§é åã¯ããŒãã³ã°ãã¢ã«ãŽãªãºã ã®å¶éå
ã§ãæ±çšããããã°å€ãããããã°å¯Ÿè±¡å€ãžãå€æé¢æ°ãšããŠäœ¿çšã§ããŸãã</p> + </dd> + <dt><code>create(<em>prototype</em>, [<em>properties</em>])</code></dt> + <dd> + <p>åç
§ãªããžã§ã¯ãã®ã°ããŒãã« (ãããã£ãŠåç
§ãªããžã§ã¯ãã®ã³ã³ããŒãã¡ã³ã) ã«æ°ãããªããžã§ã¯ããäœæãããã®ãªããžã§ã¯ããåç
§ãã <code>Debugger.Object</code> ãè¿ããŸãã<br> + æ°ãããªããžã§ã¯ãã®ãããã¿ã€ã㯠prototype ã§ããããã㯠<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã§ãªããã°ãªããŸããã<br> + æ°ãããªããžã§ã¯ãã®ããããã£ã¯ãããããã£ã <code>Debugger.Object.prototype.defineProperties</code> ã«æž¡ããããã®ããã«ãproperties ã«ãã£ãŠæå®ããããã®ã§ãæ°ãã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã <code>this</code> ã®å€ãšããŠæž¡ãããŸãã</p> + </dd> + <dt><code>makeDebuggeeValue(<em>value</em>)</code></dt> + <dd> + <p>ãããã°å¯Ÿè±¡ã®å€ãè¡šã debuggee å€ãè¿ããŸããvalue ãããªããã£ãã®å Žåããã®ãŸãŸè¿ããŸããvalue ããªããžã§ã¯ãã®å Žåããã® <code>Debugger.Object</code> ã®åç
§å
ã®ã³ã³ããŒãã¡ã³ãã§é©åã«ã©ããããããªããžã§ã¯ããè¡šã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãè¿ããŸãã</p> + + <p>value ããªããžã§ã¯ãã®å Žåã¯ãdebuggee ã°ããŒãã«ã«å²ãåœãŠãããŠããå¿
èŠã¯ãªãããããã°åºç»ã«ãå²ãåœãŠãããŠããå¿
èŠã¯ãããŸããããããã¬ã debuggee å€ãšããŠäœ¿çšãããä»»æã®ãªããžã§ã¯ãã«ããããšãã§ããŸãã</p> + + <p>äžã§èª¬æããããã«ãå <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã¯ãç¹å®ã®ã³ã³ããŒãã¡ã³ãããèŠããšãã«ãã®åç
§ãæ瀺ããŸãã<br> + <code>Debugger.Object</code> ãã€ã³ã¹ã¿ã³ã¹åããããªããžã§ã¯ã o ãäžããããå Žåã<code><em>d</em>.makeDebuggeeValue(<em>o</em>)</code> åŒã³åºãã¯ãdã®åºç»å
ã®ã³ãŒãã瀺ãããã«oãè¡šã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãè¿ããŸãã</p> + </dd> + <dt><code>decompile([<em>pretty</em>])</code></dt> + <dd> + <p>æ瀺察象ããããã°ã³ãŒãã§ããé¢æ°ã§ããå Žåããã®çµæãšãã®çµæã®åç
§é¢æ°ã«çžåœããé¢æ°å®çŸ©ã® JavaScript ãœãŒã¹ã³ãŒããæååãšããŠè¿ããŸããpretty ãååšããçã§ããã°ãã€ã³ãã³ããããã³ãŒããæ¹è¡ã§çæããŸãã åç
§å
ããããã°ã³ãŒãã§ããé¢æ°ã§ãªãå Žåã¯ã<code>undefined</code> ãè¿ããŸãã</p> + </dd> + <dt><code>call(<em>this</em>,<em>argument</em>, ...)</code></dt> + <dd>æ瀺察象ãåŒã³åºãå¯èœã§ããå Žåã¯ããã®å€ãšåŒæ°ã®å€ã䜿çšããŠåŒã³åºãããšãã§ããåŒã³åºããã©ã®ããã«å®äºãããã瀺ã<a href="/ja/docs/Tools/Debugger-API/Conventions#%E5%AE%8C%E4%BA%86%E5%80%A4">å®äºå€</a>ãè¿ããŸããããã¯ãããã°å¯Ÿè±¡ã®å€ããããã¯ã³ã³ã¹ãã©ã¯ã¿ãšããŠåç
§å
ãåŒã³åºãã«ã¯ <code>{ asConstructor: true }</code> ã§ãªããã°ãªããŸãããSpiderMonkey 㯠<code>this</code> ã®å€èªäœãé©åã«æäŸããŸããååŒæ°ã¯ãããã°å¯Ÿè±¡ã®å€ã§ãªããã°ãªããŸãããçŸåãããã¹ãŠã®ãã³ãã©ã¡ãœããããã¬ãŒã¯ãã€ã³ãããŠã©ãããã€ã³ããªã©ã¯ãåŒã³åºãäžãæå¹ãªãŸãŸã§ããåç
§ãåŒã³åºãå¯èœã§ãªãå Žåã¯ã<code>TypeError</code> ãã¹ããŒããŸãããã®é¢æ°ã¯ã<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame#Invocation_Functions_and_%E2%80%9Cdebugger%E2%80%9D_Frames">åŒã³åºãé¢æ°ã®èŠå</a>ã«åŸããŸãã</dd> + <dt><code>apply(<em>this</em>,<em>arguments</em>)</code></dt> + <dd> + <p>æ瀺察象ãåŒã³åºãå¯èœã§ããå Žåã¯ãäžãããããã®å€ãšåŒæ°ã®åŒæ°å€ã§åŒã³åºãããåŒã³åºããã©ã®ããã«å®äºãããã瀺ã<a href="/ja/docs/Tools/Debugger-API/Conventions#%E5%AE%8C%E4%BA%86%E5%80%A4">å®äºå€</a>ãè¿ããŸããããã¯ãããã°å¯Ÿè±¡ã®å€ããããã¯é¢æ°ãã³ã³ã¹ãã©ã¯ã¿ãšããŠåŒã³åºãã«ã¯ <code>{ asConstructor: true }</code> ã§ãªããã°ãªããŸãããSpiderMonkey 㯠<code>this</code> ã®å€èªäœãé©åã«æäŸããŸããåŒæ°ã¯ããããã¬ã®å€ã®é
å (ãããã¬å
ã®é
å) ãŸãã¯ç©ºã®é
åãšããŠæ±ããã <code>null</code> ãŸã㯠<code>undefined</code> ã®ããããã§ãªããã°ãªããŸãããçŸåãããã¹ãŠã®ãã³ãã©ã¡ãœããããã¬ãŒã¯ãã€ã³ãããŠã©ãããã€ã³ããªã©ã¯ãåŒã³åºãäžãæå¹ãªãŸãŸã§ããåç
§ãåŒã³åºãå¯èœã§ãªãå Žåã¯ã<code>TypeError</code> ãã¹ããŒããŸãããã®é¢æ°ã¯ã<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame#Invocation_Functions_and_%E2%80%9Cdebugger%E2%80%9D_Frames">åŒã³åºãé¢æ°ã®èŠå</a>ã«åŸããŸãã</p> + </dd> + <dt><code>evalInGlobal(<em>code</em>, [<em>options</em>])</code></dt> + <dd> + <p>æ瀺察象ãã°ããŒãã«ãªããžã§ã¯ãã§ããå Žåããã®ã°ããŒãã«ç°å¢å
ã®ã³ãŒããè©äŸ¡ããã©ã®ããã«å®äºããããèšè¿°ãã<a href="/ja/docs/Tools/Debugger-API/Conventions#%E5%AE%8C%E4%BA%86%E5%80%A4">è£å®å€</a>ãè¿ããŸãã ã³ãŒãã¯æååã§ãã çŸåãããã¹ãŠã®ãã³ãã©ã¡ãœããããã¬ãŒã¯ãã€ã³ãããŠã©ãããã€ã³ããªã©ã¯ãåŒã³åºãäžãæå¹ãªãŸãŸã§ãã ãã®é¢æ°ã¯ã<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame#Invocation_Functions_and_%E2%80%9Cdebugger%E2%80%9D_Frames">åŒã³åºãé¢æ°ã®èŠå</a>ã«åŸããŸãã åç
§å
ãã°ããŒãã«ãªããžã§ã¯ãã§ãªãå Žåã¯ã<code>TypeError</code> äŸå€ãã¹ããŒããŸãã</p> + + <p>Use Strict ãã£ã¬ã¯ãã£ããå«ãŸããŠããå Žåãã³ãŒãã¯å³å¯ãªã¢ãŒãã³ãŒããšããŠè§£éãããŸãã</p> + + <p>ã³ãŒããå³å¯ãªã¢ãŒãã³ãŒãã§ãªãå Žåãå€æ°å®£èšã¯åç
§ã°ããŒãã«ãªããžã§ã¯ãã«åœ±é¿ãäžããŸãã(ECMAScript ä»æ§ã§äœ¿çšãããŠããçšèªã§ã¯ãè©äŸ¡ã³ãŒãã®å®è¡ã³ã³ããã¹ãã® <code>VariableEnvironment</code> ãåç
§å
ã§ã)</p> + + <p>options åŒæ°ã¯ã<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame#Function_Properties_of_the_Debugger.Frame_Prototype_Object" title="Debugger.Frame: Eval"><code>Debugger.Frame.prototype.eval</code></a> ã®å Žåãšåãã§ãã</p> + </dd> + <dt><code>evalInGlobalWithBindings(<em>code</em>,<em>bindings</em>, [<em>options</em>])</code></dt> + <dd> + <p><code>evalInGlobal</code> ã«äŒŒãŠããŸãããå€æ°ãªããžã§ã¯ããšããŠåç
§å
ã䜿çšããŠã³ãŒããè©äŸ¡ããŸãããlexical ç°å¢ã¯ãªããžã§ã¯ããã€ã³ãã£ã³ã°ããã®ãã€ã³ãã£ã³ã°ã§æ¡åŒµãããŠããŸããå€ã isvalue ã§ãã namedname ãšãããã€ã³ãã£ã³ã°ã®åèªã® enumerable ããããã£ã«ã€ããŠã¯ãlexical ç°å¢ã§ãcode ã namedname ã§è©äŸ¡ããããã®å€ã¯ isvalue ã§ããå€æ°ãã€ã³ã¯ã«ãŒãããŸããåå€ã¯ãããã°å€ã§ãªããã°ãªããŸããã(ãã㯠<code>with</code> æãšäŒŒãŠããŸãããã³ãŒãã¯ãã€ã³ãã£ã³ã°ãªããžã§ã¯ãã«äœã®åœ±é¿ãäžããããšãªããå°å
¥ããããã€ã³ãã£ã³ã°ã«ã¢ã¯ã»ã¹ãå²ãåœãŠãåé€ããããšãã§ããŸã)ã</p> + + <p>ãã®ã¡ãœããã䜿çšãããšããããã¬ã³ãŒãã¯ãæå®ããããããã°ã³ãŒãã§åç
§å¯èœãªäžæçãªãã€ã³ãã£ã³ã°ãå°å
¥ããããšãã§ããŸãããŸããæ¢åã®ãããã°ç°å¢ãå€æŽããããšãªãããããã¬ãä¿æãããããã°ã®å€ãåç
§ã§ããŸãã</p> + + <p><code>evalInGlobal</code> ãšåæ§ã«ã<code>evalInGlobalWithBindings</code> ã«æž¡ãããã³ãŒããå³å¯ãªã¢ãŒãã³ãŒãã§ãªãå Žåãã³ãŒãããã€ã³ãã£ã³ã°ã«åŸã£ãŠæ¡åŒµãããç°å¢ã§è©äŸ¡ãããŠããããã«å«ãŸãã宣èšã¯ãã¹ãŠåç
§å¯Ÿè±¡ã°ããŒãã«ãªããžã§ã¯ãã«åœ±é¿ãäžããŸãã(ECMAScript ä»æ§ã§äœ¿çšãããŠããæ¡ä»¶ã§ã¯ãéå³å¯ãªè©äŸ¡ã³ãŒãã®å®è¡ã³ã³ããã¹ãã® <code>VariableEnvironment</code> ãåç
§å
ã§ããããã€ã³ãã£ã³ã°ã¯è©äŸ¡ã³ãŒãã® <code>LexicalEnvironment</code> ã§ããæ°ãã宣èšç°å¢ã«è¡šç€ºãããŸã)ã</p> + + <p>options åŒæ°ã¯ã<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame#Function_Properties_of_the_Debugger.Frame_Prototype_Object" title="Debugger.Frame: Eval"><code>Debugger.Frame.prototype.eval</code></a> ã®å Žåãšåãã§ãã</p> + </dd> + <dt><code>asEnvironment()</code></dt> + <dd> + <p>åç
§å
ãã°ããŒãã«ãªããžã§ã¯ãã§ããå Žåã¯ãåç
§å
ãè¡šã <a href="/ja/docs/Tools/Debugger-API/Debugger.Environment" title="Debugger.Environment"><code>Debugger.Environment</code></a> ã€ã³ã¹ã¿ã³ã¹ãã³ãŒããè©äŸ¡ããããã®å¯å€ç°å¢ãšããŠè¿ããŸããåç
§å
ãã°ããŒãã«ãªããžã§ã¯ãã§ãªãå Žåã¯ã<code>TypeError</code> ãã¹ããŒããŸãã</p> + </dd> + <dt><code>setObjectWatchpoint(<em>handler</em>)</code><em>(future plan)</em></dt> + <dd> + <p>ãã¹ãŠã®åç
§å
ã®ããããã£ã«ãŠã©ãããã€ã³ããèšå®ããåŒã³åºããã³ãã©ã®ã¡ãœããã§ã€ãã³ããå ±åããŸãããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã®ä»¥åã®ãŠã©ãããã€ã³ããã³ãã©ã¯ãã¹ãŠçœ®ãæããããŸããhandler ã null ã®å Žåãåç
§å
ã¯ç£èŠãããªããªããŸãããã³ãã©ã«ã¯ã以äžã®ã¡ãœããããããŸãã</p> + + <dl> + <dt><code>add(<em>frame</em>,<em>name</em>,<em>descriptor</em>)</code></dt> + <dd> + <p>name ãšããååã®ããããã£ã referent.Descriptor ã«è¿œå ãããŸãããããã¯ã<code>Debugger.Object.prototype.defineProperty</code> ã§åãå
¥ãããããœãŒãã®ããããã£èšè¿°åã§ãæ°ãã«è¿œå ãããããããã£ã®å±æ§ãäžããŸãã</p> + </dd> + <dt><code>delete(<em>frame</em>,<em>name</em>)</code></dt> + <dd> + <p>name ãšããååã®ããããã£ã¯ãåç
§å¯Ÿè±¡ããåé€ãããããšããŠããŸãã</p> + </dd> + <dt><code>change(<em>frame</em>,<em>name</em>,<em>oldDescriptor</em>,<em>newDescriptor</em>)</code></dt> + <dd> + <p>åç
§å
ã®æ¢åã® namedname ãšããååã®ããããã£ã¯ãoldDescriptor ã«ãã£ãŠäžãããããã®ãã newDescriptor ã«ãã£ãŠäžãããããã®ã«å€æŽãããŠããŸãããã®ãã³ãã©ã¡ãœããã¯ãã®å€ä»¥å€ã®ããããã£ã®å±æ§ãå€æŽãããŠããå Žåã«ã®ã¿åŒã³åºãããŸããå€ã ããå€æŽãããŠããå ŽåãSpiderMonkey ã¯ãã³ãã©ã® <code>set</code> ã¡ãœãããåŒã³åºããŸãã</p> + </dd> + <dt><code>set(<em>frame</em>,<em>oldValue</em>,<em>newValue</em>)</code></dt> + <dd> + <p>åç
§å
ã® name ãšããååã®ããŒã¿ããããã£ã¯ãå€ã oldValue ãã newValue ãžå€æŽãããããšããŠããŸãã</p> + + <p>SpiderMonkey ã¯ãæåããããŒã¿ããããã£ãžã®ä»£å
¥ã«å¯ŸããŠã®ã¿ãã®ã¡ãœãããåŒã³åºããŸããæžã蟌ã¿äžå¯èœãªããŒã¿ããããã£ãžã®å²ãåœãŠã¯ããããã¬ã«éç¥ããããšãªã倱æããŸãã</p> + </dd> + <dt><code>extensionsPrevented(<em>frame</em>)</code></dt> + <dd> + <p>ãªããžã§ã¯ãã¯ã<code>Object.preventExtensions</code>ã®åŒã³åºãã«ãããæ¡åŒµäžå¯èœã«ãªããŸãã</p> + </dd> + </dl> + + <p>ãã¹ãŠã®ãŠã©ãããã€ã³ããã³ãã©ã¡ãœããã«ã€ããŠïŒ</p> + + <ul> + <li> + <p>ãã³ãã©åŒã³åºãã¯ã<code>this</code> ã®å€ãšããŠãã³ãã©ãªããžã§ã¯ãèªäœãåãåããŸã</p> + </li> + <li> + <p>Theframe åŒæ°ã¯çŸåšã®ã¹ã¿ãã¯ãã¬ãŒã ã§ããã®ã³ãŒãã¯å ±åããããªããžã§ã¯ãã«å¯ŸããŠæäœãå®è¡ããããšããŠããŸã</p> + </li> + <li> + <p>ã¡ãœããã <code>undefined</code> ãè¿ããå ŽåãSpiderMonkey ã¯ãªããžã§ã¯ãã«å¯ŸããŠéç¥ãããå€æŽãè¡ããæ£åžžã«å®è¡ãç¶è¡ããŸããã¡ãœããããªããžã§ã¯ããè¿ãå ŽåïŒ</p> + </li> + <li> + <p>ãªããžã§ã¯ãã«å€ã true ã§ãã <code>superseded</code> ããããã£ãããå ŽåãSpiderMonkey ã¯éç¥ãããå€æŽãè¡ããŸãã</p> + </li> + <li> + <p>ãªããžã§ã¯ãã« <code>resume</code> ããããã£ãããå Žåããã®å€ã¯<a href="Conventions#resumption-values">åéå€</a>ãšããŠååŸãããå®è¡ã®é²è¡æ¹æ³ã瀺ããŸã (ãã ãã<code>return</code> åéå€ã¯ãµããŒããããŠããŸãã)</p> + </li> + <li> + <p>äžããããã¡ãœããããã³ãã©ã«ãªãå Žåããã®ãœãŒãã®ã€ãã³ãã¯ç¡èŠãããŸãããŠã©ãããã€ã³ããèšå®ããåŸã«ãã³ãã©ã«ã¡ãœãããè¿œå ããããŸãã¯ãã³ãã©ããã¡ãœãããåé€ããããšã¯ã察å¿ããã€ãã³ãã®ã¬ããŒããæå¹ãŸãã¯ç¡å¹ã«ããããã«ãã€ãã³ããçºçãããã³ã«watchpoint consultshandler ã®ããããã£ã§ã</p> + </li> + <li> + <p>ãã³ãã©ã®ã¡ãœããã«æž¡ãããå€ã¯ãããã°å€ã§ãã Handlerã®ã¡ãœããã«æž¡ãããèšè¿°åã¯ããããã¬ã®ã³ã³ããŒãã¡ã³ãå
ã®éåžžã®ãªããžã§ã¯ãã§ããããããã¬ã®å€ã§ããèšè¿°åã® <code>value</code>ã<code>get</code>ãããã³ <code>set</code> ããããã£ã¯äŸå€ã§ã<code>Debugger.Object.prototype.defineProperty</code> ã«ãã£ãŠæåŸ
ãããå€ã®äžçš®ã§ã</p> + </li> + <li> + <p>ãŠã©ãããã€ã³ããã³ãã©ã³ãŒã«ã¯ãã¯ãã¹ã³ã³ããŒãã¡ã³ããªã¹ã¬ããå
ã³ãŒã«ã§ããã³ãŒã«ã¯ããããã£ãå€æŽããã¹ã¬ãããšã€ã³ãã³ãã©ã®ã¡ãœããã®ã³ã³ããŒãã¡ã³ã (éåžžã¯ãããã¬ã®ã³ã³ããŒãã¡ã³ããšåã) ã§è¡ãããŸã</p> + </li> + </ul> + + <p>æ°ãããŠã©ãããã€ã³ãã¯ããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãå±ãã <a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã€ã³ã¹ã¿ã³ã¹ã«å±ããŸãã<a href="/ja/docs/Tools/Debugger" title="The Debugger object"><code>Debugger</code></a> ã€ã³ã¹ã¿ã³ã¹ãç¡å¹ã«ãããšããã®ãŠã©ãããã€ã³ãã¯ç¡å¹ã«ãªããŸãã</p> + </dd> + <dt><code>clearObjectWatchpoint()</code><em>(future plan)</em></dt> + <dd> + <p>æ瀺察象ã«èšå®ãããŠãããªããžã§ã¯ããŠã©ãããã€ã³ãããã¹ãŠåé€ããŸãã</p> + </dd> + <dt><code>setPropertyWatchpoint(<em>name</em>,<em>handler</em>)</code><em>(future plan)</em></dt> + <dd> + <p>ã³ãŒã«å
ãã³ãã©ã®ã¡ãœããã§ã€ãã³ããå ±åãããåç
§å
ã®ããããã£ãŒ (name) ã«ãŠã©ãããã€ã³ããèšå®ããŸãããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã®ãã®ããããã£ã®ä»¥åã®ãŠã©ãããã€ã³ããã³ãã©ã眮ãæããããŸããhandler ã null ã®å Žåãããããã£ã¯ç£èŠãããªããªããŸããHandlerã¯ã<code>extensionsPrevented</code> ã€ãã³ããåãåããªãç¹ãé€ãã <code>Debugger.Object.prototype.setObjectWatchpoint</code> ã«ã€ããŠèª¬æãããšããã§ãã</p> + </dd> + <dt><code>clearPropertyWatchpoint(<em>name</em>)</code><em>(future plan)</em></dt> + <dd> + <p>name ãšããååã®åç
§å
ã®ããããã£ã«èšå®ãããŠãããŠã©ãããã€ã³ãããã¹ãŠåé€ããŸãã</p> + </dd> + <dt><code>unwrap()</code></dt> + <dd> + <p>æ瀺察象ããã® <code>Debugger.Object</code> ã®ã³ã³ããŒãã¡ã³ãã®ã©ãã解é€ãèš±å¯ãããŠããã©ãããŒã®å Žåã¯ãã©ããããããªããžã§ã¯ããåç
§ãã <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ãè¿ããŸããæ瀺察象ã®ã©ããã解é€ã§ããªãå Žå㯠<code>null</code> ãè¿ããŸããæ瀺察象ãã©ãããŒã§ãªãå Žåã¯ããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ããã®ãŸãŸè¿ããŸãã</p> + </dd> + <dt><code>unsafeDereference()</code></dt> + <dd> + <p>ãã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã®åç
§å
ãè¿ããŸãã</p> + + <p>察象ãå
éšãªããžã§ã¯ã (HTML5 <code>Window</code> ãªããžã§ã¯ããªã©) ã§ããå Žåã¯ã察å¿ããå€éšãªããžã§ã¯ã (HTML5 <code>WindowProxy</code> ãªããžã§ã¯ããªã©) ãè¿ããŸããããã«ããã<code>unsafeDereference</code> ã¯ãåŒã³åºãé¢æ°ã䜿çšããã«ãããã°ã³ãŒãã§çŽæ¥äœ¿çšããã®ã«é©ããå€ãçæããã®ã«åœ¹ç«ã¡ãŸãã</p> + ãã®ã¡ãœããã¯ããããã¬ã³ãŒãããããã°ã³ãŒãããä¿è·ããããã® <code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã®ã¡ã³ãã¬ã³ã貫éãããããã¬ã³ãŒãã <code>Debugger.Object</code> ã®ãªãã¬ã¯ã·ã§ã³æåã®ã€ã³ã¿ãŒãã§ã€ã¹ã§ã¯ãªããæšæºã®ã¯ãã¹ã³ã³ããŒãã¡ã³ãã©ãããŒãä»ããŠãããã°ãªããžã§ã¯ãã«ã¢ã¯ã»ã¹ã§ããããã«ããŸãããã®ã¡ãœããã䜿çšãããšã倧ããªã³ãŒãããŒã¹ããã® Debugger API ã«åŸã
ã«é©åãããããšã容æã«ãªããŸããã³ãŒãã®é©åãªéšå㧠<code>Debugger.Object</code> ã€ã³ã¹ã¿ã³ã¹ã䜿çšã§ããŸããããã®ã¡ãœããã䜿çšããŠçŽæ¥æŽæ°ãããŠããªãã³ãŒãã«çŽæ¥ãªããžã§ã¯ãåç
§ãæž¡ããŸãã</dd> +</dl> diff --git a/files/ja/tools/debugger/how_to/access_debugging_in_add-ons/index.html b/files/ja/tools/debugger/how_to/access_debugging_in_add-ons/index.html new file mode 100644 index 0000000000..5730071337 --- /dev/null +++ b/files/ja/tools/debugger/how_to/access_debugging_in_add-ons/index.html @@ -0,0 +1,26 @@ +--- +title: ã¢ããªã³ã§ãããã°ã«ã¢ã¯ã»ã¹ãã +slug: Tools/Debugger/How_to/Access_debugging_in_add-ons +translation_of: Tools/Debugger/How_to/Access_debugging_in_add-ons +--- +<div>{{ToolsSidebar}}</div><div class="warning"> +<p>ãã®ããã¥ã¡ã³ãã§èª¬æããæ¹æ³ã Firefox ã®ã¢ããªã³ã§äœ¿çšããããšã¯ãéæšå¥šã«ããäºå®ã§ãããããã®æ¹æ³ã䜿çšããæ°ããªã¢ããªã³ãäœæããªãã§ãã ããã</p> +</div> + +<p>以äžã®ã¢ã€ãã ã¯ãchrome://browser/content/debugger.xul (ããŒãžã§ã³ 23 以éã§ã¯ chrome://browser/content/devtools/debugger.xul) ã®ã³ã³ããã¹ãã«ã¢ã¯ã»ã¹ã§ããŸã:</p> + +<ul> + <li>window.addEventListener("Debugger:EditorLoaded") - èªã¿åãå°çšã®ã¹ã¯ãªããããã«ãèªã¿èŸŒãŸãããšãã«åŒã³åºãããŸãã</li> + <li>window.addEventListener("Debugger:EditorUnloaded")</li> +</ul> + +<p>é¢é£ãã¡ã€ã«:</p> + +<ul> + <li>chrome://browser/content/devtools/debugger-controller.js</li> + <li>chrome://browser/content/devtools/debugger-toolbar.js</li> + <li>chrome://browser/content/devtools/debugger-view.js</li> + <li>chrome://browser/content/devtools/debugger-panes.js</li> +</ul> + +<p>æ®å¿µãªãããããã°ãè¡ã£ãŠããç¯å²å
ã®ãŠã©ãã/åŒãè©äŸ¡ãã API ãããããã°ãè¡ã£ãŠããç¯å²å
ã®å€æ°ãšããŠåç
§ãããŠãããããŒãžå
ã®èŠçŽ ããã€ã©ã€ããã API ã¯ãŸã ãããŸããã(çŸåšäœæ¥äžã§ããããã° <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=653545" title="https://bugzilla.mozilla.org/show_bug.cgi?id=653545">653545</a> ãã芧ãã ãã)</p> diff --git a/files/ja/tools/debugger/how_to/black_box_a_source/index.html b/files/ja/tools/debugger/how_to/black_box_a_source/index.html new file mode 100644 index 0000000000..0378307727 --- /dev/null +++ b/files/ja/tools/debugger/how_to/black_box_a_source/index.html @@ -0,0 +1,20 @@ +--- +title: ãœãŒã¹ããã©ãã¯ããã¯ã¹åãã +slug: Tools/Debugger/How_to/Black_box_a_source +translation_of: Tools/Debugger/How_to/Ignore_a_source +--- +<p>{{ToolsSidebar}}</p> + +<p>çŸåšã®ãŠã§ãéçºã§ã¯ <a href="http://jquery.com/">jQuery</a>ã<a href="http://emberjs.com/">Ember</a>ã<a href="http://angularjs.org/">Angular</a> ã®ãããªã©ã€ãã©ãªãŒã«é Œãããšãå€ããã©ã€ãã©ãªãŒãå®è¡ããæéã® 99% ã¯âæ£ããåãâãšèããŠãåé¡ãããŸãããç§ãã¡ã¯ããããã®ã©ã€ãã©ãªãŒã®å
éšå®è£
ãæ°ã«ããŸããããããã¯<a href="http://ja.wikipedia.org/wiki/%E3%83%96%E3%83%A9%E3%83%83%E3%82%AF%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9"> ãã©ãã¯ããã¯ã¹ </a>ã®ããã«æ±ããŸãããããèªèº«ã®ã³ãŒããžéããããã«ã¹ã¿ãã¯ãã¬ãŒã ã®ã¹ãããå®è¡ãè¡ã£ãŠãããšããã©ã€ãã©ãªãŒããæœåºããããã®ããããã°ã»ãã·ã§ã³å
ã«èŠããŠããŸããŸãããã©ãã¯ããã¯ã¹åã«ãããéžæãããœãŒã¹ã®è©³çŽ°ããããã¬ãŒã«ç¡èŠãããããšãã§ããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã§ãœãŒã¹ãéžæããŠãå·Šäžã«ããç®çã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã©ãã¯ããã¯ã¹åãæå¹ãŸãã¯ç¡å¹ã«ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13218/debugger-black-box.png" style="display: block; height: 401px; margin-left: auto; margin-right: auto; width: 922px;"></p> + +<p>ãœãŒã¹ããã©ãã¯ããã¯ã¹åãããšä»¥äžã®ããã«ãªããŸã:</p> + +<ul> + <li>ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ããç¡å¹ã«ãªããŸãã</li> + <li><a href="/ja/docs/Tools/Debugger/Settings">ãããã¬ãŒãªãã·ã§ã³</a> ã§âäŸå€çºçã§åæ¢âãæå¹ã§ãããšãããããã¬ãŒã¯ãã©ãã¯ããã¯ã¹åãããœãŒã¹å
ã§äŸå€ãçºçããŠãåæ¢ããŸããã代ããã«ãã¹ã¿ãã¯ã (ååšããå Žåã¯) ãã©ãã¯ããã¯ã¹åããŠããªããœãŒã¹å
ã«ãããã¬ãŒã ã«æ»ããŸã§åŸ
ã¡ãŸãã</li> + <li>ã¹ãããå®è¡ãããšãããããã¬ãŒã¯ãã©ãã¯ããã¯ã¹åãããœãŒã¹ãã¹ãããããŸãã</li> +</ul> diff --git a/files/ja/tools/debugger/how_to/break_on_a_dom_event/index.html b/files/ja/tools/debugger/how_to/break_on_a_dom_event/index.html new file mode 100644 index 0000000000..d784061bb8 --- /dev/null +++ b/files/ja/tools/debugger/how_to/break_on_a_dom_event/index.html @@ -0,0 +1,22 @@ +--- +title: DOM ã€ãã³ãã§ãã¬ãŒã¯ãã +slug: Tools/Debugger/How_to/Break_on_a_DOM_event +translation_of: Tools/Debugger/Break_on_DOM_mutation +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®æ©èœã¯ããŸã æ°ãããããã¬ãŒã§ãµããŒãããŠããŸãããçŸæç¹ã§å¿
èŠã§ããå Žåã¯ãabout:config ã§èšå®é
ç® "devtools.debugger.new-debugger-frontend" ã <code>false</code> ã«èšå®ããŠãå€ããããã¬ãŒã«æ»ãããšãã§ããŸãã</p> + +<p>å€ããããã¬ãŒã®ããã¥ã¡ã³ãã¯ã<a href="/ja/docs/Tools/Debugger_%28before_Firefox_52%29">ãããã¬ãŒ (Firefox 52 ããå)</a> ãã芧ãã ããã</p> +</div> + +<p>ç¹å®ã® DOM ã€ãã³ãããªãã¹ã³ããŠããå Žåã¯ããªã¹ããŒãæ¢ãåºããŠæåã§ãã¬ãŒã¯ãã€ã³ããèšå®ããããšãªããã€ãã³ããçºçãããšãã«ãããã¬ãŒã«ãã¬ãŒã¯ãããããšãã§ããŸãã</p> + +<p>å§ãã«<a href="/ja/docs/Tools/Debugger/UI_Tour#toolbar"> ããŒã«ã㌠</a>äžã®å€æ°/ã€ãã³ããã€ã³ãéããã¿ã³ãã¯ãªãã¯ããŠã<a href="/ja/docs/Tools/Debugger/UI_Tour#Events_pane">ã€ãã³ããã€ã³ </a>ãéããŸãããããŠã"ã€ãã³ã" ã¿ããã¯ãªãã¯ããŸããã€ãã³ããã€ã³ã¯ããªã¹ããŒãå²ãåœãŠãŠãããã¹ãŠã®ã€ãã³ããåæããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13210/debugger-events-pane-annotated.png" style="display: block; height: 334px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>ãããŠããã¬ãŒã¯ããããã€ãã³ãã®é£ã«ããããã¯ã¹ã«ãã§ãã¯ãå
¥ããŠãã ããã</p> + +<p>ã€ãã³ããçºçãããšããªã¹ããŒã®å§ç¹ã§ã³ãŒãããã¬ãŒã¯ããŸãã</p> + +<p>{{EmbedYouTube("f-tbR8kj0K0")}}</p> diff --git a/files/ja/tools/debugger/how_to/breaking_on_exceptions/index.html b/files/ja/tools/debugger/how_to/breaking_on_exceptions/index.html new file mode 100644 index 0000000000..a8d400fdcf --- /dev/null +++ b/files/ja/tools/debugger/how_to/breaking_on_exceptions/index.html @@ -0,0 +1,18 @@ +--- +title: äŸå€ã§åæ¢ãã +slug: Tools/Debugger/How_to/Breaking_on_exceptions +translation_of: Tools/Debugger/How_to/Breaking_on_exceptions +--- +<p>{{ToolsSidebar}}</p> + +<p><a href="/ja/docs/Tools/Debugger/UI_Tour#Toolbar">ããŒã«ããŒ</a> ã§ã¢ã€ã³ã³ <img alt="" src="https://mdn.mozillademos.org/files/14410/debugger-exceptions.png" style="height: 26px; margin-bottom: -7px; width: 25px;"> ãã¯ãªãã¯ãããšã<a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Error">äŸå€</a> ã§åæ¢ããããã«ãããã¬ãŒãæå®ã§ããŸãã</p> + +<p>{{EmbedYouTube("UWIO_UM827k")}}</p> + +<p>ãã¿ã³ã¯ 3 çš®é¡ã®ç¶æ
ããããã¯ãªãã¯ãããã³ã«æ¬¡ã®ç¶æ
ãžåãæ¿ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14416/debugger-exceptions.png" style="height: 26px; margin-bottom: -7px; width: 25px;"> : äŸå€ã§åæ¢ããŸãããããã¯åæç¶æ
ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14412/uncaught-exceptions.png" style="height: 26px; margin-bottom: -7px; width: 25px;"> : <a href="/ja/docs/Web/JavaScript/Reference/Statements/try...catch">ãã£ããããŠããªã</a> äŸå€ã«éãåæ¢ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14414/all-exceptions.png" style="height: 26px; margin-bottom: -7px; width: 25px;"> : ãã¹ãŠã®äŸå€ã§åæ¢ããŸãã</p> diff --git a/files/ja/tools/debugger/how_to/debug_eval_sources/index.html b/files/ja/tools/debugger/how_to/debug_eval_sources/index.html new file mode 100644 index 0000000000..d04bc67890 --- /dev/null +++ b/files/ja/tools/debugger/how_to/debug_eval_sources/index.html @@ -0,0 +1,29 @@ +--- +title: eval ãœãŒã¹ããããã°ãã +slug: Tools/Debugger/How_to/Debug_eval_sources +translation_of: Tools/Debugger/How_to/Debug_eval_sources +--- +<p>{{ToolsSidebar}}</p> + +<p><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/eval"><code>eval()</code></a> ã«æž¡ãããæååã <a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Function"><code>Function</code></a> ã³ã³ã¹ãã©ã¯ã¿ãŒã«æž¡ãããæååãšãã£ããåçã«è©äŸ¡ããã JavaScript ã³ãŒãããããã°ã§ããŸãã</p> + +<p>以äžã®åç»ã§ã¯ããã®ãããªãœãŒã¹ãå«ãããŒãžãèªã¿èŸŒãã§ããŸã:</p> + +<pre class="brush: js">var script = `function foo() { + console.log('called foo'); + } + //# sourceURL=my-foo.js`; + +eval(script); + +var button = document.getElementById("foo"); +button.addEventListener("click", foo, false); +</pre> + +<p>è©äŸ¡ãããæååã¯ã<code>//# sourceURL</code> ãã£ã¬ã¯ãã£ãã䜿çšã㊠"my-foo.js" ãšããå称ãäžããããŸãããã®ãœãŒã¹ã¯ <a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã«è¡šç€ºãããŠãä»ã®ãœãŒã¹ãšåæ§ã«éããããããã°ãããã§ããŸãã</p> + +<p>{{EmbedYouTube("AkvN40-y1NE")}}</p> + +<p>ãœãŒã¹ã®å称ã¯ã<a href="/ja/docs/Tools/Web_Console#Error_messages">ãŠã§ãã³ã³ãœãŒã«</a> ã«çŸããã¹ã¿ãã¯ãã¬ãŒã¹ã§ã衚瀺ãããŸãã</p> + +<p>ãŸããç¡åã® eval ãœãŒã¹å
ã«ãã <code><a href="/ja/docs/Web/JavaScript/Reference/Statements/debugger">debugger;</a></code> æã§ããããã¬ãŒãåæ¢ããŸãã</p> diff --git a/files/ja/tools/debugger/how_to/disable_breakpoints/index.html b/files/ja/tools/debugger/how_to/disable_breakpoints/index.html new file mode 100644 index 0000000000..943c7c3d1f --- /dev/null +++ b/files/ja/tools/debugger/how_to/disable_breakpoints/index.html @@ -0,0 +1,12 @@ +--- +title: ãã¬ãŒã¯ãã€ã³ãã®ç¡å¹å +slug: Tools/Debugger/How_to/Disable_breakpoints +translation_of: Tools/Debugger/How_to/Disable_breakpoints +--- +<p>{{ToolsSidebar}}</p> + +<p>ãã¬ãŒã¯ãã€ã³ãã 1 ã€ç¡å¹åããã«ã¯ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Breakpoints_list">ãã¬ãŒã¯ãã€ã³ãäžèŠ§</a> ã§ãã¬ãŒã¯ãã€ã³ãã®é£ã«ãããã§ãã¯ããã¯ã¹ã®ãã§ãã¯ãå€ããŸãã</p> + +<p>ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ããç¡å¹åããã«ã¯ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Toolbar">ããŒã«ããŒ</a> ã§ã¢ã€ã³ã³ <img alt="" src="https://mdn.mozillademos.org/files/14402/toggle-all.png" style="height: 24px; margin-bottom: -5px; width: 30px;"> ãã¯ãªãã¯ããŸãã</p> + +<p>{{EmbedYouTube("ULoZ70XPd90")}}</p> diff --git a/files/ja/tools/debugger/how_to/examine,_modify,_and_watch_variables/index.html b/files/ja/tools/debugger/how_to/examine,_modify,_and_watch_variables/index.html new file mode 100644 index 0000000000..d0706ef09d --- /dev/null +++ b/files/ja/tools/debugger/how_to/examine,_modify,_and_watch_variables/index.html @@ -0,0 +1,46 @@ +--- +title: å€æ°ã調æ»ãç·šéããŠã©ãããã +slug: 'Tools/Debugger/How_to/Examine,_modify,_and_watch_variables' +translation_of: Tools/Debugger/How_to/Set_Watch_Expressions +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®æ©èœã¯ããŸã æ°ãããããã¬ãŒã§ãµããŒãããŠããŸãããçŸæç¹ã§å¿
èŠã§ããå Žåã¯ãabout:config ã§èšå®é
ç® "devtools.debugger.new-debugger-frontend" ã <code>false</code> ã«èšå®ããŠãå€ããããã¬ãŒã«æ»ãããšãã§ããŸãã</p> + +<p>å€ããããã¬ãŒã®ããã¥ã¡ã³ãã¯ã<a href="/ja/docs/Tools/Debugger_%28before_Firefox_52%29">ãããã¬ãŒ (Firefox 52 ããå)</a> ãã芧ãã ããã</p> +</div> + +<h2 id="Examine_variables" name="Examine_variables">å€æ°ã調æ»ãã</h2> + +<p>ã³ãŒãããã¬ãŒã¯ãã€ã³ãã§åæ¢ãããšãã¯ãããã¬ãŒã® <a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³ </a>ã§ãå€æ°ã®ç¶æ
ã調æ»ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13216/debugger-variables-pane.png" style="display: block; height: 335px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>å€æ°ã¯ã¹ã³ãŒãã«ãã£ãŠã°ã«ãŒãåãããŸã: Function ã¹ã³ãŒãã«ã¯ <code>user</code> ã <code>greeting</code> ãšãã£ãé¢æ°ã§å®çŸ©ããããŒã«ã«å€æ°ã¯ãã¡ããããã«ãã€ã³ã® <code>arguments</code> ããã³ <code>this</code> å€æ°ã衚瀺ããŸããåæ§ã«ã°ããŒãã«ã¹ã³ãŒãã§ã¯ <code>localStorage</code> ã <code>console</code> ãšãã£ããã«ãã€ã³ã®ã°ããŒãã«å€æ°ã ãã§ãªãã<code>greetme</code> ãšãã£ãç¬èªã«å®çŸ©ããã°ããŒãã«å€æ°ã衚瀺ããŸãã</p> + +<p>ããããã®ãªããžã§ã¯ãã¯äžè§å°ãã¯ãªãã¯ãããšãããããã£ã衚瀺ããããã«æ¡åŒµã§ããŸãã</p> + +<p>å€æ°åã«ããŠã¹ãã€ã³ã¿ãŒãéãããšããã®å€æ°ã«é¢ããä»å æ
å ±ãæäŸããããŒã«ãããã衚瀺ããŸãããããã®ããããã£ã®æå³ã«ã€ããŠã詳ãã㯠<a href="/ja/docs/JavaScript/Reference/Global_Objects/Object/defineProperty" title="JavaScript/Reference/Global_Objects/Object/defineProperty"><code>Object.defineProperty()</code></a> ãã芧ãã ããã</p> + +<p><a href="/ja/docs/Tools/Debugger/How_to/Search_and_filter" title="#script-filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> 㧠"*" 修食åã䜿çšãããã(<a href="/ja/docs/Tools/Debugger/Settings" title="#debugger-settings">ãããã¬ãŒã®èšå®</a> ã§æå¹ã«ããŠããå Žåã¯) å€æ°ãã£ã«ã¿ãŒããã¯ã¹ã«å
¥åããããšã§ã衚瀺ããå€æ°ããã£ã«ã¿ãŒã§ããŸãã</p> + +<p>{{EmbedYouTube("dxCvnixpM_Q")}}</p> + +<p>ãœãŒã¹å
ã«ååšããå€æ°ã JavaScript ãšã³ãžã³ã®æé©åã«ããåé€ãããŠããå Žåã¯ãå€æ°ãã¥ãŒã«å€æ°ã衚瀺ããŸããå€ã¯ <code>(optimized away)</code> ãšãªã£ãŠãããç·šéãã§ããŸããã以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãå€æ° <code>upvar</code> ãæé©åã§åé€ãããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10169/optimized-out.png" style="display: block; height: 235px; margin-left: auto; margin-right: auto; width: 332px;"></p> + +<h2 id="Modify_variables" name="Modify_variables">å€æ°ãå€æŽãã</h2> + +<p>ã³ãŒãããã¬ãŒã¯ãã€ã³ãã§åæ¢ãããšãã«ããããã¬ãŒã® <a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³</a> ã§å€æ°ãå€æŽã§ããŸããå€æ°ã®çŸåšã®å€ãã¯ãªãã¯ãããšãããã«å
¥åã§ããããã«ãªããŸã:</p> + +<p>{{EmbedYouTube("FKG-jkvSpq8")}}</p> + +<h2 id="Watch_an_expression" name="Watch_an_expression">åŒããŠã©ãããã</h2> + +<p>ãŠã©ããåŒã¯ãå®è¡ãåæ¢ãããã³ã«è©äŸ¡ãããåŒã§ãããã£ãŠããããã®åŒã®çµæã調æ»ã§ããŸãããããã¯ãã³ãŒãå
ã§å¿
ããã調æ»ãè¡ããç¶æ
ã§ãããšã¯éããªãäžå€éã®èª¿æ»ãã§ããç¹ã圹ã«ç«ã¡ãŸãã"ãŠã©ããåŒãè¿œå " ãšè¡šç€ºãããŠããããã¯ã¹ãã¯ãªãã¯ããŠãã³ãŒããã¹ãããå®è¡ãããšãã«åºåå
容ãç£èŠããã JavaScript åŒãå
¥åããããšã§ããŠã©ããåŒãè¿œå ããŸãã</p> + +<p>ãããŠãã³ãŒãã®å®è¡ãéå§ããŸããã³ãŒãã®ã¹ãããå®è¡ãå§ãããŸã§ãŠã©ããåŒã¯äœãè¡ããŸããã®ã§ããã¬ãŒã¯ãã€ã³ãã«éãããŸã§ã¯äœãèµ·ããŸããããã¬ãŒã¯ãã€ã³ãã«éãããšãã¢ã¯ãã£ããªåŒãšãã®å€ã衚瀺ããããã¯ã¹ãçŸããŸã:</p> + +<p>{{EmbedYouTube("CwGU-5wKRw0")}}</p> + +<p>ã³ãŒããã¹ãããå®è¡ããŠãå€ã®å€åã«å¿ããåŒã®çµæããŠã©ããã§ããŸããå€ãå€ãããã³ã«ãããã¯ã¹ãäžæçã«é»è²ã«å
ããŸããåŒã®é£ã«ãã "x" å°ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããŠã©ããåŒãåé€ã§ããŸãããŸããã¡ããããŠã©ããåŒã¯åæã«è€æ°èšå®ã§ããŸãã</p> diff --git a/files/ja/tools/debugger/how_to/highlight_and_inspect_dom_nodes/index.html b/files/ja/tools/debugger/how_to/highlight_and_inspect_dom_nodes/index.html new file mode 100644 index 0000000000..4c93d720f7 --- /dev/null +++ b/files/ja/tools/debugger/how_to/highlight_and_inspect_dom_nodes/index.html @@ -0,0 +1,16 @@ +--- +title: DOM ããŒãã®ãã€ã©ã€ããšèª¿æ» +slug: Tools/Debugger/How_to/Highlight_and_inspect_DOM_nodes +translation_of: Tools/Debugger/How_to/Highlight_and_inspect_DOM_nodes +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®æ©èœã¯ããŸã æ°ãããããã¬ãŒã§ãµããŒãããŠããŸãããçŸæç¹ã§å¿
èŠã§ããå Žåã¯ãabout:config ã§èšå®é
ç® "devtools.debugger.new-debugger-frontend" ã <code>false</code> ã«èšå®ããŠãå€ããããã¬ãŒã«æ»ãããšãã§ããŸãã</p> + +<p>å€ããããã¬ãŒã®ããã¥ã¡ã³ãã¯ã<a href="/ja/docs/Tools/Debugger_%28before_Firefox_52%29">ãããã¬ãŒ (Firefox 52 ããå)</a> ãã芧ãã ããã</p> +</div> + +<p><a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane">å€æ°ãã€ã³</a> 㧠DOM ããŒãã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžäžã§ãã®ããŒãããã€ã©ã€ã衚瀺ããŸãã</p> + +<p>ãŸããå€æ°ã®é£ã«æšçã®ã¢ã€ã³ã³ã衚瀺ãããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã® DOM ããŒããéžæãã<a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</a> ãéããŸãã</p> + +<p>{{EmbedYouTube("0JWxXp2Qql8")}}</p> diff --git a/files/ja/tools/debugger/how_to/index.html b/files/ja/tools/debugger/how_to/index.html new file mode 100644 index 0000000000..22fe236948 --- /dev/null +++ b/files/ja/tools/debugger/how_to/index.html @@ -0,0 +1,14 @@ +--- +title: ãããã¬ã®äœ¿ãæ¹ +slug: Tools/Debugger/How_to +tags: + - TopicStub +translation_of: Tools/Debugger/How_to +--- +<div>{{ToolsSidebar}}</div> + +<div>ãããã®èšäºã§ã¯ããããã¬ã®äœ¿çšæ¹æ³ã«ã€ããŠèª¬æããŸãã</div> + +<div> </div> + +<p>{{ ListSubpages () }}</p> diff --git a/files/ja/tools/debugger/how_to/open_the_debugger/index.html b/files/ja/tools/debugger/how_to/open_the_debugger/index.html new file mode 100644 index 0000000000..86b3c84cb0 --- /dev/null +++ b/files/ja/tools/debugger/how_to/open_the_debugger/index.html @@ -0,0 +1,16 @@ +--- +title: ãããã¬ãŒãéã +slug: Tools/Debugger/How_to/Open_the_debugger +translation_of: Tools/Debugger/How_to/Open_the_debugger +--- +<p>{{ToolsSidebar}}</p> + +<p>ãããã¬ãŒãéãæ¹æ³ã¯ 3 ã€ãããŸã:</p> + +<ul> + <li>Firefox ã¡ãã¥ãŒã® [ãŠã§ãéçº] ãµãã¡ãã¥ãŒ (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã OS X ã§ã¯ [ããŒã«] ã¡ãã¥ãŒ) 㧠[ãããã¬ãŒ] ãéžæãã</li> + <li>ããŒããŒãã·ã§ãŒãã«ãã <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>S</kbd> (OS X ã§ã¯ <kbd>Command</kbd><kbd>Option</kbd><kbd>S</kbd>) ãæŒäžãã</li> + <li>ã¡ãã¥ãŒãã¿ã³ ( <img alt="new fx menu" class="frameless wiki-image" src="https://support.cdn.mozilla.net/media/uploads/gallery/images/2014-01-10-13-08-08-f52b8c.png" title=""> ) ãæŒäžã㊠[éçºããŒã«]ã[ãããã¬ãŒ] ã®é ã«éžæãã</li> +</ul> + +<p>{{EmbedYouTube("yI5SlVQiZtI")}}</p> diff --git a/files/ja/tools/debugger/how_to/pretty-print_a_minified_file/index.html b/files/ja/tools/debugger/how_to/pretty-print_a_minified_file/index.html new file mode 100644 index 0000000000..0a720e9e07 --- /dev/null +++ b/files/ja/tools/debugger/how_to/pretty-print_a_minified_file/index.html @@ -0,0 +1,20 @@ +--- +title: å§çž®ããããã¡ã€ã«ãæŽåœ¢ãã +slug: Tools/Debugger/How_to/Pretty-print_a_minified_file +tags: + - JavaScript +translation_of: Tools/Debugger/How_to/Pretty-print_a_minified_file +--- +<p>{{ToolsSidebar}}</p> + +<p><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã®ã¢ã€ã³ã³ <img alt="" src="https://mdn.mozillademos.org/files/14406/debugger-prettify.png" style="height: 20px; margin-bottom: -5px; width: 23px;"> ãã¯ãªãã¯ãããšãå§çž®ããã (minified) ãã¡ã€ã«ãæŽåœ¢ããŸãããããã¬ãŒã¯æŽåœ¢ãããœãŒã¹ã衚瀺ããŠã"[original-name]:formatted" ãšãããããªååã®æ°ãããã¡ã€ã«ãšããŠè¡šç€ºããŸãã</p> + +<p>{{EmbedYouTube("6kQrjS82rME")}}</p> + +<article class="approved"> +<div class="boxed translate-rendered text-content"> +<div class="note"> +<p><strong>ã¡ã¢</strong>: ã€ã³ã©ã€ã³ JavaScript ã³ãŒããããããã確èªãããå Žåã¯ãã€ã³ã¹ãã¯ã¿ãã€ã³ã®ã³ãŒããããã«ã¯ãªãã¯ããŠãã ããã</p> +</div> +</div> +</article> diff --git a/files/ja/tools/debugger/how_to/search/index.html b/files/ja/tools/debugger/how_to/search/index.html new file mode 100644 index 0000000000..1f64136a0a --- /dev/null +++ b/files/ja/tools/debugger/how_to/search/index.html @@ -0,0 +1,18 @@ +--- +title: æ€çŽ¢ãã +slug: Tools/Debugger/How_to/Search +translation_of: Tools/Debugger/How_to/Search +--- +<p>{{ToolsSidebar}}</p> + +<h2 id="Searching_for_files" name="Searching_for_files">ãã¡ã€ã«ãæ€çŽ¢ãã</h2> + +<p>ç¹å®ã®ãã¡ã€ã«ãæ€çŽ¢ããã«ã¯ã<kbd>Control</kbd> + <kbd>P</kbd> (Mac ã§ã¯ <kbd>Command</kbd> + <kbd>P</kbd>) ãæŒäžããŠæ€çŽ¢æååãå
¥åããŸããå
¥åå
容ã«å¿ããŠãããããããã¹ãŠã®ãã¡ã€ã«ã <a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã«è¡šç€ºããŸããäžäžç¢å°ããŒã§ãªã¹ãå
ã移åããããšãã§ãã<kbd>Return</kbd> ãæŒäžãããšãã¡ã€ã«ãéããŸã:</p> + +<p>{{EmbedYouTube("xXsfYx0THWg")}}</p> + +<h2 id="Searching_within_a_file" name="Searching_within_a_file">ãã¡ã€ã«å
ã§æ€çŽ¢ãã</h2> + +<p><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã«èªã¿èŸŒãã§ãããã¡ã€ã«å
ã§ç¹å®ã®æååãæ€çŽ¢ããã«ã¯ããœãŒã¹ãã€ã³ã«ãã©ãŒã«ã¹ãããç¶æ
㧠<kbd>Control</kbd> + <kbd>F</kbd> (Mac ã§ã¯ <kbd>Command</kbd> + <kbd>F</kbd>) ãæŒäžããŸãã<kbd>Return</kbd> ãæŒäžãããšæ€çŽ¢ããŸãããããã¬ãŒã¯ã³ãŒãå
ã§ãããããæ°ã衚瀺ããŠãããããã®ç®æãæ ã§å²ã¿ãŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14997/new-search.png" style="display: block; height: 524px; margin-left: auto; margin-right: auto; width: 595px;"></p> diff --git a/files/ja/tools/debugger/how_to/search_and_filter/index.html b/files/ja/tools/debugger/how_to/search_and_filter/index.html new file mode 100644 index 0000000000..7e51a1f3c0 --- /dev/null +++ b/files/ja/tools/debugger/how_to/search_and_filter/index.html @@ -0,0 +1,68 @@ +--- +title: æ€çŽ¢ãšãã£ã«ã¿ +slug: Tools/Debugger/How_to/Search_and_filter +translation_of: Tools/Debugger/How_to/Search +--- +<div>{{ToolsSidebar}}</div><p><a href="/ja/docs/Tools/Debugger/UI_Tour#toolbar">ããŒã«ããŒ</a>ã®ã¹ã¯ãªãããã£ã«ã¿ã䜿çšããŠããããã¬å
ã«ããé
ç®ãæ€çŽ¢ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13214/debugger-filter.png" style="display: block; height: 351px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>æ¥é èŸãã€ããã«æååãå
¥åãããšã<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a>ã«äžèŠ§è¡šç€ºãããŠãããœãŒã¹ããæ€çŽ¢ããŸãã</p> + +<p>ããããã®ç¹æ®æåã«ããæ€çŽ¢æŒç®åãæ¥é èŸãšããŠä»å ããããšã§ãããŸããŸãªæ€çŽ¢æ©èœãæäŸããŸãã</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col">æ¥é èŸ</th> + <th scope="col">æ©èœ</th> + </tr> + </thead> + <tbody> + <tr> + <td>ãªã</td> + <td><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane" title="#source-list-pane">ãœãŒã¹ãªã¹ããã€ã³</a>ã«è¡šç€ºããŠããã¹ã¯ãªããã®çµã蟌ã¿ãè¡ããŸãã</td> + </tr> + <tr> + <td>!</td> + <td>ãã¹ãŠã®ãã¡ã€ã«ããæååãæ€çŽ¢ããŸãã</td> + </tr> + <tr> + <td>@</td> + <td>ãã¹ãŠã®ãã¡ã€ã«ãããæå®ããæååãå«ãé¢æ°å®çŸ©ãæ€çŽ¢ããŸãã</td> + </tr> + <tr> + <td>#</td> + <td> + <p>çŸåš<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a>ã§éããŠãããã¡ã€ã«ããæååãæ€çŽ¢ããŸãã</p> + + <p>æ€çŽ¢ããåŸã« Enter ããŒãæŒäžãããšããããããç®æãå·¡ããŸãã</p> + </td> + </tr> + <tr> + <td>:</td> + <td>çŸåš<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a>ã§éããŠãããã¡ã€ã«ã§ãæå®ããè¡ãžç§»åããŸãã</td> + </tr> + <tr> + <td>*</td> + <td><a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³</a>ã«è¡šç€ºããŠããå€æ°ã®çµã蟌ã¿ãè¡ããŸãã</td> + </tr> + </tbody> +</table> + +<p>ãããã®ãªãã·ã§ã³ã¯ããã£ã«ã¿å
ãã¯ãªãã¯ãããšãã«ãããã¢ãã衚瀺ããŸãããŸãã<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a>ã®ã³ã³ããã¹ãã¡ãã¥ãŒã§ãã¢ã¯ã»ã¹ã§ããŸãã</p> + +<p>æ¥é èŸãçµã¿åãããŠããã匷åãªåãåãããå¯èœã§ããäŸãã°:</p> + +<table class="fullwidth-table standard-table"> + <tbody> + <tr> + <td>file.js:12</td> + <td>"file.js" ãéã㊠12 è¡ç®ãžç§»åããŸãã</td> + </tr> + <tr> + <td>mod#onLoad</td> + <td>ãã¡ã€ã«åã« "mod" ãå«ããã¹ãŠã®ãã¡ã€ã«ãããæåå "onLoad" ãæ€çŽ¢ããŸãã</td> + </tr> + </tbody> +</table> diff --git a/files/ja/tools/debugger/how_to/set_a_breakpoint/index.html b/files/ja/tools/debugger/how_to/set_a_breakpoint/index.html new file mode 100644 index 0000000000..3422962b5e --- /dev/null +++ b/files/ja/tools/debugger/how_to/set_a_breakpoint/index.html @@ -0,0 +1,28 @@ +--- +title: ãã¬ãŒã¯ãã€ã³ããèšçœ®ãã +slug: Tools/Debugger/How_to/Set_a_breakpoint +tags: + - JavaScript + - Tools +translation_of: Tools/Debugger/How_to/Set_a_breakpoint +--- +<p>{{ToolsSidebar}}</p> + +<p>以äžã®ããããã®æ¹æ³ã§ããã¬ãŒã¯ãã€ã³ããèšçœ®ã§ããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ãåæ¢ãããè¡ã®è¡çªå·ãã¯ãªãã¯ããŸãã</li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ãåæ¢ãããè¡ã§ã³ã³ããã¹ãã¡ãã¥ãŒãéã㊠[ãã¬ãŒã¯ãã€ã³ããè¿œå ] ãéžæããŸãã</li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ããã¬ãŒã¯ãã€ã³ããèšçœ®ãããè¡ããã€ã©ã€ãã㊠<kbd>Ctrl</kbd>+<kbd>B</kbd> (Windows/Linux) ãŸã㯠<kbd>Command</kbd>+<kbd>B</kbd> (Mac OS X) ãæŒäžããŸãã</li> +</ul> + +<p>以äžã®åç»ã¯ãã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠãã¬ãŒã¯ãã€ã³ããèšçœ®ããŠããŸã:</p> + +<p>{{EmbedYouTube("P7b98lEijF0")}}</p> + +<p>ããããã®ãã¬ãŒã¯ãã€ã³ãã¯ããããã¬ãŒå
ã® 2 ãæã«è¡šç€ºããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Breakpoints_list">ãã¬ãŒã¯ãã€ã³ãäžèŠ§</a> ã§ããã¬ãŒã¯ãã€ã³ãã®ãã¡ã€ã«åãè¡çªå·ã衚瀺</li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§è¡ã«éè²ã®ç¢å°ã衚瀺ããŸã㯠<a href="/ja/docs/Tools/Debugger/How_to/Set_a_conditional_breakpoint">æ¡ä»¶ä»ã</a> ãã¬ãŒã¯ãã€ã³ãã§ããã°æ©è²ã®ç¢å°ã衚瀺</li> +</ul> diff --git a/files/ja/tools/debugger/how_to/set_a_conditional_breakpoint/index.html b/files/ja/tools/debugger/how_to/set_a_conditional_breakpoint/index.html new file mode 100644 index 0000000000..e0aa4d51a6 --- /dev/null +++ b/files/ja/tools/debugger/how_to/set_a_conditional_breakpoint/index.html @@ -0,0 +1,16 @@ +--- +title: æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®ãã +slug: Tools/Debugger/How_to/Set_a_conditional_breakpoint +translation_of: Tools/Debugger/How_to/Set_a_conditional_breakpoint +--- +<p>{{ToolsSidebar}}</p> + +<p>éåžžã®ãã¬ãŒã¯ãã€ã³ãã¯ãè¡ã«é¢é£ä»ããããŸããããã°ã©ã ããã®è¡ã«éãããšããããã¬ãŒã¯åæ¢ããŸããæ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ãã¯æ¡ä»¶ãé¢é£ä»ããããŠãããæ¡ä»¶ã¯ <a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#Expressions">åŒ</a> ã§è¡šããŸããããã°ã©ã ããã®è¡ã«éãããšãåŒã <code>true</code> ã«è©äŸ¡ãããå Žåã«éããããã¬ãŒãåæ¢ããŸãã</p> + +<p>{{EmbedYouTube("pVPlMhfrMwM")}}</p> + +<p>æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®ããã«ã¯ <a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ã³ã³ããã¹ãã¡ãã¥ãŒãéããŠã[æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããè¿œå ] ãéžæããŸãããããšãåŒãå
¥åã§ããããã¹ãããã¯ã¹ãçŸããŸããæåŸã« <kbd>Return</kbd> ãæŒäžãããšå®äºããŸãã</p> + +<p>æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ãã¯ãè¡çªå·ã«æ©è²ã®ç¢å°ãéããŠè¡šç€ºããŸãã</p> + +<p>ãã¬ãŒã¯ãã€ã³ããã³ã³ããã¹ãã¯ãªãã¯ãããšã[ãã¬ãŒã¯ãã€ã³ããç·šé] ãšããã¡ãã¥ãŒé
ç®ããããŸããæ¢åã®æ¡ä»¶ãå€æŽããããéåžžã®ãã¬ãŒã¯ãã€ã³ãã«æ¡ä»¶ãè¿œå ãããã§ããŸãã</p> diff --git a/files/ja/tools/debugger/how_to/set_watch_expressions/index.html b/files/ja/tools/debugger/how_to/set_watch_expressions/index.html new file mode 100644 index 0000000000..fd232542c4 --- /dev/null +++ b/files/ja/tools/debugger/how_to/set_watch_expressions/index.html @@ -0,0 +1,18 @@ +--- +title: ç£èŠåŒãèšå®ãã +slug: Tools/Debugger/How_to/Set_Watch_Expressions +translation_of: Tools/Debugger/How_to/Set_Watch_Expressions +--- +<p>{{ToolsSidebar}}</p> + +<p>ã³ãŒãã®ãããã°ã§ãå®è¡ãåæ¢ããŠãããšãã«åŒãç£èŠãããšåœ¹ã«ç«ã€ããšããããŸãããããã¬ãŒã«ã¯ãç£èŠããåŒ (ç£èŠåŒ) ãå
¥åãããã€ã³ããããŸããã³ãŒããã¹ãããå®è¡ãããšãããã¬ãŒãåŒãç£èŠããŠããã®çµæãè¿ããŸãã</p> + +<p>ç£èŠåŒãèšå®ããã«ã¯ãç£èŠåŒãµã€ãããŒãå±éã㊠"ç£èŠåŒãè¿œå " ãã¯ãªãã¯ããŸãããããŠãç£èŠãããåŒãããã¹ããã£ãŒã«ãã«å
¥åããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14999/add-watch-expression.png" style="display: block; height: 354px; margin-left: auto; margin-right: auto; width: 417px;"></p> + +<p>ãããã¬ãŒã¯åŒãä¿åããŠãã³ãŒããã¹ãããå®è¡ãããã³ã«ç£èŠããŸãããããã¬ãŒããã¬ãŒã¯ãã€ã³ãã«éãããšãç£èŠåŒã®å€æ°ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15007/watched-expression.png" style="display: block; height: 490px; margin-left: auto; margin-right: auto; width: 966px;"></p> + +<p>ã³ãŒããã¹ãããå®è¡ããããšãã§ããå®è¡ããã³ãŒããå€ãããã³ã«åŒã®å€ãç£èŠããŸããå€ãç£èŠãããã³ã«ãããã¯ã¹ãäžæçã«é»è²ãå
ããŸããåŒã®é£ã«ãã "x" å°ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšç£èŠåŒãåé€ã§ããŸãããŸããåæã«è€æ°ã®ç£èŠåŒãæã€ããšãã§ããŸãã</p> diff --git a/files/ja/tools/debugger/how_to/step_through_code/index.html b/files/ja/tools/debugger/how_to/step_through_code/index.html new file mode 100644 index 0000000000..a36b2a3e64 --- /dev/null +++ b/files/ja/tools/debugger/how_to/step_through_code/index.html @@ -0,0 +1,25 @@ +--- +title: ã³ãŒããã¹ãããå®è¡ãã +slug: Tools/Debugger/How_to/Step_through_code +translation_of: Tools/Debugger/How_to/Step_through_code +--- +<p>{{ToolsSidebar}}</p> + +<p>ãããã¬ãŒããã¬ãŒã¯ãã€ã³ãã§åæ¢ããŠãããšãã«ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Toolbar">ããŒã«ããŒ</a> ã«ãã 4 ã€ã®ãã¿ã³ã䜿çšããŠã¹ãããå®è¡ãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14404/debugger-stepping.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>é çªã«ã以äžã®ãã¿ã³ããããŸã:</p> + +<ul> + <li>埩垰: 次ã®ãã¬ãŒã¯ãã€ã³ããŸã§å®è¡ããŸãã</li> + <li>ã¹ããããªãŒããŒ: åäžé¢æ°å
ã§æ¬¡ã®è¡ãžé²ã¿ãŸãã</li> + <li>ã¹ãããã€ã³: åœè©²è¡ãé¢æ°ã®åŒã³åºãã§ãªããã°ãé¢æ°å
ã§æ¬¡ã®è¡ãžé²ã¿ãŸããé¢æ°ã®åŒã³åºãã§ããå Žåã¯ãåŒã³åºããé¢æ°ã«å
¥ããŸãã</li> + <li>ã¹ãããã¢ãŠã: çŸåšã®é¢æ°ã®çµç«¯ãŸã§å®è¡ããŸãã</li> +</ul> + +<p>{{EmbedYouTube("RQBwEk0-xe0")}}</p> + +<p>äžæåæ¢ããŠãããšãã"ã³ã³ãœãŒã«ãã€ã³ã衚瀺ããŸã" ãã¿ã³ <img alt="" src="https://mdn.mozillademos.org/files/15017/toggle-console.png" style="height: 25px; width: 30px;"> ã§ãŠã§ãã³ã³ãœãŒã«ãééããŠããšã©ãŒãå€æ°ã«ã€ããŠããã«æŽå¯ãåŸãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15019/split-console.png" style="display: block; height: 482px; margin-left: auto; margin-right: auto; width: 900px;"></p> diff --git a/files/ja/tools/debugger/how_to/use_a_source_map/index.html b/files/ja/tools/debugger/how_to/use_a_source_map/index.html new file mode 100644 index 0000000000..f00604d323 --- /dev/null +++ b/files/ja/tools/debugger/how_to/use_a_source_map/index.html @@ -0,0 +1,43 @@ +--- +title: ãœãŒã¹ãããã䜿çšãã +slug: Tools/Debugger/How_to/Use_a_source_map +translation_of: Tools/Debugger/How_to/Use_a_source_map +--- +<p>{{ToolsSidebar}}</p> + +<p>ãã©ãŠã¶ãŒãå®è¡ãã JavaScript ãœãŒã¹ã¯ãéçºè
ãäœæããå
ã®ãœãŒã¹ããäœããã®æ¹æ³ã§å€æãããå ŽåããããŸããäŸãã°:</p> + +<ul> + <li>ããå¹çãããµãŒããŒããæäŸããããã«ã³ã³ãã€ã³ããã³ <a href="https://en.wikipedia.org/wiki/Minification_(programming)">ãããã¡ã€</a> ãããããšããããããŸãã</li> + <li><a href="http://coffeescript.org/">CoffeeScript</a> ã <a href="http://www.typescriptlang.org/">TypeScript</a> ã®ãããªèšèªããã³ã³ãã€ã«ããããã«ãããŒãžã§å®è¡ãã JavaScript ãæ©æ¢°çæãããããšããããŸãã</li> +</ul> + +<p>ãã®ãããªç¶æ³ã§ã¯ããã©ãŠã¶ãŒãããŠã³ããŒãããå€æåŸã®ãœãŒã¹ããããå
ã®ãœãŒã¹ããããã°ããã»ãããšãŠã容æã§ãã<a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">ãœãŒã¹ããã</a> ã¯å€æåŸã®ãœãŒã¹ãšå
ã®ãœãŒã¹ãé¢é£ä»ãããã¡ã€ã«ã§ããããã©ãŠã¶ãŒãå
ã®ãœãŒã¹ãåæ§æããŠããã®ãœãŒã¹ããããã¬ãŒã«æäŸã§ããŸãã</p> + +<p>ãããã¬ãŒã§ãœãŒã¹ãããã䜿çšå¯èœã«ããã«ã¯ã以äžã®ããšãå¿
èŠã§ã:</p> + +<ul> + <li>ãœãŒã¹ããããçæããŸãã</li> + <li>å€æåŸã®ãœãŒã¹ã«ããœãŒã¹ããããæã瀺ãã³ã¡ã³ããå«ããŸããã³ã¡ã³ãã¯ä»¥äžã®ãããªæ§æã§ã:</li> +</ul> + +<pre class="brush: js"><code>//# sourceMappingURL=http://example.com/path/to/your/sourcemap.map</code></pre> + +<p>{{EmbedYouTube("Fqd15gHC4Pg")}}</p> + +<p>äžã®åç»ã§ã¯ <a href="https://mdn.github.io/devtools-examples/sourcemaps-in-console/index.html">https://mdn.github.io/devtools-examples/sourcemaps-in-console/index.html</a> ãèªã¿èŸŒãã§ããŸãããã®ããŒãžã¯ãåãã« CoffeeScript ã§èšè¿°ã㊠JavaScript ã«å€æãã "main.js" ãšããååã®ãœãŒã¹ãèªã¿èŸŒã¿ãŸããå€æåŸã®ãœãŒã¹ã«ã¯ããœãŒã¹ããããæã瀺ã以äžã®ãããªã³ã¡ã³ããå«ãŸããŠããŸã:</p> + +<pre class="brush: js"><code>//# sourceMappingURL=main.js.map</code></pre> + +<p>ãããã¬ãŒã® <a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã§ã¯å
ã® CoffeeScript ãœãŒã¹ã "main.coffee" ãšããŠè¡šç€ºãããŠãã»ãã®ãœãŒã¹ãšåæ§ã«ãããã°ã§ããŸãã</p> + +<p>æåŸã«ããã©ãŠã¶ãŒã®ããŒãžã§ã³ã«ãã£ãŠã¯ about:config ã§ãã®æ©èœãæå¹åããªããã°ãªããªãå ŽåããããŸãã</p> + +<ol> + <li>ãã©ãŠã¶ãŒãéã㊠about:config ãšå
¥åããŸãã<br> + <img alt="How to open about:config inside firefox." src="https://mdn.mozillademos.org/files/14815/about_1.png" style="height: 149px; width: 700px;"></li> + <li>åäœä¿èšŒå¯Ÿè±¡å€ã§ããããšãåãå
¥ããŸãã<br> + <img alt="Accept about:config warranty." src="https://mdn.mozillademos.org/files/14817/about_2.png" style="height: 207px; width: 700px;"></li> + <li><strong>devtools.source-map.locations.enabled</strong> ãæ€çŽ¢ã㊠<strong>true</strong> ã«èšå®ããŸãã<br> + <img alt="Change the sourcemap boolean value for devtools." src="https://mdn.mozillademos.org/files/14819/about_3.png" style="height: 104px; width: 700px;"></li> +</ol> diff --git a/files/ja/tools/debugger/index.html b/files/ja/tools/debugger/index.html new file mode 100644 index 0000000000..bb317e2874 --- /dev/null +++ b/files/ja/tools/debugger/index.html @@ -0,0 +1,72 @@ +--- +title: ãããã¬ãŒ +slug: Tools/Debugger +tags: + - Debugger + - Debugging + - Dev Tools + - Tools + - 'l10n:priority' + - ããŒã« + - ãããã¬ãŒ + - ãããã° + - éçºããŒã« +translation_of: Tools/Debugger +--- +<div>{{ToolsSidebar}}</div> + +<div>JavaScriptãããã¬ã䜿çšãããšãJavaScriptã³ãŒããã¹ãããå®è¡ããŠãã®ç¶æ
ã調ã¹ããå€æŽãããããŠããã°ã远跡ããããšãã§ããŸãã</div> + +<div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 以éã® Firefox Nightly ããã³ Firefox Developer Edition ã§äœ¿çšã§ãã JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p>ããããåã®ããŒãžã§ã³ã® Firefox ã Firefox Beta ããã³ Release ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Debugger_%28before_Firefox_52%29">ãããã¬ãŒ (Firefox 52 ããå)</a> ãã芧ãã ããã</p> + +<p>ãã®ããŒãžã§ã³ã®ãããã¬ãŒã䜿çšã§ããç°å¢ã§æ§ãããã¬ãŒã«æ»ãå¿
èŠãããå Žåã¯ãabout:config ã§èšå®é
ç® "devtools.debugger.new-debugger-frontend" ã« <code>false</code> ãèšå®ããŠãã ããã</p> +</div> + +<p>{{EmbedYouTube("QK4hKWmJVLo")}}</p> + +<p>JavaScript ãããã¬ãŒã§ã¯ããã°ã远究ããããã« JavaScript ã³ãŒãã®ã¹ãããå®è¡ãã³ãŒãã®ç¶æ
ã®èª¿æ»ãŸãã¯å€æŽãå¯èœã§ãã</p> + +<p>Firefox ã§ããŒã«ã«å®è¡ããŠããã³ãŒãããäŸãã° Android ç Firefox ãåäœãã Android ããã€ã¹ãªã©ã®ãªã¢ãŒãã§å®è¡ããŠããã³ãŒãã®ãããã°ã«äœ¿çšã§ããŸããç¹å®ã®ãã©ãŠã¶ãŒã«æ¥ç¶ããæé ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a> ã®ããŒãžãã芧ãã ããã</p> + +<p>ãããã¬ãŒã¯ Firefox ã«å
èµããŠæäŸããŠãããæ¬ããŒãžã§ã¯ Firefox ã«åã蟌ãŸããŠãããããã¬ãŒã®äœ¿çšæ¹æ³ã説æããŸããäžæ¹ããããã¬ãŒã¯ã¹ã¿ã³ãã¢ããŒã³ã®ãŠã§ãã¢ããªã±ãŒã·ã§ã³ãšããŠäœ¿çšããããšãã§ããä»ã®ãã©ãŠã¶ãŒã Node ã§å®è¡ããŠããã³ãŒãããããã°ã§ããŸãã詳ãã㯠<a href="https://github.com/devtools-html/debugger.html">ãããžã§ã¯ãã® GitHub ãªããžããªãŒ</a> ãã芧ãã ããã</p> + +<p>æ°ãããããã¬ãŒã¯ãæ§ãããã¬ãŒã®äžéšæ©èœã (ãŸã ) ãµããŒãããŠããŸããã<a href="/ja/docs/Tools/Debugger/Limitations_of_the_new_debugger">æ°ãããããã¬ãŒã®å¶éäºé
</a> ãã芧ãã ããã</p> + +<hr> +<h2 id="User_Interface_Tour" name="User_Interface_Tour">ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãã¢ãŒ</h2> + +<p>ãããã¬ãŒã«ã€ããŠã²ãšãšããç解ããããã«ã<a href="/ja/docs/Tools/Debugger/UI_Tour">UI ã®ã¯ã€ãã¯ãã¢ãŒ</a> ãçšæããŸããã</p> + +<hr> +<h2 id="How_to" name="How_to">䜿ãæ¹</h2> + +<p>ãããã¬ãŒã§äœãã§ããããç¥ãããã«ã以äžã®ã¬ã€ããã芧ãã ãã:</p> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Debugger/How_to/Open_the_debugger">ãããã¬ãŒãéã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Set_a_breakpoint">ãã¬ãŒã¯ãã€ã³ããèšçœ®ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Set_a_conditional_breakpoint">æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Disable_breakpoints">ãã¬ãŒã¯ãã€ã³ãã®ç¡å¹å</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Step_through_code">ã³ãŒããã¹ãããå®è¡ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Breaking_on_exceptions">äŸå€ã§ãã¬ãŒã¯ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Set_Watch_Expressions">ç£èŠåŒãèšå®ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Pretty-print_a_minified_file">å§çž®ããããã¡ã€ã«ãæŽåœ¢è¡šç€ºãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Search">æ€çŽ¢ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Debug_eval_sources">eval ãœãŒã¹ããããã°ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Use_a_source_map">ãœãŒã¹ãããã䜿çšãã</a></li> +</ul> +</div> + +<hr> +<h2 id="Reference" name="Reference">ãªãã¡ã¬ã³ã¹</h2> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Debugger/Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger/Source_map_errors">ãœãŒã¹ãããã®ãšã©ãŒ</a></li> +</ul> +</div> diff --git a/files/ja/tools/debugger/keyboard_shortcuts/index.html b/files/ja/tools/debugger/keyboard_shortcuts/index.html new file mode 100644 index 0000000000..d152b34a7f --- /dev/null +++ b/files/ja/tools/debugger/keyboard_shortcuts/index.html @@ -0,0 +1,10 @@ +--- +title: ããŒããŒãã·ã§ãŒãã«ãã +slug: Tools/Debugger/Keyboard_shortcuts +translation_of: Tools/Debugger/Keyboard_shortcuts +--- +<div>{{ToolsSidebar}}</div><p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "debugger")}}</p> + +<h2 id="Global_shortcuts" name="Global_shortcuts">å
±éã·ã§ãŒãã«ãã</h2> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "all-toolbox-tools")}}</p> diff --git a/files/ja/tools/debugger/limitations_of_the_new_debugger/index.html b/files/ja/tools/debugger/limitations_of_the_new_debugger/index.html new file mode 100644 index 0000000000..b6ef21e414 --- /dev/null +++ b/files/ja/tools/debugger/limitations_of_the_new_debugger/index.html @@ -0,0 +1,29 @@ +--- +title: æ°ãããããã¬ãŒã®å¶éäºé
+slug: Tools/Debugger/Limitations_of_the_new_debugger +translation_of: Tools/Debugger/Limitations_of_the_new_debugger +--- +<div>{{ToolsSidebar}}</div><p>ããŒãžã§ã³ 52 ãããæ°ãããããã¬ãŒã Firefox ã«å
èµããŠããŸããçŸåšãæ°ãããããã¬ãŒã¯ Firefox Developer Edition ããã³ Firefox Nightly ã®ã¿æå¹åããŠããŸããæ°ãããããã¬ãŒã¯æ§ãããã¬ãŒããé«éãã€ä¿¡é Œæ§ãé«ããå°æ¥ã®éçºã®ããã®åºç€ãæäŸããŸãã</p> + +<p>ããããæ§ãããã¬ãŒã®äžéšæ©èœããŸã ãµããŒãããŠããŸããããã®ããŒãžã§ã¯ãæ°ãããããã¬ãŒã§æªãµããŒãã§ãããæ§ãããã¬ãŒã®æ©èœãæ²èŒããŸãã</p> + +<p>ãããã®æ©èœã®ã»ãšãã©ã¯å°æ¥ã®ãªãªãŒã¹ã§ãµããŒãããäºå®ã§ããããã®ããŒãžã¯é©å®æŽæ°ããŸãã®ã§æ³šæããŠãã ããã</p> + +<p>ãããã®æ©èœã®ãããããå¿
èŠã§ããå Žåã¯ãabout:config ã§èšå®é
ç® "devtools.debugger.new-debugger-frontend" ã« <code>false</code> ãèšå®ãããšãæ§ãããã¬ãŒã«æ»ãããšãã§ããŸãã</p> + +<p>以äžã®æ©èœã¯ãæ°ãããããã¬ãŒã§ãŸã£ãããµããŒãããŠããŸããã</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Break_on_a_DOM_event">DOM ã€ãã³ãã§ãã¬ãŒã¯ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Highlight_and_inspect_DOM_nodes">DOM ããŒãã®ãã€ã©ã€ããšèª¿æ»</a></li> + <li><a href="/ja/docs/Tools/Debugger_(before_Firefox_52)/How_to/Black_box_a_source">ãœãŒã¹ããã©ãã¯ããã¯ã¹åãã</a></li> +</ul> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Search_and_filter">æ€çŽ¢æ©èœ</a> ã¯éšåçã«ãµããŒãããŠããŸãã<a href="/ja/docs/Tools/Debugger/How_to/Search">ãã¡ã€ã«åã®æ€çŽ¢ããã¡ã€ã«å
ã®æååã®æ€çŽ¢</a> ã¯å¯èœã§ãããããã以äžã®æ€çŽ¢ã¯æªãµããŒãã§ã:</p> + +<ul> + <li>ãã¹ãŠã®ãã¡ã€ã«ã«ããã£ãŠæ€çŽ¢ãã</li> + <li>ãã¹ãŠã®ãã¡ã€ã«ã«ããã£ãŠé¢æ°ã®å®çŸ©ãæ€çŽ¢ãã</li> + <li>ç¹å®ã®è¡ã«ç§»åãã</li> + <li>衚瀺ãããŠããå€æ°ããã£ã«ã¿ãªã³ã°ãã</li> +</ul> diff --git a/files/ja/tools/debugger/settings/index.html b/files/ja/tools/debugger/settings/index.html new file mode 100644 index 0000000000..c72bf0da59 --- /dev/null +++ b/files/ja/tools/debugger/settings/index.html @@ -0,0 +1,57 @@ +--- +title: ãªãã·ã§ã³ +slug: Tools/Debugger/Settings +translation_of: Archive/Tools/Debugger_settings +--- +<div>{{ToolsSidebar}}</div><p>ãããã¬ãŒã«ã¯ç¬èªã®èšå®ã¡ãã¥ãŒãããã<a href="/ja/docs/Tools/Debugger/UI_Tour#toolbar">ããŒã«ããŒ</a> äžã®ã¢ã€ã³ã³ããã¢ã¯ã»ã¹ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12930/debugger-options.png" style="display: block; height: 413px; margin-left: auto; margin-right: auto; width: 845px;"></p> + +<p>ããããã®ãªãã·ã§ã³ã¯ããªã³/ãªãã®åãæ¿ãåŒã«ãªã£ãŠããŸã:</p> + +<table class="standard-table"> + <tbody> + <tr> + <td style="width: 40%;"><strong>å§çž®ããããœãŒã¹ãèªåçã«æŽåœ¢è¡šç€º</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã«ãããšããããã¬ã¯å§çž®ããã JS ãã¡ã€ã«ãèªåçã«æ€åºã㊠<a href="/ja/docs/Tools/Debugger/How_to/Pretty-print_a_minified_file">æŽåœ¢ </a>ããŸãã</td> + </tr> + <tr> + <td><strong>äŸå€çºçã§åæ¢</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã§ãããšãã¯ãJavaScript ã®äŸå€ãçºçããéã«ã¹ã¯ãªããã®å®è¡ãèªåçã«åæ¢ããŸãã</td> + </tr> + <tr> + <td><strong>ãã£ããããäŸå€ãç¡èŠ</strong></td> + <td> + <p>ãã®ãªãã·ã§ã³ãæå¹ (ããã©ã«ãã§æå¹) ã«ã㊠"äŸå€çºçã§åæ¢" ãæå¹ã«ãããšããã£ãããããŠããªãäŸå€ã ãã§å®è¡ãåæ¢ããŸãã</p> + + <p>ããã¯éåžžãæãŸããåäœã§ããäŸå€ããã£ããããããšããããšã¯éåžžãããã°ã©ã ãäŸå€ãé©åã«æ±ã£ãŠããããšã瀺ããŸãã®ã§ãäžè¬çã«ãã®ãããªäŸå€ã§ã®åæ¢ã¯æãŸããŸããã</p> + </td> + </tr> + <tr> + <td><strong>èµ·åæã«ãããã¬ãéã</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã§ãããšãã¯ãå§ãã«ãããã¬ãŒãèµ·åããæç¹ã§<a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane" title="#variables-pane"> å€æ°ãã€ã³ </a>ãéãããã«ãªããŸãã</td> + </tr> + <tr> + <td><strong>èšç®å¯èœãªããããã£ã®ã¿è¡šç€º</strong></td> + <td>{{åèªäœµèš("åæå¯èœ", "enumerable")}} ã§ã¯ãªã JavaScript ããããã£ã衚瀺ããŸããã</td> + </tr> + <tr> + <td><strong>å€æ°ãã£ã«ã¿</strong>ãŒ<strong>ããã¯ã¹ã衚瀺</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã«ãããš <a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³ </a>ã« "å€æ°ãæ€çŽ¢" ããã¯ã¹ã衚瀺ãããŸãã®ã§ã衚瀺ãããŠããå€æ°äžèŠ§ããã£ã«ã¿ãŒã§ããŸãã</td> + </tr> + <tr> + <td><strong>å
ã®ãœãŒã¹ã衚瀺</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã«ãããšããããã¬ãŒã¯å¯èœã§ããã° <a class="external external-icon" href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/" title="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">ãœãŒã¹ããã </a>ã䜿çšããŸããããã¯ã³ã³ãã€ã³ããããã¡ã€ãããã㯠CoffeeScript ã®ãããªèšèªããã³ã³ãã€ã«ãã JavaScript ã®ãå
ã®ãœãŒã¹ã³ãŒãã衚瀺ããããã®ãªãã·ã§ã³ã§ããããã©ã«ãã§æå¹ã§ãã</td> + </tr> + <tr> + <td><strong>å§çž®ããããœãŒã¹ãèªåçã«ãã©ãã¯ããã¯ã¹åãã</strong></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 33 ã®æ°æ©èœ</p> + </div> + + <p>URL ã®æ«å°Ÿã ".min.js" ã§ãããœãŒã¹ãã¡ã€ã«ãèªåçã«<a href="/ja/docs/Tools/Debugger/How_to/Black_box_a_source"> ãã©ãã¯ããã¯ã¹å</a> ããŸããããã©ã«ãã§æå¹ã§ãã</p> + </td> + </tr> + </tbody> +</table> diff --git a/files/ja/tools/debugger/source_map_errors/index.html b/files/ja/tools/debugger/source_map_errors/index.html new file mode 100644 index 0000000000..cac996fd0c --- /dev/null +++ b/files/ja/tools/debugger/source_map_errors/index.html @@ -0,0 +1,58 @@ +--- +title: ãœãŒã¹ãããã®ãšã©ãŒ +slug: Tools/Debugger/Source_map_errors +tags: + - Debugger + - ãœãŒã¹ããã + - ããŒã« + - ãããã° + - ãªãã¡ã¬ã³ã¹ + - éçºããŒã« +translation_of: Tools/Debugger/Source_map_errors +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary">ãœãŒã¹ãããã¯JSONãã¡ã€ã«ã§ããã©ãŠã¶ã§èŠãããããã«å€æããããœãŒã¹ããéçºè
ãæžããå
ã®ãœãŒã¹ãšé¢é£ä»ããããšãã§ããŸãããœãŒã¹ããããæäœããéã«åé¡ãçºçããããšããããŸãããã®ããŒãžã§ã¯ãæãäžè¬çãªåé¡ãšãã®è§£æ±ºæ¹æ³ã«ã€ããŠèª¬æããŸãã</p> + +<div class="note"> +<p><strong>泚</strong>: ãœãŒã¹ããããåããŠã®æ¹ã¯ã<a href="/ja/docs/Tools/Debugger/How_to/Use_a_source_map">ãœãŒã¹ãããã®äœ¿ãæ¹</a>ã§è©³çŽ°ãã芧ãã ããã</p> +</div> + +<h2 id="äžè¬çãªãœãŒã¹ãããã®ãšã©ãŒå ±å">äžè¬çãªãœãŒã¹ãããã®ãšã©ãŒå ±å</h2> + +<p>åé¡ãèŠã€ãããšãWebã³ã³ãœãŒã«ã«ã¡ãã»ãŒãžã衚瀺ãããŸãããã®ã¡ãã»ãŒãžã«ã¯ããšã©ãŒã¡ãã»ãŒãžããªãœãŒã¹URLãããã³ãœãŒã¹ãããã®URLã衚瀺ãããŸãã</p> + +<p><img alt="Error from invalid JSON" src="https://mdn.mozillademos.org/files/15423/invalid-json.png" style="border-style: solid; border-width: 1px; display: block; height: 57px; margin: 0px auto; width: 744px;"></p> + +<p>ããã§ãªãœãŒã¹URLã¯ã<code>bundle.js</code>ã«ãœãŒã¹ããããèšè¿°ãããŠããããšã瀺ããŠããŸãããœãŒã¹ãããURLã¯ããœãŒã¹ãããããŒã¿ã®å ŽæïŒãã®å Žåã¯ãªãœãŒã¹ãšã®çžå¯Ÿäœçœ®ïŒã瀺ããŸãããã®ãšã©ãŒã¯ããœãŒã¹ããããJSONããŒã¿ã§ã¯ãªãããšã瀺ããŠãããããééã£ããã¡ã€ã«ãæäŸããŠããããšã«ãªããŸãã</p> + +<p>ãœãŒã¹ããããééã£ãŠããããšãããäžè¬çãªæ¹æ³ãããã€ããããŸãã 次ã®ã»ã¯ã·ã§ã³ã§è©³ãã説æããŸãã</p> + +<h2 id="ãœãŒã¹ããããèŠã€ãããªããã¢ã¯ã»ã¹ã§ããªã">ãœãŒã¹ããããèŠã€ãããªããã¢ã¯ã»ã¹ã§ããªã</h2> + +<p>ãœãŒã¹ããããªãœãŒã¹ãèŠã€ãããªãããŸãã¯ã¢ã¯ã»ã¹ã§ããªãå¯èœæ§ããããŸãã</p> + +<p><img alt="Source map file is missing" src="https://mdn.mozillademos.org/files/15429/missing-map.png" style="border-style: solid; border-width: 1px; display: block; height: 42px; margin: 0px auto; width: 733px;"></p> + +<p>ããã§ã¯ãã¡ã€ã«ãæäŸãããŠããããšã確èªãããã©ãŠã¶ãã¢ã¯ã»ã¹ã§ããããã«ããããšã§ä¿®æ£ããŸãã</p> + +<h2 id="äžæ£ãªãœãŒã¹ããã">äžæ£ãªãœãŒã¹ããã</h2> + +<p>ãœãŒã¹ãããããŒã¿ã¯ãåã«JSONãã¡ã€ã«ã§ã¯ãªããäžæ£ãªæ§é ã§ãã£ãæã«ç¡å¹ã«ãªãå¯èœæ§ããããŸããäžè¬çãªãšã©ãŒã¡ãã»ãŒãžã¯æ¬¡ã®ãšããã§ãã</p> + +<ul> + <li><code>SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data</code></li> + <li><code>Error: "version" is a required argument</code></li> +</ul> + +<p><img alt='Error: "version" is a required argument' src="https://mdn.mozillademos.org/files/15425/missing-field.png" style="border-style: solid; border-width: 1px; display: block; height: 45px; margin: 0px auto; width: 743px;"></p> + +<h2 id="å
ã®ãœãŒã¹ããªã">å
ã®ãœãŒã¹ããªã</h2> + +<p>å
ã®ãœãŒã¹ãäžè¶³ããŠããå¯èœæ§ããããŸãããããã¬ã§å
ã®ãœãŒã¹ã®1ã€ãéãããšãããšããã®åé¡ãçºçããããšããããŸãããã®å Žåãã¡ãã»ãŒãžã¯å°ãéã£ãŠèŠããŸãïŒ</p> + +<p><img alt="Debugger source tab showing the error" src="https://mdn.mozillademos.org/files/15421/Screenshot%20from%202017-09-15%2014-32-02.png" style="border-style: solid; border-width: 1px; display: block; height: 35px; margin: 0px auto; width: 727px;"></p> + +<p>ãã®å Žåããšã©ãŒã¯ãããã¬ã®ãœãŒã¹ã¿ãã«ã衚瀺ãããŸãã</p> + +<p><img alt="Debugger source tab showing the error" src="https://mdn.mozillademos.org/files/15427/debugger-tab.png" style="border-style: solid; border-width: 1px; display: block; height: 109px; margin: 0px auto; width: 616px;"></p> diff --git a/files/ja/tools/debugger/ui_tour/index.html b/files/ja/tools/debugger/ui_tour/index.html new file mode 100644 index 0000000000..87b9f58919 --- /dev/null +++ b/files/ja/tools/debugger/ui_tour/index.html @@ -0,0 +1,110 @@ +--- +title: UI ãã¢ãŒ +slug: Tools/Debugger/UI_Tour +translation_of: Tools/Debugger/UI_Tour +--- +<p>{{ToolsSidebar}}</p> + +<p>æ¬èšäºã¯ãJavaScript ãããã¬ãŒã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã®äž»èŠéšã玹ä»ããã¯ã€ãã¯ãã¢ãŒã§ããUI ã¯ã瞊㫠3 ã€ã®ããã«ãžåãããŠããŸãã</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a></li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a></li> + <li>3 çªç®ã®ãã€ã³ã¯ãããã« 4 ã€ã®ã»ã¯ã·ã§ã³ã«åãããŸã: + <ul> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Toolbar">ããŒã«ããŒ</a></li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Breakpoints_list">ãã¬ãŒã¯ãã€ã³ãäžèŠ§</a></li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Call_stack">ã³ãŒã«ã¹ã¿ãã¯</a></li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Scopes">ã¹ã³ãŒã</a></li> + </ul> + </li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14977/debugger-screen-main-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<h2 id="Source_list_pane" name="Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</h2> + +<p>ãœãŒã¹ãªã¹ããã€ã³ã§ã¯ãããŒãžã«èªã¿èŸŒãŸãããã¹ãŠã® JavaScript ãœãŒã¹ãã¡ã€ã«ãäžèŠ§è¡šç€ºããŠããããããã°ãããã¡ã€ã«ãéžæã§ããŸãããœãŒã¹ã¯ãããã¬ãã«ã§ãªãªãžã³å¥ã«åé¡ããŠããããŸããã®é
äžã§ã¯ããœãŒã¹ãæäŸãããã£ã¬ã¯ããªãŒã®æ§é å¥ã«åé¡ããŠããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14975/debugger-source-list-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<p><kbd>Ctrl</kbd> + <kbd>P</kbd> (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>P</kbd>) ã䜿çšã㊠<a href="/ja/docs/Tools/Debugger/How_to/Search#Searching_for_files">ãã¡ã€ã«ãæ€çŽ¢</a> ã§ããŸãã</p> + +<p> </p> + +<p>èå³ã®ãããã£ã¬ã¯ããªãå³ã¯ãªãã¯ãã[Set directory root] ãéžæãããšã[Source] ãªã¹ããã€ã³ã®ãã¡ã€ã«ãªã¹ããç°¡çŽ åãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16122/directory-root.png" style="border-style: solid; border-width: 1px; height: 408px; width: 480px;"></p> + +<p>ããã§ãœãŒã¹ãªã¹ããã€ã³ã®ã«ãŒãããããžã§ã¯ãã®ã«ãŒãã«ãªããããã¯ãªãŒã³ã§ç°¡åã«è¡šç€ºãããã²ãŒãã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16123/directory-root-02.png" style="border-style: solid; border-width: 1px; height: 408px; width: 480px;"></p> + +<h3 id="ã¢ãŠãã©ã€ã³ãã¥ãŒ">ã¢ãŠãã©ã€ã³ãã¥ãŒ</h3> + +<p>ã¢ãŠãã©ã€ã³ãã¥ãŒã«ã¯ãçŸåšéããŠãããã¡ã€ã«ãããã²ãŒãããããã®ããªãŒã衚瀺ãããŸããããã䜿çšããŠãé¢æ°ãã¯ã©ã¹ãŸãã¯ã¡ãœããå®çŸ©ã«çŽæ¥ãžã£ã³ãããŸãã</p> + +<p> </p> + +<h2 id="Source_pane" name="Source_pane">ãœãŒã¹ãã€ã³</h2> + +<p>ããã¯ãçŸåšèªã¿èŸŒãã§ãã JavaScript ãã¡ã€ã«ã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14973/debugger-source-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<p>ãœãŒã¹ãã€ã³ã«ãã©ãŒã«ã¹ããããšãã«ã<kbd>Ctrl</kbd> + <kbd>F</kbd> (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>F</kbd>) ã䜿çšã㊠<a href="/ja/docs/Tools/Debugger/How_to/Search#Searching_within_a_file">ãã¡ã€ã«å
ã®æååãæ€çŽ¢</a> ã§ããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger/How_to/Set_a_breakpoint">ãã¬ãŒã¯ãã€ã³ã</a> ã¯ãéè²ã®ç¢å°ãè¡çªå·ã«éããŠè¡šç€ºããŸãã<a href="/ja/docs/Tools/Debugger/How_to/Set_a_conditional_breakpoint">æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ã</a> ã¯ãæ©è²ã®ç¢å°ã§ãããã¬ãŒã¯ãã€ã³ãã§åæ¢ãããšãè¡å
šäœãç·è²ã«ãªããŸãã以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã«ã¯ããã¬ãŒã¯ãã€ã³ãã 3 ãæãããŸã:</p> + +<ul> + <li>19 è¡ç®ã¯éåžžã®ãã¬ãŒã¯ãã€ã³ãã§ãã</li> + <li>40 è¡ç®ã¯éåžžã®ãã¬ãŒã¯ãã€ã³ãã§ããããããã¬ãŒã¯ããã§åæ¢ããŠããŸãã</li> + <li>22 è¡ç®ã¯æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ãã§ãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14981/debugger-main-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<h2 id="Toolbar" name="Toolbar"><a name="toolbar">ããŒã«ããŒ</a></h2> + +<p>å³åŽã®ãã€ã³ã®äžéšã«ããŒã«ããŒããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14971/debugger-toolbar-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<p>ããŒã«ããŒã®æ§æã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger/How_to/Step_through_code">ã¹ã¯ãªããå
ã§ãããã¬ãŒã®åäœãå¶åŸ¡ãã</a> 4 ã€ã®ãã¿ã³: + + <ul> + <li><strong>埩垰/åæ¢</strong> (F8): ãããã°äžã®ã¹ã¯ãªããã®å®è¡ãåæ¢ããã³åéããŸãã[埩垰] ã¢ã€ã³ã³ã衚瀺ãããŠãããšãã¯ããã®ãã¿ã³ã䜿çšããŠåæ¢ããããã¬ãŒã¯ãã€ã³ãã«åœãã£ãããã«ã¹ã¯ãªãããåæ¢ããŠããŸãã</li> + <li><strong>ã¹ããããªãŒããŒ</strong> (F10): JavaScript ã³ãŒãã§çŸåšã®è¡ãã¹ãããå®è¡ããŸãã</li> + <li><strong>ã¹ãããã€ã³</strong> (F11): JavaScript ã§çŸåšã®è¡ã«ããé¢æ°åŒã³åºãã«ã¹ãããããŸãã</li> + <li><strong>ã¹ãããã¢ãŠã</strong> (Shift-F11): çŸåšã®é¢æ°ãæãããŸã§ãã¹ã¯ãªãããå®è¡ããŸãã</li> + </ul> + </li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Breaking_on_exceptions">(1) ãã¹ãŠã®äŸå€ãç¡èŠããã(2) ãã£ããããŠããªãäŸå€ã§åæ¢ããã(3) ãã¹ãŠã®äŸå€ã§åæ¢ãã</a> ãåãæ¿ãããã¿ã³</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14979/debugger-toolbar-zoom-2.png" style="display: block; height: 231px; margin-left: auto; margin-right: auto; width: 536px;"></p> + +<h2 id="Breakpoints_list" name="Breakpoints_list">ãã¬ãŒã¯ãã€ã³ãäžèŠ§</h2> + +<p>ããŒã«ããŒã®äžã«ãèšå®ãããã¹ãŠã®ãã¬ãŒã¯ãã€ã³ãã衚瀺ããŸããããããã®ãã¬ãŒã¯ãã€ã³ãã®é£ã«ã<a href="/ja/docs/Tools/Debugger/How_to/Disable_breakpoints">ãã¬ãŒã¯ãã€ã³ãã®æå¹/ç¡å¹ãåãæ¿ãã</a> ãã§ãã¯ããã¯ã¹ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14969/debugger-breakpoints-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<h2 id="Call_stack" name="Call_stack">ã³ãŒã«ã¹ã¿ãã¯</h2> + +<p>ãããã¬ãŒãåæ¢ãããšãã«ãã³ãŒã«ã¹ã¿ãã¯ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14967/debugger-call-stack-2.png" style="display: block; height: 1138px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<p>ã³ãŒã«ã¹ã¿ãã¯ã¯ããããã®ã¬ãã«ã« 1 è¡ãã€å²ãåœãŠãŠãããé¢æ°åã»ãã¡ã€ã«åã»è¡çªå·ã衚瀺ããŸããè¡ãã¯ãªãã¯ãããšããœãŒã¹ãã€ã³ã§ãœãŒã¹ãéããŸãã</p> + +<h2 id="Scopes" name="Scopes">ã¹ã³ãŒã</h2> + +<p>å³åŽã®ãã€ã³ã«ãå±éçšã®äžè§å°ãã€ããŠãã "ã¹ã³ãŒã" ãšããã©ãã«ããããŸãããããã¬ãŒãåæ¢ãããšãã«ãã®ã»ã¯ã·ã§ã³ãå±éãããšãããã°ã©ã ã®ãã®æç¹ã§ã¹ã³ãŒãå
ã«ååšãããã¹ãŠã®ãªããžã§ã¯ãã確èªã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14965/debugger-scopes-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 1113px;"></p> + +<p>ãªããžã§ã¯ãã¯ã¹ã³ãŒãå¥ã«åé¡ããŸãããã£ãšãããŒã«ã«æ§ãé«ããªããžã§ã¯ããæåã«ããŸãã°ããŒãã«ã¹ã³ãŒã (ããŒãžã®ã¹ã¯ãªããã§ã¯ Window) ãæåŸã«è¡šç€ºããŸãã</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/disable_breakpoints/index.html b/files/ja/tools/debugger_(before_firefox_52)/disable_breakpoints/index.html new file mode 100644 index 0000000000..88d3b0d7bb --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/disable_breakpoints/index.html @@ -0,0 +1,18 @@ +--- +title: ãã¬ãŒã¯ãã€ã³ãã®ç¡å¹å +slug: Tools/Debugger_(before_Firefox_52)/Disable_breakpoints +translation_of: Tools/Debugger_(before_Firefox_52)/Disable_breakpoints +--- +<div>{{ToolsSidebar}}</div> + +<p>ãã¬ãŒã¯ãã€ã³ããç¡å¹ã«ããã«ã¯ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a>ã§ãã¬ãŒã¯ãã€ã³ãã®ãšã³ããªã®æšªã«ãããã§ãã¯ããã¯ã¹ããªãã«ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13204/debugger-disable.png" style="display: block; height: 335px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>ãŸãã¯ãããŠã¹ãã€ã³ã¿ããœãŒã¹ãªã¹ããã€ã³ã®ãã¬ãŒã¯ãã€ã³ãã®ãšã³ããªã®äžã«ãããšãã«ã³ã³ããã¹ãã¡ãã¥ãŒãã¢ã¯ãã£ãã«ãã"Disable breakpoint"ãéžæããŸãã</p> + +<p>ãã¬ãŒã¯ãã€ã³ããè¡šãç¢å°ãã¯ãªãã¯ããã ãã§ãã¬ãŒã¯ãã€ã³ããåé€ããããšãã§ããŸãã</p> + +<p>ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ããç¡å¹/æå¹ã«ããã«ã¯ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a>ã§"Toggle all breakpoints"ãã¿ã³ã䜿çšããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13206/debugger-toggle-all.png" style="display: block; height: 415px; margin-left: auto; margin-right: auto; width: 904px;"></p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/access_debugging_in_add-ons/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/access_debugging_in_add-ons/index.html new file mode 100644 index 0000000000..573456e364 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/access_debugging_in_add-ons/index.html @@ -0,0 +1,32 @@ +--- +title: ã¢ããªã³ã§ãããã°ã«ã¢ã¯ã»ã¹ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Access_debugging_in_add-ons +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Access_debugging_in_add-ons +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<div class="warning"> +<p>ãã®ããã¥ã¡ã³ãã§èª¬æããæ¹æ³ã Firefox ã®ã¢ããªã³ã§äœ¿çšããããšã¯ãéæšå¥šã«ããäºå®ã§ãããããã®æ¹æ³ã䜿çšããæ°ããªã¢ããªã³ãäœæããªãã§ãã ããã</p> +</div> + +<p>以äžã®ã¢ã€ãã ã¯ãchrome://browser/content/debugger.xul (ããŒãžã§ã³ 23 以éã§ã¯ chrome://browser/content/devtools/debugger.xul) ã®ã³ã³ããã¹ãã«ã¢ã¯ã»ã¹ã§ããŸã:</p> + +<ul> + <li>window.addEventListener("Debugger:EditorLoaded") - èªã¿åãå°çšã®ã¹ã¯ãªããããã«ãèªã¿èŸŒãŸãããšãã«åŒã³åºãããŸãã</li> + <li>window.addEventListener("Debugger:EditorUnloaded")</li> +</ul> + +<p>é¢é£ãã¡ã€ã«:</p> + +<ul> + <li>chrome://browser/content/devtools/debugger-controller.js</li> + <li>chrome://browser/content/devtools/debugger-toolbar.js</li> + <li>chrome://browser/content/devtools/debugger-view.js</li> + <li>chrome://browser/content/devtools/debugger-panes.js</li> +</ul> + +<p>æ®å¿µãªãããããã°ãè¡ã£ãŠããç¯å²å
ã®ãŠã©ãã/åŒãè©äŸ¡ãã API ãããããã°ãè¡ã£ãŠããç¯å²å
ã®å€æ°ãšããŠåç
§ãããŠãããããŒãžå
ã®èŠçŽ ããã€ã©ã€ããã API ã¯ãŸã ãããŸããã(çŸåšäœæ¥äžã§ããããã° <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=653545" title="https://bugzilla.mozilla.org/show_bug.cgi?id=653545">653545</a> ãã芧ãã ãã)</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/black_box_a_source/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/black_box_a_source/index.html new file mode 100644 index 0000000000..f16826cf46 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/black_box_a_source/index.html @@ -0,0 +1,28 @@ +--- +title: ãœãŒã¹ããã©ãã¯ããã¯ã¹åãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Black_box_a_source +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Black_box_a_source +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>çŸåšã®ãŠã§ãéçºã§ã¯ <a href="http://jquery.com/">jQuery</a>ã<a href="http://emberjs.com/">Ember</a>ã<a href="http://angularjs.org/">Angular</a> ã®ãããªã©ã€ãã©ãªãŒã«é Œãããšãå€ããã©ã€ãã©ãªãŒãå®è¡ããæéã® 99% ã¯âæ£ããåãâãšèããŠãåé¡ãããŸãããç§ãã¡ã¯ããããã®ã©ã€ãã©ãªãŒã®å
éšå®è£
ãæ°ã«ããŸããããããã¯<a href="http://ja.wikipedia.org/wiki/%E3%83%96%E3%83%A9%E3%83%83%E3%82%AF%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9"> ãã©ãã¯ããã¯ã¹ </a>ã®ããã«æ±ããŸãããããèªèº«ã®ã³ãŒããžéããããã«ã¹ã¿ãã¯ãã¬ãŒã ã®ã¹ãããå®è¡ãè¡ã£ãŠãããšããã©ã€ãã©ãªãŒããæœåºããããã®ããããã°ã»ãã·ã§ã³å
ã«èŠããŠããŸããŸãããã©ãã¯ããã¯ã¹åã«ãããéžæãããœãŒã¹ã®è©³çŽ°ããããã¬ãŒã«ç¡èŠãããããšãã§ããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã§ãœãŒã¹ãéžæããŠãå·Šäžã«ããç®çã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã©ãã¯ããã¯ã¹åãæå¹ãŸãã¯ç¡å¹ã«ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13218/debugger-black-box.png" style="display: block; height: 401px; margin-left: auto; margin-right: auto; width: 922px;"></p> + +<p><a href="/ja/docs/Tools/GCLI">éçºããŒã«ããŒ</a> ãéã㊠<code>dbg blackbox</code> ã³ãã³ãã䜿çšãããšãè€æ°ã®ãœãŒã¹ããŸãšããŠãã©ãã¯ããã¯ã¹åã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5997/command.png" style="display: block; height: 48px; margin-left: auto; margin-right: auto; width: 537px;"></p> + +<p>ãœãŒã¹ããã©ãã¯ããã¯ã¹åãããšä»¥äžã®ããã«ãªããŸã:</p> + +<ul> + <li>ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ããç¡å¹ã«ãªããŸãã</li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Settings">ãããã¬ãŒãªãã·ã§ã³</a> 㧠[äŸå€çºçã§åæ¢] ãæå¹ã§ãããšãããããã¬ãŒã¯ãã©ãã¯ããã¯ã¹åãããœãŒã¹å
ã§äŸå€ãçºçããŠãåæ¢ããŸããã代ããã«ãã¹ã¿ãã¯ã (ååšããå Žåã¯) ãã©ãã¯ããã¯ã¹åããŠããªããœãŒã¹å
ã«ãããã¬ãŒã ã«æ»ããŸã§åŸ
ã¡ãŸãã</li> + <li>ã¹ãããå®è¡ãããšãããããã¬ãŒã¯ãã©ãã¯ããã¯ã¹åãããœãŒã¹ãã¹ãããããŸãã</li> +</ul> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/break_on_a_dom_event/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/break_on_a_dom_event/index.html new file mode 100644 index 0000000000..706d844280 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/break_on_a_dom_event/index.html @@ -0,0 +1,22 @@ +--- +title: DOM ã€ãã³ãã§ãã¬ãŒã¯ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Break_on_a_DOM_event +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Break_on_a_DOM_event +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>ç¹å®ã® DOM ã€ãã³ãããªãã¹ã³ããŠããå Žåã¯ããªã¹ããŒãæ¢ãåºããŠæåã§ãã¬ãŒã¯ãã€ã³ããèšå®ããããšãªããã€ãã³ããçºçãããšãã«ãããã¬ãŒã«ãã¬ãŒã¯ãããããšãã§ããŸãã</p> + +<p>å§ãã«<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#toolbar"> ããŒã«ã㌠</a>äžã®å€æ°/ã€ãã³ããã€ã³ãéããã¿ã³ãã¯ãªãã¯ããŠã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Events_pane">ã€ãã³ããã€ã³ </a>ãéããŸãããããŠã[ã€ãã³ã] ã¿ããã¯ãªãã¯ããŸããã€ãã³ããã€ã³ã¯ããªã¹ããŒãå²ãåœãŠãŠãããã¹ãŠã®ã€ãã³ããåæããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13210/debugger-events-pane-annotated.png" style="display: block; height: 334px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>ãããŠããã¬ãŒã¯ããããã€ãã³ãã®é£ã«ããããã¯ã¹ã«ãã§ãã¯ãå
¥ããŠãã ããã</p> + +<p>ã€ãã³ããçºçãããšããªã¹ããŒã®å§ç¹ã§ã³ãŒãããã¬ãŒã¯ããŸãã</p> + +<p>{{EmbedYouTube("f-tbR8kj0K0")}}</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/debug_eval_sources/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/debug_eval_sources/index.html new file mode 100644 index 0000000000..bbd25b285e --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/debug_eval_sources/index.html @@ -0,0 +1,36 @@ +--- +title: eval ãœãŒã¹ããããã°ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Debug_eval_sources +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Debug_eval_sources +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/eval"><code>eval()</code></a> ã«æž¡ãããæååã <a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Function"><code>Function</code></a> ã³ã³ã¹ãã©ã¯ã¿ãŒã«æž¡ãããæååãšãã£ããåçã«è©äŸ¡ããã JavaScript ã³ãŒãããããã°ã§ããŸãã</p> + +<p>ãããè¡ãããã«ã<code>//# sourceURL</code> ãã£ã¬ã¯ãã£ãã䜿çšããŠãœãŒã¹ã«ååãã€ããªããã°ãªããŸãã:</p> + +<pre class="brush: js">var button = document.getElementById("clickme"); +button.addEventListener("click", evalFoo, false); + +var script = "function foo() {" + + " console.log('called foo');" + + "}" + + "foo();//# sourceURL=my-foo.js"; + +function evalFoo() { + eval(script); +}</pre> + +<p>ããã¯ãã¹ã¯ãªããã« "my-foo.js" ãšããååãã€ããŸãã</p> + +<p>æååãè©äŸ¡ããããšãããã¬ãŒã§ã¯å¥ã®ãœãŒã¹ãšããŠè¡šç€ºãããä»ã®ãœãŒã¹ãšåæ§ã«ãããã°ã§ããŸãããŸãããœãŒã¹ã <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Pretty-print_a_minified_file">æŽåœ¢ </a>ã§ããŸã:</p> + +<p>{{EmbedYouTube("nFm8F8Anmic")}}</p> + +<p>ãœãŒã¹ã«ã€ããååã¯ã<a href="/ja/docs/Tools/Web_Console#Error_messages">ãŠã§ãã³ã³ãœãŒã« </a>ã«çŸããã¹ã¿ãã¯ãã¬ãŒã¹ã§ã衚瀺ãããŸãã</p> + +<p>ãŸããç¡åã® eval ãœãŒã¹å
ã«ãã <code><a href="/ja/docs/Web/JavaScript/Reference/Statements/debugger">debugger;</a></code> æã§ããããã¬ãŒãåæ¢ããŸãã</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/disable_breakpoints/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/disable_breakpoints/index.html new file mode 100644 index 0000000000..73595678bf --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/disable_breakpoints/index.html @@ -0,0 +1,22 @@ +--- +title: ãã¬ãŒã¯ãã€ã³ãã®ç¡å¹å +slug: Tools/Debugger_(before_Firefox_52)/How_to/Disable_breakpoints +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Disable_breakpoints +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_list_pane" title="#source-list-pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã§ããã¬ãŒã¯ãã€ã³ãã®é
ç®ã®é£ã«ãããã§ãã¯ããã¯ã¹ã®ãã§ãã¯ãå€ããšããã¬ãŒã¯ãã€ã³ããç¡å¹ã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13204/debugger-disable.png" style="display: block; height: 335px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>ãŸãã¯ããœãŒã¹ãªã¹ããã€ã³ã®ãã¬ãŒã¯ãã€ã³ãã®é
ç®ã«ããŠã¹ãã€ã³ã¿ãŒãèŒããŠã³ã³ããã¹ãã¡ãã¥ãŒãéãã[ãã¬ãŒã¯ãã€ã³ããç¡å¹ã«ãã] ãéžæããŸãã</p> + +<p>ãã¬ãŒã¯ãã€ã³ãã瀺ãç¢å°ãã¯ãªãã¯ããŠããã¬ãŒã¯ãã€ã³ããåé€ããããšãã§ããŸãã</p> + +<p>ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ãã®ãªã³/ãªããåãæ¿ããã«ã¯ã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> 㧠[ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ããæå¹å/ç¡å¹å] ãã¿ã³ãã¯ãªãã¯ããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13206/debugger-toggle-all.png" style="display: block; height: 415px; margin-left: auto; margin-right: auto; width: 904px;"></p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/examine,_modify,_and_watch_variables/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/examine,_modify,_and_watch_variables/index.html new file mode 100644 index 0000000000..7d08b706a5 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/examine,_modify,_and_watch_variables/index.html @@ -0,0 +1,46 @@ +--- +title: å€æ°ã調æ»ãç·šéããŠã©ãããã +slug: 'Tools/Debugger_(before_Firefox_52)/How_to/Examine,_modify,_and_watch_variables' +translation_of: 'Tools/Debugger_(before_Firefox_52)/How_to/Examine,_modify,_and_watch_variables' +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<h2 id="Examine_variables" name="Examine_variables">å€æ°ã調æ»ãã</h2> + +<p>ã³ãŒãããã¬ãŒã¯ãã€ã³ãã§åæ¢ãããšãã¯ãããã¬ãŒã® <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³ </a>ã§ãå€æ°ã®ç¶æ
ã調æ»ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13216/debugger-variables-pane.png" style="display: block; height: 335px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>å€æ°ã¯ã¹ã³ãŒãã«ãã£ãŠã°ã«ãŒãåãããŸã: Function ã¹ã³ãŒãã«ã¯ <code>user</code> ã <code>greeting</code> ãšãã£ãé¢æ°ã§å®çŸ©ããããŒã«ã«å€æ°ã¯ãã¡ããããã«ãã€ã³ã® <code>arguments</code> ããã³ <code>this</code> å€æ°ã衚瀺ããŸããåæ§ã«ã°ããŒãã«ã¹ã³ãŒãã§ã¯ <code>localStorage</code> ã <code>console</code> ãšãã£ããã«ãã€ã³ã®ã°ããŒãã«å€æ°ã ãã§ãªãã<code>greetme</code> ãšãã£ãç¬èªã«å®çŸ©ããã°ããŒãã«å€æ°ã衚瀺ããŸãã</p> + +<p>ããããã®ãªããžã§ã¯ãã¯äžè§å°ãã¯ãªãã¯ãããšãããããã£ã衚瀺ããããã«æ¡åŒµã§ããŸãã</p> + +<p>å€æ°åã«ããŠã¹ãã€ã³ã¿ãŒãéãããšããã®å€æ°ã«é¢ããä»å æ
å ±ãæäŸããããŒã«ãããã衚瀺ããŸãããããã®ããããã£ã®æå³ã«ã€ããŠã詳ãã㯠<a href="/ja/docs/JavaScript/Reference/Global_Objects/Object/defineProperty" title="JavaScript/Reference/Global_Objects/Object/defineProperty"><code>Object.defineProperty()</code></a> ãã芧ãã ããã</p> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Search_and_filter" title="#script-filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> 㧠"*" 修食åã䜿çšãããã(<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Settings" title="#debugger-settings">ãããã¬ãŒã®èšå®</a> ã§æå¹ã«ããŠããå Žåã¯) å€æ°ãã£ã«ã¿ãŒããã¯ã¹ã«å
¥åããããšã§ã衚瀺ããå€æ°ããã£ã«ã¿ãŒã§ããŸãã</p> + +<p>{{EmbedYouTube("dxCvnixpM_Q")}}</p> + +<p>ãœãŒã¹å
ã«ååšããå€æ°ã JavaScript ãšã³ãžã³ã®æé©åã«ããåé€ãããŠããå Žåã¯ãå€æ°ãã¥ãŒã«å€æ°ã衚瀺ããŸããå€ã¯ <code>(optimized away)</code> ãšãªã£ãŠãããç·šéãã§ããŸããã以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãå€æ° <code>upvar</code> ãæé©åã§åé€ãããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10169/optimized-out.png" style="display: block; height: 235px; margin-left: auto; margin-right: auto; width: 332px;"></p> + +<h2 id="Modify_variables" name="Modify_variables">å€æ°ãå€æŽãã</h2> + +<p>ã³ãŒãããã¬ãŒã¯ãã€ã³ãã§åæ¢ãããšãã«ããããã¬ãŒã® <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³</a> ã§å€æ°ãå€æŽã§ããŸããå€æ°ã®çŸåšã®å€ãã¯ãªãã¯ãããšãããã«å
¥åã§ããããã«ãªããŸã:</p> + +<p>{{EmbedYouTube("FKG-jkvSpq8")}}</p> + +<h2 id="Watch_an_expression" name="Watch_an_expression">åŒããŠã©ãããã</h2> + +<p>ãŠã©ããåŒã¯ãå®è¡ãåæ¢ãããã³ã«è©äŸ¡ãããåŒã§ãããã£ãŠããããã®åŒã®çµæã調æ»ã§ããŸãããããã¯ãã³ãŒãå
ã§å¿
ããã調æ»ãè¡ããç¶æ
ã§ãããšã¯éããªãäžå€éã®èª¿æ»ãã§ããç¹ã圹ã«ç«ã¡ãŸãã[ãŠã©ããåŒãè¿œå ] ãšè¡šç€ºãããŠããããã¯ã¹ãã¯ãªãã¯ããŠãã³ãŒããã¹ãããå®è¡ãããšãã«åºåå
容ãç£èŠããã JavaScript åŒãå
¥åããããšã§ããŠã©ããåŒãè¿œå ããŸãã</p> + +<p>ãããŠãã³ãŒãã®å®è¡ãéå§ããŸããã³ãŒãã®ã¹ãããå®è¡ãå§ãããŸã§ãŠã©ããåŒã¯äœãè¡ããŸããã®ã§ããã¬ãŒã¯ãã€ã³ãã«éãããŸã§ã¯äœãèµ·ããŸããããã¬ãŒã¯ãã€ã³ãã«éãããšãã¢ã¯ãã£ããªåŒãšãã®å€ã衚瀺ããããã¯ã¹ãçŸããŸã:</p> + +<p>{{EmbedYouTube("CwGU-5wKRw0")}}</p> + +<p>ã³ãŒããã¹ãããå®è¡ããŠãå€ã®å€åã«å¿ããåŒã®çµæããŠã©ããã§ããŸããå€ãå€ãããã³ã«ãããã¯ã¹ãäžæçã«é»è²ã«å
ããŸããåŒã®é£ã«ãã [x] å°ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããŠã©ããåŒãåé€ã§ããŸãããŸããã¡ããããŠã©ããåŒã¯åæã«è€æ°èšå®ã§ããŸãã</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/highlight_and_inspect_dom_nodes/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/highlight_and_inspect_dom_nodes/index.html new file mode 100644 index 0000000000..da2ab1e637 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/highlight_and_inspect_dom_nodes/index.html @@ -0,0 +1,16 @@ +--- +title: DOM ããŒãã®ãã€ã©ã€ããšèª¿æ» +slug: Tools/Debugger_(before_Firefox_52)/How_to/Highlight_and_inspect_DOM_nodes +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Highlight_and_inspect_DOM_nodes +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane">å€æ°ãã€ã³</a> 㧠DOM ããŒãã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžäžã§ãã®ããŒãããã€ã©ã€ã衚瀺ããŸãã</p> + +<p>ãŸããå€æ°ã®é£ã«æšçã®ã¢ã€ã³ã³ã衚瀺ãããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã® DOM ããŒããéžæãã <a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</a> ãéããŸãã</p> + +<p>{{EmbedYouTube("0JWxXp2Qql8")}}</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/index.html new file mode 100644 index 0000000000..b792199c59 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/index.html @@ -0,0 +1,13 @@ +--- +title: How to +slug: Tools/Debugger_(before_Firefox_52)/How_to +tags: + - NeedsTranslation + - TopicStub +translation_of: Tools/Debugger_(before_Firefox_52)/How_to +--- +<div>{{ToolsSidebar}}</div> + +<p><span class="seoSummary">ãããã®èšäºã§ã¯ããããã¬ã®äœ¿çšæ¹æ³ã«ã€ããŠèª¬æããŸãã</span></p> + +<p>{{ ListSubpages () }}</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/open_the_debugger/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/open_the_debugger/index.html new file mode 100644 index 0000000000..2408127b78 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/open_the_debugger/index.html @@ -0,0 +1,21 @@ +--- +title: ãããã¬ãŒãéã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Open_the_debugger +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Open_the_debugger +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>ã¡ãã¥ãŒãã¿ã³ ( <img alt="new fx menu" class="frameless wiki-image" src="https://support.cdn.mozilla.net/media/uploads/gallery/images/2014-01-10-13-08-08-f52b8c.png" title=""> ) ãã¯ãªãã¯ã㊠[éçºããŒã«]ã [ãããã¬ãŒ] ã®é ã«ã¯ãªãã¯ãããšããããã¬ãŒãéããŸãããããã¯ã以äžã®ããŒããŒãã·ã§ãŒãã«ããã䜿çšããŸã:</p> + +<ul> + <li>Windows ããã³ Linux ã§ã¯ Control-Shift-S</li> + <li>Mac ã§ã¯ Command-Option-S</li> +</ul> + +<p>ã€ã³ã¹ãã¯ã¿ãŒãã¢ã¯ãã£ãã«ãªã£ãŠãã <a href="/ja/docs/Tools/Tools_Toolbox" title="Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a> ãããã©ãŠã¶ãŒã®ãŠã£ã³ããŠäžéšã«çŸããŸãããã¡ããå§ãã«ãããã¬ãŒãéãããšãã®æ§åã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13200/debugger-open.png" style="display: block; height: 774px; margin-left: auto; margin-right: auto; width: 1006px;"></p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/pretty-print_a_minified_file/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/pretty-print_a_minified_file/index.html new file mode 100644 index 0000000000..13146945a0 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/pretty-print_a_minified_file/index.html @@ -0,0 +1,18 @@ +--- +title: å§çž®ããããã¡ã€ã«ãæŽåœ¢ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Pretty-print_a_minified_file +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Pretty-print_a_minified_file +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>å§çž®ããã (minified) ãã¡ã€ã«ãæŽåœ¢ããã«ã¯ããã¡ã€ã«ãéããŠããæ³¢æ¬åŒ§ã®ãã¢ãæãããã¢ã€ã³ã³ãã¯ãªãã¯ããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13212/debugger-pretty-print.png" style="display: block; height: 407px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>ãã¡ã€ã«ãèªã¿ããã圢åŒã§è¡šç€ºããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Settings">ãããã¬ãŒã®èšå®</a> 㧠[å§çž®ããããœãŒã¹ãèªåçã«æŽåœ¢è¡šç€º] ãéžæãããšããããã¬ãŒãå§çž®ããããœãŒã¹ãæ€åºããŠèªåçã«æŽåœ¢ããããã«æå®ã§ããŸãã</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/search_and_filter/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/search_and_filter/index.html new file mode 100644 index 0000000000..881571f63e --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/search_and_filter/index.html @@ -0,0 +1,74 @@ +--- +title: æ€çŽ¢ãšãã£ã«ã¿ãŒ +slug: Tools/Debugger_(before_Firefox_52)/How_to/Search_and_filter +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Search_and_filter +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#toolbar">ããŒã«ããŒ</a> ã®ã¹ã¯ãªãããã£ã«ã¿ãŒã䜿çšããŠããããã¬ãŒå
ã«ããé
ç®ãæ€çŽ¢ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13214/debugger-filter.png" style="display: block; height: 351px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<p>æ¥é èŸãã€ããã«æååãå
¥åãããšã<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã«äžèŠ§è¡šç€ºãããŠãããœãŒã¹ã®ãã¡ã€ã«åããæ€çŽ¢ããŸããEnter ããŒãç¢å°ããŒãæŒäžããŠãããããããã¡ã€ã«åã®ãœãŒã¹ã衚瀺ããŸãã</p> + +<p>ããããã®ç¹æ®æåã«ããæ€çŽ¢æŒç®åãæ¥é èŸãšããŠä»å ããããšã§ãããŸããŸãªæ€çŽ¢æ©èœãæäŸããŸãã</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col">æ¥é èŸ</th> + <th scope="col">æ©èœ</th> + </tr> + </thead> + <tbody> + <tr> + <td>ãªã</td> + <td><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_list_pane" title="#source-list-pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã«è¡šç€ºããŠããã¹ã¯ãªããã®çµã蟌ã¿ãè¡ããŸãã</td> + </tr> + <tr> + <td>!</td> + <td>ãã¹ãŠã®ãã¡ã€ã«ããæååãæ€çŽ¢ããŸãã</td> + </tr> + <tr> + <td>@</td> + <td>ãã¹ãŠã®ãã¡ã€ã«ãããæååãå«ãé¢æ°å®çŸ©ãæ€çŽ¢ããŸãã</td> + </tr> + <tr> + <td>#</td> + <td> + <p>çŸåš <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a> ã§éããŠãããã¡ã€ã«ããæååãæ€çŽ¢ããŸãã</p> + + <p>æ€çŽ¢ããåŸã« Enter ããŒãæŒäžãããšããããããç®æãå·¡ããŸãã</p> + </td> + </tr> + <tr> + <td>:</td> + <td>çŸåš <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a> ã§éããŠãããã¡ã€ã«ã§ãæå®ããè¡ãžç§»åããŸãã</td> + </tr> + <tr> + <td>*</td> + <td><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³</a> ã«è¡šç€ºããŠããå€æ°ã®çµã蟌ã¿ãè¡ããŸãã</td> + </tr> + </tbody> +</table> + +<p>ãããã®ãªãã·ã§ã³ã¯ããã£ã«ã¿ãŒå
ãã¯ãªãã¯ãããšãã«ãããã¢ãã衚瀺ããŸãããŸãã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a> ã®ã³ã³ããã¹ãã¡ãã¥ãŒã§ãã¢ã¯ã»ã¹ã§ããŸãã</p> + +<p>æ¥é èŸãçµã¿åãããŠããã匷åãªåãåãããå¯èœã§ããäŸãã°:</p> + +<table class="fullwidth-table standard-table"> + <tbody> + <tr> + <td>file.js:12</td> + <td>"file.js" ãéã㊠12 è¡ç®ãžç§»åããŸãã</td> + </tr> + <tr> + <td>mod#onLoad</td> + <td>ãã¡ã€ã«åã« "mod" ãå«ããã¹ãŠã®ãã¡ã€ã«ãããæåå "onLoad" ãæ€çŽ¢ããŸãã</td> + </tr> + </tbody> +</table> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/set_a_breakpoint/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/set_a_breakpoint/index.html new file mode 100644 index 0000000000..cb8ae2d4bf --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/set_a_breakpoint/index.html @@ -0,0 +1,29 @@ +--- +title: ãã¬ãŒã¯ãã€ã³ããèšçœ®ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Set_a_breakpoint +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Set_a_breakpoint +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p><span class="seoSummary">ãããã¬ãŒã§ JavaScript ã³ãŒãã«ãã¬ãŒã¯ãã€ã³ããèšå®ããæ¹æ³ã¯ã以äžã®ãšããè€æ°ãããŸãã</span></p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ãå®è¡ãåæ¢ãããè¡ã®è¡çªå·ãã¯ãªãã¯ããŸãã</li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ãå®è¡ãåæ¢ãããè¡ã§ã³ã³ããã¹ãã¡ãã¥ãŒãéããŠã[ãã¬ãŒã¯ãã€ã³ããèšçœ®] ãéžæããŸãã</li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ããã¬ãŒã¯ãã€ã³ããèšçœ®ãããè¡ããã€ã©ã€ãã㊠Ctrl+B (Windows/Linux) ãŸã㯠Command+B (Mac OS X) ãæŒäžããŸãã</li> +</ul> + +<p>ããããã®ãã¬ãŒã¯ãã€ã³ãã¯ããããã¬ãŒå
ã® 2 ã«æã«è¡šç€ºããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a> ã§ããã¡ã€ã«åã®äžã«äžèŠ§è¡šç€ºãã</li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³ </a>ã§ãè¡ã«éè²ã®ç¢å°ãã€ãããŸã㯠<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Set_a_conditional_breakpoint">æ¡ä»¶ä»ã </a>ãã¬ãŒã¯ãã€ã³ãã§ããã°æ©è²ã®ç¢å°ãã€ã</li> +</ul> + +<p>以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ããã¡ã€ã«ã® 20 è¡ç®ãš 28 è¡ç®ã«ãã¬ãŒã¯ãã€ã³ãããããŸãããŸãã20 è¡ç®ã®ãã¬ãŒã¯ãã€ã³ãã«ãããããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13202/debugger-details.png" style="display: block; height: 325px; margin-left: auto; margin-right: auto; width: 900px;"></p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/set_a_conditional_breakpoint/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/set_a_conditional_breakpoint/index.html new file mode 100644 index 0000000000..3a3958596c --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/set_a_conditional_breakpoint/index.html @@ -0,0 +1,22 @@ +--- +title: æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Set_a_conditional_breakpoint +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Set_a_conditional_breakpoint +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®ããã«ã¯ <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§ãèšçœ®ãããè¡ã§ã³ã³ããã¹ãã¡ãã¥ãŒãéã㊠[æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®] ãéžæããŸãããããŠã衚瀺ããããããã¢ããã«æ¡ä»¶åŒãå
¥åããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12900/debugger-conditional-breakpoint.png" style="display: block; height: 273px; margin-left: auto; margin-right: auto; width: 823px;"></p> + +<p>æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ãã¯ããœãŒã¹ãã€ã³ã§æ©è²ã®ç¢å°ãã€ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12904/debugger-conditional-orange.png" style="display: block; height: 274px; margin-left: auto; margin-right: auto; width: 823px;"></p> + +<p>æ¡ä»¶ãç·šéãããéåžžã®ãã¬ãŒã¯ãã€ã³ãã«æ¡ä»¶ãè¿œå ãããããã«ã¯ãã³ã³ããã¹ãã¡ãã¥ãŒãéã㊠[æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšå®ãã] ãéžæããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12902/debugger-make-conditional.png" style="display: block; height: 427px; margin-left: auto; margin-right: auto; width: 823px;"></p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/step_through_code/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/step_through_code/index.html new file mode 100644 index 0000000000..634315dd13 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/step_through_code/index.html @@ -0,0 +1,21 @@ +--- +title: ã³ãŒããã¹ãããå®è¡ãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Step_through_code +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Step_through_code +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>ã³ãŒãããã¬ãŒã¯ãã€ã³ãã§æ¢ãŸã£ããšãã¯ã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#toolbar">ããŒã«ããŒ</a> ã®å·ŠåŽã«ãã 4 ã€ã®ãã¿ã³ã䜿çšããŠã¹ãããå®è¡ãå®æœã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13208/debugger-step.png" style="display: block; height: 414px; margin-left: auto; margin-right: auto; width: 903px;">ãã¿ã³ã¯é ã«ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li>埩垰: 次ã®ãã¬ãŒã¯ãã€ã³ããŸã§å®è¡ããŸãã</li> + <li>ã¹ããããªãŒããŒ: åäžé¢æ°å
ã§æ¬¡ã®è¡ãžé²ã¿ãŸãã</li> + <li>ã¹ãããã€ã³: åœè©²è¡ãé¢æ°ã®åŒã³åºãã§ãªããã°ãé¢æ°å
ã§æ¬¡ã®è¡ãžé²ã¿ãŸããé¢æ°ã®åŒã³åºãã§ããå Žåã¯ãåŒã³åºããé¢æ°ã«å
¥ããŸãã</li> + <li>ã¹ãããã¢ãŠã: çŸåšã®é¢æ°ã®çµç«¯ãŸã§å®è¡ããŸãã</li> +</ul> diff --git a/files/ja/tools/debugger_(before_firefox_52)/how_to/use_a_source_map/index.html b/files/ja/tools/debugger_(before_firefox_52)/how_to/use_a_source_map/index.html new file mode 100644 index 0000000000..1f41177f80 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/how_to/use_a_source_map/index.html @@ -0,0 +1,20 @@ +--- +title: ãœãŒã¹ãããã䜿çšãã +slug: Tools/Debugger_(before_Firefox_52)/How_to/Use_a_source_map +translation_of: Tools/Debugger_(before_Firefox_52)/How_to/Use_a_source_map +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>JavaScript ã®ãœãŒã¹ã¯ãããå¹çãããµãŒããŒããæäŸããããã«ã³ã³ãã€ã³ãããã¯ãããã¡ã€ãããããšããããããŸããããã« CoffeeScript ã TypeScript ã®ãããªèšèªããã³ã³ãã€ã«ããããã«ãããŒãžã§å®è¡ãã JavaScript ã¯æ¬¡ç¬¬ã«ããã°ã©ã ã«ãã£ãŠäœãããåŸåããããŸãã<a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/" title="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">ãœãŒã¹ããã</a> ã®äœ¿çšã«ãã£ãŠããããã°ããšãŠã容æã«ããããã«ããããã¬ãŒãå®è¡äžã®ã³ãŒããå
ã®ãœãŒã¹ãã¡ã€ã«ãšå¯Ÿå¿ã¥ããããšãã§ããŸãã</p> + +<p>ããã©ã«ãã§ã¯ããããã¬ãŒã¯äœ¿çšå¯èœã§ããã°ãœãŒã¹ãããã䜿çšããŸãããœãŒã¹ãããã®ãµããŒããæå¹ãã確èªããããããã¯å¿
èŠã«å¿ããŠç¡å¹åããå Žåã¯ã[<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Settings" title="#debugger-settings">ãããã¬ãŒã®ãªãã·ã§ã³</a>] ãã¿ã³ãã¯ãªãã¯ããŠããããã¢ããããèšå®äžèŠ§ã§ [å
ã®ãœãŒã¹ã衚瀺] ã確èªããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12922/debugger-sourcemaps.png" style="display: block; height: 506px; margin-left: auto; margin-right: auto; width: 915px;"></p> + +<p>ãã¡ããããããåäœãããããã«ã¯ããŒãžã§å®è¡ãã JavaScript ã«ãœãŒã¹ããããäžããããšãå¿
èŠã§ãããœãŒã¹ãã¡ã€ã«ã«ã³ã¡ã³ããã£ã¬ã¯ãã£ããè¿œå ããŠãã ãã:</p> + +<pre>//# sourceMappingURL=http://example.com/path/to/your/sourcemap.map</pre> diff --git a/files/ja/tools/debugger_(before_firefox_52)/index.html b/files/ja/tools/debugger_(before_firefox_52)/index.html new file mode 100644 index 0000000000..404974a00f --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/index.html @@ -0,0 +1,55 @@ +--- +title: ãããã¬ãŒ (Firefox 52 ããå) +slug: Tools/Debugger_(before_Firefox_52) +translation_of: Tools/Debugger_(before_Firefox_52) +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>JavaScript ãããã¬ãŒã§ã¯ããã°ã远究ããããã« JavaScript ã³ãŒãã®ã¹ãããå®è¡ãã³ãŒãã®ç¶æ
ã®èª¿æ»ãŸãã¯å€æŽãå¯èœã§ãã</p> + +<p>Firefox ã§ããŒã«ã«å®è¡ããŠããã³ãŒãããäŸãã° Firefox OS ããã€ã¹ã Android ç Firefox ãªã©ã®ãªã¢ãŒãã§å®è¡ããŠããã³ãŒãã®ãããã°ã«äœ¿çšã§ããŸããç¹å®ã®ãã©ãŠã¶ãŒã«æ¥ç¶ããæé ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a> ã®ããŒãžãã芧ãã ããã</p> + +<p>{{EmbedYouTube("sK8KU8oiF8s")}}</p> + +<hr> +<h2 id="User_Interface_Tour" name="User_Interface_Tour">ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãã¢ãŒ</h2> + +<p>ãããã¬ãŒã«ã€ããŠã²ãšãšããç解ããããã«ã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour"> UI ã®ã¯ã€ãã¯ãã¢ãŒ </a>ãçšæããŸããã</p> + +<hr> +<h2 id="How_to" name="How_to">䜿ãæ¹</h2> + +<p>ãããã¬ãŒã§äœãã§ããããç¥ãããã«ã以äžã®ã¬ã€ããã芧ãã ãã:</p> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Open_the_debugger">ãããã¬ãŒãéã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Set_a_breakpoint">ãã¬ãŒã¯ãã€ã³ããèšçœ®ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Disable_breakpoints">ãã¬ãŒã¯ãã€ã³ãã®ç¡å¹å</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Step_through_code">ã³ãŒããã¹ãããå®è¡ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Break_on_a_DOM_event">DOM ã€ãã³ãã§ãã¬ãŒã¯ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Highlight_and_inspect_DOM_nodes">DOM ããŒãã®ãã€ã©ã€ããšèª¿æ»</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Pretty-print_a_minified_file">å§çž®ããããã¡ã€ã«ãæŽåœ¢è¡šç€ºãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Search_and_filter">æ€çŽ¢ãšãã£ã«ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Set_a_conditional_breakpoint">æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Examine,_modify,_and_watch_variables">å€æ°ã調æ»ãç·šéããŠã©ãããã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Use_a_source_map">ãœãŒã¹ãããã䜿çšãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Black_box_a_source">ãœãŒã¹ããã©ãã¯ããã¯ã¹åãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Debug_eval_sources">eval ãœãŒã¹ããããã°ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Access_debugging_in_add-ons">ã¢ããªã³ã§ãããã°ã«ã¢ã¯ã»ã¹ãã</a></li> +</ul> +</div> + +<hr> +<h2 id="Reference" name="Reference">ãªãã¡ã¬ã³ã¹</h2> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Settings">ãªãã·ã§ã³</a></li> +</ul> +</div> diff --git a/files/ja/tools/debugger_(before_firefox_52)/keyboard_shortcuts/index.html b/files/ja/tools/debugger_(before_firefox_52)/keyboard_shortcuts/index.html new file mode 100644 index 0000000000..8625bb75bb --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/keyboard_shortcuts/index.html @@ -0,0 +1,16 @@ +--- +title: ããŒããŒãã·ã§ãŒãã«ãã +slug: Tools/Debugger_(before_Firefox_52)/Keyboard_shortcuts +translation_of: Tools/Debugger_(before_Firefox_52)/Keyboard_shortcuts +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "ãããã¬ãŒ(Firefox_52ããå)")}}</p> + +<h2 id="Global_shortcuts" name="Global_shortcuts">å
±éã·ã§ãŒãã«ãã</h2> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "all-toolbox-tools")}}</p> diff --git a/files/ja/tools/debugger_(before_firefox_52)/settings/index.html b/files/ja/tools/debugger_(before_firefox_52)/settings/index.html new file mode 100644 index 0000000000..a9f0a505b3 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/settings/index.html @@ -0,0 +1,63 @@ +--- +title: ãªãã·ã§ã³ +slug: Tools/Debugger_(before_Firefox_52)/Settings +translation_of: Tools/Debugger_(before_Firefox_52)/Settings +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>ãããã¬ãŒã«ã¯ç¬èªã®èšå®ã¡ãã¥ãŒãããã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#toolbar">ããŒã«ããŒ</a> äžã®ã¢ã€ã³ã³ããã¢ã¯ã»ã¹ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12930/debugger-options.png" style="display: block; height: 413px; margin-left: auto; margin-right: auto; width: 845px;"></p> + +<p>ããããã®ãªãã·ã§ã³ã¯ããªã³/ãªãã®åãæ¿ãåŒã«ãªã£ãŠããŸã:</p> + +<table class="standard-table"> + <tbody> + <tr> + <td style="width: 40%;"><strong>å§çž®ããããœãŒã¹ãèªåçã«æŽåœ¢è¡šç€º</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã«ãããšããããã¬ãŒã¯å§çž®ããã JS ãã¡ã€ã«ãèªåçã«æ€åºã㊠<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Pretty-print_a_minified_file">æŽåœ¢ </a>ããŸãã</td> + </tr> + <tr> + <td><strong>äŸå€çºçã§åæ¢</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã§ãããšãã¯ãJavaScript ã®äŸå€ãçºçããéã«ã¹ã¯ãªããã®å®è¡ãèªåçã«åæ¢ããŸãã</td> + </tr> + <tr> + <td><strong>ãã£ããããäŸå€ãç¡èŠ</strong></td> + <td> + <p>ãã®ãªãã·ã§ã³ãæå¹ (ããã©ã«ãã§æå¹) ã«ã㊠[äŸå€çºçã§åæ¢] ãæå¹ã«ãããšããã£ãããããŠããªãäŸå€ã ãã§å®è¡ãåæ¢ããŸãã</p> + + <p>ããã¯éåžžãæãŸããåäœã§ããäŸå€ããã£ããããããšããããšã¯éåžžãããã°ã©ã ãäŸå€ãé©åã«æ±ã£ãŠããããšã瀺ããŸãã®ã§ãäžè¬çã«ãã®ãããªäŸå€ã§ã®åæ¢ã¯æãŸããŸããã</p> + </td> + </tr> + <tr> + <td><strong>èµ·åæã«ãããã¬ãéã</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã§ãããšãã¯ãå§ãã«ãããã¬ãŒãèµ·åããæç¹ã§<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane" title="#variables-pane"> å€æ°ãã€ã³ </a>ãéãããã«ãªããŸãã</td> + </tr> + <tr> + <td><strong>èšç®å¯èœãªããããã£ã®ã¿è¡šç€º</strong></td> + <td>{{åèªäœµèš("åæå¯èœ", "enumerable")}} ã§ã¯ãªã JavaScript ããããã£ã衚瀺ããŸããã</td> + </tr> + <tr> + <td><strong>å€æ°ãã£ã«ã¿ãŒããã¯ã¹ã衚瀺</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã«ãããš <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane" title="#variables-pane">å€æ°ãã€ã³ </a>ã« [å€æ°ãæ€çŽ¢] ããã¯ã¹ã衚瀺ãããŸãã®ã§ã衚瀺ãããŠããå€æ°äžèŠ§ããã£ã«ã¿ãŒã§ããŸãã</td> + </tr> + <tr> + <td><strong>å
ã®ãœãŒã¹ã衚瀺</strong></td> + <td>ãã®ãªãã·ã§ã³ãæå¹ã«ãããšããããã¬ãŒã¯å¯èœã§ããã° <a class="external external-icon" href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/" title="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">ãœãŒã¹ããã </a>ã䜿çšããŸããããã¯ã³ã³ãã€ã³ããããã¡ã€ãããã㯠CoffeeScript ã®ãããªèšèªããã³ã³ãã€ã«ãã JavaScript ã®ãå
ã®ãœãŒã¹ã³ãŒãã衚瀺ããããã®ãªãã·ã§ã³ã§ããããã©ã«ãã§æå¹ã§ãã</td> + </tr> + <tr> + <td><strong>å§çž®ããããœãŒã¹ãèªåçã«ãã©ãã¯ããã¯ã¹åãã</strong></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 33 ã®æ°æ©èœ</p> + </div> + + <p>URL ã®æ«å°Ÿã ".min.js" ã§ãããœãŒã¹ãã¡ã€ã«ãèªåçã«<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Black_box_a_source"> ãã©ãã¯ããã¯ã¹å</a> ããŸããããã©ã«ãã§æå¹ã§ãã</p> + </td> + </tr> + </tbody> +</table> diff --git a/files/ja/tools/debugger_(before_firefox_52)/ui_tour/index.html b/files/ja/tools/debugger_(before_firefox_52)/ui_tour/index.html new file mode 100644 index 0000000000..8a8b6645f3 --- /dev/null +++ b/files/ja/tools/debugger_(before_firefox_52)/ui_tour/index.html @@ -0,0 +1,129 @@ +--- +title: UI ãã¢ãŒ +slug: Tools/Debugger_(before_Firefox_52)/UI_Tour +translation_of: Tools/Debugger_(before_Firefox_52)/UI_Tour +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã¯ãFirefox 52 ããåã® JavaScript ãããã¬ãŒã«ã€ããŠèª¬æããŸãã</p> + +<p><a href="/ja/docs/Tools/Debugger">Firefox 52 以éã®ãããã¬ãŒã確èªããŸã</a>ã</p> +</div> + +<p>æ¬èšäºã¯ãJavaScript ãããã¬ãŒã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã®äž»èŠéšã玹ä»ããã¯ã€ãã¯ãã¢ãŒã§ãããããã¬ãŒã® UI 㯠6 ã€ã®äž»èŠãªã»ã¯ã·ã§ã³ã«åãããŠãããé çªã«èª¬æããŠãããŸã:</p> + +<ul> + <li><a href="#toolbar">ããŒã«ããŒ</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Call_stack_pane">ã³ãŒã«ã¹ã¿ãã¯ãã€ã³</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane">å€æ°ãã€ã³</a></li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Events_pane">ã€ãã³ããã€ã³</a></li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13182/debugger-overview-annotated.png" style="display: block; height: 1640px; margin-left: auto; margin-right: auto; width: 1019px;"></p> + +<h2 id="Toolbar" name="Toolbar"><a name="toolbar">ããŒã«ããŒ</a></h2> + +<p>ããŒã«ããŒã¯ 4 ã€ã®ã»ã¯ã·ã§ã³ã§æ§æãããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Step_through_code">ã¹ã¯ãªããå
ã§ã®åããå¶åŸ¡ãã</a> ãã¿ã³</li> + <li>ã³ãŒã«ã¹ã¿ãã¯ã®å¯èŠå</li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Search_and_filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a></li> + <li>以äžã®æäœãè¡ããã¿ã³: + <ul> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane">å€æ°ãã€ã³</a> ã <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Events_pane">ã€ãã³ããã€ã³</a> ã®å±é/æãããã¿</li> + <li>ãããã¬ãŒã® <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/Settings">èšå®</a></li> + </ul> + </li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13194/debugger-toolbar-annotated.png" style="display: block; height: 504px; margin-left: auto; margin-right: auto; width: 942px;"></p> + +<p>å·ŠåŽã«ãã 4 ã€ã®ãã¿ã³ã¯ã以äžã®æ©èœãå®è¡ããŸã:</p> + +<ul> + <li><strong>åæ¢/埩垰</strong> (F8): ãããã°äžã®ã¹ã¯ãªããã®å®è¡ãåæ¢ããã³åéããŸããäžå³ã®ããã«ãã¿ã³ãéè²ã§ "æŒã蟌ãŸããŠãã" ãšãã¯ããã¿ã³ãæŒããŠåæ¢ããããã¬ãŒã¯ãã€ã³ãã«ãããããããšã«ãããã¹ã¯ãªãããåæ¢ããŠããããšãè¡šããŸãã</li> + <li><strong>ã¹ããããªãŒããŒ</strong> (F10): JavaScript ã³ãŒãã§çŸåšã®è¡ãã¹ãããå®è¡ããŸãã</li> + <li><strong>ã¹ãããã€ã³</strong> (F11): JavaScript ã§çŸåšã®è¡ã«ããé¢æ°åŒã³åºãã«ã¹ãããããŸãã</li> + <li><strong>ã¹ãããã¢ãŠã</strong> (Shift-F11): çŸåšã®é¢æ°ãæãããŸã§ãã¹ã¯ãªãããå®è¡ããŸãã</li> +</ul> + +<p>ã³ãŒã«ã¹ã¿ãã¯ã®å¯èŠåã§ã¯ãå®è¡ãåæ¢ããŠããæç¹ã®ã³ãŒã«ã¹ã¿ãã¯ã衚瀺ããŸãã</p> + +<h2 id="Source_list_pane" name="Source_list_pane">ãœãŒã¹ãªã¹ããã€ã³</h2> + +<p>ãœãŒã¹ãªã¹ããã€ã³ã§ã¯ãããŒãžã«èªã¿èŸŒãŸãããã¹ãŠã® JS ãœãŒã¹ãã¡ã€ã«ãäžèŠ§è¡šç€ºããŠããããããã°ãããã¡ã€ã«ãéžæã§ããŸãããœãŒã¹ãªã¹ããã€ã³ãš <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Call_stack_pane">ã³ãŒã«ã¹ã¿ãã¯ãã€ã³</a> ã¯ç»é¢äžã®å Žæãå
±æããŠããããã€ã³ã®äžéšã«ããã¿ãã§ããããåãæ¿ãã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13186/debugger-source-list-pane.png" style="display: block; height: 335px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>ãœãŒã¹ãã¡ã€ã«ã¯ãèªã¿èŸŒã¿å
ã«å¿ããããŸããŸãªèŠåºãã«ãã£ãŠã°ã«ãŒãåããŠããŸãããããããä»»æã®ãã¡ã€ã«ãéžæã§ããéžæãããã¡ã€ã«ã¯ <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Source_pane" title="#source-pane">ãœãŒã¹ãã€ã³</a> ã«èªã¿èŸŒã¿ãŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13188/debugger-source-list-pane-annotated.png" style="display: block; height: 535px; margin-left: auto; margin-right: auto; width: 922px;"><br> + ãœãŒã¹ãã¡ã€ã«ã«èšçœ®ãããã¬ãŒã¯ãã€ã³ãã¯ãã¹ãŠããã¡ã€ã«åã®äžã«äžèŠ§è¡šç€ºããŸããåãã¬ãŒã¯ãã€ã³ãã®é£ã«ãããã§ãã¯ããã¯ã¹ã§ããã¬ãŒã¯ãã€ã³ãã®æå¹å/ç¡å¹åãå¯èœã§ãããªã¹ãã«ãããã¬ãŒã¯ãã€ã³ãã®é
ç®ãå³ã¯ãªãã¯ãããšã以äžã®æäœãå¯èœãªã³ã³ããã¹ãã¡ãã¥ãŒã衚瀺ããŸã:</p> + +<ul> + <li>åœè©²ãã¬ãŒã¯ãã€ã³ãããã¹ãŠã®ãã¬ãŒã¯ãã€ã³ãããããã¯ä»ã®ãã¬ãŒã¯ãã€ã³ããæå¹åãç¡å¹åããããã¯åé€ãã</li> + <li>åœè©²ãã¬ãŒã¯ãã€ã³ããæ¡ä»¶ä»ãã«ãã (ãã§ã«æ¡ä»¶ä»ãã§ããå Žåã¯ãæ¡ä»¶ãå€æŽãã)</li> +</ul> + +<p>ãœãŒã¹ãªã¹ãã®äžéšã«ãã 3 åã®ã¢ã€ã³ã³ã§ã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Black_box_a_source">ãœãŒã¹ã®ãã©ãã¯ããã¯ã¹å</a>ã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Pretty-print_a_minified_file">å§çž®ããã JS ãã¡ã€ã«ã®æŽåœ¢</a>ã<a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Disable_breakpoints">ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ãã®æå¹/ç¡å¹</a> ã®åãæ¿ããå¯èœã§ãã</p> + +<p>ãœãŒã¹ãªã¹ãã®é
ç®ã«ã³ã³ããã¹ãã¡ãã¥ãŒãããããœãŒã¹ã®æäŸå
ã® URL ãã³ããŒããããURL ãæ°ããã¿ãã§éãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13184/debugger-source-list-menu-annotated.png" style="display: block; height: 334px; margin-left: auto; margin-right: auto; width: 904px;"></p> + +<h2 id="Call_stack_pane" name="Call_stack_pane">ã³ãŒã«ã¹ã¿ãã¯ãã€ã³</h2> + +<p>ãããã¬ãŒã®å·ŠåŽã«ããããã²ãšã€ã®ã¿ãã§ã¯ãã³ãŒã«ã¹ã¿ãã¯ã瞊ã«äžŠã¹ãŠè¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13178/debugger-call-stack-pane-annotated.png" style="display: block; height: 332px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>åè¡ã§ã³ãŒã«ã¹ã¿ãã¯ã®ã¬ãã«ã瀺ããŠãããçŸåšã®ã¹ã¿ãã¯ãã¬ãŒã ãæäžæ®µã«çœ®ãããŸããè¡ã§ã¯çŸåšå®è¡ããŠããé¢æ°ã®ååãšããœãŒã¹ãã¡ã€ã«ããã³è¡çªå·ãžã®ãªã³ã¯ã衚瀺ããŸãã</p> + +<h2 id="Source_pane" name="Source_pane">ãœãŒã¹ãã€ã³</h2> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13190/debugger-source-pane.png" style="display: block; height: 335px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>ããã§ã¯ãçŸåšèªã¿èŸŒãã§ãã JavaScript ãã¡ã€ã«ã衚瀺ããŸãããã¬ãŒã¯ãã€ã³ãã¯éè²ã®ç¢å°ãè¡çªå·ã«éããŠè¡šç€ºããŠããããŸããããããŠãããã¬ãŒã¯ãã€ã³ãã¯ç·è²ã®ç¢å°ã§è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13192/debugger-source-pane-breakpoints-annotated.png" style="display: block; height: 436px; margin-left: auto; margin-right: auto; width: 903px;">ãœãŒã¹ãã€ã³ã§ã¯ãã³ã³ããã¹ãã¡ãã¥ãŒã§ä»¥äžã®æäœãå¯èœã§ã:</p> + +<ul> + <li>ãã¬ãŒã¯ãã€ã³ããèšçœ®</li> + <li>æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããèšçœ®</li> + <li>éžæç¯å²ã®ãŠã©ããåŒãè¿œå </li> + <li><a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/How_to/Search_and_filter" title="#script filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> ã䜿çšããŠæ€çŽ¢ããã£ã«ã¿ãŒãè¡ã</li> +</ul> + +<p>Firefox 44 ãããé¢æ°ãåŒã³åºããŠããç®æããé¢æ°ãå®çŸ©ããŠããç®æãžãžã£ã³ãã§ããŸãã<kbd>control</kbd> ã㌠(Mac OS X ã§ã¯ <kbd>command</kbd> ããŒ) ãæŒäžããªãããé¢æ°åãã¯ãªãã¯ããŠãã ããã</p> + +<h3 id="Variables_popup" name="Variables_popup">å€æ°ã®ãããã¢ãã</h3> + +<p>ãœãŒã¹ãã€ã³ã§å€æ°ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãçŸåšã®å€æ°ã®å€ã衚瀺ãããããã¢ãããçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13198/debugger-variables-popup-annotated.png" style="display: block; height: 334px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>ãã®æ©èœã«ãã <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane">å€æ°ãã€ã³</a> ãéããŠæ€çŽ¢ããããšãªãããã°ããå€æ°ã®å€ã確èªã§ããŸãã</p> + +<h2 id="Variables_pane" name="Variables_pane">å€æ°ãã€ã³</h2> + +<p>å€æ°ãã€ã³ã¯ã¹ã¯ãªããã®å®è¡äžã«ãå
éšç¶æ
ã®èª¿æ»ãå€æŽãå¯èœã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13196/debugger-variables-pane.png" style="display: block; height: 670px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>å€æ°ãã€ã³ã¯ç»é¢é åã <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Events_pane">ã€ãã³ããã€ã³</a> ãšå
±æããŠããããã€ã³äžéšã®ã¿ãã§ããããåãæ¿ããããšãã§ããŸãã</p> + +<h2 id="Events_pane" name="Events_pane">ã€ãã³ããã€ã³</h2> + +<p>ã€ãã³ããã€ã³ã§ã¯ãçŸåšã³ãŒããããªã¹ããå²ãåœãŠãããŠããããã¹ãŠã® DOM ã€ãã³ããäžèŠ§è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13180/debugger-events-pane-annotated.png" style="display: block; height: 334px; margin-left: auto; margin-right: auto; width: 903px;"></p> + +<p>ããã¯ç»é¢é åã <a href="/ja/docs/Tools/Debugger_(Before_Firefox_52)/UI_Tour#Variables_pane">å€æ°ãã€ã³</a> ãšå
±æããŠããããã€ã³äžéšã®ã¿ãã§ããããåãæ¿ããããšãã§ããŸãã</p> + +<p>ã€ãã³ãã¯ã¿ã€ãããšã«ã°ã«ãŒãåããŸããååºã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ 4 ã€ã®ã¿ã€ãããããŸã: InteractionãKeyboardãMouseãNavigation ã§ããåã¿ã€ãã®äžã«ãã³ãŒãã«ãªã¹ããŒãååšãããã¹ãŠã®ã€ãã³ãã以äžã®æ§æã§åæããŸã:</p> + +<pre>[ã€ãã³ãå] on [ã€ãã³ãã¿ãŒã²ãã] in [ãœãŒã¹ãã¡ã€ã«]</pre> + +<p>ã€ãã³ãåã®é£ã«ãããã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ãããšããããã¬ãŒã¯ã€ãã³ããªã¹ããŒã®æåã®è¡ã§ãã¬ãŒã¯ããŸããã€ãã³ãã¿ã€ãã®é£ã«ãããã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ãããšããããã¬ãŒã¯ã¿ã€ãã®äžã«åæããŠãããã¹ãŠã®ã€ãã³ãã§ãã¬ãŒã¯ããŸãã</p> diff --git a/files/ja/tools/deprecated_tools/index.html b/files/ja/tools/deprecated_tools/index.html new file mode 100644 index 0000000000..7364b8da89 --- /dev/null +++ b/files/ja/tools/deprecated_tools/index.html @@ -0,0 +1,119 @@ +--- +title: å»æ¢äºå®ã®ããŒã« +slug: Tools/Deprecated_tools +tags: + - Deprecated + - Tools +translation_of: Tools/Deprecated_tools +--- +<p>{{ToolsSidebar}}</p> + +<p>Over the course of DevTools development, we have added several experimental panels to try out new ideas. Not all of these have had wide adoption, and due to the cost of maintenance, seldom used panels are eventually removed.</p> + +<p>We have created this list of deprecated or removed panels. This page documents the deprecated panels and the bugs that track their removal. Although these panels have been removed, you still have access to the old code, and there are alternative webextensions that you can try to get similar functionality.</p> + +<p>When we deprecate a panel, we begin by getting feedback from the community to determine the impact of removing that panel. Once we have decided to remove the panel, we will provide a warning message, and finally, we will remove the panel from the codebase.</p> + +<p>You may see a warning message, as in the following image, when trying to activate a deprecated panel:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16546/devTool_settings_deprecated_notice.png" style="border: 1px solid black; display: block; height: 504px; margin: 0px auto; width: 2558px;"></p> + +<p><span id="docs-internal-guid-2b4da094-7fff-a275-e630-2200811ec7cd" style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">In addition, if you open the panel for one of these tools, you will also see a warning message about its removal.</span></p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16544/deprecated_tool_notice.png" style="border: 1px solid black; display: block; height: 498px; margin: 0px auto; width: 2558px;"></p> + +<h2 id="Scratchpad" name="Scratchpad">ã¹ã¯ã©ããããã</h2> + +<p>ã¹ã¯ã©ãããããã¯ãFirefox 70 ã§å»æ¢äºå® ({{bug(1565380)}}) ãšãããŠãFirefox 72 ã§åé€ ({{bug(1519103)}}) ãããäºå®ã§ãã</p> + +<h3 id="Description" name="Description">説æ</h3> + +<p>ã¹ã¯ã©ãããããã¯ãJavaScript ã³ãŒãã®å®éšãããç°å¢ãæäŸããŸãããŠã§ãããŒãžã§åäœããã³ãŒãã®èšè¿°ãå®è¡ãçµæã®æ€èšŒãè¡ããŸãã</p> + +<p><img alt="Screenshot of the Scratchpad window with a deprecation message" src="https://mdn.mozillademos.org/files/16859/Screen_Shot_2019-08-26_at_08.08.11.png" style="height: 1012px; width: 1282px;"></p> + +<h3 id="Alternatives" name="Alternatives">代æ¿ç</h3> + +<p>Firefox 71+ ã§ã¯ããŠã§ãã³ã³ãœãŒã«ã®ãšãã£ã¿ãŒã¢ãŒãã§è€æ°è¡ã® JavaScript ã³ãŒããèšè¿°ã§ããã¹ã¯ã©ãããããã«äŒŒãããšãã§ããŸãããšãã£ã¿ãŒã¢ãŒãã¯ãã³ã³ãœãŒã«å
¥åã®å³åŽã«ããã¢ã€ã³ã³ãã¯ãªãã¯ãããã<kbd>Ctrl + B</kbd> (macOS ã§ã¯ <kbd>Cmd + B</kbd> ) ã§èµ·åãããŸãã</p> + +<p><img alt="Screenshot of the Webconsole in inline mode, with the editor mode icon displayed on the right of the console input" src="https://mdn.mozillademos.org/files/16944/editor_mode_toggle_icon.png" style="height: 530px; width: 1476px;">ãšãã£ã¿ãŒã¢ãŒãã§ã¯ã<kbd>Enter</kbd> ããŒãæŒããšæ°ããè¡ãè¿œå ããã<kbd>Ctrl + Enter</kbd> (macOS ã§ã¯ <kbd>Cmd + Enter</kbd>) ã䜿çšããŠè¡šçŸã®æ€èšŒãè¡ããŸãã</p> + +<p><img alt="Screenshot of the Webconsole multiline input, showing an evaluation with a Syntax Error and another, correct one." src="https://mdn.mozillademos.org/files/16860/Screen_Shot_2019-08-26_at_08.18.26.png" style="height: 1166px; width: 1864px;"></p> + +<p>è©äŸ¡ãè¡ã£ãŠãå
¥åã¯æ¶å»ããããã³ãŒãã¹ãããããçŽ æ©ãç¹°ãè¿ããŸãã</p> + +<p>çµæã¯ãå
¥åã®å³åŽã«ããã³ã³ãœãŒã«åºåã«è¡šç€ºãããçŽ æ©ããã£ãŒãããã¯ãæäŸãããŸããã¹ã¯ã©ããããããšéãããšã©ãŒã¯å±éå¯èœãªã¹ã¿ãã¯ãã¬ãŒã¹ã§åºåã§é©åã«è¡šç€ºãããçŸåšæžããŠããã³ãŒãã®ãããã°ãç°¡åã«è¡ããŸãã</p> + +<p>Firefox 72 以éã§ã¯ã<kbd>Ctrl + O</kbd> (macOS ã§ã¯ <kbd>Cmd + O</kbd>) ãæŒããš JavaScript ãã¡ã€ã«ã³ã³ãã³ããã³ã³ãœãŒã«ã®å
¥åã«ã€ã³ããŒãã§ããåæ§ã« <kbd>Ctrl + S</kbd> (macOS ã§ã¯ <kbd>Cmd + S</kbd>) ã䜿çšããŠã³ã³ãœãŒã«ã®å
¥åã³ã³ãã³ããä¿åã§ããŸãã</p> + +<h2 id="WebIDE_and_Connect_page">WebIDE and Connect page</h2> + +<p>WebIDE was deprecated as of Firefox 69</p> + +<p>Disabled as of Firefox 70 ({{bug(1539451)}}).</p> + +<p>Removed as of Firefox 71 ({{bug(1539462)}}).</p> + +<h3 id="Description_2">Description</h3> + +<p>WebIDE allowed you to connect the Firefox Developer Tools to remote browsers, such as Firefox for Android. It was also intended to support application development for Firefox OS.</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16613/WebIDE_68.png" style="display: block; height: 632px; margin: 0px auto; width: 600px;"></p> + +<h3 id="Alternatives_2">Alternatives</h3> + +<p>Remote debugging is available in about:debugging as of Firefox 68. Features not ported to about:debugging are: WiFi debugging for Firefox for Android, application development. Features that are planned but not ported yet: remote browser screenshots and edit remote browser configuration. More details on the <a href="https://groups.google.com/forum/#!topic/mozilla.dev.developer-tools/aWA7JJ-TpRw">mailing-list thread</a>.</p> + +<h2 id="Canvas_debugger">Canvas debugger</h2> + +<p>Bugzilla issue: {{bug(1403938)}}</p> + +<p>Removed as of Firefox 67</p> + +<h3 id="Description_3">Description</h3> + +<p>Canvas Debugger allowed users to inspect the canvas element and see how frequently a given function is called. It was deprecated due to lack of use.</p> + +<p>We do not have dedicated documentation for the Canvas Debugger.</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16543/canvas_tool.png" style="display: block; margin: 0 auto; width: 800px;"></p> + +<h3 id="Alternatives_3">Alternatives</h3> + +<p><a href="https://addons.mozilla.org/en-US/firefox/addon/spector-js/#&gid=1&pid=2" id="docs-internal-guid-836d1256-7fff-1e5e-9c9c-357ae6e43dba" style="text-decoration: none;"><u>Spector.js</u></a><span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> is a WebExtension that can provide these features with 3D contexts.</span></p> + +<h2 id="Web_Audio_editor">Web Audio editor</h2> + +<p>Bugzilla issue: {{bug(1403944)}}</p> + +<p>Removed as of Firefox 67</p> + +<h3 id="Description_4">Description</h3> + +<p>The Web Audio Editor allowed you to examine an audio context constructed in the page and provided a visualization of its graph. This gave a high-level view of its operation, and enabled you to ensure that all the nodes are connected in the way you expect. It was possible to edit the AudioParam properties for each node in the graph. Some non-AudioParam properties, like an OscillatorNode's type property, were displayed and editable as well. It was deprecated due to lack of use.</p> + +<p>More details about the <a href="/en-US/docs/Tools/Web_Audio_Editor">Web Audio Editor</a></p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16548/webAudio_tool.png" style="border: 1px solid black; display: block; margin: 0 auto; width: 800px;"></p> + +<h3 id="Alternatives_4">Alternatives</h3> + +<p>Alternatives include <a href="https://github.com/google/audion">AudioN</a> and <a href="https://github.com/spite/WebAudioExtension">https://github.com/spite/WebAudioExtension</a> web extensions.</p> + +<h2 id="Shader_editor">Shader editor</h2> + +<p>Bugzilla issue: {{bug(1342237)}}</p> + +<p>Removed as of Firefox 67</p> + +<h3 id="Description_5">Description</h3> + +<p>The Shader Editor allowed users to examine and edit the source of the WebGL vertex and fragment shaders. It was deprecated due to low usage and maintenance costs.</p> + +<p>More details about the <a href="/en-US/docs/Tools/Shader_Editor">Shader Editor</a></p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16547/shaderEditor_tool.png" style="border: 1px solid black; display: block; margin: 0 auto; width: 800px;"></p> + +<h3 id="Alternatives_5">Alternatives</h3> + +<p>An alternative to this panel is this extension: <a href="https://github.com/spite/ShaderEditorExtension">https://github.com/spite/ShaderEditorExtension</a>, or <a href="https://addons.mozilla.org/en-US/firefox/addon/spector-js/#&gid=1&pid=2">Spector.js</a> also supports a Shader Editor that requires a library to use a shader reloader hook. Currently only the Babylon library does.</p> diff --git a/files/ja/tools/devtoolsapi/index.html b/files/ja/tools/devtoolsapi/index.html new file mode 100644 index 0000000000..0f5e033845 --- /dev/null +++ b/files/ja/tools/devtoolsapi/index.html @@ -0,0 +1,836 @@ +--- +title: DevTools API +slug: Tools/DevToolsAPI +translation_of: Tools/DevToolsAPI +--- +<div>{{ToolsSidebar}}</div> + +<p>{{obsolete_header()}}</p> + +<p>{{ warning("DevTools APIã¯ãŸã WIPã§ãã ççŸãããå Žåã¯ãFirefox Developer ToolsããŒã ã«ãç¥ãããã ããã") }}</p> + +<p>ãã® API ã¯çŸåšé²è¡äžã§ãããçŸåšäœ¿çšå¯èœãªããŒãžã€ã³ã¹ãã¯ã¿ãšãããã¬ã®äœ¿çšå¯èœãªéšåããããŸãã</p> + +<h2 id="ã€ã³ãããã¯ã·ã§ã³">ã€ã³ãããã¯ã·ã§ã³</h2> + +<p><span class="seoSummary">DevTools API ã¯ãFirefox ã®éçºè
ããŒã«ãç»é²ããŠã¢ã¯ã»ã¹ããæ¹æ³ãæäŸããŸãã</span></p> + +<p>In terms of User Interface, each registered tool lives in its own tab (we call one tab a <strong>panel</strong>). These tabs are located in a box we call a <strong>Toolbox</strong>. A toolbox can be <em>hosted</em> within a browser tab (at the bottom or on the side), or in its own window (we say that the toolbox is <em>undocked</em>). A Toolbox (and all the tools it contains) is linked to a <strong>Target</strong>, which is the object the tools are debugging. A target is usually a web page (a tab), but can be other things (a chrome window, a remote tab,âŠ).</p> + +<p>In terms of code, each tool has to provide a <strong>ToolDefinition</strong> object. A definition is a JS light object that exposes different information about the tool (like its name and its icon), and a <em>build</em> method that will be used later-on to start an instance of this tool. The <strong> gDevTools</strong> global object provides methods to register a tool definition and to access tool instances. An instance of a tool is called a <strong>ToolPanel</strong>. The ToolPanel is built only when the tool is selected (not when the toolbox is opened). There is no way to "close/destroy" a ToolPanel. The only way to close a toolPanel is to close its containing toolbox. All these objects implement the <strong>EventEmitter</strong> interface.</p> + +<h2 id="API">API</h2> + +<h3 id="gDevTools">gDevTools</h3> + +<p>The <code>gDevTools</code> API can be used to register new tools, themes and handle toolboxes for different tabs and windows. To use the <code>gDevTools</code> API from an add-on, it can be imported with following snippet</p> + +<pre class="brush: js"><code>const { gDevTools } = require("resource:///modules/devtools/gDevTools.jsm");</code></pre> + +<h4 id="ã¡ãœãã">ã¡ãœãã</h4> + +<dl> + <dt> + <h5 id="registerTool(toolDefinition)"><code>registerTool(toolDefinition)</code></h5> + </dt> + <dd>Registers a new tool and adds a tab to each existing toolbox.</dd> + <dd><strong>Parameters:</strong><br> + <em><code>toolDefinition {ToolDefinition}</code></em> - An object that contains information about the tool. See {{anch("ToolDefinition")}} for details.</dd> + <dt> + <h5 id="unregisterTool(tool)"><code>unregisterTool(tool)</code></h5> + </dt> + <dd>Unregisters the given tool and removes it from all toolboxes.</dd> + <dd><strong>Parameters:</strong><br> + <em><code>tool {ToolDefinition|String}</code></em> - The tool definition object or the id of the tool to unregister.</dd> + <dt> + <h5 id="registerTheme(themeDefinition)"><code>registerTheme(themeDefinition)</code></h5> + </dt> + <dd>Registers a new theme.</dd> + <dd><strong>Parameters:</strong><br> + <em><code>themeDefinition {ThemeDefinition}</code></em> - An object that contains information about the theme.</dd> + <dt> + <h5 id="unregisterTheme(theme)"><code>unregisterTheme(theme)</code></h5> + </dt> + <dd>Unregisters the given theme.<br> + <br> + <strong>Parameters:</strong><br> + <em><code>theme {ThemeDefinition|String}</code></em> - The theme definition object or the theme identifier.</dd> + <dt> + <h5 id="showToolbox(target_toolId_hostType_hostOptions)"><code>showToolbox(target [, toolId [, hostType [, hostOptions]]])</code></h5> + </dt> + <dd>Opens a toolbox for given target either by creating a new one or activating an existing one.</dd> + <dd><strong>Parameters:</strong><br> + <em><code>target {Target}</code></em> - The target the toolbox will debug.<br> + <em><code>toolId {String}</code></em> - The tool that should be activated. If unspecified the previously active tool is shown.<br> + <em><code>hostType {String}</code></em> - The position the toolbox will be placed. One of <code>bottom</code>, <code>side</code>, <code>window</code>, <code>custom</code>. See {{anch("HostType")}} for details.<br> + <em><code>hostOptions {Object}</code></em> - An options object passed to the selected host. See {{anch("HostType")}} for details.</dd> + <dd><strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the {{anch("Toolbox")}} instance once it has been initialized and the selected tool is loaded.</dd> + <dt> + <h5 id="getToolbox(target)"><code>getToolbox(target)</code></h5> + </dt> + <dd>Fetch the {{anch("Toolbox")}} object for the given target.<br> + <br> + <strong>Parameters:</strong><br> + <em><code>target {Target}</code></em> - The target the toolbox is debugging.<br> + <br> + <strong>Return value:</strong><br> + {{anch("Toolbox")}} object or undefined if there's no toolbox for the given target..</dd> + <dt> + <h5 id="closeToolbox(target)"><code>closeToolbox(target)</code></h5> + </dt> + <dd>Closes the toolbox for given target.</dd> + <dd><strong>Parameters:</strong><br> + <em><code>target {Target}</code></em> - The target of the toolbox that should be closed.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled once the toolbox has been destroyed.</dd> + <dt> + <h5 id="getDefaultTools()"><code>getDefaultTools()</code></h5> + </dt> + <dd>Returns an {{jsxref("Array")}} of {{anch("ToolDefinition")}} objects for the built-in tools.</dd> + <dt> + <h5 id="getAdditionalTools()"><code>getAdditionalTools()</code></h5> + </dt> + <dd>Returns an {{jsxref("Array")}} of {{anch("ToolDefinition")}} objects for tools added by addons.</dd> + <dt> + <h5 id="getToolDefinition(toolId)"><code>getToolDefinition(toolId)</code></h5> + </dt> + <dd>Fetch the {{anch("ToolDefinition")}} object for a tool if it exists and is enabled.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String}</em></code> - The ID of the tool.</dd> + <dd><strong>Return value:</strong><br> + A {{anch("ToolDefinition")}} if a tool with the given ID exists and is enabled, null otherwise.</dd> + <dt> + <h5 id="getToolDefinitionMap()"><code>getToolDefinitionMap()</code></h5> + </dt> + <dd>Returns a toolId â {{anch("ToolDefinition")}} map for tools that are enabled.</dd> + <dt> + <h5 id="getToolDefinitionArray()"><code>getToolDefinitionArray()</code></h5> + </dt> + <dd>Returns an {{jsxref("Array")}} of {{anch("ToolDefinition")}} objects for enabled tools sorted by the order they appear in the toolbox.</dd> + <dt> + <h5 id="getThemeDefinition(themeId)"><code>getThemeDefinition(themeId)</code></h5> + </dt> + <dd>Fetch the <code>ThemeDefinition</code> object for the theme with the given id.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>themeId {String}</em></code> - The ID of the theme.</dd> + <dd><strong>Return value:</strong><br> + A <code>ThemeDefinition</code> object if the theme exists, null otherwise.</dd> + <dt> + <h5 id="getThemeDefinitionMap()"><code>getThemeDefinitionMap()</code></h5> + </dt> + <dd>Returns a toolId â <code>ThemeDefinition</code> map for available themes.</dd> + <dt> + <h5 id="getThemeDefinitionArray()"><code>getThemeDefinitionArray()</code></h5> + </dt> + <dd>Returns an {{jsxref("Array")}} of <code>ThemeDefinition</code> objects for avialble themes.</dd> +</dl> + +<h4 id="Events">Events</h4> + +<p>Following events are emitted by the <code>gDevTools</code> object via the {{anch("EventEmitter")}} interface.</p> + +<dl> + <dt> + <h5 id="tool-registered(toolId)"><code>tool-registered</code><code>(toolId)</code></h5> + </dt> + <dd>A new tool has been registered.</dd> + <dt> + <h5 id="tool-unregistered(tool)"><code>tool-unregistered(tool)</code></h5> + </dt> + <dd>A tool has been unregistered. The parameter is a {{anch("ToolDefinition")}} object.</dd> + <dt> + <h5 id="theme-registered(themeId)"><code>theme-registered(themeId)</code></h5> + </dt> + <dd>A new theme has been registered.</dd> + <dt> + <h5 id="theme-unregistered(theme)"><code>theme-unregistered(theme)</code></h5> + </dt> + <dd>A theme has been unregistered. The parameter is a <code>ThemeDefinition</code> object.</dd> + <dt> + <h5 id="toolbox-ready(toolbox)"><code>toolbox-ready(toolbox)</code></h5> + </dt> + <dd>A new toolbox has been created and is ready to use. The parameter is a {{anch("Toolbox")}} object instance.</dd> + <dt> + <h5 id="toolbox-destroy(target)"><code>toolbox-destroy(target)</code></h5> + </dt> + <dd>The toolbox for the specified target is about to be destroyed.</dd> + <dt> + <h5 id="toolbox-destoyed(target)"><code>toolbox-destoyed(target)</code></h5> + </dt> + <dd>The toolbox for the specified target has been destroyed.</dd> + <dt> + <h5 id="toolId-init(toolbox_iframe)"><code>{toolId}-init(toolbox, iframe)</code></h5> + </dt> + <dd>A tool with the given ID has began to load in the given toolbox to the given frame.</dd> + <dt> + <h5 id="toolId-build(toolbox_panel)"><code>{toolId}-build(toolbox, panel)</code></h5> + </dt> + <dd>A tool with the given ID has began to initialize in the given toolbox. The panel is the object returned by the <code>ToolDefinition.build()</code> method.</dd> + <dt> + <h5 id="toolId-ready(toolbox_panel)"><code>{toolId}-ready(toolbox, panel)</code></h5> + </dt> + <dd>A tool with the given ID has finished its initialization and is ready to be used. The panel is the object returned by the <code>ToolDefinition.build()</code> method.</dd> + <dt> + <h5 id="toolId-destroy(toolbox_panel)"><code>{toolId}-destroy(toolbox, panel)</code></h5> + </dt> + <dd>A tool with the given ID is about to be destroyed. The panel is the object returned by the <code>ToolDefinition.build()</code> method.</dd> +</dl> + +<h3 id="Toolbox">Toolbox</h3> + +<p>A Toolbox is a frame for the {{anch("ToolPanel", "ToolPanels")}} that is debugging a specific target.</p> + +<h4 id="ããããã£">ããããã£</h4> + +<dl> + <dt> + <h5 id="target"><code>target</code></h5> + </dt> + <dd><strong>Target</strong>. The Target this toolbox is debugging.</dd> + <dt> + <h5 id="hostType"><code>hostType</code></h5> + </dt> + <dd><strong>Toolbox.HostType</strong>. The type of the host this Toolbox is docked to. The value is one of the <code>Toolbox.HostType</code> constants.</dd> + <dt> + <h5 id="zoomValue"><code>zoomValue</code></h5> + </dt> + <dd>The current zoom level of the Toolbox.</dd> +</dl> + +<h4 id="Constants">Constants</h4> + +<p>The Toolbox constructor contains following constant properties.</p> + +<dl> + <dt> + <h5 id="Toolbox.HostType.BOTTOM"><code>Toolbox.HostType.BOTTOM</code></h5> + </dt> + <dd>Host type for the default toolbox host at the bottom of the browser window.</dd> + <dt> + <h5 id="Toolbox.HostType.SIDE"><code>Toolbox.HostType.SIDE</code></h5> + </dt> + <dd>Host type for the host at the side of the browser window.</dd> + <dt> + <h5 id="Toolbox.HostType.WINDOW"><code>Toolbox.HostType.WINDOW</code></h5> + </dt> + <dd>Host type for the separate Toolbox window.</dd> + <dt> + <h5 id="Toolbox.HostType.CUSTOM"><code>Toolbox.HostType.CUSTOM</code></h5> + </dt> + <dd>Host type for a custom frame host.</dd> +</dl> + +<h4 id="ã¡ãœãã_2">ã¡ãœãã</h4> + +<dl> + <dt> + <h5 id="getCurrentPanel()"><code>getCurrentPanel()</code></h5> + </dt> + <dd>Get the currently active {{anch("ToolPanel")}}.<br> + <br> + <strong>Return value:</strong><br> + The {{anch("ToolPanel")}} object that was returned from {{anch("build(window_toolbox)", "ToolPanel.build()")}}.</dd> + <dt> + <h5 id="getPanel(toolId)"><code>getPanel(toolId)</code></h5> + </dt> + <dd>Get the {{anch("ToolPanel")}} for given tool.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String} - </em></code>The tool identifier.<br> + <br> + <strong>Return value:</strong><br> + The {{anch("ToolPanel")}} object if the tool with the given <code>toolId</code> is active, otherwise <code>undefined</code>.</dd> + <dt> + <h5 id="getPanelWhenReady(toolId)"><code>getPanelWhenReady(toolId)</code></h5> + </dt> + <dd>Similar to <code>getPanel()</code> but waits for the tool to load first. If the tool is not already loaded or currently loading the returned {{domxref("Promise")}} won't be fulfilled until something triggers the tool to load.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String} - </em></code>The tool identifier.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the {{anch("ToolPanel")}} object once the tool has finished loading.</dd> + <dt> + <h5 id="getToolPanels()"><code>getToolPanels()</code></h5> + </dt> + <dd>Returns a <code>toolId â {{anch("ToolPanel")}}</code> {{jsxref("Map")}} for currently loaded tools.</dd> + <dt> + <h5 id="getNotificationBox()"><code>getNotificationBox()</code></h5> + </dt> + <dd>Returns a {{ XULElem("notificationbox") }} element for the Toolbox that can be used to display notifications to the user.</dd> + <dt> + <h5 id="loadTool(toolId)"><code>loadTool(toolId)</code></h5> + </dt> + <dd>Loads the tool with the given <code>toolId</code> in the background but does not activate it.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String} - </em></code>The tool identifier.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the {{anch("ToolPanel")}} object of the loaded panel once the tool has loaded.<br> +  </dd> + <dt> + <h5 id="selectTool(toolId)"><code>selectTool(toolId)</code></h5> + </dt> + <dd>Selects the tool with the given <code>toolId</code>.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String} - </em></code>The tool identifier.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the {{anch("ToolPanel")}} object of the selected panel once the tool has loaded and activated.</dd> + <dt> + <h5 id="selectNextTool()"><code>selectNextTool()</code></h5> + </dt> + <dd>Selects the next tool in the <code>Toolbox</code>.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the {{anch("ToolPanel")}} object of the selected panel.</dd> + <dt> + <h5 id="selectPreviousTool()"><code>selectPreviousTool()</code></h5> + </dt> + <dd>Selects the previous tool in the <code>Toolbox</code>.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the {{anch("ToolPanel")}} object of the selected panel.</dd> + <dt> + <h5 id="highlightTool(toolId)"><code>highlightTool(toolId)</code></h5> + </dt> + <dd>Highlights the tab for the given tool.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String} - </em></code>The tool to highlight.</dd> + <dt> + <h5 id="unhighlightTool(toolId)"><code>unhighlightTool(toolId)</code></h5> + </dt> + <dd>Unhighlights the tab for the given tool.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>toolId {String} - </em></code>The tool to unhighlight.</dd> + <dt> + <h5 id="openSplitConsole()"><code>openSplitConsole()</code></h5> + </dt> + <dd>Opens the split Console to the bottom of the toolbox.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled once the Console has loaded.</dd> + <dt> + <h5 id="closeSplitConsole()"><code>closeSplitConsole()</code></h5> + </dt> + <dd>Closes the split console.</dd> + <dt> + <h5 id="toggleSplitConsole()"><code>toggleSplitConsole()</code></h5> + </dt> + <dd>Toggles the state of the split console.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled once the operation has finished.</dd> + <dt> + <h5 id="switchHost(hostType)"><code>switchHost(hostType)</code></h5> + </dt> + <dd>Switches the location of the toolbox<br> + <br> + <strong>Parameters:</strong><br> + <code><em>hostType {Toolbox.HostType} - </em></code>The type of the new host.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled once the new host is ready.<br> +  </dd> + <dt> + <h5 id="reloadTarget(force)"><code>reloadTarget(force)</code></h5> + </dt> + <dd>Reloads the current target of the toolbox.<br> + <br> + <strong>Parameters:</strong><br> + <em><code>force {Boolean} -</code></em> If true the target is shift-reloaded i.e. the cache is bypassed during the reload.</dd> + <dt> + <h5 id="zoomIn()"><code>zoomIn()</code></h5> + </dt> + <dd>Increases the zoom level of the <code>Toolbox</code> document.</dd> + <dt> + <h5 id="zoomOut()"><code>zoomOut()</code></h5> + </dt> + <dd>Decreases the zoom level of the <code>Toolbox</code> document.</dd> + <dt> + <h5 id="zoomReset()"><code>zoomReset()</code></h5> + </dt> + <dd>Resets the zoom level of the <code>Toolbox</code> document.</dd> + <dt> + <h5 id="setZoom(value)"><code>setZoom(value)</code></h5> + </dt> + <dd>Set the zoom level to an arbitrary value.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>value {Number} - </em></code>The zoom level such as <code>1.2</code>.</dd> + <dt> + <h5 id="destroy()"><code>destroy()</code></h5> + </dt> + <dd>Closes the toolbox.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is resolved once the <code>Toolbox</code> is destroyed.</dd> +</dl> + +<h4 id="Events_2">Events</h4> + +<p>The Toolbox object emits following events via the {{anch("EventEmitter")}} interface.</p> + +<dl> + <dt> + <h5 id="host-changed"><code>host-changed</code></h5> + </dt> + <dd>The Host for this Toolbox has changed.</dd> + <dt> + <h5 id="ready"><code>ready</code></h5> + </dt> + <dd>The <code>Toolbox</code> is ready to use.</dd> + <dt> + <h5 id="select(toolId)"><code>select(toolId)</code></h5> + </dt> + <dd>A tool has been selected. This event is emitted before the corresponding <code>{toolId}-selected</code> event.</dd> + <dt> + <h5 id="toolId-init(frame)"><code>{toolId}-init(frame)</code></h5> + </dt> + <dd>A tool is about to be loaded. The frame is the {{HTMLElement("iframe")}} element that has been created for the tool.</dd> + <dt> + <h5 id="toolId-build(panel)"><code>{toolId}-build(panel)</code></h5> + </dt> + <dd>The frame for a tool has loaded and the {{anch("build(window_toolbox)", "ToolPanel.build()")}} method has been called but the asynchronous initialization has not started. The parameter is a {{anch("ToolPanel")}} object.</dd> + <dt> + <h5 id="toolId-ready(panel)"><code>{toolId}-ready(panel)</code></h5> + </dt> + <dd>The asynchronous initialization for a tool has completed and it is ready to be used. The parameter is a {{anch("ToolPanel")}} object.</dd> + <dt> + <h5 id="toolId-selected(panel)"><code>{toolId}-selected(panel)</code></h5> + </dt> + <dd>A tool has been selected. The parameter is a {{anch("ToolPanel")}} object.</dd> + <dt> + <h5 id="toolId-destroy(panel)"><code>{toolId}-destroy(panel)</code></h5> + </dt> + <dd>A tool is about to be destroyed. The parameter is a {{anch("ToolPanel")}} object.</dd> + <dt> + <h5 id="destroy"><code>destroy</code></h5> + </dt> + <dd>The <code>Toolbox</code> is about to be destroyed.</dd> + <dt> + <h5 id="destroyed"><code>destroyed</code></h5> + </dt> + <dd>The <code>Toolbox</code> has been destroyed.</dd> +</dl> + +<h3 id="ToolDefinition">ToolDefinition</h3> + +<p>A <code>ToolDefinition</code> object contains all the required information for a tool to be shown in the toolbox.</p> + +<h4 id="Methods">Methods</h4> + +<dl> + <dt> + <h5 id="isTargetSupported(target)"><code>isTargetSupported(target)</code></h5> + </dt> + <dd>A method that is called during toolbox construction to check if the tool supports debugging the given target.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>target {Target} - </em></code>The target to check.<br> + <br> + <strong>Return value:</strong><br> + A boolean indicating if the tool supports the given target.</dd> + <dt> + <h5 id="build(window_toolbox)"><code>build(window, toolbox)</code></h5> + </dt> + <dd>A method that builds the {{anch("ToolPanel")}} for this tool.<br> + <br> + <strong>Parameters:</strong><br> + <em><code>window {Window} - </code></em>The {{domxref("Window")}} object for frame the tool is being built into.<br> + <em><code>toolbox {Toolbox} - </code></em>The {{anch("Toolbox")}} the tool is being built for.<br> + <br> + <strong>Return value:</strong><br> + A {{anch("ToolPanel")}} for the tool.</dd> + <dt> + <h5 id="onKey(panel_toolbox)"><code>onKey(panel, toolbox)</code></h5> + </dt> + <dd><strong>Optional.</strong> A method that is called when the keyboard shortcut for the tool is activated while the tool is the active tool.<br> + <br> + <strong>Parameters:</strong><br> + <code><em>panel {ToolPanel} - </em></code>The {{anch("ToolPanel")}} for the tool.<br> + <em><code>toolbox {Toolbox} - </code></em>The toolbox for the shortcut was triggered for.<br> + <br> + <strong>Return value:</strong><br> + Undefined.</dd> +</dl> + +<h4 id="Properties">Properties</h4> + +<p>The ToolDefinition object can contain following properties. Most of them are optional and can be used to customize the presense of the tool in the Browser and the Toolbox.</p> + +<dl> + <dt> + <h5 id="id"><code>id</code></h5> + </dt> + <dd><strong>String, required.</strong> An unique identifier for the tool. It must be a valid id for an HTML {{domxref("Element")}}.</dd> + <dt> + <h5 id="url"><code>url</code></h5> + </dt> + <dd><strong>String, required.</strong> An URL of the panel document.</dd> + <dt> + <h5 id="label"><code>label</code></h5> + </dt> + <dd><strong>String, optional.</strong> The tool's name. If undefined the <code>icon</code> should be specified.</dd> + <dt> + <h5 id="tooltip"><code>tooltip</code></h5> + </dt> + <dd><strong>String, optional.</strong> The tooltip for the tool's tab.</dd> + <dt> + <h5 id="panelLabel"><code>panelLabel</code></h5> + </dt> + <dd><strong>String, optional.</strong> An accessibility label for the panel.</dd> + <dt> + <h5 id="ordinal"><code>ordinal</code></h5> + </dt> + <dd><strong>Integer, optional.</strong> The position of the tool's tab within the toolbox. <strong>Default: </strong>99</dd> + <dt> + <h5 id="visibilityswitch"><code>visibilityswitch</code></h5> + </dt> + <dd><strong>String, optional.</strong> A preference name that controls the visiblity of the tool. <strong>Default: </strong><code>devtools.{id}.enabled</code></dd> + <dt> + <h5 id="icon"><code>icon</code></h5> + </dt> + <dd><strong>String, optional.</strong> An URL for the icon to show in the toolbox tab. If undefined the label should be defined.</dd> + <dt> + <h5 id="highlightedicon"><code>highlightedicon</code></h5> + </dt> + <dd><strong>String, optional.</strong> An URL for an icon that is to be used when the tool is highlighted (see e.g. paused, inactive debugger). <strong>Default:</strong> <code>{icon}</code></dd> + <dt> + <h5 id="iconOnly"><code>iconOnly</code></h5> + </dt> + <dd><strong>Boolean, optional.</strong> If true, the label won't be shown in the tool's tab. <strong>Default:</strong> false</dd> + <dt> + <h5 id="invertIconForLightTheme"><code>invertIconForLightTheme</code></h5> + </dt> + <dd><strong>Boolean, optional.</strong> If true the colors of the icon will be inverted for the light theme. <strong>Default:</strong> false</dd> + <dt> + <h5 id="key"><code>key</code></h5> + </dt> + <dd><strong>String, optional.</strong> The key used for keyboard shortcut. Either {{XULAttr("key")}} or {{XULAttr("keycode")}} value.</dd> + <dt> + <h5 id="modifiers"><code>modifiers</code></h5> + </dt> + <dd><strong>String, optional.</strong> {{XULAttr("modifiers", "Modifiers")}} for the keyboard shortcut.</dd> + <dt> + <h5 id="preventClosingOnKey"><code>preventClosingOnKey</code></h5> + </dt> + <dd><strong>Boolean, optional.</strong> If true the tool won't close if its keybinding is pressed while it is active. <strong>Default:</strong> false</dd> + <dt> + <h5 id="inMenu"><code>inMenu</code></h5> + </dt> + <dd><strong>Boolean, optional.</strong> If true the tool will be shown in the Developer Menu. <strong>Default:</strong> false</dd> + <dt> + <h5 id="menuLabel"><code>menuLabel</code></h5> + </dt> + <dd><strong>String, optional.</strong> A label for the Developer Menu item. <strong>Default:</strong> <code>{label}</code></dd> + <dt> + <h5 id="accesskey"><code>accesskey</code></h5> + </dt> + <dd><strong>String, optional.</strong> {{XULAttr("accesskey")}} for the Developer Menu {{XULElem("menuitem")}}.</dd> +</dl> + +<h4 id="Example">Example</h4> + +<p>Here's a minimal definition for a tool.</p> + +<pre class="brush: js"><code>let def = { + id: "my-tool", + label: "My Tool", + icon: "chrome://browser/skin/devtools/tool-webconsole.svg", + url: "about:blank", + isTargetSupported: target => true, + build: (window, toolbox) => new MyToolPanel(window, toolbox) +};</code> + +// Register it. +gDevTools.registerTool(def); +</pre> + +<h3 id="TargetType">TargetType</h3> + +<p>FIXME:</p> + +<h3 id="HostType">HostType</h3> + +<p>FIXME</p> + +<h3 id="ToolPanel">ToolPanel</h3> + +<p>The ToolPanel is an interface the toolbox uses to manage the panel of a tool. The object that <code>ToolDefinition.build()</code> returns should implement the methods described below.</p> + +<h4 id="Methods_2">Methods</h4> + +<dl> + <dt> + <h5 id="open()"><code>open()</code></h5> + </dt> + <dd><strong>Optional</strong>. A method that can be used to perform asynchronous initialization. If the method returns a {{domxref("Promise")}}, many operations (e.g. {{anch("showToolbox(target_toolId_hostType_hostOptions)", "gDevTools.showToolbox()")}} or <code>toolbox.selectTool()</code>) and events (e.g. {{anch("toolbox-ready(toolbox)", "toolbox-ready")}}) are delayed until the promise has been fulfilled.<br> + <br> + <strong>Return value:</strong><br> + The method should return a {{domxref("Promise")}} that is resolved with the <code>ToolPanel</code> object once it's ready to be used.</dd> + <dt> + <h5 id="destroy()_2"><code>destroy()</code></h5> + </dt> + <dd> + <p>A method that is called when the toolbox is closed or the tool is unregistered. If the tool needs to perform asynchronous operations during destruction the method should return a {{domxref("Promise")}} that is resolved once the process is complete.</p> + + <p><strong>Return value:</strong><br> + A {{domxref("Promise")}} if the function performs asynchronous operations, otherwise <code>undefined</code>.</p> + </dd> +</dl> + +<h4 id="Example_2">Example</h4> + +<p>Here's a basic template for a ToolPanel implementation.</p> + +<pre class="brush: js"><code>// In the ToolDefintion object, do +// build: (window, target) => new MyPanel(window, target), + +function MyPanel(window, target) { + // The window object that has loaded the URL defined in the ToolDefinition + this.window = window; + // The Target this toolbox is debugging. + this.target = target; + + // Do synchronous initialization here. + window.document.body.addEventListener("click", this.handleClick); +} + +MyPanel.prototype = { + open: function() { + // Any asynchronous operations should be done here. + return this.doSomethingAsynchronous() + .then(() => this); + }, + + destroy: function() { + // Synchronous destruction. + this.window.document.body.removeEventListener("click", this.handleClick); + + // Async destruction. + return this.destroySomethingAsynchronosly() + .then(() => console.log("destroyed")); + }, + + handleClick: function(event) { + console.log("Clicked", event.originalTarget); + }, +};</code> +</pre> + +<h3 id="EventEmitter">EventEmitter</h3> + +<p><code>EventEmitter</code> is an interface many Developer Tool classes and objects implement and use to notify others about changes in their internal state.</p> + +<p>When an event is emitted on the <code>EventEmitter</code>, the listeners will be called with the event name as the first argument and the extra arguments are spread as the remaining parameters.</p> + +<div class="note"> +<p>Note: Some components use Add-on SDK event module instead of the DevTools EventEmitter. Unfortunately, their API's are a bit different and it's not always evident which one a certain component is using. The main differences between the two modules are that the first parameter for Add-on SDK events is the first payload argument instead of the event name and the <code>once</code> method does not return a Promise. The work for unifying the event paradigms is ongoing in {{bug(952653)}}.</p> +</div> + +<h4 id="Methods_3">Methods</h4> + +<p>The following methods are available on objects that have been decorated with the <code>EventEmitter</code> interface.</p> + +<dl> + <dt> + <h5 id="emit(eventName_...extraArguments)"><code>emit(eventName, ...extraArguments)</code></h5> + </dt> + <dd>Emits an event with the given name to this object.<br> + <br> + <strong>Parameters:</strong><br> + <em><code>eventName {String} - </code></em>The name of the event.<br> + <code><em>extraArguments {</em>...<em>Any} - </em></code>Extra arguments that are passed to the listeners.</dd> + <dt> + <h5 id="on(eventName_listener)"><code>on(eventName, listener)</code></h5> + </dt> + <dd>Adds a listener for the given event.</dd> + <dt> + <h5 id="off(eventName_listener)"><code>off(eventName, listener)</code></h5> + </dt> + <dd>Removes the previously added listener from the event.</dd> + <dt> + <h5 id="once(eventName_listener)"><code>once(eventName, listener)</code></h5> + </dt> + <dd>Adds a listener for the event that is removed after it has been emitted once.<br> + <br> + <strong>Return value:</strong><br> + A {{domxref("Promise")}} that is fulfilled with the first extra argument for the event when then event is emitted. If the event contains multiple payload arguments, the rest are discarded and can only be received by providing the listener function to this method.</dd> +</dl> + +<h4 id="Examples">Examples</h4> + +<p>Here's a few examples using the {{anch("gDevTools")}} object.</p> + +<pre class="brush: js"><code>let onInit = (eventName, toolbox, netmonitor) => console.log("Netmonitor initialized!"); + +// Attach a listener. +gDevTools.on("netmonitor-init", onInit); + +// Remove a listener. +gDevTools.off("netmonitor-init", onInit); + +// Attach a one time listener. +gDevTools.once("netmonitor-init", (eventName, toolbox, netmonitor) => { + console.log("Network Monitor initialized once!", toolbox, netmonitor); +}); + +// Use the Promise returned by the once method. +gDevTools.once("netmonitor-init").then(toolbox => { + // Note that the second argument is not available here. + console.log("Network Monitor initialized to toolbox", toolbox); +});</code> +</pre> + +<h3 id="ToolSidebar">ToolSidebar</h3> + +<p>To build a sidebar in your tool, first, add a xul:tabbox where you want the sidebar to live:</p> + +<pre class="line"><code class="brush: html"> <span class="nt"><splitter</span> <span class="na">class=</span><span class="s">"devtools-side-splitter"</span><span class="nt">/></span></code> +<code> <span class="nt"><tabbox</span> <span class="na">id=</span><span class="s">"mytool-sidebar"</span> <span class="na">class=</span><span class="s">"devtools-sidebar-tabs"</span> <span class="na">hidden=</span><span class="s">"true"</span><span class="nt">></span></code> +<code> <span class="nt"><tabs/></span></code> +<code> <span class="nt"><tabpanels</span> <span class="na">flex=</span><span class="s">"1"</span><span class="nt">/></span></code> +<code> <span class="nt"></tabbox></span></code></pre> + +<div class="line"> </div> + +<div class="line">A sidebar is composed of tabs. Each tab will hold an iframe. For example, in the Inspector, there are 3 tabs (Computed View, Rule View, Layout View). The user can select the tab he wants to see.</div> + +<div class="line"> </div> + +<div class="line">If the availability of the tabs depends on some tool-related conditions, we might want to not let the user select a tab. This API provides methods to hide the tabstripe. For example, in the Web Console, there are 2 views (Network View and Object View). These views are only available in certain conditions controlled by the WebConsole code. So it's up the WebConsole the hide and show the sidebar, and select the correct tab.</div> + +<div class="line"> </div> + +<div class="line">If the loaded document exposes a <code>window.setPanel(ToolPanel)</code> function, the sidebar will call it once the document is loaded.</div> + +<div class="line"> </div> + +<table class="standard-table"> + <tbody> + <tr> + <th>Method</th> + <th>Description</th> + </tr> + <tr> + <td><code>new ToolSidebar(xul:tabbox, ToolPanel, uid, showTabstripe=true)</code></td> + <td>ToolSidebar constructor</td> + </tr> + <tr> + <td><code>void addTab(tabId, url, selected=false)</code></td> + <td>Add a tab in the sidebar</td> + </tr> + <tr> + <td><code>void select(tabId)</code></td> + <td>Select a tab</td> + </tr> + <tr> + <td><code>void hide()</code></td> + <td>Hide the sidebar</td> + </tr> + <tr> + <td><code>void show()</code></td> + <td>Show the sidebar</td> + </tr> + <tr> + <td><code>void toggle()</code></td> + <td>Toggle the sidebar</td> + </tr> + <tr> + <td><code>void getWindowForTab(tabId)</code></td> + <td>Get the iframe containing the tab content</td> + </tr> + <tr> + <td><code>tabId getCurrentTabID()</code></td> + <td>Return the id of tabId of the current tab</td> + </tr> + <tr> + <td><code>tabbox getTab(tabId)</code></td> + <td>Return a tab given its id</td> + </tr> + <tr> + <td><code>destroy()</code></td> + <td>Destroy the ToolSidebar object</td> + </tr> + <tr> + <th>Events</th> + <th>Description</th> + </tr> + <tr> + <td><code>new-tab-registered</code></td> + <td>A new tab has been added</td> + </tr> + <tr> + <td><code>{tabId}-ready</code></td> + <td>Tab is loaded and can be used</td> + </tr> + <tr> + <td><code>{tabId}-selected</code></td> + <td>Tab has been selected and is visible</td> + </tr> + <tr> + <td><code>{tabId}-unselected</code></td> + <td>Tab has been unselected and is not visible</td> + </tr> + <tr> + <td><code>show</code></td> + <td>The sidebar has been opened.</td> + </tr> + <tr> + <td><code>hide</code></td> + <td>The sidebar has been closed.</td> + </tr> + </tbody> +</table> + +<h2 id="Examples_2">Examples</h2> + +<p>Register a tool</p> + +<pre class="brush: js">gDevTools.registerTool({ + // FIXME: missing key related properties. + id: "inspector", + icon: "chrome://browser/skin/devtools/inspector-icon.png", + url: "chrome://browser/content/devtools/inspector/inspector.xul", + get label() { + let strings = Services.strings.createBundle("chrome://browser/locale/devtools/inspector.properties"); + return strings.GetStringFromName("inspector.label"); + }, + + isTargetSupported: function(target) { + return !target.isRemote; + }, + + build: function(iframeWindow, toolbox, node) { + return new InspectorPanel(iframeWindow, toolbox, node); + } +}); +</pre> + +<p>Open a tool, or select it if the toolbox is already open:</p> + +<pre class="brush: js">let target = TargetFactory.forTab(gBrowser.selectedTab); +let toolbox = gDevTools.openToolbox(target, null, "inspector"); + +toolbox.once("inspector-ready", function(event, panel) { + let inspector = toolbox.getToolPanels().get("inspector"); + inspector.selection.setNode(target, "browser-context-menu"); +}); +</pre> + +<p>Add a sidebar to an existing tool:</p> + +<pre class="brush: js">let sidebar = new ToolSidebar(xulTabbox, toolPanel, "toolId"); +sidebar.addTab("tab1", "chrome://browser/content/.../tab1.xhtml", true); +sidebar.addTab("tab2", "chrome://browser/content/.../tab2.xhtml", false); +sidebar.show(); +</pre> diff --git a/files/ja/tools/devtoolscolors/index.html b/files/ja/tools/devtoolscolors/index.html new file mode 100644 index 0000000000..fc375c4720 --- /dev/null +++ b/files/ja/tools/devtoolscolors/index.html @@ -0,0 +1,343 @@ +--- +title: DevToolsã«ã©ãŒ +slug: Tools/DevToolsColors +tags: + - CSS +translation_of: Tools/DevToolsColors +--- +<div>{{ToolsSidebar}}</div> + +<div class="warning"> +<p>ãããã®å€ã®ãããããå€æŽããå¿
èŠãããå Žåã¯ã<code>/browser/themes/*/devtools/</code>ã®äžã®CSSã³ãŒããå€æŽããå¿
èŠããããŸããããã«å¿ããŠDevToolsã®ãã°ãå ±åããŠãã ããã</p> +</div> + +<p class="summary"><span class="seoSummary">ãã®ãã£ãŒãã«ã¯ãéçºè
ããŒã«ã®ããŒã¯ããŒããšã©ã€ãããŒãã§å®è£
ãããŠããè²ãšCSSå€æ°ãäžèŠ§ã§è¡šç€ºãããŠããŸãã</span></p> + +<table> + <thead> + <tr> + <th> </th> + <th>ããŒã¯ããŒã</th> + <th>ã©ã€ãããŒã</th> + <th>CSS å€æ°</th> + </tr> + </thead> + <tbody> + <tr> + <th colspan="3"> + <h3 id="Chrome_Colors">Chrome Colors</h3> + </th> + <th> </th> + </tr> + <tr> + <th>ã¿ãããŒã«ããŒ</th> + <td> + <div class="swatch" style="background: #252c33;"> </div> + + <p>#252c33<br> + rgba(37, 44, 51, 1)</p> + </td> + <td> + <div class="swatch" style="background: #ebeced;"> </div> + #ebeced<br> + rgba(235, 236, 237, 1)</td> + <td>--theme-tab-toolbar-background</td> + </tr> + <tr> + <th>ããŒã«ããŒ</th> + <td> + <div class="swatch" style="background: #343c45;"> </div> + #343c45<br> + rgba(52, 60, 69, 1)</td> + <td> + <div class="swatch" style="background: #f0f1f2;"> </div> + #f0f1f2<br> + rgba(240, 241, 242, 1)</td> + <td>--theme-toolbar-background</td> + </tr> + <tr> + <th>éžæç®æã®èæ¯</th> + <td> + <div class="swatch" style="background: #1d4f73;"> </div> + #1d4f73<br> + rgba(29, 79, 115, 1)</td> + <td> + <div class="swatch" style="background: #4c9ed9;"> </div> + #4c9ed9<br> + rgba(76, 158, 217, 1)</td> + <td>--theme-selection-background</td> + </tr> + <tr> + <th>éžæããããã¹ãã®è²</th> + <td> + <div class="swatch" style="background: #f5f7fa;"> </div> + #f5f7fa<br> + rgba(245, 247, 250, 1)</td> + <td> + <div class="swatch" style="background: #f5f7fa;"> </div> + #f5f7fa<br> + rgba(245, 247, 250, 1)</td> + <td>--theme-selection-color</td> + </tr> + <tr> + <th>ã¹ããªãã¿</th> + <td> + <div class="swatch" style="background: #000000;"> </div> + #000000<br> + rgba(0, 0, 0, 1)</td> + <td> + <div class="swatch" style="background: #aaaaaa;"> </div> + #aaaaaa<br> + rgba(170, 170, 170, 1)</td> + <td>--theme-splitter-color</td> + </tr> + <tr> + <th>ã³ã¡ã³ã</th> + <td> + <div class="swatch" style="background: #5c6773;"> </div> + + <p>#5c6773<br> + rgba(92, 103, 115, 1)</p> + </td> + <td> + <div class="swatch" style="background: #747573;"> </div> + + <p>#747573<br> + rgba(116, 117, 115, 1)</p> + </td> + <td>--theme-comment</td> + </tr> + </tbody> + <tbody> + <tr> + <th colspan="3"> + <h3 id="ã³ã³ãã³ãã®è²">ã³ã³ãã³ãã®è²</h3> + </th> + <th> </th> + </tr> + <tr> + <th>èæ¯ - ããã£</th> + <td> + <div class="swatch" style="background: #14171a;"> </div> + #14171a<br> + rgba(17, 19, 21, 1)</td> + <td> + <div class="swatch" style="background: #fcfcfc;"> </div> + #fcfcfc<br> + rgba(252, 252, 252, 1)</td> + <td>--theme-body-background</td> + </tr> + <tr> + <th>èæ¯ - ãµã€ãããŒ</th> + <td> + <div class="swatch" style="background: #181d20;"> </div> + #181d20<br> + rgba(24, 29, 32, 1)</td> + <td> + <div class="swatch" style="background: #f7f7f7;"> </div> + #f7f7f7<br> + rgba(247, 247, 247, 1)</td> + <td>--theme-sidebar-background</td> + </tr> + <tr> + <th>èæ¯ - 泚æ</th> + <td> + <div class="swatch" style="background: #b28025;"> </div> + #b28025<br> + rgba(178, 128, 37, 1)</td> + <td> + <div class="swatch" style="background: #e6b064;"> </div> + #e6b064<br> + rgba(230, 176, 100, 1)</td> + <td>--theme-contrast-background</td> + </tr> + </tbody> + <tbody> + <tr> + <th colspan="3"> + <h3 id="ããã¹ãã®è²">ããã¹ãã®è²</h3> + </th> + <th> </th> + </tr> + <tr> + <th>ããã£ããã¹ã</th> + <td> + <div class="swatch" style="background: #8fa1b2;"> </div> + #8fa1b2<br> + rgba(143, 161, 178, 1)</td> + <td> + <div class="swatch" style="background: #18191a;"> </div> + #18191a<br> + rgba(24, 25, 26, 1)</td> + <td>--theme-body-color</td> + </tr> + <tr> + <th>ãã©ã¢ã°ã©ãŠã³ã (ããã¹ã) - ã°ã¬ãŒ</th> + <td> + <div class="swatch" style="background: #b6babf;"> </div> + #b6babf<br> + rgba(182, 186, 191, 1)</td> + <td> + <div class="swatch" style="background: #585959;"> </div> + #585959<br> + rgba(88, 89, 89, 1)</td> + <td>--theme-body-color-alt</td> + </tr> + <tr> + <th>ã³ã³ãã³ã (ããã¹ã) - ãã€ã³ã³ãã©ã¹ã</th> + <td> + <div class="swatch" style="background: #a9bacb;"> </div> + #a9bacb<br> + rgba(169, 186, 203, 1)</td> + <td> + <div class="swatch" style="background: #292e33;"> </div> + #292e33<br> + rgba(41, 46, 51, 1)</td> + <td>--theme-content-color1</td> + </tr> + <tr> + <th>ã³ã³ãã³ã (ããã¹ã) - ã°ã¬ãŒ</th> + <td> + <div class="swatch" style="background: #8fa1b2;"> </div> + #8fa1b2<br> + rgba(143, 161, 178, 1)</td> + <td> + <div class="swatch" style="background: #8fa1b2;"> </div> + #8fa1b2<br> + rgba(143, 161, 178, 1)</td> + <td>--theme-content-color2</td> + </tr> + <tr> + <th>ã³ã³ãã³ã (ããã¹ã) - ããŒã¯ã°ã¬ãŒ</th> + <td> + <div class="swatch" style="background: #667380;"> </div> + #667380<br> + rgba(102, 115, 128, 1)</td> + <td> + <div class="swatch" style="background: #667380;"> </div> + #667380<br> + rgba(102, 115, 128, 1)</td> + <td>--theme-content-color3</td> + </tr> + </tbody> + <tbody> + <tr> + <th colspan="3"> + <h3 id="ãã€ã©ã€ãã«ã©ãŒ">ãã€ã©ã€ãã«ã©ãŒ</h3> + </th> + <th> </th> + </tr> + <tr> + <th>é</th> + <td> + <div class="swatch" style="background: #46afe3;"> </div> + #46afe3<br> + rgba(70, 175, 227, 1)</td> + <td> + <div class="swatch" style="background: #0088cc;"> </div> + #0088cc<br> + rgba(0, 136, 204, 1)</td> + <td>--theme-highlight-blue</td> + </tr> + <tr> + <th>玫</th> + <td> + <div class="swatch" style="background: #6b7abb;"> </div> + #6b7abb<br> + rgba(107, 122, 187, 1)</td> + <td> + <div class="swatch" style="background: #5b5fff;"> </div> + #5b5fff<br> + rgba(91, 95, 255, 1)</td> + <td>--theme-highlight-purple</td> + </tr> + <tr> + <th>ãã³ã¯</th> + <td> + <div class="swatch" style="background: #df80ff;"> </div> + #df80ff<br> + rgba(223, 128, 255, 1)</td> + <td> + <div class="swatch" style="background: #b82ee5;"> </div> + #b82ee5<br> + rgba(184, 46, 229, 1)</td> + <td>--theme-highlight-pink</td> + </tr> + <tr> + <th>èµ€</th> + <td> + <div class="swatch" style="background: #eb5368;"> </div> + #eb5368<br> + rgba(235, 83, 104, 1)</td> + <td> + <div class="swatch" style="background: #ed2655;"> </div> + #ed2655<br> + rgba(237, 38, 85, 1)</td> + <td>--theme-highlight-red</td> + </tr> + <tr> + <th>ãªã¬ã³ãž</th> + <td> + <div class="swatch" style="background: #d96629;"> </div> + #d96629<br> + rgba(217, 102, 41, 1)</td> + <td> + <div class="swatch" style="background: #f13c00;"> </div> + #f13c00<br> + rgba(241, 60, 0, 1)</td> + <td>--theme-highlight-orange</td> + </tr> + <tr> + <th>ã©ã€ããªã¬ã³ãž</th> + <td> + <div class="swatch" style="background: #d99b28;"> </div> + #d99b28<br> + rgba(217, 155, 40, 1)</td> + <td> + <div class="swatch" style="background: #d97e00;"> </div> + #d97e00<br> + rgba(217, 126, 0, 1)</td> + <td>--theme-highlight-lightorange</td> + </tr> + <tr> + <th>ç·</th> + <td> + <div class="swatch" style="background: #70bf53;"> </div> + #70bf53<br> + rgba(112, 191, 83, 1)</td> + <td> + <div class="swatch" style="background: #2cbb0f;"> </div> + #2cbb0f<br> + rgba(44, 187, 15, 1)</td> + <td>--theme-highlight-green</td> + </tr> + <tr> + <th>ãã«ãŒã°ã¬ãŒ</th> + <td> + <div class="swatch" style="background: #5e88b0;"> </div> + #5e88b0<br> + rgba(94, 136, 176, 1)</td> + <td> + <div class="swatch" style="background: #0072ab;"> </div> + #0072ab<br> + rgba(0, 114, 171, 1)</td> + <td>--theme-highlight-bluegrey</td> + </tr> + <tr> + <th>é»</th> + <td> + <div class="swatch" style="background: #ffffb4;"> </div> + #ffffb4<br> + rgba(255, 255, 180, 1)</td> + <td> + <div class="swatch" style="background: #ffffb4;"> </div> + #ffffb4<br> + rgba(255, 255, 180, 1)</td> + <td>--theme-highlight-yellow</td> + </tr> + </tbody> +</table> + +<div class="warning"> +<p>ãŸã ä¿®æ£ãããŠããŸãããé²è¡ç¶æ³ã«ã€ããŠã¯ã<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=916766">bug 916766</a>ãåç
§ããŠãã ããã</p> +</div> diff --git a/files/ja/tools/dom_property_viewer/index.html b/files/ja/tools/dom_property_viewer/index.html new file mode 100644 index 0000000000..d222a270e2 --- /dev/null +++ b/files/ja/tools/dom_property_viewer/index.html @@ -0,0 +1,46 @@ +--- +title: DOM ããããã£ãã¥ãŒã¢ãŒ +slug: Tools/DOM_Property_Viewer +tags: + - DOM + - Tools + - Web Development +translation_of: Tools/DOM_Property_Viewer +--- +<div>{{ToolsSidebar}}</div> + +<div class="blockIndicator geckoVersionNote">DOM ããããã£ãã¥ãŒã¢ãŒã¯ Firefox 48 ã®æ°æ©èœã§ããããã¯ããã©ã«ãã§ç¡å¹ã«ããŠããŸãã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ã§æå¹åã§ããŸãã</div> + +<p>DOM ããããã£ãã¥ãŒã¢ãŒã¯ãçŸåšã®ããŒãžãŸã㯠<a href="/ja/docs/tools/Working_with_iframes">éžæãããã¬ãŒã </a> ã® {{domxref("window")}} ãªããžã§ã¯ãããå§ãŸã {{Glossary("DOM")}} ã®ããããã£ããå±éå¯èœãªããªãŒæ§é ã§èª¿æ»ã§ããããŒã«ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13098/DOM%20Inspector.png" style="display: block; height: 315px; margin-left: auto; margin-right: auto; width: 843px;"></p> + +<h2 id="Enabling_the_DOM_Property_Viewer" name="Enabling_the_DOM_Property_Viewer">DOM ããããã£ãã¥ãŒã¢ãŒãæå¹åãã</h2> + +<p>DOM ããããã£ãã¥ãŒã¢ãŒã¯ããã©ã«ãã§ç¡å¹åããŠããŸãã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³ </a>ãéããŠã"æšæºã® Firefox éçºããŒã«" ã® "DOM" ã«ãã§ãã¯ãå
¥ãããšæå¹åãããŸãã</p> + +<h2 id="Opening_the_DOM_Property_Viewer" name="Opening_the_DOM_Property_Viewer">DOM ããããã£ãã¥ãŒã¢ãŒãéã</h2> + +<p>æå¹åãããšãFirefox ã¡ãã¥ãŒããã« (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã macOS ã§ã¯ããŒã«ã¡ãã¥ãŒé
äž) ã® Web éçºãµãã¡ãã¥ãŒå
ã«ãã "DOM" ãéžæããããããã¯ããŒããŒãã·ã§ãŒãã«ãã <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>W</kbd> ãæŒäžã㊠DOM ããããã£ãã¥ãŒã¢ãŒãéãããšãã§ããŸãã</p> + +<p>DOM ããããã£ãã¥ãŒã¢ãŒãã¢ã¯ãã£ãã«ãªã£ãŠãã<a href="/ja/docs/Tools/Tools_Toolbox" title="Tools/Tools_Toolbox"> ããŒã«ããã¯ã¹ </a>ãããã©ãŠã¶ãŠã£ã³ããŠã®äžéšã«çŸããŸããããŒã«ããã¯ã¹ã§ã¯ "DOM" ãšããååã§ãã</p> + +<h2 id="DOM_Property_Viewer_user_interface" name="DOM_Property_Viewer_user_interface">DOM ããããã£ãã¥ãŒã¢ãŒã®ãŠãŒã¶ã€ã³ã¿ãŒãã§ã€ã¹</h2> + +<h3 id="DOM_tree" name="DOM_tree">DOM ããªãŒ</h3> + +<p>DOM ã®ããŸããŸãªããããã£ããå±éå¯èœãªããªãŒãšããŠè¡šç€ºããŸããå·ŠåŽã«ããããã£ã®å称ãå³åŽã«ããããã£ã®å€ã衚瀺ããŸãããªããžã§ã¯ãã®ããããã£ãé
åã®ã¢ã€ãã ã¯ã3 åãŸã§è¡šç€ºããŸããããããã£ã«å€ãã®èŠçŽ ãååšããå Žå㯠"more..." ãšãã泚éãã€ããŸãããã¹ãŠã®èŠçŽ ã確èªããã«ã¯ãããããã£ã®é
ç®ãã¯ãªãã¯ããªããã°ãªããŸãããé åã®ã¢ã€ã³ã³ã¯ãæžã蟌ã¿äžå¯ã®ããããã£ã§ããããšã瀺ããŸãã</p> + +<h3 id="Refreshing_the_display" name="Refreshing_the_display">衚瀺å
容ãæŽæ°ãã</h3> + +<p>DOM ãå€åãããšãã¯ã<em>Refresh</em> ãã¿ã³ãæŒããŠè¡šç€ºå
容ãæŽæ°ã§ããŸã:</p> + +<p><img alt="Button to update the DOM Inspector display" src="https://mdn.mozillademos.org/files/13102/DOM%20Inspector%20Refresh%20button.png" style="display: block; height: 315px; margin-left: auto; margin-right: auto; width: 852px;"></p> + +<h3 id="Filtering" name="Filtering">ãã£ã«ã¿ãªã³ã°</h3> + +<p>ããŒã«ããŒå
ã«ãæ€çŽ¢ããã¯ã¹ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13100/DOM%20Inspector%20search%20box.png" style="display: block; height: 315px; margin-left: auto; margin-right: auto; width: 851px;"></p> + +<p>ããã¯ãæ€çŽ¢æååã«ãããããã¢ã€ãã ã®ã¿è¡šç€ºãããããã£ã«ã¿ãªã³ã°ããŸããå称ã«æ€çŽ¢æååãå«ãã¢ã€ãã ããããããŸãããããã³ã°ã®éã¯å€§æåã»å°æåãåºå¥ããŸãã</p> diff --git a/files/ja/tools/eyedropper/index.html b/files/ja/tools/eyedropper/index.html new file mode 100644 index 0000000000..37f9d29af4 --- /dev/null +++ b/files/ja/tools/eyedropper/index.html @@ -0,0 +1,42 @@ +--- +title: ã¹ãã€ã +slug: Tools/Eyedropper +translation_of: Tools/Eyedropper +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>ã¹ãã€ã㯠Firefox 31 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ã¹ãã€ãããŒã«ã§ãããŒãžå
ããè²ãéžæããããšãã§ããŸããããã¯ããŒãžäžã§æ¡å€§é¡ã®ããã«åäœããŠããã¯ã»ã«åäœã®ç²ŸåºŠã§éžæããããšãã§ããŸããæ¡å€§é¡ã®äžã«ã¯ãçŸåšéžæããŠãããã¯ã»ã«ã®è²ã®å€ãã<a href="/ja/docs/Tools/Settings#Inspector">ãªãã·ã§ã³ > èª¿æ» </a>ã§éžæããè²åäœã§è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7749/eyedropper.png" style="display: block; height: 204px; margin-left: auto; margin-right: auto; width: 305px;">ãã®ããŒã«ã¯ä»¥äž 2 çš®é¡ã®çšéã§äœ¿çšã§ããŸã:</p> + +<ul> + <li>ããŒãžããè²ãéžæããŠãã¯ãªããããŒãã«ã³ããŒãã</li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã®ã«ãŒã«ãã¥ãŒã«ããè²ã®å€ããããŒãžããéžæããè²ã«å€æŽãã</li> +</ul> + +<h2 id="Copying_a_color_to_the_clipboard" name="Copying_a_color_to_the_clipboard">è²ãã¯ãªãã¯ããŒãã«ã³ããŒãã</h2> + +<p>Eyedropper 㯠2 çš®é¡ã®æ¹æ³ã§éãããšãã§ããŸã:</p> + +<ul> + <li>"Web éçº" ã¡ãã¥ãŒã§ "ã¹ãã€ã" ãéžæãã</li> + <li><a href="/ja/docs/Tools/Tools_Toolbox#Toolbar">ããŒã«ããã¯ã¹ã®ããŒã«ããŒ</a> ã§ã¹ãã€ããã¿ã³ãã¯ãªãã¯ãã (ãã ãããã®ãã¿ã³ã¯ããã©ã«ãã§è¡šç€ºãããŠããŸããã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³ </a>㧠"ããŒãžããè²ãéžæããŸã" ã«ãã§ãã¯ãå
¥ããªããã°ãªããŸãã)</li> +</ul> + +<p>ããŒãžäžã§ããŠã¹ãã€ã³ã¿ãŒãåããã®ã«å¿ããŠãã¹ãã€ãã§éžæäžã®è²ã®å€ãå€ãããŸããã¯ãªãã¯ãããšãçŸåšã®è²ã®å€ãã¯ãªããããŒãã«ã³ããŒããŸãã</p> + +<p>{{EmbedYouTube("xf2uk6UyRB8")}}</p> + +<h2 id="Changing_a_color_value_in_the_Rules_view" name="Changing_a_color_value_in_the_Rules_view">ã«ãŒã«ãã¥ãŒã§è²ã®å€ãå€æŽãã</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã®ã«ãŒã«ãã¥ãŒã«ããè²ã®å€ã§ã¯ãé£ã«è²ã®ãµã³ãã«ã衚瀺ããŠããŸããè²ã®ãµã³ãã«ãã¯ãªãã¯ãããš<a href="/ja/docs/Tools/Page_Inspector#Color_picker">ã«ã©ãŒããã«ãŒ</a>ããããã¢ããããŸããFirefox 31 ããããããã¢ããã«ã¹ãã€ãã®ã¢ã€ã³ã³ããããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã¹ãã€ãããŒã«ãèµ·åããŸãã</p> + +<p>ã¹ãã€ãããŒã«ã§ã¯ãªãã¯ãããšãã«ãŒã«ãã¥ãŒã®è²ãã¹ãã€ãã§éžæããè²ã«èšå®ãããŸãã</p> + +<p>{{EmbedYouTube("0Zx1TN21QOo")}}</p> + +<h2 id="Keyboard_shortcuts" name="Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</h2> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "eyedropper")}}</p> diff --git a/files/ja/tools/firefox_os_1.1_simulator/index.html b/files/ja/tools/firefox_os_1.1_simulator/index.html new file mode 100644 index 0000000000..407f80f0bd --- /dev/null +++ b/files/ja/tools/firefox_os_1.1_simulator/index.html @@ -0,0 +1,349 @@ +--- +title: Firefox OS 1.1 Simulator +slug: Tools/Firefox_OS_1.1_Simulator +translation_of: Tools/Firefox_OS_1.1_Simulator +--- +<div>{{ToolsSidebar}}</div><div id="doc-content"> +<div class="page-content boxed"> +<div class="note"> +<p>ãã®ããŒãžã§ã¯ã"æ§ç" ã® Firefox OS Simulator ã«ã€ããŠèª¬æããŸãããã㯠Firefox 1.1 åãã®ã¢ããªãéçºããŠããå Žåã«ã®ã¿äœ¿çšãã¹ãã§ããããŸã Firefox 24 ãŸã㯠25 ã«ã®ã¿ã€ã³ã¹ããŒã«å¯èœã§ãã</p> + +<p>Firefox OS 1.2 以éåãã®ã¢ããªãéçºããŠããå Žåã¯ã代ããã«<a href="/ja/docs/Firefox_OS/Using_the_App_Manager">ã¢ããªãããŒãžã£</a>ã䜿çšããªããã°ãªããŸããã</p> + +<p>æ¯æŽãå¿
èŠã§ããå Žåã¯ã<a href="https://lists.mozilla.org/listinfo/dev-developer-tools">dev-developer-tools ã¡ãŒãªã³ã°ãªã¹ã</a> ãŸã㯠<a href="irc://irc.mozilla.org/#devtools">irc.mozilla.org ã® #devtools</a> ã§è³ªåããŠãã ããã</p> +</div> + +<p>Firefox OS Simulator ã¢ããªã³ã§ããã¹ã¯ãããç°å¢ã«ãŠ <a href="/ja/docs/Apps" title="Apps">Firefox OS ã¢ããª</a> ã®ãã¹ãããããã°ãå¯èœã«ãªããŸããSimulator ã§ã¯ãå®éã®ããã€ã¹ã䜿ãããã Code-Test-Debug ã®ãµã€ã¯ã«ãé«éåããŸãããŸãåœç¶ãªãããSimulator ã䜿ãããã«å®éã®ããã€ã¹ã¯å¿
èŠãããŸããã</p> + +<p>æ¬è³ªçã«ãSimulator ã¢ããªã³ãæ§æãããã®ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li><strong>Simulator</strong>: ããã«ã¯ <a href="/ja/docs/Mozilla/Firefox_OS/Using_the_B2G_desktop_client" title="Mozilla/Firefox_OS/Using_the_B2G_desktop_client">Firefox OS ãã¹ã¯ãããã¯ã©ã€ã¢ã³ã</a>ãå«ãŸããŠããŸããããã¯ãã¹ã¯ãããç°å¢ã§å®è¡ããã<a href="/ja/docs/Mozilla/Firefox_OS" title="Mozilla/Firefox_OS">Firefox OS</a> ã®é«æ°Žæºå±€ããŒãžã§ã³ã§ããSimulator ã«ã¯ãæšæºç㪠Firefox OS ãã¹ã¯ããããã«ãã«ã¯ååšããªã<a href="#Simulator-toolbar" title="#Simulator-toolbar">ä»å çãªãšãã¥ã¬ãŒã·ã§ã³æ©èœ</a>ãå«ãŸããŠããŸãã</li> + <li><strong>Dashboard</strong>: Simulator ã®éå§ã»çµäºãã¢ããªã®ã€ã³ã¹ããŒã«ã»ã¢ã³ã€ã³ã¹ããŒã«ã»ãããã°ãå¯èœã«ãããFirefox ãã©ãŠã¶ã§æäŸããããŒã«ã§ãããŸã Dashboard ã¯ãã¢ããªãå®éã®ããã€ã¹ã«ããã·ã¥ããããã¢ããªãããã§ã¹ãã«ã€ããŠäžè¬çãªåé¡ããã§ãã¯ãããããããšãã§ããŸãã</li> +</ul> + +<p>以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ãSimulator ã䜿çšãããããã°ã»ãã·ã§ã³ã瀺ããŠããŸãã</p> + +<p>Dashboard ã¯å³äžã®ãFirefox ã®ã¿ãå
ã§å®è¡ããŠãããã®ã§ããããã§ã¯ "Where am I?" ãšããååã®ããã±ãŒãžåã¢ããªãè¿œå ããŸãããå·Šäžã§ã¯ãSimulator ã¢ããªãå®è¡ããŠããŸãããŸããããã°ããŒã«ãæ¥ç¶ããŠãããããã¯äžéšã«ããããã«ã§ããã³ã³ãœãŒã«ãã€ã³ã«ãã¢ããªã«é¢ããã¡ãã»ãŒãžã衚瀺ãããŠããã®ãã芧ããã ããã§ãããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5513/Simulator-overview-4.0.png"></p> + +<p>æ¬ã¬ã€ãã§ã¯ä»¥äžã®ãããã¯ãæ±ããŸã:</p> + +<ul> + <li><a href="#Installing" title="#Installing">Simulator ã¢ããªã³ã®ã€ã³ã¹ããŒã«æ¹æ³</a></li> + <li><a href="#Adding-updating-removing" title="#Adding-updating-removing">ã¢ããªãè¿œå ã»åé€ã»æŽæ°ããæ¹æ³</a></li> + <li><a href="#Manifest-validation" title="#Manifest-validation">ãããã§ã¹ãã®æ€èšŒ</a></li> + <li><a href="#Running-the-Simulator" title="#Running-the-Simulator">Simulator ã®å®è¡æ¹æ³</a></li> + <li><a href="#Attaching-developer-tools" title="#Attaching-developer-tools">JS debugger ãªã©ã®ãããã°ããŒã«ã Simulator ã§å®è¡ããŠããã¢ããªã«æ¥ç¶ããæ¹æ³</a></li> + <li><a href="#Simulator-receipts" title="#Simulator-receipts">課éã¢ããªåãã®ãã¹ãã¬ã·ãŒããååŸããæ¹æ³</a></li> + <li><a href="#Push-to-device" title="#Push-to-device">æ¥ç¶ããŠããããã€ã¹ã«ã¢ããªãããã·ã¥ããæ¹æ³</a></li> + <li><a href="#Limitations" title="#Limitations">å®éã® Firefox OS ããã€ã¹ã«å¯Ÿãã Simulator ã®å¶éäºé
</a></li> +</ul> + +<div class="note"> +<p>å®éã® Web ã¢ããªã®ãããã°ã« Simulator ã䜿çšããæ¹æ³ã«ã€ããŠç€ºãããå®è·µçãªè©³çŽ°èª¬æã«ã€ããŠã¯ <a href="/ja/docs/Tools/Firefox_OS_Simulator/Simulator_Walkthrough" title="Tools/Firefox_OS_Simulator/Simulator_Walkthrough">Simulator Walkthrough</a> ã®ããŒãžãã芧ãã ããã</p> +</div> + +<h2 id="Installing_the_Simulator_add-on" name="Installing_the_Simulator_add-on"><a name="Installing">Simulator ã¢ããªã³ã®ã€ã³ã¹ããŒã«</a></h2> + +<p>Simulator ã¯ãFirefox ã®ã¢ããªã³ãšããŠããã±ãŒãžåããã³é åžããŠããŸããã€ã³ã¹ããŒã«æ¹æ³ã¯ä»¥äžã®ãšããã§ã:</p> + +<ol> + <li>Firefox 㧠<a href="https://addons.mozilla.org/firefox/addon/firefox-os-simulator/" title="https://addons.mozilla.org/firefox/addon/firefox-os-simulator/">addons.mozilla.org å
ã® Simulator ã®ããŒãž</a>ã蚪ããŠãã ããã</li> + <li>"Firefox ã«è¿œå " ãã¯ãªãã¯ããŠãã ããã</li> + <li>ã¢ããªã³ãããŠã³ããŒããããšç¢ºèªã®ã¡ãã»ãŒãžã衚瀺ãããŸãã®ã§ã"ä»ããã€ã³ã¹ããŒã«" ãã¯ãªãã¯ããŠãã ããã</li> +</ol> + +<p>ã¢ããªã³ã®ãµã€ãºã®éœåäžãã€ã³ã¹ããŒã«äžã« Firefox ãæ°ç§éããªãŒãºãããã"èŠå: å¿çã®ãªãã¹ã¯ãªãã" ãšããã¿ã€ãã«ã®ãã€ã¢ãã°ã衚瀺ãããå ŽåããããŸãããã€ã¢ãã°ã衚瀺ãããå Žåã¯ãã€ã³ã¹ããŒã«ãå®äºãããŸã§åŸ
ã€ããã« "åŠçãç¶è¡" ãã¯ãªãã¯ããŠãã ããããã㯠Firefox 27 以éã§ã¯è¡šç€ºãããªãã§ãããã<br> + <br> + Simulator ã¢ããªã³ãã€ã³ã¹ããŒã«ãããš Firefox ãå®æçã«æ°ããããŒãžã§ã³ã®ç¢ºèªãè¡ããèªåçã«æŽæ°ããŸãã</p> + +<p>Simulator ãã€ã³ã¹ããŒã«ãããš Dashboard ãèªåçã«éããŸããã"Firefox" ã¡ãã¥ãŒ (ãŸã㯠OS X ã Linux ã§ã¯ "ããŒã«" ã¡ãã¥ãŒ) ã® "Web éçº" 㧠"Firefox OS Simulator" ãéžæããããšã§ããã€ã§ã Dashboard ãéãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5141/simulator-open-on-windows-7.png" style="display: block; margin-left: auto; margin-right: auto;"><br> + Dashboard ã¯ãã¢ããªã Simulator ã«è¿œå ãããå®è¡ãããããããã«äœ¿çšããããŒã«ã§ãã以äžã®ãããªãã®ã§ã: <img alt="" src="https://mdn.mozillademos.org/files/5491/dashboard-4.0.png"></p> + +<h2 id="Adding.2C_removing_and_refreshing_apps" name="Adding.2C_removing_and_refreshing_apps"><a name="Adding-updating-removing">ã¢ããªã®è¿œå ã»åé€ã»æŽæ°</a></h2> + +<h3 id="Adding_apps" name="Adding_apps">ã¢ããªã®è¿œå </h3> + +<p><a href="/ja/docs/Apps/Packaged_apps" title="Apps/Packaged_apps">ããã±ãŒãžåã¢ããª</a>ã Simulator ã«è¿œå ããã«ã¯ãDashboard ãéã㊠"Add Directory" ãã¯ãªãã¯ããŸãããããŠãã¢ããªã®<a href="/ja/docs/Apps/Manifest" title="Apps/Manifest">ãããã§ã¹ããã¡ã€ã«</a>ãéžæããŠãã ããã<br> + <br> + ãã¹ãåã¢ããªãè¿œå ããã«ã¯ã"URL for page or manifest.webapp" ãšè¡šç€ºãããŠããããã¹ãããã¯ã¹ã« URL ãå
¥åã㊠"Add URL" ãã¯ãªãã¯ããŠãã ãããURL ããããã§ã¹ããæããŠããå Žåã¯ããã®ãããã§ã¹ãã䜿çšãããŸããããã§ãªãå Žåã¯ãDashboard ãåœè©² URL åãã®ãããã§ã¹ããçæããŸã: ãã£ãŠãURL ãå
¥åããã ãã§ä»»æã® Web ãµã€ããã¢ããªãšããŠè¿œå ã§ããŸãã<br> + <br> + ã¢ããªãè¿œå ãããšãDashboard ããããã§ã¹ããã¡ã€ã«ã«å¯ŸããŠäžé£ã®ãã¹ããè¡ã£ãŠãäžè¬çãªåé¡ã®ãã§ãã¯ãè¡ããŸããã©ã®ãããªãã¹ããè¡ããã«ã€ããŠè©³ããã¯ã<a href="#Manifest-validation" title="#Manifest-validation">ãããã§ã¹ãã®æ€èšŒ</a>ã®ç« ãã芧ãã ããã</p> + +<p>ãããã§ã¹ãã®æ€èšŒã§ã¢ããªã«ãšã©ãŒãçºèŠãããªããã°ãDashboard ã¯èªåçã« Simulator ã§ã¢ããªãå®è¡ããŸãã</p> + +<h3 id="Managing_apps" name="Managing_apps">ã¢ããªã®ç®¡ç</h3> + +<p>ã¢ããªãè¿œå ãããšãManager å
ã®ã€ã³ã¹ããŒã«ãããã¢ããªã®ãªã¹ãã«è¡šç€ºãããŸã:<br> + <img alt="" src="https://mdn.mozillademos.org/files/5493/dashboard-list-apps-4.0.png"><br> + ããããã®ãšã³ããªã¯ãã¢ããªã«é¢ããäžèšã®æ
å ±ã瀺ããŸã:</p> + +<ul> + <li>ã¢ããªã®åå: ãããã§ã¹ãããååŸããŸã</li> + <li>ã¢ããªã®çš®é¡: "Packaged"ã"Hosted"ã"Generated" ã®ããããã«ãªããŸã</li> + <li>ã¢ããªã®ãããã§ã¹ããã¡ã€ã«ãžã®ãªã³ã¯</li> + <li>ãããã§ã¹ãã®æ€èšŒçµæ</li> +</ul> + +<p>ãŸããäžèš 4 ã€ã®ã³ãã³ãããããŸã:</p> + +<ul> + <li><strong>"Refresh":</strong> ã¢ããªã«äœããã®å€æŽãæœããåŸã«ãSimulator å
ã®ã¢ããªãæŽæ°ããã³åèªã¿èŸŒã¿ããŸãããŸã Dashboard ã§ããããã§ã¹ãã®æ€èšŒãå床å®è¡ããŸããã¢ããªã«å€æŽãæœããŠããã€ã³ã¹ããŒã«æžã¿ã¢ããªãžèªåçã«ã¯åæ ãããŸãã: å€æŽç¹ãé©çšããããã«ãã¢ããªã®æŽæ°ãå¿
èŠã§ãã</li> + <li><strong>"Connect":</strong> éžæããã¢ããªããéçºããŒã«ã«æ¥ç¶ããŸããã¢ããªãå®è¡ããŠããªãå Žåã¯ãDashboard ã Simulator ããã³ã¢ããªãèµ·åããŸãã</li> + <li><strong>"Remove" ("X"):</strong> ã¢ããªã Simulator ã Dashboard ããåé€ããŸããDashboard ãéããŠããéã¯ããã®ã¢ã¯ã·ã§ã³ãåãæ¶ãããšãã§ããŸãã</li> + <li><strong>"Receipt":</strong> 課éã¢ããªã®ã¬ã·ãŒãæ€èšŒã®ãã¹ããè¡ããŸãããã¹ããããã¬ã·ãŒãã®çš®é¡ãéžæãããšããã®ãã¹ãã¬ã·ãŒããšãšãã«ã¢ããªãåã€ã³ã¹ããŒã«ããŸãã</li> +</ul> + +<div class="note"> +<p><strong>Simulator ã®ãŠã£ã³ããŠã§ã¢ããªãæŽæ°</strong>: ã¢ããªãå®è¡ããŠãããšãã«ã<a href="#Simulator-menubar" title="#Simulator-menubar">ã¡ãã¥ãŒããŒã§ã®æäœãŸãã¯å²ãåœãŠãããã·ã§ãŒãã«ããããŒ</a>ã«ãã£ãŠãSimulator ã®ãŠã£ã³ããŠã§çŽæ¥ã¢ããªãæŽæ°ããã³åèªã¿èŸŒã¿ã§ããŸãã</p> +</div> + +<h3 id="Manifest_validation" name="Manifest_validation"><a name="Manifest-validation">ãããã§ã¹ãã®æ€èšŒ</a></h3> + +<p>ãããã§ã¹ããäžãããšãManager ã¯ãããã§ã¹ãã®æ€èšŒãã¹ããããããå®è¡ããŸããããã¯ã3 ã€ã®ã«ããŽãªã«ã€ããŠåé¡ãå ±åããŸã:</p> + +<ul> + <li>manifest errors: ã¢ããªã®ã€ã³ã¹ããŒã«ãå®è¡ãã§ããªããªãåé¡ã§ãã</li> + <li>manifest warnings: ã¢ããªã®æ£åžžãªåäœã劚ããåé¡ã§ãã</li> + <li>simulator-specific warnings: ã¢ããªã䜿çšããŠããæ©èœã§ãSimulator ãæªãµããŒãã§ãããã®ã§ãã</li> +</ul> + +<p>ã¢ããªã®ãšã³ããªå
ã«ãçºçããåé¡ã®èŠçŽã衚瀺ããŸã: èŠçŽãã¯ãªãã¯ãããšã詳现ã衚瀺ãããŸãã</p> + +<h4 id="Manifest_errors" name="Manifest_errors">Manifest errors</h4> + +<p>Dashboard ã¯ä»¥äžã®ãããªç¶æ³ããšã©ãŒãšããŠå ±åããŸãããããä¿®æ£ããªããã°ãåœè©²ã¢ããªã¯ Simulator ã§å®è¡ã§ããªãã§ããã:</p> + +<ul> + <li>ãããã§ã¹ãã«ãå¿
é ã®ãã£ãŒã«ã "name" ããªãã</li> + <li>ãããã§ã¹ããæ£ãã JSON ã§ã¯ãªãã</li> + <li>ã¢ããªã¯ãã¹ãåã¢ããªã§ãããããããã§ã¹ãå
ã® <a href="/ja/docs/Apps/Manifest#type" title="Apps/Manifest#type">type</a> ãã£ãŒã«ãã <a href="/ja/docs/Apps/Packaged_apps#Types_of_packaged_apps" title="Apps/Packaged_apps#Types_of_packaged_apps">"privileged" ãŸã㯠"certified"</a> ã§ãããããã¯ããã±ãŒãžåã¢ããªã§ã®ã¿æå¹ã</li> + <li>äžè¬ç㪠appCache ã®ãšã©ãŒ (ããã±ãŒãžåã¢ããªã¯ appCache ã䜿çšã§ããªãããããã§ã¹ããã¡ã€ã«ããªã¯ãšã¹ããããš HTTP ãªãã€ã¬ã¯ãããã㯠HTTP ãšã©ãŒã®ã¹ããŒã¿ã¹ãè¿ã)</li> +</ul> + +<p>以äžã¯ã"name" ããªããããã§ã¹ããè¿œå ããããšãããšãã®çµæã§ã:<br> + <img alt="" src="https://mdn.mozillademos.org/files/5495/dashboard-missing-name-4.0.png"></p> + +<h4 id="Manifest_warnings" name="Manifest_warnings">Manifest warnings</h4> + +<p>Dashboard ã¯ã以äžã®ãããã§ã¹ãã®åé¡ã Warning ãšããŠå ±åããŸã:</p> + +<ul> + <li>ã¢ã€ã³ã³ããªãã</li> + <li>ã¢ã€ã³ã³ã 128 ãã¯ã»ã«ããå°ãã: Marketplace ã«æåºãããã¹ãŠã®ã¢ããªã¯ãå°ãªããšã 128 ãã¯ã»ã«åæ¹ã®ã¢ã€ã³ã³ãæäœ 1 åå¿
èŠã§ãã</li> + <li><a href="/ja/docs/Apps/Manifest#type" title="Apps/Manifest#type">type</a> ãã£ãŒã«ããèªèã§ããªãã</li> + <li>ãããã§ã¹ãã§ãèªèã§ããªã<a href="/ja/docs/Apps/Manifest#permissions" title="Apps/Manifest#permissions">èš±å¯èšå®</a>ãèŠæ±ããŠããã</li> + <li>ãããã§ã¹ãã§ãæåŠãããã§ããã<a href="/ja/docs/Apps/Manifest#permissions" title="Apps/Manifest#permissions">èš±å¯èšå®</a>ãèŠæ±ããŠããã</li> + <li>ãããã§ã¹ãã§ãã¢ã¯ã»ã¹èš±å¯ã決ããããªã<a href="/ja/docs/Apps/Manifest#permissions" title="Apps/Manifest#permissions">èš±å¯èšå®</a>ãèŠæ±ããŠããã</li> +</ul> + +<h4 id="Simulator-specific_warnings" name="Simulator-specific_warnings">Simulator-specific warnings</h4> + +<p>æåŸã« Manager ã¯ãSimulator ã§å®å
šã«ã¯ãµããŒãããŠããªã Firefox OS ã®æ©èœã䜿çšããã¢ããªã«å¯ŸããŠãWarning ãçºããŸã:</p> + +<ul> + <li><a href="/ja/docs/Apps/Manifest#type" title="Apps/Manifest#type">type</a> ãã£ãŒã«ãã "certified" ã§ãããSimulator 㯠certified ã¢ããªãå®å
šã«ã¯ãµããŒãããŠããŸããã</li> + <li>ãããã§ã¹ãã§ãSimulator ã<a href="#Unsupported-APIs" title="#Unsupported-APIs">æªãµããŒã</a>ã® API ã䜿çšãã<a href="/ja/docs/Apps/Manifest#permissions" title="Apps/Manifest#permissions">èš±å¯èšå®</a>ãèŠæ±ããŠããã</li> +</ul> + +<h2 id="Running_the_Simulator" name="Running_the_Simulator"><a name="Running-the-Simulator">Simulator ãå®è¡ãã</a></h2> + +<p>Simulator ãèµ·åããæ¹æ³ã¯ 2 éããããŸã:</p> + +<ul> + <li>ã¢ããªãè¿œå ããããã¢ããªåã®é£ã«ãã "Refresh" ã "Connect" ãã¿ã³ãã¯ãªãã¯ãããšãDashboard ãèªåçã« Simulator ã§ã¢ããªãå®è¡ããŸãã</li> + <li>Dashboard ã®å·ŠåŽã«ãã "Stopped" ãšããååã®ãã¿ã³ãã¯ãªãã¯ãããšãSimulator ã®ããŒã ã¹ã¯ãªãŒã³ãããŒãããŸãããªããããªãã®ã¢ããªãå®è¡ããã«ã¯æäœãå¿
èŠã§ãã</li> +</ul> + +<p>ã©ã¡ãã®æ¹æ³ã§ããSimulator ãå®è¡ãããš "Stopped" ãšããååã®ãã¿ã³ãç·è²ã«å€ãããååã "Running" ã«å€ãããŸããSimulator ãåæ¢ããã«ã¯ããã®ãã¿ã³ãããäžåºŠã¯ãªãã¯ããŠãã ããã<br> + <br> + Simulator ã¯å¥ã®ãŠã£ã³ããŠãšããŠè¡šç€ºãããã·ãã¥ã¬ãŒã·ã§ã³ããã¹ã¯ãªãŒã³é åã 320x480 ãã¯ã»ã«ã§ãããããªãµã€ãºã«ãªããŸãããŸãã<a href="#Simulator-toolbar" title="#Simulator-toolbar">ãŠã£ã³ããŠäžéšã®ããŒã«ããŒ</a>ãš<a href="#Simulator-menubar" title="#Simulator-menubar">äžéšã®ã¡ãã¥ãŒããŒ</a>ã§ä»å æ©èœãæäŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5505/simulator-bars.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ã¿ããã€ãã³ããã·ãã¥ã¬ãŒã·ã§ã³ããã«ã¯ãããŠã¹ãã¿ã³ã§ã¯ãªãã¯ããŠããã¿ã³ãæŒãããŸãŸãã©ãã°ããŸãããã£ãŠããŒã ã¹ã¯ãªãŒã³ã§å³ããå·Šãžã¯ãªã㯠ã¢ã³ã ãã©ãã°ãè¡ãããšã§ãçµã¿èŸŒã¿æžã¿ã®ã¢ããªãšåãããŠããªããè¿œå ããã¢ããªã衚瀺ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5517/simulator-homescreen.png"></p> + +<h3 id="Simulator_toolbar" name="Simulator_toolbar"><a name="Simulator-toolbar">Simulator ããŒã«ããŒ</a></h3> + +<p>ãŠã£ã³ããŠäžéšã®ããŒã«ããŒã«ã¯å·Šããé ã«<strong>ããŒã ãã¿ã³</strong>ã<strong>ã¹ã¯ãªãŒã³å転ãã¿ã³</strong>ã<strong>Geolocation ãã¿ã³</strong>ããããŸãã</p> + +<ul> + <li><strong>ããŒã ãã¿ã³</strong>ãæŒããšããŒã ã¹ã¯ãªãŒã³ã«ç§»åããŸã (ãããã¯ã2ç§éæŒãç¶ãããšã¿ã¹ã¯ãªã¹ãã衚瀺ããŸã)ã</li> + <li><strong>ã¹ã¯ãªãŒã³å転ãã¿ã³</strong>ãæŒããšãããã€ã¹ã®åãã®ããŒãã¬ãŒããšã©ã³ãã¹ã±ãŒããåãæ¿ããŸãããã㯠<a href="/ja/docs/WebAPI/Managing_screen_orientation#Listening_orientation_change" title="WebAPI/Detecting_device_orientation">orientationchange</a> ã€ãã³ããçæããŸãã</li> + <li><strong>Geolocation ãã¿ã³</strong>ãæŒããšãçŸåšã®ç·¯åºŠã»çµåºŠæ
å ±ãç¬èªã®ç·¯åºŠã»çµåºŠæ
å ±ã«ããäœçœ®æ
å ±ã®æäŸãåãåããããã€ã¢ãã°ã衚瀺ãããŸã: ãã®æ
å ±ã¯ <a href="/ja/docs/WebAPI/Using_geolocation" title="WebAPI/Using_geolocation">Geolocation API</a> ãéããŠãã¢ããªã§å©çšã§ããŸãã</li> +</ul> + +<p><a href="https://mdn.mozillademos.org/files/5511/simulator-geolocation.png"><img alt="" src="https://mdn.mozillademos.org/files/5511/simulator-geolocation.png" style="height: 309px; width: 520px;"></a><a href="https://mdn.mozillademos.org/files/5519/simulator-screen-orientation.png"><img alt="" src="https://mdn.mozillademos.org/files/5519/simulator-screen-orientation.png" style="height: 297px; width: 500px;"></a></p> + +<h3 id="Simulator_menubar" name="Simulator_menubar"><a name="Simulator-menubar"></a>Simulator ã¡ãã¥ãŒããŒ</h3> + +<p>Simulator äžéšã®ã¡ãã¥ãŒããŒã§ãéçºãããå¹ççã«ããæçšãªã³ãã³ããå©çšã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5525/simulator-menubar.png"></p> + +<ul> + <li><strong>File -> Quit</strong> (<em>Ctrl/Cmd - Q</em>): Simulator ãã·ã£ããããŠã³ããŸãã</li> + <li><strong>App -> Refresh</strong> (<em>Ctrl/Cmd - R</em>): å®è¡äžã®ã¢ããªãæŽæ°ããŸãã</li> +</ul> + +<p><strong>"App Refresh"</strong> ã³ãã³ãã®ããŒããŒãã·ã§ãŒãã«ããã§ãWeb ããŒãžéçºã®ããã«ã¢ããªãå埩éçºããããšãã§ããŸã:</p> + +<ul> + <li>ã³ãŒããç·šéããŸã (ãããŠãå¿
èŠã§ããã° volo / yeoman / grunt ãªã©ã®ãã«ãããŒã«ã«æ»ããŸã)</li> + <li>Simulator ã§å®è¡ããŠããã¢ããªãæŽæ°ããããã«ãããŒããŒãã·ã§ãŒãã«ãããæŒäžããŸãã</li> +</ul> + +<div class="note"> +<p><strong>"Refresh App and Clear Data" é ãã·ã§ãŒãã«ãã:</strong> ã¢ããªåãã« Simulator ãä¿åããŠããããŒã¿ãã¯ãªã¢ããããšã圹ã«ç«ã€å ŽåããããŸãã®ã§ãSimulator ã«ã¯ä»¥äžã®ããŒã¿ãã¯ãªã¢ãããšãšãã«å®è¡äžã®ã¢ããªãæŽæ°ããé ãã·ã§ãŒãã«ãã <em>Shift - Ctrl/Cmd - R</em> ããããŸã:</p> + +<ul> + <li> + <p>localStorage / sessionStorage</p> + </li> + <li> + <p>Cookie</p> + </li> + <li> + <p>indexedDB</p> + </li> + <li> + <p>appCache</p> + </li> +</ul> +</div> + +<h2 id="Attaching_developer_tools" name="Attaching_developer_tools"><a name="Attaching-developer-tools">éçºããŒã«ã®æ¥ç¶</a></h2> + +<p>ã¢ããªã®ãããã°ãæ¯æŽãããããSimulator ã«éçºããŒã«ãæ¥ç¶ã§ããŸããçŸæç¹ã§ã¯ <a href="/ja/docs/Tools/Debugger" title="Tools/Debugger">JavaScript ãããã¬</a>ã<a href="/ja/docs/Tools/Web_Console" title="Tools/Web_Console">Web ã³ã³ãœãŒã«</a>ã<a href="/ja/docs/Tools/Style_Editor" title="Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿</a>ã<a href="/ja/docs/Tools/Profiler" title="Tools/Profiler">ãããã¡ã€ã©</a>ã<a href="/ja/docs/Tools/Network_Monitor" title="Tools/Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿</a>ããæ¥ç¶ã§ããŸããããããå€ãã®<a href="/ja/docs/Tools/DevTools_Window" title="Tools/DevTools_Window">éçºããŒã«</a>ããµããŒãããããäœæ¥äžã§ãã</p> + +<div class="geckoVersionNote"> +<p>äžéšã®ããŒã«ã¯ BetaãAuroraãããã㯠Nightly ãã«ãã® Firefox ã®ã¿ã§äœ¿çšã§ããŸãã</p> +</div> + +<p>éçºããŒã«ã Simulator ã«æ¥ç¶ããã«ã¯ãã¢ããªã® <strong>"Connect"</strong> ãã¿ã³ãã¯ãªãã¯ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5497/connect-to-app-button.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>Dashboard ãéçºããŒã«ããã¯ã¹ãã€ã³ã Dashboard ã¿ãã®äžéšã«è¡šç€ºããŠãã¢ããªãããŒã«ã«æ¥ç¶ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5501/simulator-devtools-connected.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h3 id="Web_Console" name="Web_Console">Web ã³ã³ãœãŒã«</h3> + +<p>ã¢ããªã¯ã°ããŒãã«ã® <a href="/ja/docs/DOM/console" title="DOM/console">console</a> ãªããžã§ã¯ãã䜿çšããŠãã®ã³ã³ãœãŒã«ã«ãã°ãåºåã§ããŸãããŸããã¢ããªã«ãã£ãŠçæãããä»ã®ããŸããŸãªã¡ãã»ãŒãžã衚瀺ããŸã: ãããã¯ãŒã¯ãªã¯ãšã¹ããCSS ã JS ã®èŠåããšã©ãŒãã»ãã¥ãªãã£ãšã©ãŒã(<a href="/ja/docs/Tools/Web_Console" title="Tools/Web_Console">Web ã³ã³ãœãŒã«ã«ã€ããŠè©³ããåŠã³ãŸã</a>)</p> + +<h3 id="Debugger" name="Debugger">ãããã¬</h3> + +<p>ãšã©ãŒãåé¡ç¹ãæ©æ¥ã«è¿œç©¶ããããã«ãããã¬ã䜿çšããŠãæ¥ç¶ããã¢ããªã§å®è¡ããŠãã JavaScript ã³ãŒãã®ã¹ãããå®è¡ããã¬ãŒã¯ãã€ã³ãã®ç®¡çãåŒã®ãŠã©ãããã§ããŸãã(<a href="/ja/docs/Tools/Debugger" title="Tools/Web_Console">ãããã¬ã«ã€ããŠè©³ããåŠã³ãŸã</a>)</p> + +<h3 id="Style_Editor" name="Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿</h3> + +<p>ã¹ã¿ã€ã«ãšãã£ã¿ãæ¥ç¶ãããšãã¢ããªã§åç
§ããŠãã CSS ãã¡ã€ã«ã®é²èŠ§ãç·šéãå¯èœã«ãªããŸããå€æŽããç®æã¯ã¢ããªãæŽæ°ããå¿
èŠãªãã«ããªã¢ã«ã¿ã€ã ã«ã¢ããªãžåæ ãããŸãã(<a href="/ja/docs/Tools/Style_Editor" title="Tools/Web_Console">ã¹ã¿ã€ã«ãšãã£ã¿ã«ã€ããŠè©³ããåŠã³ãŸã</a>)</p> + +<h3 id="Profiler" name="Profiler">ãããã¡ã€ã©</h3> + +<p>ã¢ããªã«æ¥ç¶ãããããã¡ã€ã©ããŒã«ã䜿çšããŠãJavaScript ã³ãŒãã§æéãããã£ãŠããç®æãèŠã€ããããšãã§ããŸãããããã¡ã€ã©ã¯ãµã³ãã«ã«ã€ããŠçŸåšã® JavaScript ã®ã³ãŒã«ã¹ã¿ãã¯ãã³ã³ãã€ã«ç¶æ³ãåšæçã«ãµã³ããªã³ã°ããŸãã(<a href="/ja/docs/Tools/Profiler" title="Tools/Web_Console">ãããã¡ã€ã©ã«ã€ããŠè©³ããåŠã³ãŸã</a>)</p> + +<h3 id="Network_Monitor" name="Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</h3> + +<p>æ°ããªãããã¯ãŒã¯ã¢ãã¿ãŒã®ãããã§ãã¢ããªãéå§ãããã¹ãŠã®ãããã¯ãŒã¯ãªã¯ãšã¹ãã®ã¹ããŒã¿ã¹ãããããã³ã³ãã³ããã¿ã€ãã³ã°ãããŠãŒã¶ãã¬ã³ããªãŒãªã€ã³ã¿ãŒãã§ã€ã¹ã§åæã§ããŸãã(<a href="https://hacks.mozilla.org/2013/06/network-monitor-now-in-firefox-beta/" title="https://hacks.mozilla.org/2013/06/network-monitor-now-in-firefox-beta/">ãããã¯ãŒã¯ã¢ãã¿ãŒã«ã€ããŠè©³ããåŠã³ãŸã</a>)</p> + +<h2 id="Receipts" name="Receipts"><a name="Simulator-receipts">ã¬ã·ãŒã</a></h2> + +<p>課éã¢ããªãéçºããŠããå Žåã¯ãæ£åœãª (æå·ã«ãã眲åããã) ã¬ã·ãŒãã§ã¬ã·ãŒãæ€èšŒã³ãŒã (äŸãã°ããŠãŒã¶ãã¢ããªã賌å
¥æžã¿ã§ããããšãæãæ»ãã®æäœãè¡ã£ãããšãæ€èšŒããŠããŠãŒã¶ãžã®éç¥ããã³ç¶æ³ã«å¿ããŠæ©èœã®ããã¯ãããã¯è§£é€ãè¡ã) ã®ãã¹ããè¡ãã¹ãã§ãã</p> + +<p>Simulator Dashboard ã§åã¢ããªã®é
ç®ã«ãã <strong>"Receipts"</strong> ã¡ãã¥ãŒã«ããã<strong>"Valid"</strong>ã<strong>"Invalid"</strong>ã<strong>"Refunded"</strong> ã®ãã¹ãã¬ã·ãŒããšãšãã«ã¢ããªãã€ã³ã¹ããŒã«ã§ããŸãããã¹ããããã¬ã·ãŒãã®çš®é¡ãéžæãããšãDashboard ã Marketplace ã®ã¬ã·ãŒããµãŒãã¹ãããã®çš®é¡ã®ãã¹ãã¬ã·ãŒããååŸããŠãSimulator ã§ãã¹ãã¬ã·ãŒããšãšãã«ã¢ããªãåã€ã³ã¹ããŒã«ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5523/simulator-receipts-selector-4.0.png"></p> + +<h2 id="Push_to_device" name="Push_to_device"><a name="Push-to-device">ããã€ã¹ãžã®ããã·ã¥</a></h2> + +<p>Firefox OS ããã€ã¹ãææããŠããå Žåã¯ãããã€ã¹ã Simulator ã«æ¥ç¶ã§ãããŸãã¢ããªã Dashboard ããããã€ã¹ãžããã·ã¥ããããšãã§ããŸãã</p> + +<h3 id="Connecting_a_device" name="Connecting_a_device">ããã€ã¹ãæ¥ç¶ãã</h3> + +<p>ããã€ã¹ãæ¥ç¶ããã«ã¯ã<a href="/ja/docs/Mozilla/Firefox_OS/Debugging/Connecting_a_Firefox_OS_device_to_the_desktop" title="Mozilla/Firefox_OS/Debugging/Connecting_a_Firefox_OS_device_to_the_desktop">connecting a Firefox OS device to the desktop</a> ã§æ¡å
ããŠããæé ã«åŸã£ãŠãã ãããADB 㯠Simulator ã¢ããªã³ã«çµã¿èŸŒãŸããŠããŸãã®ã§ãã€ã³ã¹ããŒã«ããå¿
èŠã¯ãããŸããã</p> + +<h3 id="Pushing_apps_to_the_device" name="Pushing_apps_to_the_device">ã¢ããªãããã€ã¹ã«ããã·ã¥ãã</h3> + +<p>ããã€ã¹ãšãã¹ã¯ãããã®èšå®ãè¡ã£ãŠãããã€ã¹ã USB ã§ãã¹ã¯ããã PC ã«æ¥ç¶ãããšã<strong>"Device connected"</strong> ãšããã¡ãã»ãŒãžã Dashboard ã®å·ŠåŽã«è¡šç€ºããããŸãåã¢ããªã®ãšã³ããªã« <strong>"Push"</strong> ãšããååã®ã³ãã³ããæ°ãã«è¡šç€ºãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5521/simulator-push2device.png"></p> + +<p><strong>"Push"</strong> ãã¯ãªãã¯ãããšãã¢ããªã Firefox OS ããã€ã¹ã«ã€ã³ã¹ããŒã«ãããŸãã</p> + +<div class="note"> +<p><strong>æåã®äœæ¥:</strong></p> + +<ul> + <li> + <p>ã¢ããªãããã€ã¹ã«ããã·ã¥ããããæŽæ°ãããã³ã³ãã³ããåŸãããã«æåã§ã¢ããªãéããŠåèµ·åããªããã°ãªããŸããã</p> + </li> + <li> + <p>ãããã§ã¹ãã§äœããã® (äŸãã°ã¢ããªã® nameãorientationãtypeãpermissions) æŽæ°ãè¡ã£ãå Žåã¯ãå€æŽç¹ãåæ ãããããã«ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®åèµ·åãå¿
èŠã§ãã</p> + </li> +</ul> +</div> + +<h3 id="Firefox_OS_Device_Connection_Confirmation" name="Firefox_OS_Device_Connection_Confirmation">Firefox OS ããã€ã¹æ¥ç¶ã®ç¢ºèª</h3> + +<p>ããã€ã¹ãåèµ·åããããšã«ãæåã® <strong>"Push"</strong> èŠæ±ã¯ããã€ã¹åŽã§ã®ç¢ºèªãå¿
èŠã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5527/device-push-confirmation.png" style="height: 480px; width: 320px;"></p> + +<h3 id="Troubleshooting_on_Linux" name="Troubleshooting_on_Linux">Linux ã§ã®ãã©ãã«ã·ã¥ãŒãã£ã³ã°</h3> + +<p>udev ã«ãŒã«ãäœæããåŸã«ããã€ã¹ãæ¥ç¶ã§ããªãå Žåã¯ã<a href="https://github.com/mozilla/r2d2b2g/issues/515" title="https://github.com/mozilla/r2d2b2g/issues/515">ãã¡ãã®ãã°</a>ãã芧ãã ããã</p> + +<h2 id="Limitations_of_the_Simulator" name="Limitations_of_the_Simulator"><a name="Limitations">Simulator ã®å¶éäºé
</a></h2> + +<p>Firefox OS Simulator ã¯å®å
šãªã·ãã¥ã¬ãŒã·ã§ã³ã§ã¯ãªãããšã«æ³šæããŠãã ããã</p> + +<h3 id="Hardware_limitations" name="Hardware_limitations">ããŒããŠã§ã¢ã®å¶éäºé
</h3> + +<p>ã¹ã¯ãªãŒã³ãµã€ãºãé€ããSimulator ã¯ã¡ã¢ãªå®¹éã CPU ã®é床ãšãã£ããFirefox OS ããã€ã¹ã®ããŒããŠã§ã¢ã®å¶éäºé
ãã·ãã¥ã¬ãŒã·ã§ã³ããŸããã</p> + +<h3 id="Audio.2Fvideo_codecs" name="Audio.2Fvideo_codecs">Audio/Video ã³ãŒããã¯</h3> + +<p>ããŒããŠã§ã¢ã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ã«ãããã³ãŒãã«äŸåãã以äžã®ã³ãŒããã¯ã¯ãããããã«æªãµããŒãã§ã:</p> + +<ul> + <li>MP3</li> + <li>AAC</li> + <li>H.264 (MP4)</li> + <li>WebM</li> +</ul> + +<p>ããªãã¡ããããã®ã³ãŒããã¯ã«äŸåãã Youtube ãªã©ã® Web ãµã€ãããããªåçã¢ããªã®ãã¹ãã« Simulator ã䜿çšããããšã¯ã§ããŸããã</p> + +<h3 id="Unsupported_APIs" name="Unsupported_APIs"><a name="Unsupported-APIs">é察å¿ã® API</a></h3> + +<p>ããã€ã¹ã§åäœãã API ã«ã¯ãSimulator ã§åäœããªããã®ãããã§ããããããã¯äžè¬çã«ããµããŒãããããŒããŠã§ã¢ããã¹ã¯ããã PC ã§äœ¿çšã§ããªãããã§ããç§ãã¡ã¯ Geolocation ã®ããã«äžéšã® API ã®ã·ãã¥ã¬ãŒã·ã§ã³ãå®è£
ããŠãããå°æ¥ã®ãªãªãŒã¹ã§ããã«å¢ããäºå®ã§ãããã ããçŸæç¹ã§ã¯ä»¥äžã® API ããµããŒãããŠããŸããããããã䜿çšãããšãšã©ãŒãçºçãããã誀ã£ãçµæã«ãªãå¯èœæ§ããããŸã:</p> + +<ul> + <li><a href="/ja/docs/WebAPI/WebTelephony" title="WebAPI/WebTelephony">Telephony</a></li> + <li><a href="/ja/docs/WebAPI/WebSMS" title="WebAPI/WebSMS">WebSMS</a></li> + <li><a href="/ja/docs/WebAPI/WebBluetooth" title="WebAPI/WebBluetooth">WebBluetooth</a></li> + <li><a href="/ja/docs/WebAPI/Using_Light_Events" title="WebAPI/Using_Light_Events">Ambient Light</a></li> + <li><a href="/ja/docs/WebAPI/Proximity" title="WebAPI/Proximity">Proximity</a></li> + <li><a href="/ja/docs/WebAPI/Network_Information" title="WebAPI/Network_Information">Network Information</a></li> + <li><a href="/ja/docs/Online_and_offline_events" title="Online_and_offline_events">navigator.onLine ããã³ offline ã€ãã³ã</a></li> + <li><a href="/ja/docs/WebAPI/Vibration" title="WebAPI/Vibration">Vibration</a></li> +</ul> + +<h2 id="Getting_help" name="Getting_help"><a name="Simulator-help"></a>å©ããåŸã</h2> +çåç¹ãããå Žåã¯ã<a href="https://lists.mozilla.org/listinfo/dev-developer-tools">dev-developer-tools ã¡ãŒãªã³ã°ãªã¹ã</a> ã <a href="irc://irc.mozilla.org/#devtools">irc.mozilla.org ã® #devtools</a> ã§è³ªåããŠã¿ãŠãã ããã + +<p> </p> + +<h3 id="How_to_enable_verbose_logging" name="How_to_enable_verbose_logging"><a name="Simulator-verbose-logging">詳现ãªãã°ååŸãæå¹ã«ãã</a></h3> + +<p>about:config ã§èšå® <code>extensions.r2d2b2g@mozilla.org.sdk.console.logLevel</code> ãäœæããŠå€ãæŽæ°å€ 0 ã«èšå®ããŠãã¢ããªã³ãç¡å¹åããã³åæå¹åããŠãã ãããSimulator ã®ãªãã¬ãŒã·ã§ã³ã«é¢ããä»å çãªã¡ãã»ãŒãžããšã©ãŒã³ã³ãœãŒã« (ããæ°ããããŒãžã§ã³ã® Firefox ã§ã¯ãã©ãŠã¶ã³ã³ãœãŒã«) ã«è¡šç€ºãããŸãã</p> +</div> +</div> diff --git a/files/ja/tools/firefox_os_simulator_clone/index.html b/files/ja/tools/firefox_os_simulator_clone/index.html new file mode 100644 index 0000000000..f75ba6fd3c --- /dev/null +++ b/files/ja/tools/firefox_os_simulator_clone/index.html @@ -0,0 +1,90 @@ +--- +title: Firefox OS ã·ãã¥ã¬ãŒã¿ +slug: Tools/Firefox_OS_Simulator_clone +translation_of: Tools/Firefox_OS_Simulator_clone +--- +<div>{{ToolsSidebar}}</div> + +<div class="note"> +<p>ãã®ããŒãžã§ã¯ãFirefox OS 1.2 以éãã¿ãŒã²ãããšããéçºè
åãã® Firefox OS ã·ãã¥ã¬ãŒã¿ã«ã€ããŠèª¬æããŸãã Firefox OS 1.1 çšã®ã¢ããªã±ãŒã·ã§ã³ãéçºããå Žåã¯ã代ããã« <a href="/ja/docs/Tools/Firefox_OS_1.1_Simulator">Firefox OS 1.1 Simulator</a> ã®ããã¥ã¡ã³ããåç
§ããŠãã ããã</p> +</div> + +<p><span style="line-height: 1.5;">Firefox OS ã·ãã¥ã¬ãŒã¿ã¯ãFirefox OS ããã€ã¹ãã·ãã¥ã¬ãŒããããããã¹ã¯ãããäžã§åäœãã Firefox OS ã®äžäœå±€ã®ããŒãžã§ã³ã§ããã€ãŸãå€ãã®å Žåãã¢ããªããã¹ãããŠãããã°ããããã«å®éã®ããã€ã¹ã¯å¿
èŠãããŸãããããã¯ãFirefox OS ããã€ã¹ãšåããµã€ãºã®ãŠã£ã³ããŠã§å®è¡ãããFirefox OS ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãšçµã¿èŸŒã¿ã¢ããªã±ãŒã·ã§ã³ãå«ã¿ãFirefox OS ããã€ã¹ API ã®å€ããã·ãã¥ã¬ãŒãããŸãã</span></p> + +<p><span style="line-height: 1.5;">Simulator 㯠Firefox ã®ã¢ããªã³ãšããŠããã±ãŒãžåãããé
åžãããŸããFirefox ã«ããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããããApp Manager ããŒã«ã䜿çšããŠãããå®è¡ããã¢ããªãããã·ã¥ããŠããããããŒããŒã«ãã¢ã¿ããããããšãã§ããŸããçŸåšã<a href="/ja/docs/Tools/WebIDE">WebIDE</a> ã® <a href="https://www.mozilla.org/ja/firefox/channel/desktop/#nightly">Nightly</a>/<a href="https://www.mozilla.org/ja/firefox/channel/desktop/#aurora">Aurora</a> ã«ãããŸãã</span></p> + +<h2 id="ã€ã³ã¹ããŒã«"><span style="line-height: 1.5;">ã€ã³ã¹ããŒã«</span></h2> + +<p><span style="line-height: 1.5;">ã·ãã¥ã¬ãŒã¿ãã€ã³ã¹ããŒã«ããã«ã¯ã<a href="/ja/docs/Tools/WebIDE#Adding_a_Simulator">WebIDE ã® Manage Simulators ãã€ã³</a> (Firefox 33 以éã§å©çšå¯èœ) ã䜿çšããŸããè€æ°ã®ããŒãžã§ã³ãçšæãããŠããããããããã¹ãŠã€ã³ã¹ããŒã«ããããšããå§ãããŸãã</span></p> + +<p>Simulator ãèµ·åããã«ã¯ãWebIDE ã®ã©ã³ã¿ã€ã ãªã¹ãããéžæããŸãã詳现ã«ã€ããŠã¯ã<a href="https://developer.mozilla.org/docs/Tools/WebIDE#Selecting_a_runtime">WebIDE ã®ããã¥ã¢ã«</a>ãåç
§ããŠãã ãããSimulator ãå®è¡ããããšãå®éã®ããã€ã¹ãšåæ§ã« WebIDE ã䜿çšã㊠Simulator ããããã°ããããšã§ããããã°ãã§ããŸãã</p> + +<p>ã¢ããªã±ãŒã·ã§ã³ãããŒãžã£ (WebIDE ããåã®å€ãããŒã«) ã䜿çšããŠããå Žåã¯ã次ã®ãã¿ã³ã䜿çšããŠã·ãã¥ã¬ãŒã¿ãã€ã³ã¹ããŒã«ã§ããŸãã</p> + +<p><a href="https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/" style="margin-bottom: 20px; padding: 10px; color: white; text-align: center; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; display: inline-block; background-color: rgb(129, 188, 46); white-space: nowrap; text-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 0px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 0px 0px, rgba(0, 0, 0, 0.298039) 0px -1px 0px 0px inset;">Simulator ã®ã€ã³ã¹ããŒã«</a></p> + +<h2 id="ã·ãã¥ã¬ãŒã¿ã®_UI" style="line-height: 30px;">ã·ãã¥ã¬ãŒã¿ã® UI</h2> + +<p><span style="line-height: 22.00800132751465px;">ã·ãã¥ã¬ãŒã¿ã¯ãã·ãã¥ã¬ãŒããããç»é¢é åã 320 x 480 ãã¯ã»ã«ã«ãªãããã«ãµã€ãºãå€æŽãããå¥åã®ãŠã£ã³ããŠãšããŠè¡šç€ºãããŸããã¿ããã€ãã³ããã·ãã¥ã¬ãŒãããã«ã¯ãããŠã¹ãã¿ã³ãã¯ãªãã¯ãããã¿ã³ãæŒãããŸãŸãã©ãã°ããŸããããŒã ç»é¢ããå³ã¯ãªãã¯ããŠå³ããå·Šã«ãã©ãã°ãããšããã«ãã€ã³ã¢ããªãšããªããè¿œå ããã¢ããªã衚瀺ãããŸãïŒ</span></p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7173/simulator-1.2.png" style="display: block; height: 623px; margin: 0px auto; width: 810px;"></p> + +<p>Simulator ã«ã¯ãäžéšã«ããŒã«ããŒã®2ã€ã®ãã¿ã³ããããŸãã</p> + +<ul> + <li>å·ŠåŽã®ãã¿ã³ã¯ããŒã ç»é¢ã«ç§»åããæŒãããŠããå Žåã¯ã·ãã¥ã¬ãŒã¿ããªãã«åãæ¿ããŸã</li> + <li>å³ã®ãã¿ã³ã¯ Simulator ã瞊åããšæšªåãã«åãæ¿ããŸãã<a href="/ja/docs/Web/API/CSS_Object_Model/Managing_screen_orientation#Listening_orientation_change">orientationchange</a> ã€ãã³ããçæãããŸã</li> +</ul> + +<h2 id="ã·ãã¥ã¬ãŒã¿ã®å¶é">ã·ãã¥ã¬ãŒã¿ã®å¶é</h2> + +<p>Firefox OS ã·ãã¥ã¬ãŒã¿ã¯å®ç§ãªã·ãã¥ã¬ãŒã·ã§ã³ã§ã¯ãããŸããã</p> + +<h3 id="ããŒããŠã§ã¢ã®å¶é">ããŒããŠã§ã¢ã®å¶é</h3> + +<p>ã·ãã¥ã¬ãŒã¿ã¯ãç»é¢ãµã€ãºãšã¯å¥ã«ã䜿çšå¯èœãªã¡ã¢ãªã CPU é床ãªã©ãFirefox OS ããã€ã¹ã®ããŒããŠã§ã¢å¶éãã·ãã¥ã¬ãŒãããŸããã</p> + +<h3 id="Audiovideo_codecs">Audio/video codecs</h3> + +<p>次ã®ã³ãŒããã¯ã¯ãããŒããŠã§ã¢ã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ã«ãããã³ãŒãã«äŸåããŠããããããŸã ãµããŒããããŠããŸããã</p> + +<ul> + <li>MP3</li> + <li>AAC</li> + <li>H.264 (MP4)</li> + <li>WebM</li> +</ul> + +<p>ã€ãŸããSimulator ã䜿çšããŠãã¢ããªã±ãŒã·ã§ã³ããããã®ã³ãŒããã¯ã«äŸåãã Youtube ã®ãã㪠Web ãµã€ãã§ã®ãããªåçããã¹ãããããšã¯ã§ããŸããã</p> + +<h3 id="ãµããŒããããŠããªã_API"><a name="Unsupported-APIs">ãµããŒããããŠããªã API</a></h3> + +<p>ãµããŒãããŠããããŒããŠã§ã¢ããã¹ã¯ãããäžã§å©çšã§ããªããããããã€ã¹äžã§åäœããç¹å®ã® API ã¯ã·ãã¥ã¬ãŒã¿äžã§ã¯æ©èœããŸããããžãªãã±ãŒã·ã§ã³ãªã©ã®äžéšã® API ã®ã·ãã¥ã¬ãŒã·ã§ã³ãå®è£
ããä»åŸã®ãªãªãŒã¹ã§ããã«è¿œå ããäºå®ã§ãããã ããçŸæç¹ã§ã¯ã次㮠API ã¯ãµããŒããããŠããŸããããããã䜿çšãããšããšã©ãŒãã¹ããŒãããããæ£ãããªãçµæãè¿ãããå¯èœæ§ããããŸã</p> + +<ul> + <li><a href="/en-US/WebAPI/WebTelephony" title="/en-US/WebAPI/WebTelephony">Telephony</a></li> + <li><a href="/en-US/docs/WebAPI/WebSMS" title="/en-US/docs/WebAPI/WebSMS">WebSMS</a></li> + <li><a href="/en-US/docs/WebAPI/WebBluetooth" title="/en-US/docs/WebAPI/WebBluetooth">WebBluetooth</a></li> + <li><a href="/en-US/docs/WebAPI/Using_Light_Events" title="/en-US/docs/WebAPI/Using_Light_Events">Ambient Light</a></li> + <li><a href="/en-US/docs/WebAPI/Proximity" title="/en-US/docs/WebAPI/Proximity">Proximity</a></li> + <li><a href="/en-US/docs/WebAPI/Network_Information" title="/en-US/docs/WebAPI/Network_Information">Network Information</a></li> + <li><a href="/en-US/docs/Online_and_offline_events" title="/en-US/docs/Online_and_offline_events">navigator.onLine and offline events</a></li> + <li><a href="/en-US/docs/WebAPI/Vibration" title="/en-US/docs/WebAPI/Vibration">Vibration</a></li> +</ul> + +<h2 id="ãã«ãã®å©çš"><a name="Simulator-help"></a>ãã«ãã®å©çš</h2> + +<p><span style="line-height: 1.5;">ã質åãããå Žåã¯ã<a href="https://lists.mozilla.org/listinfo/dev-developer-tools">dev-developer-tools ã¡ãŒãªã³ã°ãªã¹ã</a>ãŸã㯠<a href="irc://irc.mozilla.org/#devtools">irc.mozilla.org ã® #devtools</a> ã«ãåãåãããã ããã</span></p> + +<h3 id="詳现ãã°ãæå¹ã«ããæ¹æ³"><a name="Simulator-verbose-logging"></a>詳现ãã°ãæå¹ã«ããæ¹æ³</h3> + +<p><a href="/ja/docs/Tools/Web_Console">Web Console</a> ã§ã¢ããªãããã°ã«èšé²ãããã¡ãã»ãŒãžãèŠãããšãã§ãã<a href="/ja/docs/Tools/WebIDE/Troubleshooting">WebIDE</a> ã䜿çšããŠã¢ããªã±ãŒã·ã§ã³ã«æ·»ä»ããããšãã§ããŸããã¢ããªã®èµ·åäžã«èµ·ãã£ãåæã®ã¡ãã»ãŒãžããã³ã³ãœãŒã«ãæ¥ç¶ãããŠåäœããåã«ãã£ãããããå Žåã¯ãã·ãã¥ã¬ãŒã¿ã§åé·ãªãã°ãæå¹ã«ããããšãã§ããŸãã</p> + +<p>about:config ãåç
§ããæ°ããèšå®ã<strong>äœæ</strong>ããŠãã ãããèšå®å㯠Simulator ã®åããŒãžã§ã³ããšã«ç°ãªããŸãã</p> + +<ul> + <li>extensions.fxos_1_3_simulator@mozilla.org.sdk.console.logLevel for Firefox OS 1.3</li> + <li>extensions.fxos_1_2_simulator@mozilla.org.sdk.console.logLevel for Firefox OS 1.2</li> +</ul> + +<p>ãããæååã®å€ "all" ã«èšå®ããã¢ããªã³ãããŒãžã£ã§ã¢ããªã³ãç¡å¹ã«ããŠããåã³æå¹ã«ããŸããSimulator ã®æäœã«é¢ããè¿œå ã®ã¡ãã»ãŒãžã<a href="/ja/docs/Tools/Browser_Console">ãã©ãŠã¶ã³ã³ãœãŒã«</a>ã«è¡šç€ºãããŸãã</p> diff --git a/files/ja/tools/index.html b/files/ja/tools/index.html new file mode 100644 index 0000000000..f1121d0a6f --- /dev/null +++ b/files/ja/tools/index.html @@ -0,0 +1,229 @@ +--- +title: éçºããŒã« +slug: Tools +tags: + - Developing Mozilla + - Guide + - Tools + - Web Development + - 'Web Development:Tools' + - 'l10n:priority' + - ããŒã« + - éçºããŒã« +translation_of: Tools +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary">ãã¹ã¯ããããšã¢ãã€ã«ã§ãHTML ãš CSS ãš JavaScript ã調æ»ãç·šéããããã°ããŸãã</p> + +<div class="column-container"> +<p>Firefox ã§å©çšã§ãããŠã§ãéçºããŒã«ã䜿ãäžã§ã®æ
å ±ãæ¢ãã®ã«ãããªãã¯ãã£ãŠã€ãã®å Žæã«æ¥ãŠããŸã â ãã®ããŒãžã¯äž»èŠããŒã«ãšè¿œå ããŒã«ãã¹ãŠã®è©³çŽ°ãªæ
å ±ãAndroid çš Firefox ãžã®æ¥ç¶ããããã°ã®ããæ¹ãšãã£ããã詳ããæ
å ±ãéçºããŒã«ã®æ¡åŒµã®ããæ¹ããã©ãŠã¶ãŒå
šäœã®ãããã°ã®ããæ¹ãžã®ãªã³ã¯ãæäŸããŸãã</p> +ãµã€ãããŒã«ãããªã³ã¯ãæ¢çŽ¢ããŠãããŒãžãŸã§èªã¿é²ããŠãã ãããéçºããŒã«ã«é¢ããŠã®ãã£ãŒãããã¯ã質åãããã°ãæã
ã®ã¡ãŒãªã³ã°ãªã¹ãã IRC ãã£ã³ãã« (<a href="https://developer.mozilla.org/ja/docs/Tools#Join_the_Developer_tools_community">ããŒãžæäžéšã®ã³ãã¥ããã£ãªã³ã¯</a>ãã芧ãã ãã) ã«ã¡ãã»ãŒãžãéã£ãŠãã ãããããææžã«é¢ããŠã®æ確ãªãã£ãŒãããã¯ã質åãããã°ã<a href="https://discourse.mozilla.org/c/mdn">MDN discourse</a> ãææžããã®ã«è¯ããµã€ãã§ãã<br> + +<div class="note"> +<p><strong>泚èš</strong>: ãããŠã§ãéçºãéçºããŒã«ã®äœ¿çšã«ã€ããŠåå¿è
ãªãã°ã<a href="https://developer.mozilla.org/ja/docs/Learn">ãŠã§ãéçºãåŠã¶</a> ã圹ã«ç«ã€ã§ããã â è¯ãã¹ã¿ãŒãã©ã€ã³ãšã㊠<a href="https://developer.mozilla.org/ja/docs/Learn/Getting_started_with_the_web">ãŠã§ãå
¥é</a> ãš <a href="https://developer.mozilla.org/ja/docs/Learn/Common_questions/What_are_browser_developer_tools">ãã©ãŠã¶ãŒéçºè
ããŒã«ãšã¯ïŒ</a> ãã芧ãã ããã</p> +</div> +</div> + +<h2 id="The_Core_Tools" name="The_Core_Tools">äž»èŠããŒã«</h2> + +<p>Windows ãš Linux ã§ã¯ <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> ãOS X ã§ã¯ <kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd> ã§éãããšãã§ããéçºè
ããŒã«ããŒã®å³åŽã«ã¯ãã¢ã¯ã·ã§ã³ãå®è¡ããããããŒã«ã®èšå®ãå€æŽã§ããããã€ãã®ãã¿ã³ããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16087/DevTools_LayoutMenu.png" style="height: 290px; width: 225px;"></p> + +<table class="standard-table" style="height: 178px; width: 840px;"> + <tbody> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/16092/iframe_button.png" style="height: 69px; width: 69px;"></td> + <td>ãã®ãã¿ã³ã¯ããŒãžã«è€æ°ã® iframe ããããšãã«ã ã衚瀺ãããŸããçŸåšã®ããŒãžã«ãã iframe ã®ãªã¹ãã衚瀺ããããã«ã¯ãªãã¯ãããåäœãããããã®ãéžæããŸãã</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/16088/camera_button.png" style="height: 69px; width: 69px;"></td> + <td> + <p>çŸåšã®ããŒãžã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããå Žåã«ãã®ãã¿ã³ãã¯ãªãã¯ããŸãã(<strong>泚æ:</strong> ãã®æ©èœã¯æ¢å®ã§ã¯å©çšå¯èœãšãªã£ãŠããªãã®ã§ãã¢ã€ã³ã³ã衚瀺ãããã®ã«ã¯èšå®ã§æå¹ã«ããŠããå¿
èŠããããŸãã)</p> + </td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/16089/responsive_button.png" style="height: 69px; width: 69px;"></td> + <td>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã«åãæ¿ããŸãã</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/16090/menu_button.png" style="height: 69px; width: 69px;"></td> + <td> + <p>åå²ããã³ã³ãœãŒã«ã衚瀺ãããé ããããããããã³ã°ã«é¢ãããªãã·ã§ã³ãéçºããŒã«ã®èšå®ãå«ãã¡ãã¥ãŒãéããŸããã¡ãã¥ãŒã«ã¯ãŸã Firefox ã®ãŠã§ãã®ããŒã«ã Mozilla Community ã®ææžãžã®ãªã³ã¯ãå«ã¿ãŸãã</p> + </td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/16091/close_button.png" style="height: 69px; width: 69px;"></td> + <td>éçºããŒã«ãéããŸãã</td> + </tr> + </tbody> +</table> + +<div class="column-container"> +<div class="column-half"> +<h3 id="Page_Inspector" name="Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</h3> + +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Page_Inspector"><img alt="The all-new Inspector panel in Firefox 57." src="https://mdn.mozillademos.org/files/16371/landingPage_PageInspector.png" style="border: 1px solid black; display: block; height: 171px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> +ããŒãžã®å
容ãã¬ã€ã¢ãŠãããé²èŠ§ããã³ç·šéããŸããããã¯ã¹ã¢ãã«ãã¢ãã¡ãŒã·ã§ã³ãã°ãªããã¬ã€ã¢ãŠããªã©ãããŸããŸãªèŠ³ç¹ã§ããŒãžãèŠèŠåããŸãã</div> + +<div class="column-half"> +<h3 id="Web_Console" name="Web_Console">ãŠã§ãã³ã³ãœãŒã«</h3> + +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Web_Console"><img alt="The all-new Console in Firefox 57." src="https://mdn.mozillademos.org/files/16368/landingPage_Console.png" style="border: 1px solid black; display: block; height: 403px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> +ãŠã§ãããŒãžãèšé²ããã¡ãã»ãŒãžã®é²èŠ§ããJavaScript ã䜿çšããŠããŒãžãšããåãããŸãã</div> +</div> + +<div class="column-container"> +<div class="column-half"> +<h3 id="JavaScript_Debugger" name="JavaScript_Debugger">JavaScript ãããã¬ãŒ</h3> + +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Debugger"><img alt="The all-new Firefox 57 Debugger.html" src="https://mdn.mozillademos.org/files/16369/landingPage_Debugger.png" style="border: 1px solid black; display: block; height: 403px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> + +<p>ããŒãžã§å®è¡ããŠãã JavaScript ã®åæ¢ãã¹ãããå®è¡ã調æ»ãå€æŽãè¡ããŸãã</p> +</div> + +<div class="column-half"> +<h3 id="Network_Monitor" name="Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</h3> + +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Network_Monitor"><img alt="The Network panel in Firefox 57 DevTools." src="https://mdn.mozillademos.org/files/16370/landingPage_Network.png" style="border: 1px solid black; display: block; height: 403px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> +ããŒãžãèªã¿èŸŒããšãã«å®æœãããããã¯ãŒã¯ãªã¯ãšã¹ãã確èªããŸãã</div> +</div> + +<div class="column-container"> +<div class="column-half"> +<h3 id="Performance_Tools" name="Performance_Tools">ããã©ãŒãã³ã¹ããŒã«</h3> + +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Performance"><img alt="Performance Tools in Firefox 57 Developer Tools" src="https://mdn.mozillademos.org/files/16372/landingPage_Performance.png" style="border: 1px solid black; display: block; height: 403px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> +ãµã€ãã®å
šäœçãªå¿çæ§ãJavaScript ãã¬ã€ã¢ãŠãã®ããã©ãŒãã³ã¹ãåæããŸãã</div> + +<div class="column-half"> +<h3 id="Responsive_Design_Mode" name="Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã</h3> + +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Responsive_Design_Mode"><img alt="Responsive Design mode in Firefox 57." src="https://mdn.mozillademos.org/files/16373/landingPage_ResponsiveDesign.png" style="border-style: solid; border-width: 1px; display: block; height: 865px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> + +<p>ããŸããŸãªç«¯æ«ããããã¯ãŒã¯ã®ç°å¢ã§ãããªãã®ãŠã§ããµã€ããã¢ããªãã©ã®ããã«èŠããããåäœãããã確èªããŸãã</p> +</div> +</div> + +<div class="note"> +<p><strong>泚</strong>: éçºããŒã«ã®å
¥ã£ãŠãã UI ã®ç·ç§°ã¯<a href="https://developer.mozilla.org/ja/docs/Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a>ã§ãã</p> +</div> + +<div class="column-container"> +<div class="column-half"> +<h3 id="Accessibility_inspector" name="Accessibility_inspector">ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿</h3> +</div> +</div> + +<div class="column-container"> +<div class="column-half"> +<p><a href="https://wiki.developer.mozilla.org/ja/docs/Tools/Accessibility_inspector"><img alt="Performance Tools in Firefox 57 Developer Tools" src="https://mdn.mozillademos.org/files/16367/landingPage_Accessibility.png" style="border-style: solid; border-width: 1px; border: 1px solid black; display: block; height: 403px; margin-left: auto; margin-right: auto; width: 425px;"></a></p> + +<p>ããŒãžã®ã¢ã¯ã»ã·ããªãã£ããªãŒã«ã¢ã¯ã»ã¹ããæ段ãæäŸããæ¬ èœããŠãããã®ã泚æãå¿
èŠãªãã®ã確èªããããšãã§ããŸãã</p> +</div> +</div> + +<div class="note"> +<p><strong>ã¡ã¢</strong>: DevTools ããã¹ãŠãã®äžã«ãã UI ã®ç·ç§°ã¯ã<a href="/ja/docs/Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a>ã§ãã</p> +</div> + +<h2 id="More_Tools" name="More_Tools">ãã®ä»ã®ããŒã«</h2> + +<p>ãããã®éçºããŒã«ããFirefox ã«å
èµããŠããŸããäžèšã®ãäž»èŠããŒã«ããšã¯ç°ãªããæ¥åžžçã«ã¯äœ¿çšããªããããããŸããã</p> + +<div class="twocolumns"> +<dl> + <dt><a href="/ja/docs/Tools/Memory">ã¡ã¢ãªãŒ</a></dt> + <dd>ã©ã®ãªããžã§ã¯ããã¡ã¢ãªãŒã䜿çšãç¶ããŠããããæããã«ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Storage_Inspector">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ</a></dt> + <dd>ããŒãžãä¿åãã CookieãLocal Storage, IndexedDBãSession Storage ã調æ»ããŸãã</dd> + <dt><a href="/ja/docs/Tools/DOM_Property_Viewer">DOM ããããã£ãã¥ãŒã¢ãŒ</a></dt> + <dd>ããŒãžã® DOM å±æ§ãé¢æ°ãªã©ã調æ»ããŸãã</dd> + <dt><a href="/ja/docs/Tools/GCLI">éçºããŒã«ããŒ</a></dt> + <dd>éçºããŒã«çšã®ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹ã§ãã</dd> + <dt><a href="https://developer.mozilla.org/ja/docs/Tools/Accessibility_inspector">ã¢ã¯ã»ã·ããªãã£ã€ã³ã¹ãã¯ã¿ãŒ</a></dt> + <dd>ããŒãžã®ã¢ã¯ã»ã·ããªãã£ããªãŒãžã®ã¢ã¯ã»ã¹æ段ãæäŸããäœã足ããªãã®ãã泚æãå¿
èŠãªã®ãã確èªã§ããããã«ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Eyedropper">ã¹ãã€ã</a></dt> + <dd>ããŒãžå
ã®è²ãéžæããŸãã</dd> + <dt><a href="/ja/docs/Tools/Scratchpad">ã¹ã¯ã©ããããã</a></dt> + <dd>JavaScript ã³ãŒãã®èšè¿°ãå®è¡ãå¯èœãªãFirefox å
èµã®ããã¹ããšãã£ã¿ãŒã§ãã</dd> + <dt><a href="/ja/docs/Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a></dt> + <dd>çŸåšè¡šç€ºããŠããããŒãžã® CSS ã¹ã¿ã€ã«ã®é²èŠ§ãç·šéãè¡ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Shader_Editor">ã·ã§ãŒããŒãšãã£ã¿ãŒ</a></dt> + <dd><a href="/ja/docs/Web/WebGL">WebGL</a> ã§äœ¿çšããé ç¹ã·ã§ãŒããŒãšãã©ã°ã¡ã³ãã·ã§ãŒããŒã®é²èŠ§ãç·šéãè¡ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Web_Audio_Editor">Web Audio ãšãã£ã¿ãŒ</a></dt> + <dd>ãªãŒãã£ãªã³ã³ããã¹ãã§ãªãŒãã£ãªããŒãã®ã°ã©ãã®èª¿æ»ãããããã®ãã©ã¡ãŒã¿ãŒã®å€æŽãè¡ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Taking_screenshots">ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±</a></dt> + <dd>ããŒãžå
šäœãŸãã¯ã²ãšã€ã®èŠçŽ ã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããŸãã</dd> + <dt><a href="https://developer.mozilla.org/ja/docs/Tools/Measure_a_portion_of_the_page">ããŒãžã®äžéšåãèšæž¬ãã</a></dt> + <dd>ãŠã§ãããŒãžã®ç¹å®ã®ãšãªã¢ãèšæž¬ããŸãã</dd> + <dt><a href="https://developer.mozilla.org/ja/docs/Tools/Rulers">å®èŠ</a></dt> + <dd>ãŠã§ãããŒãžäžã«æ°Žå¹³ãåçŽãªå®èŠãéããŸãã</dd> +</dl> +</div> + +<div class="column-container"> +<div class="column-third"> +<p><img alt="" src="https://mdn.mozillademos.org/files/15588/logo-developer-quantum.png" style="display: block; margin: 0px auto;"></p> + +<p style="text-align: center;">ææ°ã®éçºããŒã«ãšæ©èœã«ã€ããŠã¯ãFirefox Developer Edition ãè©ŠããŠã¿ãŠãã ããã</p> + +<p><a href="https://www.mozilla.org/ja/firefox/developer/" style="width: 330px; display: block; margin-left: auto; margin-right: auto; padding: 10px; text-align: center; border-radius: 4px; background-color: #81BC2E; white-space: nowrap; color: white; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2), 0px -1px 0px 0px rgba(0, 0, 0, 0.3) inset;">Firefox Developer Edition ã®ããŠã³ããŒã</a></p> +</div> +</div> + +<hr> +<h2 id="Connecting_the_Developer_Tools" name="Connecting_the_Developer_Tools">éçºããŒã«ã«æ¥ç¶ãã</h2> + +<p><a href="/ja/docs/Tools/Keyboard_shortcuts#Opening_and_closing_tools">ããŒããŒãã·ã§ãŒãã«ãã</a> ãåçã®ã¡ãã¥ãŒé
ç®ã䜿çšããŠéããéçºããŒã«ã¯ãçŸåšã¢ã¯ãã£ããªã¿ãã«è¡šç€ºããŠããããã¥ã¡ã³ãã察象ã«ããŸããäžæ¹ãçŸåšéããŠãããã©ãŠã¶ãŒãå¥ã®ãã©ãŠã¶ãŒãå¥ã®ç«¯æ«ãšãã£ããããŸããŸãªå¯Ÿè±¡ç©ã«å¯ŸããŠãããŒã«ãæ¥ç¶ã§ããŸãã</p> + +<div class="twocolumns"> +<dl> + <dt><a href="/ja/docs/Tools/about:debugging">about:debugging</a></dt> + <dd>ã¢ããªã³ãã³ã³ãã³ãã¿ãããã©ãŠã¶ãŒã§å®è¡ãã Worker ããããã°ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_over_Wifi">Android ç Firefox ã«æ¥ç¶ãã</a></dt> + <dd>Android 端æ«ã§å®è¡ããŠãã Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã«ãéçºããŒã«ãæ¥ç¶ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Working_with_iframes">iframe ã«æ¥ç¶ãã</a></dt> + <dd>çŸåšã®ããŒãžå
ã®ãç¹å®ã® iframe ã«éçºããŒã«ãæ¥ç¶ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Valence">ã»ãã®ãã©ãŠã¶ãŒã«æ¥ç¶ãã</a></dt> + <dd>Android ç Chrome ã iOS ç Safari ã«ãéçºããŒã«ãæ¥ç¶ããŸãã</dd> +</dl> +</div> + +<hr> +<h2 id="Debugging_the_browser" name="Debugging_the_browser">ãã©ãŠã¶ãŒã®ãããã°</h2> + +<p>éåžžãéçºããŒã«ã¯ãŠã§ãããŒãžããŸãã¯ãŠã§ãã¢ããªã«æ¥ç¶ããŠå©çšããŸããããããããã®ããŒã«ã®ã»ãšãã©ã¯ããã©ãŠã¶ãŒãžãšæ¥ç¶ããããšãã§ããŸããããã¯ãã©ãŠã¶ãŒãã¢ããªã³ã®éçºã«åœ¹ç«ã¡ãŸãã</p> + +<div class="twocolumns"> +<dl> + <dt><a href="/ja/docs/Tools/Browser_Console">ãã©ãŠã¶ãŒã³ã³ãœãŒã«</a></dt> + <dd>ãã©ãŠã¶ãŒèªäœãã¢ããªã³ãåºåãããã°ã®ç¢ºèªãããã©ãŠã¶ãŒã®ã¹ã³ãŒãå
ã§ã® JavaScript å®è¡ãè¡ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Browser_Toolbox">ãã©ãŠã¶ãŒããŒã«ããã¯ã¹</a></dt> + <dd>éçºããŒã«ããã©ãŠã¶ãŒèªäœã«æ¥ç¶ããŸãã</dd> +</dl> +</div> + +<hr> +<h2 id="Extending_the_devtools" name="Extending_the_devtools">éçºããŒã«ã®æ¡åŒµ</h2> + +<p>Firefox éçºããŒã«ã®æ¡åŒµã«ã€ããŠã®æ
å ±ã¯ãMDN ã®<a href="https://wiki.developer.mozilla.org/ja/docs/Mozilla/Add-ons/WebExtensions">ãã©ãŠã¶ãŒæ¡åŒµæ©èœ</a>ã»ã¯ã·ã§ã³ã®<a href="https://wiki.developer.mozilla.org/ja/docs/Mozilla/Add-ons/WebExtensions/Extending_the_developer_tools">éçºããŒã«ã®æ¡åŒµ</a> ãèŠãŠãã ããã</p> + +<h2 id="Migrating_from_Firebug" name="Migrating_from_Firebug">Firebug ããã®ç§»è¡</h2> + +<p>Firebug ã¯å¯¿åœãè¿ã¥ããŠããŸãïŒçç±ã®è©³çŽ°ã«ã€ããŠã¯ <a href="https://hacks.mozilla.org/2016/12/firebug-lives-on-in-firefox-devtools/">Firebug lives on in Firefox DevTools</a> ãåç
§ããŠãã ããïŒã人ã«ãã£ãŠã¯ããŸã銎æã¿ã®ãªãéçºããŒã«ãžã®ç§»è¡ã«ææŠããŠãã ãã£ãŠããããšã«æè¬ããŸããFirebug ãã Firefox éçºè
ããŒã«ãžç°¡åã«ç§»è¡ã§ããããã«ãããããç§ãã¡ã¯äŸ¿å©ãªã¬ã€ãã<a href="/ja/docs/Tools/Migrating_from_Firebug">Firebug ããã®ç§»è¡</a>ãæžããŠããŸãã</p> + +<hr> +<h2 id="Contribute" name="Contribute">è²¢ç®</h2> + +<p>éçºããŒã«ã®æ¹è¯ãæ¯æŽãããå Žåã¯ã以äžã®ãªãœãŒã¹ããå§ããŸãããã</p> + +<div class="twocolumns"> +<dl> + <dt><a href="https://devtools-html.github.io/#getting-in-to">Get Involved</a></dt> + <dd>å§ãæ¹ã解説ãã Mozilla wiki ããŒãžã§ãã</dd> + <dt><a href="http://firefox-dev.tools/">firefox-dev.tools</a></dt> + <dd>äœæ¥äžã®ãã°ãæ¢ããããŒã«ã§ãã</dd> +</dl> +</div> diff --git a/files/ja/tools/index/index.html b/files/ja/tools/index/index.html new file mode 100644 index 0000000000..092c03076e --- /dev/null +++ b/files/ja/tools/index/index.html @@ -0,0 +1,9 @@ +--- +title: éçºããŒã«é¢é£ããã¥ã¡ã³ãã®çŽ¢åŒ +slug: Tools/Index +tags: + - Index + - Tools +translation_of: Tools/Index +--- +<div>{{ToolsSidebar}}</div><p>{{Index("/ja/docs/Tools")}}</p> diff --git a/files/ja/tools/json_viewer/index.html b/files/ja/tools/json_viewer/index.html new file mode 100644 index 0000000000..b6459ba6a5 --- /dev/null +++ b/files/ja/tools/json_viewer/index.html @@ -0,0 +1,22 @@ +--- +title: JSON ãã¥ãŒã¢ãŒ +slug: Tools/JSON_viewer +translation_of: Tools/JSON_viewer +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>JSON ãã¥ãŒã¢ãŒã¯ Firefox 44 ã®æ°æ©èœã§ãã</p> + +<p>Firefox 53 ããåã®ããŒãžã§ã³ã§ã¯ãJSON ãã¥ãŒã¢ãŒã¯ Firefox Developer Edition ããã³ Firefox Nightly ã®ã¿æå¹åããŠããŸããã»ãã®ãªãªãŒã¹ãã£ã³ãã«ã§ãã®æ©èœãæå¹åããã«ã¯ãèšå®é
ç® <code>devtools.jsonview.enabled</code> ã <code>true</code> ã«ããŠãã ããã</p> + +<p>Firefox 53 ãããJSON ãã¥ãŒã¢ãŒã Beta ããã³éåžžã®ãªãªãŒã¹çã® Firefox ã§ãããã©ã«ãã§æå¹ã«ãªããŸããã</p> +</div> + +<p>Firefox ã« JSON ãã¥ãŒã¢ãŒãå«ãŸããŠããŸããJSON ãã¡ã€ã«ããã©ãŠã¶ãŒã«èªã¿èŸŒããšãåæããŠæ§æããã€ã©ã€ã衚瀺ããŸããé
åããªããžã§ã¯ãã¯æããããã§è¡šç€ºããŠããã"+" ã¢ã€ã³ã³ã䜿çšããŠå±éã§ããŸãã</p> + +<p>{{EmbedYouTube("ktFcevMwYXw")}}</p> + +<p>JSON ãã¥ãŒã¢ãŒã«ã¯ãJSON ããã£ã«ã¿ãªã³ã°ã§ããæ€çŽ¢ããã¯ã¹ããããŸãã</p> + +<p>çã® JSON ããŒã¿ãšæŽåœ¢æžã¿ããŒã¿ã®äž¡æ¹ã確èªã§ããŸãã</p> + +<p>æåŸã«ãããã¥ã¡ã³ãããããã¯ãŒã¯ãªã¯ãšã¹ãã®çµæã§ããå Žåã¯ããªã¯ãšã¹ãããã³ã¬ã¹ãã³ã¹ã®ããããŒããã¥ãŒã¢ãŒã§è¡šç€ºããŸãã</p> diff --git a/files/ja/tools/keyboard_shortcuts/index.html b/files/ja/tools/keyboard_shortcuts/index.html new file mode 100644 index 0000000000..db62cdc3e3 --- /dev/null +++ b/files/ja/tools/keyboard_shortcuts/index.html @@ -0,0 +1,1206 @@ +--- +title: ããŒããŒãã·ã§ãŒãã«ããäžèŠ§ +slug: Tools/Keyboard_shortcuts +tags: + - Tools + - 'l10n:priority' +translation_of: Tools/Keyboard_shortcuts +--- +<div>{{ToolsSidebar}}</div> + +<p>æ¬ããŒãžã§ã¯ãFirefox å
èµã®éçºããŒã«ã§äœ¿çšããŠããããã¹ãŠã®ããŒããŒãã·ã§ãŒãã«ãããäžèŠ§åããŠããŸãã</p> + +<p>æåã®ã»ã¯ã·ã§ã³ã§ã¯ããããã®ããŒã«ãéãããã®ã·ã§ãŒãã«ãããã次ã®ã»ã¯ã·ã§ã³ã§ã¯ããŒã«ããã¯ã¹èªäœã«é©çšããã·ã§ãŒãã«ãããäžèŠ§åããŸãããã®åŸã«åããŒã«ã®ã»ã¯ã·ã§ã³ããããããã§ã¯ããŒã«å
ã§äœ¿çšã§ããã·ã§ãŒãã«ãããäžèŠ§åããŠããŸãã</p> + +<p>ã¢ã¯ã»ã¹ããŒã¯ãã±ãŒã«ã«äŸåãããããæ¬ããŒãžã§ã¯ææžåããŠããŸããã</p> + +<h2 id="Opening_and_closing_tools" name="Opening_and_closing_tools">ããŒã«ã®éå§ãšçµäº</h2> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ãã¡ã€ã³ã®ãã©ãŠã¶ãŒãŠã£ã³ããŠã§ç¹å®ã®ããŒã«ãéå§ããŸããããŒã«ããã¯ã¹ã«å«ãŸããŠããããŒã«ã§ã¯ãããŒã«ãã¢ã¯ãã£ãã§ããå Žåã¯ããŒã«ãçµäºããã·ã§ãŒãã«ãããšããŠæ©èœããŸãããã©ãŠã¶ãŒã³ã³ãœãŒã«ã®ããã«æ°ãããŠã£ã³ããŠãéãããŒã«ã§ã¯ãããŒã«ãçµäºããããã«ãŠã£ã³ããŠãéããªããã°ãªããŸããã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ããŒã«ããã¯ã¹ãéã (æåŸã«ã¢ã¯ãã£ãã§ãã£ãããŒã«ãéã)</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></td> + </tr> + <tr> + <th scope="row">ããŒã«ããã¯ã¹ããã©ã¢ã°ã©ãŠã³ãã«ç§»å (ããŒã«ããã¯ã¹ãå¥ã®ãŠã£ã³ããŠã§éããŠããããã®ãŠã£ã³ããŠããã©ã¢ã°ã©ãŠã³ãã§ã¯ãªãå Žå)</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> or <kbd>F12</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd> or <kbd>F12</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> or <kbd>F12</kbd></td> + </tr> + <tr> + <th scope="row">ããŒã«ããã¯ã¹ãéãã (ããŒã«ããã¯ã¹ãå¥ã®ãŠã£ã³ããŠã§éããŠããããã®ãŠã£ã³ããŠããã©ã¢ã°ã©ãŠã³ãã§ããå Žå)</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> or <kbd>F12</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd> or <kbd>F12</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> or <kbd>F12</kbd></td> + </tr> + <tr> + <th scope="row">ãŠã§ãã³ã³ãœãŒã«ãéã<a href="#opening-closing-web-console-note"><strong><sup>1</sup></strong></a></th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>K</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td> + </tr> + <tr> + <th scope="row">ã€ã³ã¹ãã¯ã¿ãŒãéã/éãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>C</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd></td> + </tr> + <tr> + <th scope="row">ãããã¬ãŒãéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>S</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¿ã€ã«ãšãã£ã¿ãŒãéã</th> + <td><kbd>Shift</kbd> + <kbd>F7</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F7</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>Shift</kbd> + <kbd>F7</kbd></td> + </tr> + <tr> + <th scope="row">ãããã¡ã€ã©ãŒãéã</th> + <td><kbd>Shift</kbd> + <kbd>F5</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F5</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>Shift</kbd> + <kbd>F5</kbd></td> + </tr> + <tr> + <th scope="row">ãããã¯ãŒã¯ã¢ãã¿ãŒãéã<a href="#opening-closing-network-monitor-note"><strong><sup>2</sup></strong></a></th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>E</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td> + </tr> + <tr> + <th scope="row">éçºããŒã«ããŒãéã</th> + <td><kbd>Shift</kbd> + <kbd>F2</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F2</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>Shift</kbd> + <kbd>F2</kbd></td> + </tr> + <tr> + <th scope="row">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>M</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>M</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>M</kbd></td> + </tr> + <tr> + <th scope="row">ãã©ãŠã¶ãŒã³ã³ãœãŒã«ãéã<a href="#opening-closing-browser-console-note"><sup>3</sup></a></th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>J</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>J</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>J</kbd></td> + </tr> + <tr> + <th scope="row">ãã©ãŠã¶ãŒããŒã«ããã¯ã¹ãéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ããããããéã</th> + <td><kbd>Shift</kbd> + <kbd>F4</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F4</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F4</kbd></td> + </tr> + <tr> + <th scope="row">WebIDE ãéã</th> + <td><kbd>Shift</kbd> + <kbd>F8</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F8</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F8</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ<a href="#disabled-tools-shortcut"><sup>4</sup></a></th> + <td><kbd>Shift</kbd> + <kbd>F9</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F9</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F9</kbd></td> + </tr> + </tbody> +</table> + +<p><a name="opening-closing-web-console-note">1. ä»ã®ããŒã«ããã¯ã¹å
ããŒã«ãšç°ãªãããã®ã·ã§ãŒãã«ããã§ã¯ãŠã§ãã³ã³ãœãŒã«ãéããŸããã代ããã«ããŠã§ãã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã«ãã©ãŒã«ã¹ãããããŸãããŠã§ãã³ã³ãœãŒã«ãéããã«ã¯ãããŒã«ããã¯ã¹ã®ã°ããŒãã«ãªã·ã§ãŒãã«ããã§ãã <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd>) ã䜿çšããŠãã ããã</a></p> + +<p><a name="opening-closing-network-monitor-note">2. Firefox 55 ããåã®ããŒãžã§ã³ã§ã¯ãããŒããŒãã·ã§ãŒãã«ããã <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Q</kbd> (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>Q</kbd>) ã§ããã</a></p> + +<p><a id="opening-closing-browser-console-note" name="opening-closing-browser-console-note">3. Firefox 38 ããåã®ããŒãžã§ã³ã§ã¯ããã©ãŠã¶ãŒã³ã³ãœãŒã«ã Firefox ã®ãŠã£ã³ããŠã®é°ã«ããç¶æ
ã§åãã·ã§ãŒãã«ãããæŒäžãããšããã©ãŠã¶ãŒã³ã³ãœãŒã«ãéããŸããFirefox 38 ããããã©ãŠã¶ãŒã³ã³ãœãŒã«ã Firefox ã®ãŠã£ã³ããŠã®é°ã«ãããšãã¯ããã®ã·ã§ãŒãã«ããã§ãã©ãŠã¶ãŒã³ã³ãœãŒã«ãåé¢ã«è¡šç€ºããŠãã©ãŒã«ã¹ãããŠãããã«ãªããŸããã</a></p> + +<p><a href="/ja/docs/Tools_Toolbox#Settings" name="disabled-tools-shortcut">4. ããŒã«ã¯ããã©ã«ãã§ç¡å¹ã§ããããªãã·ã§ã³ããã«ã§ããŒã«ãæå¹åããªããã°ã·ã§ãŒãã«ããã¯åäœããŸããã</a></p> + +<h2 id="Toolbox" name="Toolbox">ããŒã«ããã¯ã¹</h2> + +<div id="toolbox-shortcuts"> +<p>ãããã®ã·ã§ãŒãã«ããã¯ã©ã®ããŒã«ãã¢ã¯ãã£ãã§ãããã«ããããããããŒã«ããã¯ã¹ãéããŠãããšãã«åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">éçºããŒã«ãå·Šããå³ã«åãæ¿ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>]</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>]</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>]</kbd></td> + </tr> + <tr> + <th scope="row">éçºããŒã«ãå³ããå·Šã«åãæ¿ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>[</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>[</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>[</kbd></td> + </tr> + <tr> + <th scope="row"> + <p>ã¢ã¯ãã£ããªããŒã«ãšããŒã«ã®ãªãã·ã§ã³ãåãæ¿ãã</p> + </th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd></td> + </tr> + <tr> + <th scope="row">ã¢ã¯ãã£ããªããŒã«ãšããŒã«ã®ãªãã·ã§ã³ãåãæ¿ãã (Firefox 43 ã®æ°æ©èœ)</th> + <td><kbd>F1</kbd></td> + <td><kbd>F1</kbd></td> + <td><kbd>F1</kbd></td> + </tr> + <tr> + <th scope="row"> + <p>æåŸã«äœ¿çšãã 2 ã€ã® <a href="/ja/docs/Tools/Tools_Toolbox#Docking_mode">ãããã³ã°ã¢ãŒã</a> ãåãæ¿ãã (Firefox 41 ã®æ°æ©èœ)</p> + </th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd></td> + </tr> + <tr> + <th scope="row">ã³ã³ãœãŒã«ã®åžžæ衚瀺ãåãæ¿ãã (ã³ã³ãœãŒã«ããŒã«ãéžæããŠããå Žåãé€ã)</th> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + </tr> + </tbody> +</table> +</div> + +<div id="all-toolbox-tools"> +<p>ãããã®ã·ã§ãŒãã«ããã¯ãããŒã«ããã¯ã¹å
ã®å
šããŒã«ã§åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ãã©ã³ããµã€ãºã倧ãããã</th> + <td><kbd>Ctrl</kbd> + <kbd> + </kbd></td> + <td><kbd>Cmd</kbd> + <kbd> + </kbd></td> + <td><kbd>Ctrl</kbd> + <kbd> + </kbd></td> + </tr> + <tr> + <th scope="row">ãã©ã³ããµã€ãºãå°ãããã</th> + <td><kbd>Ctrl</kbd> + <kbd>-</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>-</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>-</kbd></td> + </tr> + <tr> + <th scope="row">ãã©ã³ããµã€ãºããªã»ãããã</th> + <td><kbd>Ctrl</kbd> + <kbd>0</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>0</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>0</kbd></td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Source_editor" name="Source_editor">ãœãŒã¹ãšãã£ã¿ãŒ</h2> + +<div id="source-editor"> +<p>以äžã®è¡šã¯ããœãŒã¹ãšãã£ã¿ãŒã®ããã©ã«ãã®ã·ã§ãŒãã«ããã®äžèŠ§ã§ãã</p> + +<p>éçºããŒã«ã®ãªãã·ã§ã³ã® <a href="/ja/docs/Tools/Tools_Toolbox#Editor_Preferences">ãšãã£ã¿ãŒèšå®</a> ã§ãããŒãã€ã³ããšã㊠VimãEmacsãSublime Text ãéžæã§ããŸãã</p> + +<p>ãããã¯ã<code>about:config</code> ã§èšå®é
ç® <code>devtools.editor.keymap</code> ãéžæã㊠"vim"ã"emacs"ããŸã㯠"sublime" ãèšå®ããŠãã ããããã®èšå®ã«ãããœãŒã¹ãšãã£ã¿ãŒã䜿çšãããã¹ãŠã®éçºããŒã«ã§ãéžæããããŒãã€ã³ãã䜿çšããŸããèšå®ãåæ ãããã«ã¯ããšãã£ã¿ãŒãéãçŽããªããã°ãªããŸããã</p> + +<p>Firefox 33 ããããŒãã€ã³ãã®èšå®ãéçºããŒã«ã®ãªãã·ã§ã³ã® <a href="/ja/docs/Tools/Tools_Toolbox#Editor_Preferences">ãšãã£ã¿ãŒèšå®</a> ã«é
眮ããŸããã®ã§ã<code>about:config</code> ã«ä»£ããããã§èšå®ã§ããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">æå®è¡ãžç§»å</th> + <td><kbd>Ctrl</kbd> + <kbd>J</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>J</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>J</kbd></td> + </tr> + <tr> + <th scope="row">ãã¡ã€ã«å
ãæ€çŽ¢</th> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row">åæ€çŽ¢</th> + <td><kbd>Ctrl</kbd> + <kbd>G</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>G</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>G</kbd></td> + </tr> + <tr> + <th scope="row">ãã¹ãŠéžæ</th> + <td><kbd>Ctrl</kbd> + <kbd>A</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>A</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>A</kbd></td> + </tr> + <tr> + <th scope="row">åãåã</th> + <td><kbd>Ctrl</kbd> + <kbd>X</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>X</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>X</kbd></td> + </tr> + <tr> + <th scope="row">ã³ããŒ</th> + <td><kbd>Ctrl</kbd> + <kbd>C</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>C</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>C</kbd></td> + </tr> + <tr> + <th scope="row">貌ãä»ã</th> + <td><kbd>Ctrl</kbd> + <kbd>V</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>V</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>V</kbd></td> + </tr> + <tr> + <th scope="row">å
ã«æ»ã</th> + <td><kbd>Ctrl</kbd> + <kbd>Z</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Z</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Z</kbd></td> + </tr> + <tr> + <th scope="row">ããçŽã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd> / <kbd>Ctrl</kbd> + <kbd>Y</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd> / <kbd>Cmd</kbd> + <kbd>Y</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd> / <kbd>Ctrl</kbd> + <kbd>Y</kbd></td> + </tr> + <tr> + <th scope="row">ã€ã³ãã³ãæ¿å
¥</th> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">ã€ã³ãã³ãåé€</th> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">äžã®è¡ãžç§»å</th> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">äžã®è¡ãžç§»å</th> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">è¡ã®ã³ã¡ã³ãå/ã³ã¡ã³ã解é€</th> + <td><kbd>Ctrl</kbd> + <kbd>/</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>/</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>/</kbd></td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Page_Inspector" name="Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</h2> + +<div id="page-inspector"> +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">èŠçŽ ã調æ»ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd></td> + </tr> + </tbody> +</table> + +<h3 id="Node_picker" name="Node_picker">ããŒãã®éžæ</h3> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Select_an_element#With_the_node_picker">ããŒãžããèŠçŽ ãéžæ</a> ãã¢ã¯ãã£ãã§ãããšãã«åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ããŠã¹ãã€ã³ã¿ãŒã®äžã«ããèŠçŽ ãéžæããŠãéžæã¢ãŒããçµäºãã</th> + <td><kbd>Click</kbd></td> + <td><kbd>Click</kbd></td> + <td><kbd>Click</kbd></td> + </tr> + <tr> + <th scope="row">ããŠã¹ãã€ã³ã¿ãŒã®äžã«ããèŠçŽ ãéžæããŠãéžæã¢ãŒãã¯ç¶ç¶ãã (Firefox 52 ã®æ°æ©èœ)</th> + <td><kbd>Shift</kbd> + <kbd>Click</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Click</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Click</kbd></td> + </tr> + </tbody> +</table> + +<h3 id="HTML_pane" name="HTML_pane">HTML ãã€ã³</h3> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML" title="Tools/Page_Inspector/How_to/Examine_and_edit_HTML">ã€ã³ã¹ãã¯ã¿ãŒã® HTML ãã€ã³</a> å
ã§åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">éžæäžã®ããŒããåé€ãã</th> + <td><kbd>Delete</kbd></td> + <td><kbd>Delete</kbd></td> + <td><kbd>Delete</kbd></td> + </tr> + <tr> + <th scope="row">åé€ããããŒããå
ã«æ»ã</th> + <td><kbd>Ctrl</kbd> + <kbd>Z</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Z</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Z</kbd></td> + </tr> + <tr> + <th scope="row">ããŒããåã³åé€ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd> / <kbd>Ctrl</kbd> + <kbd>Y</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd> / <kbd>Cmd</kbd> + <kbd>Y</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd> / <kbd>Ctrl</kbd> + <kbd>Y</kbd></td> + </tr> + <tr> + <th scope="row">次ã®ããŒããžç§»åãã (å±éããŠããããŒãã«éã)</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">åã®ããŒãã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããŒããå±éãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããŒããæãããã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">ããŒãå
ã§æ¬¡ã®å±æ§ã«ç§»åãã</th> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">ããŒãå
ã§åã®å±æ§ã«ç§»åãã</th> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å±æ§ãç·šéãã</th> + <td><kbd>Enter</kbd></td> + <td><kbd>Return</kbd></td> + <td><kbd>Enter</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããŒããé ã/衚瀺ãã</th> + <td><kbd>H</kbd></td> + <td><kbd>H</kbd></td> + <td><kbd>H</kbd></td> + </tr> + <tr> + <th scope="row">HTML ãã€ã³ã®æ€çŽ¢ããã¯ã¹ã«ãã©ãŒã«ã¹ã移åãã</th> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row">HTML ãšããŠç·šéãã</th> + <td><kbd>F2</kbd></td> + <td><kbd>F2</kbd></td> + <td><kbd>F2</kbd></td> + </tr> + <tr> + <th scope="row">HTML ã®ç·šéãçµäºãã</th> + <td><kbd>F2</kbd> / <kbd>Ctrl</kbd> +<kbd>Enter</kbd></td> + <td><kbd>F2</kbd> / <kbd>Cmd</kbd> + <kbd>Return</kbd></td> + <td><kbd>F2</kbd> / <kbd>Ctrl</kbd> + <kbd>Enter</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããŒãã® outerHTML ãã³ããŒãã (Firefox 42 ã®æ°æ©èœ)</th> + <td><kbd>Ctrl</kbd> + <kbd>C</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>C</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>C</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããŒããããäœçœ®ãžã¹ã¯ããŒã«ãã (Firefox 44 ã®æ°æ©èœ)</th> + <td><kbd>S</kbd></td> + <td><kbd>S</kbd></td> + <td><kbd>S</kbd></td> + </tr> + <tr> + <th scope="row">æ€çŽ¢ãã¢ã¯ãã£ãã§ãããšããããŒã¯ã¢ããå
ã§æ¬¡ã«ããããããã®ãæ€çŽ¢ãã</th> + <td><kbd>Enter</kbd></td> + <td><kbd>Return</kbd></td> + <td><kbd>Enter</kbd></td> + </tr> + <tr> + <th scope="row">æ€çŽ¢ãã¢ã¯ãã£ãã§ãããšããããŒã¯ã¢ããå
ã§åã«ããããããã®ãæ€çŽ¢ãã (Firefox 48 ã®æ°æ©èœ)</th> + <td><kbd>Shift</kbd> + <kbd>Enter</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Return</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Enter</kbd></td> + </tr> + </tbody> +</table> + +<h3 id="Breadcrumbs_bar" name="Breadcrumbs_bar">ãã³ãããªã¹ãããŒ</h3> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#HTML_breadcrumbs">ãã³ãããªã¹ãããŒ</a> ã«ãã©ãŒã«ã¹ããããšãã«åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ãã³ãããªã¹ãããŒã§åã®èŠçŽ ã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">ãã³ãããªã¹ãããŒã§æ¬¡ã®èŠçŽ ã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ãã€ã³</a> ã«ãã©ãŒã«ã¹ã移åãã</th> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">CSS ãã€ã³</a> ã«ãã©ãŒã«ã¹ã移åãã</th> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + </tr> + </tbody> +</table> + +<h3 id="CSS_pane" name="CSS_pane">CSS ãã€ã³</h3> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS" title="Tools/Page_Inspector/How_to/Examine_and_edit_CSS">ã€ã³ã¹ãã¯ã¿ãŒã® CSS ãã€ã³</a> å
ã§åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">CSS ãã€ã³ã®æ€çŽ¢ããã¯ã¹ã«ãã©ãŒã«ã¹ã移åãã</th> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row">æ€çŽ¢ããã¯ã¹ã®å
容ãæ¶å»ãã (æ€çŽ¢ããã¯ã¹ã«ãã©ãŒã«ã¹ããããå
容ãå
¥åãããŠããå Žåã«éã)</th> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + </tr> + <tr> + <th scope="row">次ã®ããããã£ãŒãå€ã«ç§»åãã</th> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">åã®ããããã£ãŒãå€ã«ç§»åãã</th> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">ããããã£ãŒãå€ã®ç·šéãå§ãã (ã«ãŒã«ãã¥ãŒã§ããããã£ãŒãŸãã¯å€ãéžæãããŠããããã§ã«ç·šéäžã§ã¯ãªãç¶æ
ã«éã)</th> + <td><kbd>Enter</kbd> ãŸã㯠<kbd>Space</kbd></td> + <td><kbd>Return</kbd> ãŸã㯠<kbd>Space</kbd></td> + <td><kbd>Enter</kbd> ãŸã㯠<kbd>Space</kbd></td> + </tr> + <tr> + <th scope="row">ãªãŒãã³ã³ããªãŒãã®åè£ã§äžäžã«ç§»åãã (ã«ãŒã«ãã¥ãŒã§ããããã£ãŒãŸãã¯å€ãç·šéäžã§ããç¶æ
ã«éã)</th> + <td><kbd>â</kbd> , <kbd>â</kbd></td> + <td><kbd>â</kbd> , <kbd>â</kbd></td> + <td><kbd>â</kbd> , <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">çŸåšã®ãªãŒãã³ã³ããªãŒãåè£ãéžæãã (ã«ãŒã«ãã¥ãŒã§ããããã£ãŒãŸãã¯å€ãç·šéäžã§ããç¶æ
ã«éã)</th> + <td><kbd>Enter</kbd> ãŸã㯠<kbd>Tab</kbd></td> + <td><kbd>Return</kbd> ãŸã㯠<kbd>Tab</kbd></td> + <td><kbd>Enter</kbd> ãŸã㯠<kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 1 å¢ãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 1 æžãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 100 å¢ãã</th> + <td><kbd>Shift</kbd> + <kbd>Page Up</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Page Up</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Page Up</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 100 æžãã</th> + <td><kbd>Shift</kbd> + <kbd>Page Down</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Page Down</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Page Down</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 10 å¢ãã</th> + <td><kbd>Shift</kbd> + <kbd>â</kbd></td> + <td><kbd>Shift</kbd> + <kbd>â</kbd></td> + <td><kbd>Shift</kbd> + <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 10 æžãã</th> + <td><kbd>Shift</kbd> + <kbd>â</kbd></td> + <td><kbd>Shift</kbd> + <kbd>â</kbd></td> + <td><kbd>Shift</kbd> + <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 0.1 å¢ãã</th> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + <td><kbd>Opt</kbd> + <kbd>â</kbd></td> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®å€ã 0.1 æžãã</th> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + <td><kbd>Opt</kbd> + <kbd>â</kbd></td> + <td><kbd>Alt</kbd> + <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããããã£ãŒã®è©³çŽ°æ
å ±ã衚瀺ãã/é ã (èšç®æžã¿ãã¥ãŒã§ããããã£ãŒãéžæããŠããå Žåã«éããFirefox 49 ã®æ°æ©èœ)</th> + <td><kbd>Enter</kbd> ãŸã㯠<kbd>Space</kbd></td> + <td><kbd>Return</kbd> ãŸã㯠<kbd>Space</kbd></td> + <td><kbd>Enter</kbd> ãŸã㯠<kbd>Space</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®ããããã£ãŒã«é¢ãã MDN ã®ãªãã¡ã¬ã³ã¹ããŒãžãéã (èšç®æžã¿ãã¥ãŒã§ããããã£ãŒãéžæããŠããå Žåã«éããFirefox 49 ã®æ°æ©èœ)</th> + <td><kbd>F1</kbd></td> + <td><kbd>F1</kbd></td> + <td><kbd>F1</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã® CSS ãã¡ã€ã«ãã¹ã¿ã€ã«ãšãã£ã¿ãŒã§éã (èšç®æžã¿ãã¥ãŒã§ããããã£ãŒã®è©³çŽ°æ
å ±ã衚瀺ããŠãããCSS ãã¡ã€ã«ãžã®åç
§ã«ãã©ãŒã«ã¹ãããŠãŠããå Žåã«éããFirefox 49 ã®æ°æ©èœ)</th> + <td><kbd>Enter</kbd></td> + <td><kbd>Return</kbd></td> + <td><kbd>Enter</kbd></td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Debugger" name="Debugger">ãããã¬ãŒ</h2> + +<div id="debugger"> +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ãããã¬ãŒãéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>S</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td> + </tr> + <tr> + <th scope="row">çŸåšã®ãã¡ã€ã«å
ã§æååãæ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row">çŸåšã®ãã¡ã€ã«å
ã§æ¬¡ãæ¢ã</th> + <td><kbd>Ctrl</kbd> + <kbd>G</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>G</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>G</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ãªãããååã§æ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>P</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>P</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>P</kbd></td> + </tr> + <tr> + <th scope="row">ãã¬ãŒã¯ãã€ã³ãã§å®è¡ãåéãã</th> + <td><kbd>F8</kbd></td> + <td><kbd>F8</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>F8</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ããããªãŒããŒ</th> + <td><kbd>F10</kbd></td> + <td><kbd>F10</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>F10</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ãããã€ã³</th> + <td><kbd>F11</kbd></td> + <td><kbd>F11</kbd> <sup><a href="#mac-function-key-note" title="#mac-function-key-note">1</a></sup></td> + <td><kbd>F11</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ãããã¢ãŠã</th> + <td><kbd>Shift</kbd> + <kbd>F11</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F11</kbd> <sup><a href="#mac-function-key-note" title="#mac-function-key-note">1</a></sup></td> + <td><kbd>Shift</kbd> + <kbd>F11</kbd></td> + </tr> + </tbody> +</table> + +<p><a name="mac-function-key-note">1. äžéšã® Mac ã¯ããã©ã«ãã§ããã¡ã³ã¯ã·ã§ã³ããŒãç¹å¥ãªæ©èœã«åå²ãåœãŠãããŠããŸããäŸãã°ãç»é¢ã®æãããé³éã®å€æŽã§ãã</a><a href="http://support.apple.com/kb/HT3399" title="http://support.apple.com/kb/HT3399">ãããã®ããŒãæšæºçãªãã¡ã³ã¯ã·ã§ã³ããŒãšããŠäœ¿çšããããã®ã¬ã€ã</a> (<a href="https://support.apple.com/ja-jp/HT3399">æ¥æ¬èªç</a>) ãã芧ãã ãããåå²ãåœãŠãããããŒãæšæºçãªãã¡ã³ã¯ã·ã§ã³ããŒãšããŠäœ¿çšããã«ã¯ãåæã« Function ããŒãæŒäžããŠãã ãã (ãã£ãŠãããã¡ã€ã©ãŒãéãã«ã¯ã<kbd>Shift</kbd> + <kbd>Function</kbd> + <kbd>F5</kbd> ãæŒããŠãã ãã)ã</p> +</div> + +<h2 id="Debugger_(Before_Firefox_52)" name="Debugger_(Before_Firefox_52)">ãããã¬ãŒ (Firefox 52ããå)</h2> + +<div id="old-debugger"> +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ãããã¬ãŒãéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>S</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Debugger/How_to/Search_and_filter" title="Tools/Debugger/How_to/Search_and_filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> ã§çŸåšã®ãœãŒã¹ãæ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row">衚瀺äžã®ãœãŒã¹å
ã§æ¬¡ãæ€çŽ¢ãã</th> + <td><kbd>Enter</kbd> / <kbd>â</kbd></td> + <td><kbd>Return</kbd> / <kbd>â</kbd></td> + <td><kbd>Enter</kbd> / <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">衚瀺äžã®ãœãŒã¹å
ã§åãæ€çŽ¢ãã</th> + <td><kbd>Shift</kbd> + <kbd>Enter</kbd> / <kbd>â</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Return</kbd> / <kbd>â</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Enter</kbd> / <kbd>â</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Debugger/How_to/Search_and_filter" title="Tools/Debugger/How_to/Search_and_filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> ã§ãã¹ãŠã®ãœãŒã¹ãæ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row">ãã¡ã€ã«åã§ã¹ã¯ãªãããæ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>P</kbd> / <kbd>Ctrl</kbd> + <kbd>O</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>P</kbd> / <kbd>Ctrl</kbd> + <kbd>O</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>P</kbd> / <kbd>Ctrl</kbd> + <kbd>O</kbd></td> + </tr> + <tr> + <th scope="row">é¢æ°å®çŸ©ãæ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>D</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>D</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>D</kbd></td> + </tr> + <tr> + <th scope="row">å®è¡åæ¢äžã«å€æ°ããã£ã«ã¿ãªã³ã°ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>V</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>V</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>V</kbd></td> + </tr> + <tr> + <th scope="row">ãã¬ãŒã¯ãã€ã³ãããå®è¡ãåéãã</th> + <td><kbd>F8</kbd></td> + <td><kbd>F8</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>F8</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ããããªãŒããŒ</th> + <td><kbd>F10</kbd></td> + <td><kbd>F10</kbd> <a href="#mac-function-key-note" title="#mac-function-key-note"><sup>1</sup></a></td> + <td><kbd>F10</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ãããã€ã³</th> + <td><kbd>F11</kbd></td> + <td><kbd>F11</kbd> <sup><a href="#mac-function-key-note" title="#mac-function-key-note">1</a></sup></td> + <td><kbd>F11</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ãããã¢ãŠã</th> + <td><kbd>Shift</kbd> + <kbd>F11</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F11</kbd> <sup><a href="#mac-function-key-note" title="#mac-function-key-note">1</a></sup></td> + <td><kbd>Shift</kbd> + <kbd>F11</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®è¡ã§ãã¬ãŒã¯ãã€ã³ãã®èšå®ãåãæ¿ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>B</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>B</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>B</kbd></td> + </tr> + <tr> + <th scope="row">éžæäžã®è¡ã§æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ãã®èšå®ãåãæ¿ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd></td> + </tr> + <tr> + <th scope="row">éžæããŠããããã¹ããç£èŠåŒã«è¿œå ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Debugger/How_to/Search_and_filter" title="Tools/Debugger/How_to/Search_and_filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> ã§è¡ç§»åãã</th> + <td><kbd>Ctrl</kbd> + <kbd>L</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>L</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>L</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Debugger/How_to/Search_and_filter" title="Tools/Debugger/How_to/Search_and_filter">ã¹ã¯ãªãããã£ã«ã¿ãŒ</a> ã§æ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>O</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>O</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>O</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane">ãœãŒã¹ãã€ã³</a> ã§é¢æ°å®çŸ©ã«ãžã£ã³ããã (Firefox 44 ã®æ°æ©èœ)</th> + <td><kbd>Ctrl</kbd> + ã¯ãªãã¯</td> + <td><kbd>Cmd</kbd> + ã¯ãªãã¯</td> + <td><kbd>Ctrl</kbd> + ã¯ãªãã¯</td> + </tr> + </tbody> +</table> + +<p><a name="mac-function-key-note">1. äžéšã® Mac ã¯ããã©ã«ãã§ããã¡ã³ã¯ã·ã§ã³ããŒãç¹å¥ãªæ©èœã«åå²ãåœãŠãããŠããŸããäŸãã°ãç»é¢ã®æãããé³éã®å€æŽã§ãã</a><a href="http://support.apple.com/kb/HT3399" title="http://support.apple.com/kb/HT3399">ãããã®ããŒãæšæºçãªãã¡ã³ã¯ã·ã§ã³ããŒãšããŠäœ¿çšããããã®ã¬ã€ã</a> (<a href="https://support.apple.com/ja-jp/HT3399">æ¥æ¬èªç</a>) ãã芧ãã ãããåå²ãåœãŠãããããŒãæšæºçãªãã¡ã³ã¯ã·ã§ã³ããŒãšããŠäœ¿çšããã«ã¯ãåæã« Function ããŒãæŒäžããŠãã ãã (ãã£ãŠãããã¡ã€ã©ãŒãéãã«ã¯ã<kbd>Shift</kbd> + <kbd>Function</kbd> + <kbd>F5</kbd> ãæŒããŠãã ãã)ã</p> +</div> + +<h2 id="Web_Console" name="Web_Console">ãŠã§ãã³ã³ãœãŒã«</h2> + +<div id="web-console"> +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ãŠã§ãã³ã³ãœãŒã«ãéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>K</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td> + </tr> + <tr> + <th scope="row">ã¡ãã»ãŒãžè¡šç€ºãã€ã³ã§æ€çŽ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>F</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>F</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Web_Console#Inspecting_objects" title="Tools/Web_Console#Inspecting_objects">ãªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒãã€ã³</a> ãæ¶å»ãã</th> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + </tr> + <tr> + <th scope="row">ã³ãã³ãã©ã€ã³ã«ãã©ãŒã«ã¹ãããŠã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>K</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td> + </tr> + <tr> + <th scope="row">ãŠã§ãã³ã³ãœãŒã«ã®å
容ãæ¶å»ãã</th> + <td> + <p><kbd>Ctrl</kbd> + <kbd>L</kbd></p> + + <p>Firefox 44 以é:</p> + + <p><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd></p> + </td> + <td><kbd>Ctrl</kbd> + <kbd>L</kbd></td> + <td> + <p><kbd>Ctrl</kbd> + <kbd>L</kbd></p> + + <p>Firefox 44 以é:</p> + + <p><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd></p> + </td> + </tr> + </tbody> +</table> + +<h3 id="Command_line_interpreter" name="Command_line_interpreter">ã³ãã³ãã©ã€ã³ã€ã³ã¿ããªã¿ãŒ</h3> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ã<a href="/ja/docs/Tools/Web_Console#The_command_line_interpreter" title="Tools/Web_Console#The_command_line_interpreter">ã³ãã³ãã©ã€ã³ã€ã³ã¿ããªã¿ãŒ</a> å
ã§åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ã³ã³ãœãŒã«åºåã®å
é ã«ã¹ã¯ããŒã«ãã (ã³ãã³ãã©ã€ã³ãæªå
¥åã®å Žåã«ã®ã¿åäœããŸã)</th> + <td><kbd>Home</kbd></td> + <td><kbd>Home</kbd></td> + <td><kbd>Home</kbd></td> + </tr> + <tr> + <th scope="row">ã³ã³ãœãŒã«åºåã®æåŸã«ã¹ã¯ããŒã«ãã (ã³ãã³ãã©ã€ã³ãæªå
¥åã®å Žåã«ã®ã¿åäœããŸã)</th> + <td><kbd>End</kbd></td> + <td><kbd>End</kbd></td> + <td><kbd>End</kbd></td> + </tr> + <tr> + <th scope="row">ã³ã³ãœãŒã«ã®åºåãäžã«ã¹ã¯ããŒã«ãã</th> + <td><kbd>Page up</kbd></td> + <td><kbd>Page up</kbd></td> + <td><kbd>Page up</kbd></td> + </tr> + <tr> + <th scope="row">ã³ã³ãœãŒã«ã®åºåãäžã«ã¹ã¯ããŒã«ãã</th> + <td><kbd>Page down</kbd></td> + <td><kbd>Page down</kbd></td> + <td><kbd>Page down</kbd></td> + </tr> + <tr> + <th scope="row"><a href="/ja/docs/Tools/Web_Console#Command_history" title="Tools/Web_Console#Command_history">ã³ãã³ãå±¥æŽ</a> ã§åã®é
ç®ã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">ã³ãã³ãå±¥æŽã§æ¬¡ã®é
ç®ã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">è¡ã®å
é ã«ç§»åãã</th> + <td><kbd>Home</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>A</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>A</kbd></td> + </tr> + <tr> + <th scope="row">è¡ã®æ«å°Ÿã«ç§»åãã</th> + <td><kbd>End</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>E</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>E</kbd></td> + </tr> + <tr> + <th scope="row">çŸåšã®åŒãå®è¡ãã</th> + <td><kbd>Enter</kbd></td> + <td><kbd>Return</kbd></td> + <td><kbd>Enter</kbd></td> + </tr> + <tr> + <th scope="row">è€æ°è¡ã®åŒãå
¥åãããããæ°ããè¡ãè¿œå ãã</th> + <td><kbd>Shift</kbd> + <kbd>Enter</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Return</kbd></td> + <td><kbd>Shift</kbd> + <kbd>Enter</kbd></td> + </tr> + </tbody> +</table> + +<h3 id="Autocomplete_popup" name="Autocomplete_popup">ãªãŒãã³ã³ããªãŒãã®ãããã¢ãã</h3> + +<p>ãããã®ã·ã§ãŒãã«ããã¯ã<a href="/ja/docs/Tools/Web_Console#Autocomplete">ãªãŒãã³ã³ããªãŒãã®ãããã¢ãã</a> ã衚瀺ããŠãããšãã«åäœããŸãã</p> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">çŸåšã®ãªãŒãã³ã³ããªãŒãåè£ãåãå
¥ãã</th> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + <td><kbd>Tab</kbd></td> + </tr> + <tr> + <th scope="row">ãªãŒãã³ã³ããªãŒãã®ãããã¢ããããã£ã³ã»ã«ãã</th> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + </tr> + <tr> + <th scope="row">åã®ãªãŒãã³ã³ããªãŒãåè£ã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">次ã®ãªãŒãã³ã³ããªãŒãåè£ã«ç§»åãã</th> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + <td><kbd>â</kbd></td> + </tr> + <tr> + <th scope="row">ãªãŒãã³ã³ããªãŒãåè£ãäžã«ã¹ã¯ããŒã«ãã</th> + <td><kbd>Page up</kbd></td> + <td><kbd>Page up</kbd></td> + <td><kbd>Page up</kbd></td> + </tr> + <tr> + <th scope="row">ãªãŒãã³ã³ããªãŒãåè£ãäžã«ã¹ã¯ããŒã«ãã</th> + <td><kbd>Page down</kbd></td> + <td><kbd>Page down</kbd></td> + <td><kbd>Page down</kbd></td> + </tr> + <tr> + <th scope="row">æåã®ãªãŒãã³ã³ããªãŒãåè£ã«ã¹ã¯ããŒã«ãã</th> + <td><kbd>Home</kbd></td> + <td><kbd>Home</kbd></td> + <td><kbd>Home</kbd></td> + </tr> + <tr> + <th scope="row">æåŸã®ãªãŒãã³ã³ããªãŒãåè£ã«ã¹ã¯ããŒã«ãã</th> + <td><kbd>End</kbd></td> + <td><kbd>End</kbd></td> + <td><kbd>End</kbd></td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Style_Editor" name="Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</h2> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ã¹ã¿ã€ã«ãšãã£ã¿ãŒãéã</th> + <td><kbd>Shift</kbd> + <kbd>F7</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F7</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F7</kbd></td> + </tr> + <tr> + <th scope="row">ãªãŒãã³ã³ããªãŒãã®ãããã¢ãããéã</th> + <td><kbd>Ctrl</kbd> + <kbd>Space</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Space</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Space</kbd></td> + </tr> + </tbody> +</table> + +<div id="scratchpad"> +<h2 id="Scratchpad" name="Scratchpad">ã¹ã¯ã©ããããã</h2> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ããããããéã</th> + <td><kbd>Shift</kbd> + <kbd>F4</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F4</kbd></td> + <td><kbd>Shift</kbd> + <kbd>F4</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ãããããã®ã³ãŒããå®è¡</th> + <td><kbd>Ctrl</kbd> + <kbd>R</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>R</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>R</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ãããããã®ã³ãŒããå®è¡ããŠãçµæã <a href="/ja/docs/Tools/Web_Console#Inspecting_objects" title="Tools/Web_Console#Inspecting_objects">ãªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒ</a> ã§è¡šç€ºãã</th> + <td><kbd>Ctrl</kbd> + <kbd>I</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>I</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>I</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ãããããã®ã³ãŒããå®è¡ããŠãçµæãã³ã¡ã³ããšããŠæ¿å
¥ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>L</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>L</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>L</kbd></td> + </tr> + <tr> + <th scope="row">çŸåšã®é¢æ°ãåè©äŸ¡ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>E</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>E</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>E</kbd></td> + </tr> + <tr> + <th scope="row">ã«ã¬ã³ãããŒãžãåèªã¿èŸŒã¿ããŠãã¹ã¯ã©ãããããã®ã³ãŒããå®è¡ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ãããããã®å
容ãä¿åãã</th> + <td><kbd>Ctrl</kbd> + <kbd>S</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>S</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>S</kbd></td> + </tr> + <tr> + <th scope="row">æ¢åã®ã¹ã¯ã©ããããããã¡ã€ã«ãéã</th> + <td><kbd>Ctrl</kbd> + <kbd>O</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>O</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>O</kbd></td> + </tr> + <tr> + <th scope="row">æ°ããã¹ã¯ã©ããããããäœæãã</th> + <td><kbd>Ctrl</kbd> + <kbd>N</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>N</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>N</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ããããããéãã</th> + <td><kbd>Ctrl</kbd> + <kbd>W</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>W</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>W</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ã¯ã©ãããããå
ã®ã³ãŒããæŽåœ¢ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>P</kbd></td> + <td><kbd>Cmd</kbd> + <kbd>P</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>P</kbd></td> + </tr> + <tr> + <th scope="row">ãªãŒãã³ã³ããªãŒãåè£ã衚瀺ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Space</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Space</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Space</kbd></td> + </tr> + <tr> + <th scope="row">ã€ã³ã©ã€ã³ããã¥ã¡ã³ãã衚瀺ãã</th> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd></td> + <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd></td> + </tr> + </tbody> +</table> +</div> + +<div id="eyedropper"> +<h2 id="Eyedropper" name="Eyedropper">ã¹ãã€ã</h2> + +<table class="fullwidth-table"> + <tbody> + <tr> + <th scope="row" style="width: 40%;">æäœ</th> + <th scope="col">Windows</th> + <th scope="col">macOS</th> + <th scope="col">Linux</th> + </tr> + <tr> + <th scope="row">çŸåšã®è²ãéžæãã</th> + <td><kbd>Enter</kbd></td> + <td><kbd>Return</kbd></td> + <td><kbd>Enter</kbd></td> + </tr> + <tr> + <th scope="row">ã¹ãã€ããç Žæ£ãã</th> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + <td><kbd>Esc</kbd></td> + </tr> + <tr> + <th scope="row">1 ãã¯ã»ã«ç§»åãã</th> + <td><kbd>ç¢å°ããŒ</kbd></td> + <td><kbd>ç¢å°ããŒ</kbd></td> + <td><kbd>ç¢å°ããŒ</kbd></td> + </tr> + <tr> + <th scope="row">10 ãã¯ã»ã«ç§»åãã</th> + <td><kbd>Shift</kbd> + <kbd>ç¢å°ããŒ</kbd></td> + <td><kbd>Shift</kbd> + <kbd>ç¢å°ããŒ</kbd></td> + <td><kbd>Shift</kbd> + <kbd>ç¢å°ããŒ</kbd></td> + </tr> + </tbody> +</table> +</div> diff --git a/files/ja/tools/measure_a_portion_of_the_page/index.html b/files/ja/tools/measure_a_portion_of_the_page/index.html new file mode 100644 index 0000000000..b7bec3bdc8 --- /dev/null +++ b/files/ja/tools/measure_a_portion_of_the_page/index.html @@ -0,0 +1,36 @@ +--- +title: ããŒãžã®äžéšã枬å®ãã +slug: Tools/Measure_a_portion_of_the_page +tags: + - DevTools + - Firefox + - ããŒã« + - æž¬å® +translation_of: Tools/Measure_a_portion_of_the_page +--- +<div>{{ToolsSidebar}}</div> + +<p class="geckoVersionNote">Firefox 59ã®æ°æ©èœ</p> + +<p>Firefox 59以éã<em>ããŒãžã®äžéšã枬å®</em> ããŒã«ã䜿çšããŠWebããŒãžã®ç¹å®ã®é åã枬å®ããããšãã§ããŸãã</p> + +<p>ãã®ããŒã«ã¯ããã©ã«ãã§ã¯è¡šç€ºãããŸããããã¿ã³ãæå¹ã«ããã«ã¯ïŒ</p> + +<ul> + <li>DevTools ã®<a href="/ja/docs/Tools/Tools_Toolbox#Settings">èšå®</a>ã«é²ã¿ãŸã</li> + <li>䜿çšå¯èœãªããŒã«ããã¯ã¹ãã¿ã³ãããããŒãžã®äžéšã®æž¬å®ãã§ãã¯ããã¯ã¹ããªã³ã«ããŸã</li> +</ul> + +<p>[èšå®/ãªãã·ã§ã³]ãã¿ã³ãšåãå Žæã«ãããŒã«ããã¯ã¹ã®å³äžã«ãã[ããŒãžã®äžéšã枬å®]ãã¿ã³ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15787/measure-button.png" style="display: block; height: 190px; margin: 0px auto; width: 324px;"></p> + +<p>ããŒã«ã䜿çšããå Žåã¯ãã®ãã¿ã³ãã¯ãªãã¯ããŸããããã§ããã¥ãŒããŒãäžã«ããŠã¹ã眮ããšããã®ããŠã¹ã®æšªã«çŸåšã®åº§æšã衚瀺ãããååã«ãŒãœã«ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15786/cursor-shown.png" style="border-style: solid; border-width: 1px; display: block; height: 277px; margin: 0px auto; width: 447px;"></p> + +<p>ããŠã¹ãã¿ã³ãæŒãããŸãŸãã©ãã°ãããšãxãyãããã³å¯Ÿè§ç·ã®å¯žæ³ã衚瀺ãããé·æ¹åœ¢ãæç»ãããŸããåäœã¯ãã¯ã»ã«ã§ãã</p> + +<p>ããŠã¹ãæŒãäžããã®ãæ¢ãããšããã¿ã³ãæŸãããšãç»é¢äžã«è¡šç€ºãããŠããé·æ¹åœ¢ã¯ãåã³ã¯ãªãã¯ãããŸã§ããã«ãšã©ãŸããã¹ã¯ãªãŒã³ã·ã§ãããæ®ãããšããæ
å ±ãæžãçããããšãªã©ãã§ããããã«ãªããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15785/box-shown.png" style="border-style: solid; border-width: 1px; display: block; height: 303px; margin: 0px auto; width: 438px;"></p> diff --git a/files/ja/tools/memory/aggregate_view/index.html b/files/ja/tools/memory/aggregate_view/index.html new file mode 100644 index 0000000000..8517a99791 --- /dev/null +++ b/files/ja/tools/memory/aggregate_view/index.html @@ -0,0 +1,150 @@ +--- +title: ç·èšãã¥ãŒ +slug: Tools/Memory/Aggregate_view +translation_of: Tools/Memory/Aggregate_view +--- +<div>{{ToolsSidebar}}</div><p>Firefox 48 ããåã®ããŒãžã§ã³ã§ã¯ããã®ãã¥ãŒãããŒãã¹ãããã·ã§ããã®æ¢å®ã®ãã¥ãŒã§ãããFirefox 48 ããæ¢å®ã®ãã¥ãŒã<a href="/ja/docs/Tools/Memory/Tree_map_view"> ããªãŒããããã¥ãŒ </a>ã«ãªããŸãããã"衚瀺:" ã®ããããããŠã³ãªã¹ãã§ç·èšãã¥ãŒã«åãæ¿ãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13028/memory-tool-switch-view.png" style="display: block; height: 270px; margin-left: auto; margin-right: auto; width: 716px;"></p> + +<p>ç·èšãã¥ãŒã¯ã以äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13030/memory-tool-aggregate-view.png" style="display: block; height: 267px; margin-left: auto; margin-right: auto; width: 716px;"></p> + +<p>ããã¯ãããŒãã®å
容ã®å
èš³ã衚圢åŒã§è¡šç€ºããŸããããŒã¿ãã°ã«ãŒãåããæ¹æ³ã¯ã䞻㫠3 ã€ãããŸã:</p> + +<ul> + <li>{{anch("Type")}}</li> + <li>{{anch("Call Stack")}}</li> + <li>{{anch("Inverted Call Stack")}}</li> +</ul> + +<p>ãããã¯ãããã«ã®äžéšã«ãã "ã°ã«ãŒãå" ããããããŠã³ãªã¹ãã§å€æŽã§ããŸã:</p> + +<p>ãŸãããã€ã³ã®å³äžã« "ãã£ã«ã¿ãŒ" ãšè¡šç€ºãããŠããããã¯ã¹ããããŸãã衚瀺ããã¹ãããã·ã§ããã®å
容ããã£ã«ã¿ãªã³ã°ã§ããŸãã®ã§ãäŸãã°ç¹å®ã®ã¯ã©ã¹ã®ãªããžã§ã¯ããããã€ã¢ãã±ãŒããããŠãããããã°ãã確èªã§ããŸãã</p> + +<h2 id="Type" name="Type">Type</h2> + +<p>ããã¯ããã©ã«ãã®ãã¥ãŒã§ããã以äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13030/memory-tool-aggregate-view.png" style="display: block; height: 267px; margin-left: auto; margin-right: auto; width: 716px;"></p> + +<p>ãã®ãã¥ãŒã¯ãããŒãã®å
容ã以äžã®ã¿ã€ãã«åé¡ããŸã:</p> + +<ul> + <li><strong>JavaScript ãªããžã§ã¯ã:</strong> <code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Function">Function</a></code> ã <code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Array">Array</a></code> ãªã©ã</li> + <li><strong>DOM èŠçŽ :</strong> <code><a href="/ja/docs/Web/API/HTMLSpanElement">HTMLSpanElement</a></code> ã <code><a href="/ja/docs/Web/API/Window">Window</a></code> ãªã©ã</li> + <li><strong>æåå:</strong> <code>"strings"</code> ãšããŠè¡šç€ºã</li> + <li><strong>JavaScript ãœãŒã¹:</strong> "<code>JSScript"</code> ãšããŠè¡šç€ºã</li> + <li><strong>å
éšãªããžã§ã¯ã:</strong> "<code>js::Shape</code>" ãªã©ããããã¯æ¥é èŸ <code>"js::"</code> ãã€ããŸãã</li> +</ul> + +<p>ããããã®ã¿ã€ããè¡šã®è¡ã«è¡šç€ºããŠããããã®è¡ã¯ããã®ã¿ã€ãã®ãªããžã§ã¯ããå ããã¡ã¢ãªãŒã®éã®é ã«äžŠã¹ãŸããäŸãã°ååºã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãJavaScript ã® <code>Object</code> ããã£ãšãå€ãã®ã¡ã¢ãªããŸã strings ã 2 çªç®ã«å€ãã®ã¡ã¢ãªãŒãå ããŠããããšãããããŸãã</p> + +<ul> + <li>"åèšæ°" åã§ã¯ãçŸæç¹ã§å²ãåœãŠãããŠãããªããžã§ã¯ãã®æ°ãã«ããŽãªãŒå¥ã«è¡šç€ºããŸãã</li> + <li>"åèšãã€ã" åã§ããããã®ã«ããŽãªãŒã®ãªããžã§ã¯ããå ããã¡ã¢ãªãŒã®ãã€ãæ°ãšãã¿ãã®åèšããŒããµã€ãºã«å¯Ÿããå²åã衚瀺ããŸãã</li> +</ul> + +<div class="pull-aside"> +<div class="moreinfo">ãã®ã»ã¯ã·ã§ã³ã®ã¹ã¯ãªãŒã³ã·ã§ããã¯ã<a href="/ja/docs/Tools/Memory/Monster_example">monster example page</a> ã®ã¹ãããã·ã§ããããååŸããŸããã</div> +</div> + +<p>äŸãã°ååºã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ã以äžã®ããšãããããŸã:</p> + +<ul> + <li><code>Array</code> ãªããžã§ã¯ãã 4 åããã</li> + <li>ãããã¯ããŒãå
šäœã® 15% ãå ããã</li> +</ul> + +<p>ã¿ã€ãåã®é£ã«ã3 ã€ã®æå°ãäžè§åœ¢ã®ããã«é
眮ãããŠããã¢ã€ã³ã³ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13054/memory-tool-in-group-icon.png" style="display: block; height: 136px; margin-left: auto; margin-right: auto; width: 496px;"></p> + +<p>ãããã¯ãªãã¯ãããšããã®ã¿ã€ãã®ãã¹ãŠã®ã€ã³ã¹ã¿ã³ã¹ã確èªã§ããŸããäŸãã° <code>Array</code> ã§ã¯ãã¹ãããã·ã§ããå
ã« <code>Array</code> ãªããžã§ã¯ãã 4 åãããšè¡šç€ºããŠããŸãã3 ã€ã®æå°ãã¯ãªãã¯ãããšã4 åã® <code>Array</code> ã€ã³ã¹ã¿ã³ã¹ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13032/memory-tool-in-group.png" style="display: block; height: 267px; margin-left: auto; margin-right: auto; width: 716px;"></p> + +<p>ããããã®ã€ã³ã¹ã¿ã³ã¹ã§ã<a href="/ja/docs/Tools/Memory/Dominators#Shallow_and_retained_size">ä¿æãµã€ãºãšã·ã£ããŒãµã€ãº </a>ã確èªã§ããŸãããã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãäžãã 3 åã®é
åã®ã·ã£ããŒãµã€ãºãããªãå€ã (ããŒãå
šäœã® 5%)ããŸãããå€ãã®ä¿æãµã€ãº (å
šäœã® 26%) ãå ããŠããããšãããããŸãã</p> + +<p>å³åŽã«ã¯ã"ä¿æãã¹ã衚瀺ããããŒããéžæããŠãã ãã" ãšè¡šç€ºãããŠãããã€ã³ããããŸããé
ç®ãéžæãããšããã®é
ç®ã®<a href="/ja/docs/Tools/Memory/Dominators_view#Retaining_Paths_panel"> ä¿æãã¹ããã«</a> ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13034/memory-tool-in-group-retaining-paths.png" style="display: block; height: 360px; margin-left: auto; margin-right: auto; width: 716px;"></p> + +<p>{{EmbedYouTube("uLjzrvx_VCg")}}</p> + +<h2 id="Call_Stack" name="Call_Stack">Call Stack</h2> + +<p>Call Stack ã§ã¯ãã³ãŒãã®ã©ãã§ã¡ã¢ãªãŒã®å²ãåœãŠãè¡ã£ãŠãããã衚瀺ããŸãã</p> + +<p>ã¡ã¢ãªãŒå²ãåœãŠã®ãã¬ãŒã¹ã¯è² è·ãé«ããããã¹ãããã·ã§ããã§ã¡ã¢ãªãŒå²ãåœãŠãè¡ãããåã« "å²ãåœãŠã¹ã¿ãã¯ãèšé²" ã«ãã§ãã¯ãå
¥ããŠãæ瀺çã«æå¹åããªããã°ãªããŸãã:</p> + +<p>ãªããžã§ã¯ãã®å²ãåœãŠãè¡ã£ããã¹ãŠã®é¢æ°ããå²ãåœãŠããµã€ãºé ã«äžŠã¹ãŠè¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13040/memory-tool-call-stack.png" style="display: block; height: 322px; margin-left: auto; margin-right: auto; width: 762px;"><br> + <br> + ãã®ãã¥ãŒã®æ§é ã¯<a href="/ja/docs/Tools/Performance/Call_Tree"> ã³ãŒã«ããªãŒ </a>ã®æ§é ãšãã䌌ãŠããŸãããããã»ããµãŒã®ãµã³ãã«ã§ã¯ãªãå²ãåœãŠã®ã¿è¡šç€ºããŸããäŸãã°ãæåã®é
ç®ã§ã¯ä»¥äžã®ããšãããããŸã:</p> + +<ul> + <li>ããŒãå
šäœã® 93% ãå ãã 4,832,592 ãã€ããã"alloc.js" ã® 35 è¡ç®ã«ããé¢æ°<strong>ãŸãã¯ãã®é¢æ°ãåŒã³åºããé¢æ°</strong>ãå²ãåœãŠãŸããã</li> +</ul> + +<p>å±éçšã®äžè§å°ã䜿çšããŠã³ãŒã«ããªãŒã®çŽ°ååãå¯èœã§ãããã³ãŒãå
ã§å²ãåœãŠãè¡ã£ãç®æãæ£ç¢ºã«ç¥ãããšãã§ããŸãã</p> + +<p>ã·ã³ãã«ãªäŸã䜿çšããŠãç°¡åã«èª¬æããŸããããã§ã¯ <a href="/ja/docs/Tools/Memory/DOM_allocation_example">DOM allocation example</a> ã䜿çšããŸãããã®ããŒãžã¯å€§éã® DOM ããŒã (200 åã® <code><a href="/ja/docs/Web/API/HTMLDivElement">HTMLDivElement</a></code> ãªããžã§ã¯ããš 4000 åã® <code><a href="/ja/docs/Web/API/HTMLSpanElement">HTMLSpanElement</a></code> ãªããžã§ã¯ã) ãçæããã¹ã¯ãªãããå®è¡ããŸãã</p> + +<p>ã¡ã¢ãªå²ãåœãŠããã¬ãŒã¹ããŠã¿ãŸããã:</p> + +<ol> + <li>ã¡ã¢ãªããŒã«ãéããŸãã</li> + <li>"å²ãåœãŠã¹ã¿ãã¯ãèšé²" ã«ãã§ãã¯ãå
¥ããŸãã</li> + <li><a href="https://mdn.github.io/performance-scenarios/dom-allocs/alloc.html">https://mdn.github.io/performance-scenarios/dom-allocs/alloc.html</a> ãéããŸãã</li> + <li>ã¹ãããã·ã§ãããæ¡åããŸãã</li> + <li>"衚瀺/ç·èš" ãéžæããŸãã</li> + <li>"ã°ã«ãŒãå/Call Stack" ãéžæããŸãã</li> +</ol> + +<p>{{EmbedYouTube("DyLulu9eoKY")}}</p> + +<p>ãã¥ãŒã¯ä»¥äžã®ããã«ãªãã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13040/memory-tool-call-stack.png" style="display: block; height: 322px; margin-left: auto; margin-right: auto; width: 762px;"></p> + +<p>ããã¯ãããŒãã¹ãããã·ã§ããå
šäœã® 93% ã "alloc.js" ã® 35 è¡ç®ã§åŒã³åºããé¢æ° (å§ãã«åŒã³åºã <code>createToolbars()</code>) ãå²ãåœãŠãŠããããšã瀺ããŠããŸãã</p> + +<p>å±éçšã®äžè§å°ã䜿çšããŠããªãŒãå±éãããšãã©ãã§ã¡ã¢ãªãŒã®å²ãåœãŠãè¡ã£ãŠããããæ£ç¢ºã«ç¥ãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13042/memory-tool-call-stack-expanded.png" style="display: block; height: 530px; margin-left: auto; margin-right: auto; width: 762px;"></p> + +<p>ããã§ã¯ "ãã€ã" åãš "åæ°" åã圹ã«ç«ã¡ãŸããããã¯å²ãåœãŠãã¡ã¢ãªãŒã®ãµã€ãºãšãå²ãåœãŠæ°ã瀺ããŸãã</p> + +<p>ååºã®äŸã§ã¯ <a href="https://github.com/mdn/performance-scenarios/blob/gh-pages/dom-allocs/scripts/alloc.js#L9">alloc.js ã® 9 è¡ç®ã»23 æ¡ç®</a> ã«ãã <code>createToolbarButton()</code> 㧠4002 åã®ã¡ã¢ãªãŒé åãå²ãåœãŠãŠãããããã¯ããŒãå
šäœã® 84% ãå ããŠããŸããã€ãŸãæ£ç¢ºãªå Žæã¯ã{{HTMLElement("span")}} èŠçŽ ãçæããŠããå Žæã§ãã</p> + +<p>ãã¡ã€ã«åãšè¡çªå·ã¯ãªã³ã¯ã«ãªã£ãŠããŸããã¯ãªãã¯ãããšããããã¬ãŒã§ãã®è¡ã衚瀺ããŸã:</p> + +<p>{{EmbedYouTube("zlnJcr1IFyY")}}</p> + +<h2 id="Inverted_Call_Stack" name="Inverted_Call_Stack">Inverted Call Stack</h2> + +<p>Call Stack ãã¥ãŒã¯ããããããŠã³åã§ããããã¯ãã¡ã¢ãªãŒã®å²ãåœãŠãçºçããç®æã<strong>ã³ãŒã«ããªãŒã®æ·±éšã«è¡šç€ºããŸã</strong>ããã£ãŠãããã°ã©ã ã®ã©ãã§ã¡ã¢ãªãŒã倧éã«æ¶è²»ããŠãããã®æŠèŠãç¥ãã®ã«é©ããŠããŸãããããããã®ãã¥ãŒã§ã¯å²ãåœãŠãçºçããæ£ç¢ºãªå Žæãç¥ãããã«ãããªãŒãé·ããã©ããªããã°ãªããŸããã</p> + +<p>"Inverted Call Stack" ãã¥ãŒã圹ã«ç«ã¡ãŸããããã¯ã¡ã¢ãªãŒå²ãåœãŠãçºçããæ£ç¢ºãªå Žæããå²ãåœãŠãµã€ãºã®é ã«äžŠã¹ãããã ã¢ããåã®ãã¥ãŒã§ããããªãŒãå±éãããšããããã¬ãã«ã«åãã£ãŠã³ãŒã«ããªãŒããã©ããŸãã</p> + +<p>äžèšã®äŸã§ "Inverted Call Stack" ãéžæãããšãã©ã®ããã«ãªãããèŠãŠã¿ãŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13044/memory-tool-inverted-call-stack.png" style="display: block; height: 141px; margin-left: auto; margin-right: auto; width: 762px;"></p> + +<p>ãªã¹ãã®æåã«ãããŒãžã§ããŒãã® 89% ãå ããŠãã <code>createToolbarButton()</code> ããããŸãã</p> + +<h2 id="(no_stack_available)" name="(no_stack_available)">(æå¹ãªã¹ã¿ãã¯ã¯ãããŸãã)</h2> + +<p>ååºã®äŸã§ãããŒãã® 7% ã "(æå¹ãªã¹ã¿ãã¯ã¯ãããŸãã)" ã§ããããšã«æ°ã¥ããŠããã§ããããããã¯ãããŒãã®ãã¹ãŠã JavaScript ã§äœ¿çšããŠããããã§ã¯ãªãããã§ãã</p> + +<p>äŸãã°ã以äžã®ãããªãã®ããããŸã:</p> + +<ul> + <li>ããŒãžã§èªã¿èŸŒãã ã¹ã¯ãªããããããŒãé åã䜿çšããŠããŸãã</li> + <li>JavaScript ãã¹ã¿ãã¯ã«ååšããªããšãã«ããªããžã§ã¯ããå²ãåœãŠãããå ŽåããããŸããäŸãã° DOM ã® {{domxref("Event")}} ã¯ãJavaScript ãå®è¡ããŠã€ãã³ããã³ãã©ãŒãåŒã³åºãåã«å²ãåœãŠãããŸãã</li> +</ul> + +<p>å®åšããããŒãžã®å€ãã¯ã"(æå¹ãªã¹ã¿ãã¯ã¯ãããŸãã)" ã®å²åã 7% ãè¶
ããŸãã</p> diff --git a/files/ja/tools/memory/basic_operations/index.html b/files/ja/tools/memory/basic_operations/index.html new file mode 100644 index 0000000000..0684ae5d1b --- /dev/null +++ b/files/ja/tools/memory/basic_operations/index.html @@ -0,0 +1,64 @@ +--- +title: åºæ¬æäœ +slug: Tools/Memory/Basic_operations +translation_of: Tools/Memory/Basic_operations +--- +<div>{{ToolsSidebar}}</div><h2 id="Opening_the_Memory_tool" name="Opening_the_Memory_tool">ã¡ã¢ãªãŒããŒã«ãéã</h2> + +<p>Firefox 50 ããåã®ããŒãžã§ã³ã§ã¯ãã¡ã¢ãªãŒããŒã«ãããã©ã«ãã§ç¡å¹åããŠããŸããæå¹åããã«ã¯éçºããŒã«ã®ãªãã·ã§ã³ãéãã"æšæºã® Firefox éçºããŒã«" é
äžã® "ã¡ã¢ãªãŒ" ã«ãã§ãã¯ãå
¥ããŠãã ãã:</p> + +<p>{{EmbedYouTube("qi-0CoCOXwc")}}</p> + +<p>Firefox 50 ãããã¡ã¢ãªãŒããŒã«ãããã©ã«ãã§æå¹åããŠããŸãã</p> + +<h2 id="Taking_a_heap_snapshot" name="Taking_a_heap_snapshot">ããŒãã®ã¹ãããã·ã§ãããæ¡åãã</h2> + +<p>" ã¹ãããã·ã§ãããæ¡å " ãã¿ã³ãŸãã¯ããŒã«ã®å·ŠåŽã«ããã«ã¡ã©ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãããŒãã®ã¹ãããã·ã§ãããæ¡åããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13651/memory-1-small.png" style="display: block; height: 244px; margin: 0px auto; width: 900px;"></p> + +<p>ã¹ãããã·ã§ããã¯ãå³åŽã«ãã倧ããªãã€ã³ãå ããŠããŸããå·ŠåŽã«ã¯ãæ°ããã¹ãããã·ã§ããã®é
ç®ãã¿ã€ã ã¹ã¿ã³ãããµã€ãºãä¿åãåé€ã®ããã®ã³ã³ãããŒã«ãšãšãã«è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13653/memory-2-small.png" style="display: block; height: 243px; margin: 0px auto; width: 900px;"></p> + +<h2 id="Clearing_a_snapshot" name="Clearing_a_snapshot">ã¹ãããã·ã§ãããåé€ãã</h2> + +<p>" X " å°ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã¹ãããã·ã§ãããåé€ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13655/memory-3-small.png" style="display: block; height: 243px; margin: 0px auto; width: 900px;"></p> + +<h2 id="Saving_and_loading_snapshots" name="Saving_and_loading_snapshots">ã¹ãããã·ã§ããã®ä¿åãšèªã¿èŸŒã¿</h2> + +<p>ã¡ã¢ãªãŒããŒã«ãéãããšãä¿åããŠããªãã¹ãããã·ã§ããã¯ãã¹ãŠç Žæ£ãããŸãã" ä¿å " ãã¯ãªãã¯ãããšãã¹ãããã·ã§ãããä¿åããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13657/memory-4-small.png" style="display: block; height: 243px; margin: 0px auto; width: 900px;"></p> + +<p>ä¿åå
ããã¡ã€ã«åãæ±ããããŸãããããŠãã¡ã€ã«ã¯ã<code>.fxsnapshot</code> ãšããæ¡åŒµåãã€ããŠä¿åãããŸãã</p> + +<p>æ¢åã® <code>.fxsnapshot</code> ãã¡ã€ã«ããã¹ãããã·ã§ãããèªã¿èŸŒãã«ã¯ãåè§åœ¢ããäžåãã®ç¢å°ãåºãŠãããã¶ã€ã³ã®ã€ã³ããŒããã¿ã³ (Firefox 49 ããåã®ããŒãžã§ã³ã§ã¯ã" Import... " ãšããã©ãã«ãã€ããŠããŸãã) ãã¯ãªãã¯ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13659/memory-5-small.png" style="display: block; height: 243px; margin: 0px auto; width: 900px;"></p> + +<p>ãã£ã¹ã¯äžã®ãã¡ã€ã«ãéžæãããããæ±ããããŸãã</p> + +<h2 id="Comparing_snapshots" name="Comparing_snapshots">ã¹ãããã·ã§ãããæ¯èŒãã</h2> + +<p>Firefox 45 ããã2 ã€ã®ããŒãã®ã¹ãããã·ã§ããã®å·®åã確èªã§ããŸãããã㯠2 ã€ã®ã¹ãããã·ã§ããéã§ãã¡ã¢ãªãŒã®ã¢ãã±ãŒãã空ãç¶æ
ã®éãã衚瀺ããŸãã</p> + +<p>å·®åãäœæããã«ã¯ãã«ã¡ã©ã®ã¢ã€ã³ã³ã®é£ã«ãããã³å³ã®ãã¿ã³ãæŒäžããŠãã ãã (Firefox 47 ããåã¯ã" +/- " å°ã®ã¢ã€ã³ã³ã§ãã)ã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13661/memory-6-small.png" style="display: block; height: 243px; margin: 0px auto; width: 900px;"></p> + +<p>å§ãã«ããŒã¹ã©ã€ã³ã®ã¹ãããã·ã§ãããç¶ããŠæ¯èŒããã¹ãããã·ã§ãããéžæããããæ±ããããŸããããŒã«ã 2 ã€ã®ã¹ãããã·ã§ããã®å·®åã衚瀺ããŸã:</p> + +<p>{{EmbedYouTube("3Ow-mdK6b2M")}}</p> + +<div class="note"> +<p>å·®åã衚瀺ããŠãããšããããããŒã¿ãŒãã¥ãŒãããªãŒãããã¯äœ¿çšã§ããŸããã</p> +</div> + +<h2 id="Recording_call_stacks" name="Recording_call_stacks">ã³ãŒã«ã¹ã¿ãã¯ãèšé²ãã</h2> + +<p>ã¡ã¢ãªãŒããŒã«ã¯ãã³ãŒãã®ã©ãã§ã¡ã¢ãªã®å²ãåœãŠãè¡ã£ãŠãããã衚瀺ã§ããŸãããã ããã®æ
å ±ã®èšé²ã¯å®è¡æã®è² è·ãé«ããããã¹ãããã·ã§ããå
ã§ã¡ã¢ãªãŒåŒã³åºããè¡ã£ãå Žæã確èªãããå Žåã¯ãã¡ã¢ãªãŒå²ãåœãŠã®<em>åã«</em>ããŒã«ã«å¯ŸããŠã¡ã¢ãªãŒåŒã³åºããèšé²ããããèŠæ±ããªããã°ãªããŸãããèšé²ããã«ã¯ã"ã³ãŒã«ã¹ã¿ãã¯ãèšé²" (Firefox 49 ããå㯠"å²ãåœãŠã¹ã¿ãã¯ãèšé²" ã§ãã) ã«ãã§ãã¯ãå
¥ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13663/memory-7-small.png" style="display: block; height: 243px; margin: 0px auto; width: 900px;"></p> diff --git a/files/ja/tools/memory/comparing_heap_snapshots/index.html b/files/ja/tools/memory/comparing_heap_snapshots/index.html new file mode 100644 index 0000000000..ccd50f7618 --- /dev/null +++ b/files/ja/tools/memory/comparing_heap_snapshots/index.html @@ -0,0 +1,14 @@ +--- +title: ããŒãã®ã¹ãããã·ã§ãããæ¯èŒãã +slug: Tools/Memory/Comparing_heap_snapshots +translation_of: Tools/Memory/Basic_operations +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>ãã㯠Firefox 45 ã®æ°æ©èœã§ãã</p> +</div> + +<p>Firefox 45 ããã2 ã€ã®ããŒãã®ã¹ãããã·ã§ããã®å·®åã確èªã§ããŸãããã㯠2 ã€ã®ã¹ãããã·ã§ããéã§ãã¡ã¢ãªã®ã¢ãã±ãŒãã空ãç¶æ
ã®éãã衚瀺ããŸãã</p> + +<p>å·®åãäœæããã«ã¯ã«ã¡ã©ã®ã¢ã€ã³ã³ã®é£ã«ãã "+/-" ãã¿ã³ãæŒäžããŠãåºæºãšããã¹ãããã·ã§ãããéžæããŸãããããŠãæ¯èŒããã¹ãããã·ã§ãããéžæããŠãã ãããããŒã«ã 2 ã€ã®ã¹ãããã·ã§ããã®å·®åã衚瀺ããŸããåäœã®ã¹ãããã·ã§ããã®å Žåãšåããã¥ãŒã䜿çšããŠãå·®åãåæã§ããŸãã</p> + +<p>{{EmbedYouTube("rbDHVxCzqhU")}}</p> diff --git a/files/ja/tools/memory/dom_allocation_example/index.html b/files/ja/tools/memory/dom_allocation_example/index.html new file mode 100644 index 0000000000..e8449908ce --- /dev/null +++ b/files/ja/tools/memory/dom_allocation_example/index.html @@ -0,0 +1,54 @@ +--- +title: DOMã®å²ãåœãŠäŸ +slug: Tools/Memory/DOM_allocation_example +translation_of: Tools/Memory/DOM_allocation_example +--- +<div>{{ToolsSidebar}}</div><p>ãã®èšäºã§ã¯ãã¡ã¢ãªãŒããŒã«ã®æ©èœã瀺ãããã«äœ¿çšããã·ã³ãã«ãªããŒãžã«ã€ããŠèª¬æããŸãã</p> + +<p>ãã㯠<a href="https://mdn.github.io/performance-scenarios/dom-allocs/alloc.html">https://mdn.github.io/performance-scenarios/dom-allocs/alloc.html</a> ã§è©Šãããšãã§ããŸãã</p> + +<p>ãã®ããŒãžã¯ã倧éã® DOM ããŒããçæããã¹ã¯ãªãããå«ãŸããŠããŸã:</p> + +<pre class="brush: js">var toolbarButtonCount = 20; +var toolbarCount = 200; + +function getRandomInt(min, max) { + return Math.floor(Math.random() * (max - min + 1)) + min; +} + +function createToolbarButton() { + var toolbarButton = document.createElement("span"); + toolbarButton.classList.add("toolbarbutton"); + // stop Spidermonkey from sharing instances + toolbarButton[getRandomInt(0,5000)] = "foo"; + return toolbarButton; +} + +function createToolbar() { + var toolbar = document.createElement("div"); + // stop Spidermonkey from sharing instances + toolbar[getRandomInt(0,5000)] = "foo"; + for (var i = 0; i < toolbarButtonCount; i++) { + var toolbarButton = createToolbarButton(); + toolbar.appendChild(toolbarButton); + } + return toolbar; +} + +function createToolbars() { + var container = document.getElementById("container"); + for (var i = 0; i < toolbarCount; i++) { + var toolbar = createToolbar(); + container.appendChild(toolbar); + } +} + +createToolbars();</pre> + +<p>ãã®ã³ãŒãã®åäœãç°¡åã«è¡šçŸãããšã以äžã®ããã«ãªããŸã:</p> + +<pre>createToolbars() + -> createToolbar() // 200 ååŒã³åºãããæ¯å 1 åã® DIV èŠçŽ ãçæããŸã + -> createToolbarButton() // Toolbar ããšã« 20 ååŒã³åºãããæ¯å 1 åã® SPAN èŠçŽ ãçæããŸã</pre> + +<p>æçµçã«ã200 åã® <code><a href="/ja/docs/Web/API/HTMLDivElement">HTMLDivElement</a></code> ãªããžã§ã¯ããš 4,000 åã® <code><a href="/ja/docs/Web/API/HTMLSpanElement">HTMLSpanElement</a></code> ãªããžã§ã¯ããçæããŸãã</p> diff --git a/files/ja/tools/memory/dominators/index.html b/files/ja/tools/memory/dominators/index.html new file mode 100644 index 0000000000..3db9506921 --- /dev/null +++ b/files/ja/tools/memory/dominators/index.html @@ -0,0 +1,61 @@ +--- +title: ããããŒã¿ãŒ +slug: Tools/Memory/Dominators +translation_of: Tools/Memory/Dominators +--- +<div>{{ToolsSidebar}}</div><div class="summary" id="Concepts"> +<p>æ¬èšäºã§ã¯ JavaScript ã®ãããªã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ãèšèªã«é©çšããã <em>å°éå¯èœæ§</em>ã<em>ã·ã£ããŒ</em>ãµã€ãºãš <em>ä¿æ</em>ãµã€ãºãæ¯é
ããŒãã®æŠå¿µã玹ä»ããŸãã</p> + +<p>ãªããžã§ã¯ãèªäœã¯å°ãããŠãä»ã®å€§ããªãªããžã§ã¯ããå€æ°åç
§ããå Žåããããã¬ããŒãžã³ã¬ã¯ã¿ãŒãå€ãã®ã¡ã¢ãªãŒã解æŸã§ããªããªãå¯èœæ§ãããããšããããã®æŠå¿µã¯ã¡ã¢ãªãŒã®åæã«ãããŠéèŠã§ãã</p> + +<p>ã¡ã¢ãªãŒããŒã«ã® <a href="/ja/docs/Tools/Memory/Dominators_view">ããããŒã¿ãŒãã¥ãŒ</a>ã䜿çšããŠãããŒãžå
ã®æ¯é
ããŒãã確èªã§ããŸãã</p> +</div> + +<p>JavaScript ã®ããã«ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ãèšèªã§ã¯ãéåžžããã°ã©ããŒã¯ã¡ã¢ãªãŒã®è§£æŸã«ã€ããŠæ©ãå¿
èŠã¯ãããŸãããããã°ã©ããŒã¯ãªããžã§ã¯ããäœæããã³äœ¿çšããã ãã§ããããªããžã§ã¯ããäžèŠã«ãªãã°ã©ã³ã¿ã€ã ãã¯ãªãŒã³ã¢ãããåŒãåããŠããªããžã§ã¯ããå æããŠããã¡ã¢ãªã解æŸããŸãã</p> + +<h2 id="Reachability" name="Reachability">å°éå¯èœæ§</h2> + +<p>çŸä»£ã® JavaScript å®è£
ã§ã¯ãã©ã³ã¿ã€ã 㯠<em>Reachability</em> ã«åºã¥ããŠãªããžã§ã¯ããäžèŠã§ããããå€æããŸãããã®ã·ã¹ãã ã§ã¯ãããŒãã 1 ã€ä»¥äžã®ã°ã©ãã§è¡šããŸããã°ã©ãå
ã®åããŒãã¯ãªããžã§ã¯ããè¡šããããŒã (ã®çž) å士ã®æ¥ç¶ã¯ãããªããžã§ã¯ãããå¥ã®ãªããžã§ã¯ããžã®åç
§ãè¡šããŸããã°ã©ãã¯ã«ãŒãããŒãããå§ãŸããŸããæ¬èšäºã®å³ã§ã¯ã«ãŒãããŒãã "R" ã§ç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12383/memory-graph.svg" style="display: block; height: 268px; margin-left: auto; margin-right: auto; width: 384px;"></p> + +<p>ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ããšããã©ã³ã¿ã€ã ã¯ã°ã©ããã«ãŒãããèµ°æ»ããŠãçºèŠãããã¹ãŠã®ãªããžã§ã¯ãã«å°ãã€ããŸããçºèŠãããªããªããžã§ã¯ãã¯å°éæ§ããªãã®ã§ã解æŸã§ããŸãã</p> + +<p>åŸã£ãŠãªããžã§ã¯ãã®å°éæ§ããªããªããš (äŸãã°ãã¹ã³ãŒãããå€ããããŒã«ã«å€æ°1åããããåç
§ãããŠããªããªããžã§ã¯ã)ããã®ãªããžã§ã¯ããåç
§ãããªããžã§ã¯ãããä»ã®ãªããžã§ã¯ãããåç
§ãããŠããªããã°å°éæ§ããªããªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12375/memory-graph-unreachable.svg" style="display: block; height: 267px; margin-left: auto; margin-right: auto; width: 383px;"></p> + +<p>éã«ãå°éæ§ãããä»ã®ãªããžã§ã¯ããããããåç
§ãç¶ããŠããéã¯ãç¶æããç¶ããããšã«ãªããŸãã</p> + +<h2 id="Shallow_and_retained_size" name="Shallow_and_retained_size">ã·ã£ããŒãµã€ãºãšä¿æãµã€ãº</h2> + +<p>ãã®èãæ¹ããããªããžã§ã¯ãã®ãµã€ãºã調ã¹ãæ¹æ³ã 2 ã€ã«åºå¥ãããŸã:</p> + +<ul> + <li><em>ã·ã£ããŒãµã€ãº</em>: ãªããžã§ã¯ãèªäœã®ãµã€ãº</li> + <li><em>ä¿æãµã€ãº</em>: ãªããžã§ã¯ãèªäœã®ãµã€ãºãšããªããžã§ã¯ããç¶æãç¶ããŠããä»ã®ãªããžã§ã¯ãã®ãµã€ãºãåç®ãããµã€ãº</li> +</ul> + +<p>éåžžããªããžã§ã¯ãã®ã·ã£ããŒãµã€ãºã¯å°ããã®ã§ãããä¿æãµã€ãºã¯åç
§ã«ããä»ã®ãªããžã§ã¯ããå«ãããã«å€§ãããªããŸããä¿æãµã€ãºã¯ " ãã®ãªããžã§ã¯ããååšããªããªããšãã¡ã¢ãªãŒãã©ãã ã解æŸããããïŒ " ãšããçåãžã®çãã«ãªããŸãã®ã§ãã¡ã¢ãªãŒäœ¿çšéã®åæã«ãããŠéèŠãªæŠå¿µã§ãã</p> + +<h2 id="Dominators" name="Dominators">æ¯é
ããŒã</h2> + +<p>é¢é£ããæŠå¿µãšããŠæ¯é
ããŒãããããŸããã«ãŒãããŒãããããŒã A ã«è³ããã¹ãŠã®ãã¹ãããŒã B ãéããšããããŒã B ã¯ããŒã A ãæ¯é
ãããšèšããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12379/memory-graph-dominators.svg" style="display: block; height: 309px; margin-left: auto; margin-right: auto; width: 471px;"></p> + +<p>ããŒã A ã®æ¯é
ããŒãã®ããããã解æŸããããšãããŒã A èªäœã¯ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã®å¯Ÿè±¡ã«é©ããç¶æ
ã«ãªããŸãã</p> + +<p><a id="immediate_dominator" name="immediate_dominator">ããŒã B ã¯ããŒã A ãæ¯é
ããŠããããããŒã A ã®ä»ã®æ¯é
ããŒããæ¯é
ããŠããªããšããããŒã B ã¯ããŒã A ã®é£æ¥æ¯é
ããŒããšãªããŸã:</a></p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12381/memory-graph-immediate-dominator.svg" style="display: block; height: 309px; margin-left: auto; margin-right: auto; width: 467px;"></p> + +<p><a id="multiple-paths" name="multiple-paths">ãªããžã§ã¯ã A ãå¥ã®ãªããžã§ã¯ã B ããã³ C ããåç
§ãããŠããå Žåã¯å°ã
ãšããã«ããã®ã§ãããã©ã¡ãã A ã®æ¯é
ããŒãã§ã¯ãããŸããã</a>ããã¯ãB ãŸã㯠C ã®ã©ã¡ãããã°ã©ãããåé€ããŠããA ã¯ä»ã®åç
§å
ã«ãã£ãŠç¶æããç¶ããããã§ãã代ããã« A ã®é£æ¥æ¯é
ããŒãã¯ãæåã®å
±éã®ç¥å
ã«ãªããŸã:<br> + <img alt="" src="https://mdn.mozillademos.org/files/12331/memory-graph-dominator-multiple-references.svg" style="display: block; height: 283px; margin-left: auto; margin-right: auto; width: 211px;"></p> + +<h2 id="See_also" name="See_also">é¢é£æ
å ±</h2> + +<ul> + <li><a href="https://en.wikipedia.org/wiki/Dominator_%28graph_theory%29">Dominators in graph theory</a></li> + <li><a href="https://en.wikipedia.org/wiki/Tracing_garbage_collection">Tracing garbage collection</a></li> +</ul> diff --git a/files/ja/tools/memory/dominators_view/index.html b/files/ja/tools/memory/dominators_view/index.html new file mode 100644 index 0000000000..de2e20efd6 --- /dev/null +++ b/files/ja/tools/memory/dominators_view/index.html @@ -0,0 +1,154 @@ +--- +title: ããããŒã¿ãŒãã¥ãŒ +slug: Tools/Memory/Dominators_view +translation_of: Tools/Memory/Dominators_view +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>ããããŒã¿ãŒãã¥ãŒã¯ãFirefox 46 ã®æ°æ©èœã§ãã</p> +</div> + +<p>Firefox 46 ãããã¡ã¢ãªãŒããŒã«ã«æ°ããªãã¥ãŒã§ããããããŒã¿ãŒãã¥ãŒãå ãããŸãããããã¯ããµã€ãã«ãã£ãŠå²ãåœãŠããããªããžã§ã¯ãã® " ä¿æãµã€ãº " ãç¥ãã®ã«åœ¹ç«ã¡ãŸããä¿æãµã€ãºã¯ãªããžã§ã¯ãèªèº«ã®ãµã€ãºãšãåç
§ã«ãã£ãŠä¿æãããŠãããªããžã§ã¯ãã®ãµã€ãºãåç®ãããã®ã§ãã</p> + +<p>ã·ã£ããŒãµã€ãºãä¿æãµã€ãºãããããŒã¿ãŒãäœããç¥ã£ãŠããå Žåã¯ãããããŒã¿ãŒã® UI ã®ã»ã¯ã·ã§ã³ã«é²ãã§ãã ãããããã§ãªãå Žåã¯ã<a href="/ja/docs/Tools/Memory/Dominators">ããããŒã¿ãŒã®æŠå¿µ</a>ã®èšäºã§ãããã調ã¹ãããšæããããããŸããã</p> + +<h2 id="Dominators_UI" name="Dominators_UI">ããããŒã¿ã® UI</h2> + +<p>" 衚瀺 " ã®ããããããŠã³ãªã¹ã㧠" ããããŒã¿ãŒ " ãéžæãããšãããããŒã¿ãŒãã¥ãŒã衚瀺ããŸãã以äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13627/dominators-1.png" style="display: block; height: 230px; margin: 0px auto; width: 800px;"></p> + +<p>ããããŒã¿ãŒãã¥ãŒã¯ 2 ã€ã®ããã«ã§æ§æãããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Memory/Dominators_view#Dominators_Tree_panel">ããããŒã¿ãŒããªãŒããã«</a>ã¯ãã¹ãããã·ã§ããå
ã§ã©ã®ããŒãããã£ãšãå€ãã®ã¡ã¢ãªãŒãä¿æããŠãããã衚瀺ããŸãã</li> + <li><a href="/ja/docs/Tools/Memory/Dominators_view#Retaining_Paths_panel">ä¿æãã¹ããã«</a> (Firefox 47 ã®æ°æ©èœ) ã¯ãã²ãšã€ã®ããŒãã«å¯Ÿã㊠5 ã€ã®æçä¿æãã¹ã衚瀺ããŸãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13629/dominators-2.png" style="display: block; margin: 0px auto;"></p> + +<h3 id="Dominators_Tree_panel" name="Dominators_Tree_panel">ããããŒã¿ãŒããªãŒããã«</h3> + +<p>ããããŒã¿ãŒããªãŒã¯ãã¹ãããã·ã§ããå
ã§ã©ã®ãªããžã§ã¯ãããã£ãšãå€ãã®ã¡ã¢ãªãŒãä¿æããŠãããã衚瀺ããŸãã</p> + +<p>UI ã®ã¡ã€ã³ãšãªã¢ã§ãæåã®è¡ã "GC ã«ãŒã" ãšããååã«ãªã£ãŠããŸãããã®çŽäžã«ã以äžã®é
ç®ã䞊ã³ãŸã:</p> + +<ul> + <li>ãã¹ãŠã® GC ã«ãŒãããŒããGecko ã§ã¯è€æ°ã®ã¡ã¢ãªãŒã°ã©ããååšããŸãã®ã§ãã«ãŒããè€æ°ãããŸããå€ãã® (ãããŠãã¯äžæçãª) ã«ãŒããååšããå ŽåããããŸããäŸãã°ãã¹ã¿ãã¯å
ã§å²ãåœãŠãããå€æ°ã¯ã«ãŒãã«ãªãå¿
èŠããããŸãããŸããå
éšãã£ãã·ã¥ã¯ãããã®èŠçŽ ã®ã«ãŒãã«ããå¿
èŠãããã§ãããã</li> + <li>2 ã€ã®ç°ãªãã«ãŒãããåç
§ããããä»ã®ããŒã (ãã®å Žåãã©ã¡ãã®ã«ãŒãããã®ããŒããæ¯é
ããŸãã)ã</li> +</ul> + +<p>ããããã®é
ç®ã§ã以äžã®å
容ã衚瀺ããŸã:</p> + +<ul> + <li>ããŒãã®ä¿æãµã€ãºãããã€ãæ°ããã³åèšã«å¯ŸããããŒã»ã³ãå€ã§ç€ºã</li> + <li>ããŒãã®ã·ã£ããŒãµã€ãºãããã€ãæ°ããã³åèšã«å¯ŸããããŒã»ã³ãå€ã§ç€ºã</li> + <li>ããŒãã®ååãšãã¡ã¢ãªãŒäžã®ã¢ãã¬ã¹</li> +</ul> + +<p>é
ç®ã¯ãã¡ã¢ãªãŒã®ä¿æãµã€ãºã®å€§ããé ã«äžŠã³ãŸããäŸãã°:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13631/dominators-3.png" style="display: block; height: 228px; margin: 0px auto; width: 700px;"></p> + +<p>ãã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ã" GC ã«ãŒã " ã®é
äžã«é
ç®ã 5 ã€ããããšãããããŸããå§ãã® 2 ã€ã¯ Call ãªããžã§ã¯ããš Window ãªããžã§ã¯ãã§ãããããããã¹ãããã·ã§ããã®ç·ã¡ã¢ãªéã® 21% ãš 8% ãä¿æããŠããŸãããŸãããããã®ãªããžã§ã¯ã㯠" ã·ã£ããŒãµã€ãº " ãæ¯èŒçå°ãããä¿æãµã€ãºã®ã»ãŒãã¹ãŠã¯ãæ¯é
ããŠãããªããžã§ã¯ãå
ã«ããããšãããããŸãã</p> + +<p>å GC ã«ãŒãã®çŽäžã«ããã®ã«ãŒãã <a href="/ja/docs/Tools/Memory/Dominators#immediate_dominator">é£æ¥æ¯é
ããŒã </a>ã§ãããã¹ãŠã®ããŒããé
眮ããŸãããããã®ããŒãããä¿æãµã€ãºé ã«äžŠã³ãŸãã</p> + +<p>äŸãã°ãæåã® Window ãªããžã§ã¯ããã¯ãªãã¯ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13633/dominators-4.png" style="display: block; height: 292px; margin: 0px auto; width: 700px;"></p> + +<p>ãã® Window 㯠CSS2Properties ãªããžã§ã¯ããæ¯é
ããŠããããã®ä¿æãµã€ãºã¯ã¹ãããã·ã§ããå
šäœã® 2% ã§ããããšãããããŸãããã¯ãã·ã£ããŒãµã€ãºã¯ãšãŠãå°ãããä¿æãµã€ãºã®ã»ãŒãã¹ãŠããæ¯é
ããŠããããŒãå
ã«ãããŸããFunction ã®é£ã«ããå±éçšã®äžè§å°ãã¯ãªãã¯ãããšããããã®ããŒãã確èªã§ããŸãã</p> + +<p>ãã®æ¹æ³ã§ãã¹ãããã·ã§ããå
ã§ã©ã®ãªããžã§ã¯ãããã£ãšãå€ãã®ã¡ã¢ãªãŒãä¿æããŠããããããã°ããææ¡ã§ããŸãã</p> + +<p><kbd>Alt</kbd> + ã¯ãªãã¯ã§ãããŒãé
äžã®ã°ã©ãå
šäœãå±éã§ããŸãã</p> + +<h4 id="Call_Stack" name="Call_Stack">ã³ãŒã«ã¹ã¿ãã¯</h4> + +<p>ããŒã«äžéšã®ããŒã«ããŒã«ã"ã©ãã«" ãšããå称ã®ããããããŠã³ãªã¹ãããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13635/dominators-5.png" style="display: block; height: 224px; margin: 0px auto; width: 800px;"></p> + +<p>ããã©ã«ãã§ã¯ " Type " ã«èšå®ãããŠããŸããäžæ¹ãããã " Call Stack " ã«åãæ¿ãããšãã³ãŒãã®äžã§ãªããžã§ã¯ããå²ãåœãŠãŠããå Žæã¯ã©ããã衚瀺ããŸãã</p> + +<div class="note"> +<p>Firefox 46 ã§ã¯ããã®ãªãã·ã§ã³ã®å称㯠" Allocation Stack " ã§ããã</p> +</div> + +<p>ãã¥ãŒã衚瀺ããã«ã¯ããªããžã§ã¯ããå²ãåœãŠãã³ãŒããå®è¡ãã<em>åã«</em> " ã³ãŒã«ã¹ã¿ãã¯ãèšé² " ã®ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ããªããã°ãªããŸããããããŠã¹ãããã·ã§ãããæ¡åããŠã" ã©ãã« " ããããããŠã³ãªã¹ã㧠" Call Stack " ãéžæããŸãã</p> + +<p>ãããšããŒããå²ãåœãŠãé¢æ°ã®ååãããã³ãã®é¢æ°ãååšãããã¡ã€ã«ã®ååãè¡çªå·ãäœæåç®ããããŒãã®ååã«å«ããŠè¡šç€ºããŸãããã¡ã€ã«åãã¯ãªãã¯ãããšããããã¬ãŒã§è©²åœç®æã衚瀺ããŸãã</p> + +<p>{{EmbedYouTube("qTF5wCSD124")}}</p> + +<div class="note"> +<p>ããã« " (æå¹ãªã¹ã¿ãã¯ã¯ãããŸãã) " ãšè¡šç€ºãããå ŽåããããŸããç¹ã«ãçŸåšå²ãåœãŠã¹ã¿ãã¯ã¯ãªããžã§ã¯ãã®ã¿èšé²ããŠãããé
åãæååãå
éšæ§é ã¯èšé²ããŠããŸããã</p> +</div> + +<h3 id="Retaining_Paths_panel" name="Retaining_Paths_panel">ä¿æãã¹ããã«</h3> + +<div class="geckoVersionNote">ä¿æãã¹ããã«ã¯ Firefox 47 ã®æ°æ©èœã§ãã</div> + +<p>ä¿æãã¹ããã«ã§ã¯ããããŒãã«ã€ããŠããã®ããŒããã GC ã«ãŒãã«æ»ãæçãã¹ã 5 ã€è¡šç€ºããŸããããã«ãã£ãŠããã®ããŒããã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã®å¯Ÿè±¡ã«ãªããªãããã«ããŠãããã¹ãŠã®ããŒããç¥ãããšãã§ããŸãããªããžã§ã¯ãããªãŒã¯ããŠãããšæãããå Žåã«ãã©ã®ãªããžã§ã¯ããåç
§ãä¿æããŠããããç確ã«ç€ºããŸãã</p> + +<p>ããããŒã¿ããªãŒããã«ã§ããŒããéžæãããšãããŒãã®ä¿æãã¹ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13637/dominators-6.png" style="display: block; height: 415px; margin: 0px auto; width: 800px;"></p> + +<p>ããã§ã¯ Object ãéžæããŠãããGC ã«ãŒãã«æ»ããã¹ã 1 ã€ããããšãããããŸãã</p> + +<p>GC ã«ãŒã <code>Window</code> 㯠<code>HTMLDivElement</code> ãªããžã§ã¯ããžã®åç
§ãä¿æããŠããããŸããã®ãªããžã§ã¯ãã <code>Object</code> ãžã®åç
§ãä¿æããŠããŸããããããŒã¿ãŒããªãŒããã«ãèŠããšãåããã¹ããã©ãããšãã§ããŸãããããã®åç
§ã®ã©ã¡ãããåé€ããããšãé
äžã®ã¢ã€ãã ã¯ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã®å¯Ÿè±¡ã«ãªãã§ãããã</p> + +<p>ã°ã©ãå
ã®åæ¥ç¶ã«ãåç
§ããããªããžã§ã¯ãçšã®å€æ°ã®å称ãã€ããŠããŸãã</p> + +<p>ããŒãããæ»ãä¿æãã¹ãè€æ°ååšããããšããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13639/dominators-7.png" style="display: block; height: 455px; margin: 0px auto; width: 700px;"></p> + +<p>ãã®å³ã§ã¯ã<code>DocumentPrototype</code> ããŒããã GC ã«ãŒãã«æ»ããã¹ã 3 ã€ãããŸããã²ãšã€ãåé€ãããŠããã»ãã®ãã¹ãç¶æãããŠããŸãã®ã§ <code>DocumentPrototype</code> ã¯ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã®å¯Ÿè±¡ã«ãªããŸããã</p> + +<h2 id="Example" name="Example">äŸ</h2> + +<p>ã·ã³ãã«ãªã³ãŒããã©ã®ããã«ããããŒã¿ãŒãã¥ãŒãžåæ ãããããèŠãŠãããŸãããã</p> + +<p>ããã§ã¯ <a href="/ja/docs/Tools/Memory/Monster_example">monster allocation example</a> ã䜿çšããŸãããã㯠3 åã®é
åãçæããŠãããããããã« 5,000 äœã®ã¢ã³ã¹ã¿ãŒãå«ãŸããŠããŸãããŸããããããã®ã¢ã³ã¹ã¿ãŒã¯ã©ã³ãã ã«çæãããååãæã£ãŠããŸãã</p> + +<h3 id="Taking_a_snapshot" name="Taking_a_snapshot">ã¹ãããã·ã§ãããæ¡åãã</h3> + +<p>ãããããããŒã¿ãŒãã¥ãŒã§ã©ã®ããã«èŠãããã確èªããŸã:</p> + +<ul> + <li>ããŒãžãèªã¿èŸŒã¿ãŸãã</li> + <li>ã¡ã¢ãªãŒããŒã«ãæå¹åããŠããªãå Žåã¯ã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">ãªãã·ã§ã³ </a>ã§æå¹åããŸãã</li> + <li>ã¡ã¢ãªãŒããŒã«ãéããŸãã</li> + <li>"ã³ãŒã«ã¹ã¿ãã¯ãèšé²" ã«ãã§ãã¯ãå
¥ããŸãã</li> + <li>"Make monsters!" ãã¿ã³ãæŒããŸãã</li> + <li>ã¹ãããã·ã§ãããæ¡åããŸãã</li> + <li>" ããããŒã¿ãŒ " ãã¥ãŒã«åãæ¿ããŸãã</li> +</ul> + +<p>{{EmbedYouTube("HiWnfMoMs2c")}}</p> + +<h3 id="Analyzing_the_Dominators_Tree" name="Analyzing_the_Dominators_Tree">ããããŒã¿ãŒããªãŒãåæãã</h3> + +<p>äžäœ 3 件㮠GC ã«ãŒãã Array ã§ãããããããç·ã¡ã¢ãªãŒäœ¿çšéã®çŽ 23% ãä¿æããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13641/dominators-8.png" style="display: block; height: 165px; margin: 0px auto; width: 700px;"></p> + +<p>Array ãå±éãããšãå«ãŸããŠãããªããžã§ã¯ã (ã¢ã³ã¹ã¿ãŒ) ã衚瀺ããŸããããããã®ã¢ã³ã¹ã¿ãŒã¯ãã·ã£ããŒãµã€ãºã 160 ãã€ããšæ¯èŒçå°ãããªã£ãŠããŸããããã¯ãç®ã®æ°ãšè§Šæã®æ°ã®æŽæ°å€ãå«ãã§ããŸãããŸãåã¢ã³ã¹ã¿ãŒã®ä¿æãµã€ãºã¯å€§ãããããã¯ã¢ã³ã¹ã¿ãŒã®ååã®æååãå ããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13643/dominators-9.png" style="display: block; height: 327px; margin: 0px auto; width: 700px;"></p> + +<p>ãããã¯ãã¹ãŠã<a href="/ja/docs/Tools/Memory/Monster_example#allocation-graph">äºæ³ããã¡ã¢ãªãŒã°ã©ã</a> ã«è¿ã圢ã§äžŠãã§ããŸããããããã²ãšã€äžæè°ã«æãç¹ãããã§ãããã3 ã€ã® Array ãä¿æãããããã¬ãã«ãªããžã§ã¯ãã¯ã©ãã«ããã®ã§ããããïŒ ãã Array ã®ä¿æãã¹ã確èªãããšã以äžã®ããã«ãªã£ãŠããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13645/dominators-10.png" style="display: block; height: 467px; margin: 0px auto; width: 700px;"></p> + +<p>ããã§ã¯ä¿æãããªããžã§ã¯ããèŠããŠããããŸããªããžã§ã¯ãåºæã® Array 㯠<code>fierce</code> ã¢ã³ã¹ã¿ãŒã® Array ã§ããããã Array ã¯ã«ãŒãã§ãããããããªããžã§ã¯ãã Array ãåç
§ããªããªã£ãŠãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã®å¯Ÿè±¡ã«ã¯ãªããªãã§ãããã</p> + +<p>ããã¯ãªããžã§ã¯ãã Array ãæ¯é
ããŠããªããããããããŒã¿ããªãŒãã¥ãŒã«è¡šç€ºãããªããšããããšã§ãã<a href="/ja/docs/Tools/Memory/Dominators#multiple-paths">ããããŒã¿ã®æŠå¿µã®èšäºã§é¢é£ããç« ãã芧ãã ãã</a>ã</p> + +<h3 id="Using_the_Call_Stack_view" name="Using_the_Call_Stack_view">ã³ãŒã«ã¹ã¿ãã¯ãã¥ãŒã䜿çšãã</h3> + +<p>æåŸã«ãCall Stack ãã¥ãŒãžåãæ¿ãããšããªããžã§ã¯ããã©ãã§å²ãåœãŠããããã確èªã§ããŸãããŸãããããã¬ãŒã§ãã®å Žæã«ãžã£ã³ãã§ããŸã:</p> + +<p>{{EmbedYouTube("qTF5wCSD124")}}</p> diff --git a/files/ja/tools/memory/index.html b/files/ja/tools/memory/index.html new file mode 100644 index 0000000000..5ead5856b4 --- /dev/null +++ b/files/ja/tools/memory/index.html @@ -0,0 +1,65 @@ +--- +title: ã¡ã¢ãªãŒ +slug: Tools/Memory +tags: + - DevTools + - Firefox + - Mozilla + - Tools +translation_of: Tools/Memory +--- +<div>{{ToolsSidebar}}</div><p>ã¡ã¢ãªãŒããŒã«ã䜿çšããŠãã«ã¬ã³ãã¿ãã®ã¡ã¢ãªãŒ <a href="http://en.wikipedia.org/wiki/Memory_management#HEAP" title="heap">ããŒã</a> ã®ã¹ãããã·ã§ãããååŸã§ããŸãããããŠãã©ã®ãªããžã§ã¯ããã©ãã ãã¡ã¢ãªãŒã䜿çšããŠãããããã³ãŒãã®ã©ãã§ã¡ã¢ãªãŒãå²ãåœãŠãŠãããã衚瀺å¯èœãªãããŒãã®ããŸããŸãªãã¥ãŒãæäŸããŸãã</p> + +<p>{{EmbedYouTube("DJLoq5E5ww0")}}</p> + +<hr> +<h3 id="The_basics" name="The_basics">åºç€</h3> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Memory/Basic_operations#Opening_the_Memory_tool">ã¡ã¢ãªãŒããŒã«ãéã</a></li> + <li><a href="/ja/docs/Tools/Memory/Basic_operations#Taking_a_heap_snapshot">ããŒãã®ã¹ãããã·ã§ãããæ¡åãã</a></li> + <li><a href="/ja/docs/Tools/Memory/Basic_operations#Comparing_snapshots">ã¹ãããã·ã§ãããæ¯èŒãã</a></li> + <li><a href="/ja/docs/Tools/Memory/Basic_operations#Clearing_a_snapshot">ã¹ãããã·ã§ãããåé€ãã</a></li> + <li><a href="/ja/docs/Tools/Memory/Basic_operations#Saving_and_loading_snapshots">ã¹ãããã·ã§ããã®ä¿åãšèªã¿èŸŒã¿</a></li> + <li><a href="/ja/docs/Tools/Memory/Basic_operations#Recording_call_stacks">ã³ãŒã«ã¹ã¿ãã¯ãèšé²ãã</a></li> +</ul> +</div> + +<hr> +<h3 id="Analyzing_snapshots" name="Analyzing_snapshots">ã¹ãããã·ã§ãããåæãã</h3> + +<div class="geckoVersionNote"> +<p>ããªãŒããããã¥ãŒã¯ Firefox 48 ã®æ°æ©èœãããããŒã¿ãŒãã¥ãŒã¯ Firefox 46 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ã¹ãããã·ã§ãããæ¡åãããšãã¡ã¢ãªãŒããŒã«ã¯ 3 ã€ã®äž»èŠãªãã¥ãŒãæäŸããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Memory/Tree_Map_view">ããªãŒããããã¥ãŒ </a>ã¯ã¡ã¢ãªãŒã®äœ¿çšç¶æ³ãã<a href="https://en.wikipedia.org/wiki/Treemapping">ããªãŒããã</a> ã§è¡šç€ºããŸãã</li> + <li><a href="/ja/docs/Tools/Memory/Aggregate_view">ç·èšãã¥ãŒ</a> ã¯ã¡ã¢ãªãŒã®äœ¿çšç¶æ³ããå²ãåœãŠãããåã«ãã衚圢åŒã§è¡šç€ºããŸãã</li> + <li><a href="/ja/docs/Tools/Memory/Dominators_view">ããããŒã¿ãŒãã¥ãŒ </a>ã¯ããªããžã§ã¯ãã® "ä¿æãµã€ãº" ã衚瀺ããŸããããã¯ãªããžã§ã¯ãã®ãµã€ãºãšããã®ãªããžã§ã¯ããåç
§ããŠããããã«ç¶æãããŠãããªããžã§ã¯ãã®ãµã€ãºãåç®ãããã®ã§ãã</li> +</ul> + +<p>ã¹ãããã·ã§ããã§å²ãåœãŠã¹ã¿ãã¯ã®èšé²ãæå¹ã«ãããšãã³ãŒãã®ã©ãã§å²ãåœãŠãè¡ãããããç·èšãã¥ãŒãšããããŒã¿ãŒãã¥ãŒã§è¡šç€ºã§ããŸãã</p> + +<hr> +<h3 id="Concepts" name="Concepts">æŠå¿µ</h3> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Memory/Dominators">ããããŒã¿ãŒ</a></li> +</ul> +</div> + +<hr> +<h3 id="Example_pages" name="Example_pages">ãµã³ãã«ããŒãž</h3> + +<p>ã¡ã¢ãªãŒããŒã«ã®ããã¥ã¡ã³ãã§äœ¿çšããŠãããµã³ãã«ã§ãã</p> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Memory/Monster_example">Monster example</a></li> + <li><a href="/ja/docs/Tools/Memory/DOM_allocation_example">DOM allocation example</a></li> +</ul> +</div> diff --git a/files/ja/tools/memory/monster_example/index.html b/files/ja/tools/memory/monster_example/index.html new file mode 100644 index 0000000000..3458550a5f --- /dev/null +++ b/files/ja/tools/memory/monster_example/index.html @@ -0,0 +1,81 @@ +--- +title: Monster example +slug: Tools/Memory/Monster_example +translation_of: Tools/Memory/Monster_example +--- +<div>{{ToolsSidebar}}</div><p>ãã®èšäºã§ã¯ãã¡ã¢ãªããŒã«ã®æ©èœã瀺ãããã«äœ¿çšããã·ã³ãã«ãªããŒãžã«ã€ããŠèª¬æããŸãã</p> + +<p>ãã㯠<a class="external external-icon" href="https://mdn.github.io/performance-scenarios/js-allocs/alloc.html">https://mdn.github.io/performance-scenarios/js-allocs/alloc.html</a> ã§è©Šãããšãã§ããŸããã³ãŒãã¯ä»¥äžã®ãšããã§ã:</p> + +<pre class="brush: js">var MONSTER_COUNT = 5000; +var MIN_NAME_LENGTH = 2; +var MAX_NAME_LENGTH = 48; + +function Monster() { + + function randomInt(min, max) { + return Math.floor(Math.random() * (max - min + 1)) + min; + } + + function randomName() { + var chars = "abcdefghijklmnopqrstuvwxyz"; + var nameLength = randomInt(MIN_NAME_LENGTH, MAX_NAME_LENGTH); + var name = ""; + for (var j = 0; j &lt; nameLength; j++) { + name += chars[randomInt(0, chars.length-1)]; + } + return name; + } + + this.name = randomName(); + this.eyeCount = randomInt(0, 25); + this.tentacleCount = randomInt(0, 250); +} + +function makeMonsters() { + var monsters = { + "friendly": [], + "fierce": [], + "undecided": [] + }; + + for (var i = 0; i &lt; MONSTER_COUNT; i++) { + monsters.friendly.push(new Monster()); + } + + for (var i = 0; i &lt; MONSTER_COUNT; i++) { + monsters.fierce.push(new Monster()); + } + + for (var i = 0; i &lt; MONSTER_COUNT; i++) { + monsters.undecided.push(new Monster()); + } + + console.log(monsters); +} + +var makeMonstersButton = document.getElementById("make-monsters"); +makeMonstersButton.addEventListener("click", makeMonsters);</pre> + +<p>ãã®ããŒãžã«ã¯ãã¿ã³ããããŸãããã®ãã¿ã³ãæŒããšãã³ãŒããã¢ã³ã¹ã¿ãŒãçæããŸãã詳现ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li>ã³ãŒãã 3 ã€ã®ããããã£ãæã€ãªããžã§ã¯ããçæããŸããããããã®ããããã£ã¯é
åã§ã: + <ul> + <li>ã©ãçãªã¢ã³ã¹ã¿ãŒ</li> + <li>å奜çãªã¢ã³ã¹ã¿ãŒ</li> + <li>ã¿ã€ããããã£ãŠããªãã¢ã³ã¹ã¿ãŒ</li> + </ul> + </li> + <li>ã³ãŒãã¯ããããã®é
åã«ãã©ã³ãã ã«åæåããã¢ã³ã¹ã¿ãŒ 5000 äœãçæããã³è¿œå ããŸããããããã®ã¢ã³ã¹ã¿ãŒã¯ä»¥äžã®å±æ§ãæã¡ãŸã: + <ul> + <li>ã¢ã³ã¹ã¿ãŒã®ååã瀺ãæåå</li> + <li>ã¢ã³ã¹ã¿ãŒã®ç®ã®æ°ãè¡šãæ°å€</li> + <li>ã¢ã³ã¹ã¿ãŒã®è§Šæã®æ°ãè¡šãæ°å€</li> + </ul> + </li> +</ul> + +<p>åŸã£ãŠãJavaScript ã®ããŒãäžã«å²ãåœãŠãããã¡ã¢ãªã®æ§é ã¯ã3 ã€ã®é
åãæã€ãªããžã§ã¯ãã«ãªããŸããããããã®é
å㯠5000 åã®ãªããžã§ã¯ã (ã¢ã³ã¹ã¿ãŒ) ãæã¡ããã®ãªããžã§ã¯ããæååãš 2 ã€ã®æ°å€ãæã¡ãŸã:</p> + +<p><a name="allocation-graph"><img alt="" src="https://mdn.mozillademos.org/files/12369/monsters.svg" style="display: block; height: 521px; margin-left: auto; margin-right: auto; width: 500px;"></a></p> diff --git a/files/ja/tools/memory/tree_map_view/index.html b/files/ja/tools/memory/tree_map_view/index.html new file mode 100644 index 0000000000..2001846a58 --- /dev/null +++ b/files/ja/tools/memory/tree_map_view/index.html @@ -0,0 +1,45 @@ +--- +title: ããªãŒããããã¥ãŒ +slug: Tools/Memory/Tree_map_view +translation_of: Tools/Memory/Tree_map_view +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>ããªãŒããããã¥ãŒã¯ãFirefox 48 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ããªãŒããããã¥ãŒã¯ã¹ãããã·ã§ãããèŠèŠçã«è¡šçŸããŠãã©ã®ãªããžã§ã¯ãããã£ãšãå€ãã®ã¡ã¢ãªã䜿çšããŠãããã®èŠè§£ããã°ããåŸãå©ãã«ãªããŸãã</p> + +<p>ããªãŒãããã¯ã<a href="https://en.wikipedia.org/wiki/Treemapping">"å
¥ãåã®é·æ¹åœ¢ã§è¡šçŸããéå±€å (æšæ§é ) ã®ããŒã¿"</a> ã衚瀺ããŸããé·æ¹åœ¢ã®ãµã€ãºã¯ãããŒã¿ã®éçãªæ¯çã«å¯Ÿå¿ããŸãã</p> + +<p>ã¡ã¢ãªããŒã«ã®ããªãŒãããã¯ãããŒãã®å
容ç©ããããã¬ãã«ã§ 4 ã€ã®ã«ããŽãªã«åé¡ããŸã:</p> + +<ul> + <li><strong>objects</strong>: JavaScript ããã³ DOM ã®ãªããžã§ã¯ããäŸãã° <code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Function">Function</a></code>ã<code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a></code>ã<code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Array">Array</a></code> ãã<code><a href="/ja/docs/Web/API/Window">Window</a></code>ã<code><a href="/ja/docs/Web/API/HTMLDivElement">HTMLDivElement</a></code> ãªã©ã® DOM åã</li> + <li><strong>scripts</strong>: ããŒãžã§èªã¿èŸŒãã JavaScript ãœãŒã¹ã</li> + <li><strong>strings</strong></li> + <li><strong>other</strong>: å
éšã® <a href="/ja/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> ãªããžã§ã¯ããå«ã¿ãŸãã</li> +</ul> + +<p>ããããã®ã«ããŽãªãé·æ¹åœ¢ã§è¡šçŸããŠãé·æ¹åœ¢ã®ãµã€ãºã¯ã«ããŽãªå
ã®ã¢ã€ãã ãããŒãå
ã§å ããå²åã«å¯Ÿå¿ããŸãããã£ãŠãããªãã®ãµã€ãã§ã©ã®çš®é¡ã®ãã®ããã£ãšãå€ãã®ã¡ã¢ãªã䜿çšããŠãããã«ã€ããŠããããŸããªèŠè§£ããã°ããåŸãããšãã§ããŸãã</p> + +<p>ãããã¬ãã«ã®ã«ããŽãªå
ã§ã¯ã以äžã®ããã«åå²ããŸã:</p> + +<ul> + <li><strong>objects</strong> ã¯ããªããžã§ã¯ãã®åã§åé¡ããŸãã</li> + <li><strong>scripts</strong> ã¯ãã¹ã¯ãªããã®çæå
ã§åé¡ããŸãããã㯠JIT ã§æé©åãããã³ãŒããªã©ããã¡ã€ã«ã«é¢é£ä»ããããšãã§ããªãã³ãŒãããå¥ã®é·æ¹åœ¢ãšããŠå«ãŸããŸãã</li> + <li><strong>other</strong> ã¯ããªããžã§ã¯ãã®åã§åé¡ããŸãã</li> +</ul> + +<p>ãã¡ãããããªãŒããããã¥ãŒã§è¡šç€ºããã¹ãããã·ã§ããã®ãµã³ãã«ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13048/treemap-domnodes.png" style="display: block; margin-left: auto; margin-right: auto; width: 844px;"></p> + +<p>ãã®ããªãŒããã㯠<a href="/ja/docs/Tools/Memory/DOM_allocation_example">DOM allocation example</a> ã§ååŸããŸããããã®ããŒãžã¯å€§éã® DOM ããŒã (200 åã® <code><a href="/ja/docs/Web/API/HTMLDivElement">HTMLDivElement</a></code> ãªããžã§ã¯ããš 4000 åã® <code><a href="/ja/docs/Web/API/HTMLSpanElement">HTMLSpanElement</a></code> ãªããžã§ã¯ã) ãçæããã¹ã¯ãªãããå®è¡ããŸããããŒãã®ã»ãšãã©ãã¹ãŠããã¹ã¯ãªããã§çæãã <code>HTMLSpanElement</code> ãªããžã§ã¯ãã§ããããšãããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13046/treemap-monsters.png" style="display: block; margin-left: auto; margin-right: auto; width: 844px;"></p> + +<p>ãã®ããªãŒãããã¯ã<a href="/ja/docs/Tools/Memory/Monster_example">monster allocation example</a> ã§ååŸããŸããããã㯠3 åã®é
åãçæããŠãããããããã« 5000 äœã®ã¢ã³ã¹ã¿ãŒãå«ãŸããŠããŸãããŸããããããã®ã¢ã³ã¹ã¿ãŒã¯ã©ã³ãã ã«çæãããååãæã£ãŠããŸããããŒãã®ã»ãšãã©ãã¢ã³ã¹ã¿ãŒã®ååã§äœ¿çšããæååãšãã¢ã³ã¹ã¿ãŒã®ä»ã®å±æ§ãåããããã«äœ¿çšãããªããžã§ã¯ãã§å ããããŠããããšãããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13050/treemap-bbc.png" style="display: block; margin-left: auto; margin-right: auto; width: 844px;"></p> + +<p>ãã®ããªãŒããã㯠<a href="http://www.bbc.com/">http://www.bbc.com/</a> ã§ååŸããŸãããååºã®ãµã³ãã«ããçŸå®çãªèŠæ¬ã§ãããšãããã§ããããããŒãã®å€ããã¹ã¯ãªããã§å ããããŠããããããã¯å€æ°ã®çæå
ããèªã¿èŸŒãŸããŠããããšãããããŸãã</p> diff --git a/files/ja/tools/migrating_from_firebug/index.html b/files/ja/tools/migrating_from_firebug/index.html new file mode 100644 index 0000000000..79bb2c9bca --- /dev/null +++ b/files/ja/tools/migrating_from_firebug/index.html @@ -0,0 +1,245 @@ +--- +title: Firebug ãã移è¡ãã +slug: Tools/Migrating_from_Firebug +tags: + - Firebug + - Migration +translation_of: Tools/Migrating_from_Firebug +--- +<div>{{ToolsSidebar}}</div><p>Firebug ãã Firefox éçºããŒã«ãžç§»è¡ããéã«ãFirebug ã§æçšããŠããæ©èœãéçºããŒã«ã®ã©ãã«ããããšèãããããããŸããã以äžã®ãªã¹ãã¯ãFirebug ã®ãŠãŒã¶ãŒãéçºããŒã«ãžç§»è¡ããããã®æ¯æŽãç®æããŠããŸãã</p> + +<h2 id="General" name="General">äžè¬</h2> + +<h3 id="Activation" name="Activation">ã¢ã¯ãã£ãå</h3> + +<p><a href="https://getfirebug.com/wiki/index.php/Activation">Firebug ã®ã¢ã¯ãã£ãå</a> ã¯ãURL ã«åºã¥ã㊠<a href="https://ja.wikipedia.org/wiki/%E5%90%8C%E4%B8%80%E7%94%9F%E6%88%90%E5%85%83%E3%83%9D%E3%83%AA%E3%82%B7%E3%83%BC">åäžçæå
ããªã·ãŒ</a> ã«åŸããŸããããªãã¡ãçæå
ãåãããŒãžãå¥ã®ã¿ãã§éããšãFirebug ãèªåçã«éããŸãããŸããçæå
ãç°ãªãããŒãžãåãã¿ãã§éããšãFirebug ã¯èªåçã«éããŸããäžæ¹ãéçºããŒã«ã®ã¢ã¯ãã£ãåã¯ã¿ãã«åºã¥ããŸããããªãã¡ãããã¿ãã§éçºããŒã«ãéããšããŠã§ããµã€ããåãæ¿ããŠãããŒã«ã¯éãããŸãŸã§ããããããå¥ã®ã¿ãã«åãæ¿ãããšããŒã«ãéããŸãã</p> + +<h3 id="Open_the_tools" name="Open_the_tools">ããŒã«ãéã</h3> + +<p>F12 ãæŒäžã㊠Firebug ãéãããšãã§ããŸãããŸããèŠçŽ ã調æ»ããããã« Firebug ãéãã«ã¯ <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> / <kbd>Cmd</kbd>+<kbd>Opt</kbd>+<kbd>C</kbd> ãæŒäžããŸããéçºããŒã«ã®ããŒããŒãã·ã§ãŒãã«ãããåãã§ããã<a href="/ja/docs/Tools/Keyboard_shortcuts#Opening_and_closing_tools">å¥ã®ããã«ãéãããŒããŒãã·ã§ãŒãã«ãã</a> ããããŸããäŸãã° <a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</a> ã <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Q</kbd> / <kbd>Cmd</kbd>+<kbd>Opt</kbd>+<kbd>Q</kbd>ã<a href="/ja/docs/Tools/Web_Console">ãŠã§ãã³ã³ãœãŒã«</a> ã <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>K</kbd> / <kbd>Cmd</kbd>+<kbd>Opt</kbd>+<kbd>K</kbd>ããããã¬ãŒã <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> / <kbd>Cmd</kbd>+<kbd>Opt</kbd>+<kbd>S</kbd> ã§éãããšãã§ããŸãã</p> + +<h2 id="Web_Console" name="Web_Console">ãŠã§ãã³ã³ãœãŒã«</h2> + +<p><a href="/ja/docs/Tools/Web_Console">ãŠã§ãã³ã³ãœãŒã«</a> 㯠Firebug ã® <a href="https://getfirebug.com/wiki/index.php/Console_Panel">ã³ã³ãœãŒã«ããã«</a> ãšåçã§ããããã¯ããŠã§ãããŒãžã«é¢ããæ
å ±ãèšé²ããŸãããŸãã<a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter">ã³ãã³ãã©ã€ã³</a> ã䜿çšã㊠JavaScript ã®åŒãå®è¡ããããšãã§ããŸããäž¡è
ã®è¡šç€ºã¯è¥å¹²ç°ãªã£ãŠããŸãããã㯠{{bug(1269730)}} ã§å€æŽããäºå®ã§ãã</p> + +<h3 id="Filter_log_messages" name="Filter_log_messages">ãã°ã¡ãã»ãŒãžã®ãã£ã«ã¿ãªã³ã°</h3> + +<p>Firebug ã«ã¯ãã°ã¡ãã»ãŒãžã®ãã£ã«ã¿ãªã³ã°æ¹æ³ã 2 ã€ãããã²ãšã€ã¯ <a href="https://getfirebug.com/wiki/index.php/Console_Panel#Options_Menu">ãªãã·ã§ã³ã¡ãã¥ãŒ</a>ãããäžã€ã¯ããŒã«ããŒã® <a href="https://getfirebug.com/wiki/index.php/Console_Panel#Filter_buttons">ãã£ã«ã¿ãŒãã¿ã³</a> ã§ããéçºããŒã«ã®ã³ã³ãœãŒã«ã¯ã<a href="/ja/docs/Tools/Web_Console/Console_messages#Filtering_by_category">ããŒã«ããŒå
ã®ãã£ã«ã¿ãŒãã¿ã³</a> ã§åæ§ã®æ©èœãæäŸããŠãããã²ãšã€ã®æ¹æ³ã«ãŸãšããããŠããŸãã</p> + +<h3 id="Command_Line_API" name="Command_Line_API">ã³ãã³ãã©ã€ã³ API</h3> + +<p><a href="https://getfirebug.com/wiki/index.php/Command_Line_API">Firebug ã®ã³ãã³ãã©ã€ã³ API</a> ã¯ãå©äŸ¿æ§ã®ããã®ç¹å¥ãªæ©èœãæäŸããŸããéçºããŒã«ã®ã³ãã³ãã©ã€ã³ã« <a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter#Helper_commands">ããçšåºŠå
±éã®æ©èœ</a> ããããŸãããç°ãªãæ©èœãæ¬ ããŠããæ©èœããããŸãã</p> + +<h3 id="Console_API" name="Console_API">ã³ã³ãœãŒã« API</h3> + +<p>ãŠã§ãããŒãžå
ããã³ã³ãœãŒã«ã«äœããèšé²ããããã« Firebug ã¯ããŠã§ãããŒãžã§äœ¿çšã§ãã <a href="https://getfirebug.com/wiki/index.php/Console_API">Console API</a> ãäœæããŸãããéçºããŒã«ã <a href="/ja/docs/Web/API/console">åã API</a> ãå
±æããŠããã<code>console.*</code> æãåŒãç¶ãåäœããŸãã</p> + +<h3 id="Persist_logs" name="Persist_logs">ãã°ãæ®ã</h3> + +<p>Firebug ã§ã¯ããŒã«ããŒã® <a href="https://getfirebug.com/wiki/index.php/Console_Panel#Persist"><em>æç¶</em> ãã¿ã³</a> ãæŒããšãããŒãžã移åãããåèªã¿èŸŒã¿ãããããŠãã¡ãã»ãŒãžãæ®ãããšãã§ããŸããéçºããŒã«ã§ã¯ãã®èšå®ã <em><a href="/ja/docs/Tools/Settings#Common_preferences">ãã°åºåãæ®ã</a></em> ãšããå称ã§ãããããŒã«ããã¯ã¹ã®ãªãã·ã§ã³ããã«å
ã«ãããŸãã</p> + +<h3 id="Server_logs" name="Server_logs">ãµãŒããŒã®ãã°</h3> + +<p><a href="https://addons.mozilla.org/firefox/addon/firephp/">FirePHP</a> ã®ãã㪠Firebug æ¡åŒµã§ããµãŒããŒãµã€ãã®ã¡ãã»ãŒãžã Firebug ã®ã³ã³ãœãŒã«ã«èšé²ã§ããŸãããã®æ©èœã¯ <a href="https://craig.is/writing/chrome-logger">ChromeLogger</a> ãããã³ã«ã䜿çšããŠãã§ã« <a href="/ja/docs/Tools/Web_Console/Console_messages#Server">éçºããŒã«ã«çµ±åãããŠãã</a>ãæ¡åŒµæ©èœã®ã€ã³ã¹ããŒã«ã¯äžèŠã§ãã</p> + +<h3 id="Command_history" name="Command_history">ã³ãã³ãå±¥æŽ</h3> + +<p>Firebug ã®ã³ãã³ãã©ã€ã³ã«ãããã¿ã³ã§äœ¿çšã§ãã <a href="https://getfirebug.com/wiki/index.php/Command_Line#Command_History">ã³ãã³ãå±¥æŽ</a> ã¯ã<a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter#Command_history">éçºããŒã«ã®ã³ãã³ãã©ã€ã³ã§ <kbd>â</kbd>/<kbd>â</kbd> ãæŒäžãã</a> ããšã§äœ¿çšã§ããŸãã</p> + +<h3 id="Inspect_object_properties" name="Inspect_object_properties">ãªããžã§ã¯ãã®ç¹æ§ã調æ»ãã</h3> + +<p>ã³ã³ãœãŒã«ã«èšé²ããããªããžã§ã¯ããã¯ãªãã¯ãããšã<a href="https://getfirebug.com/wiki/index.php/DOM_Panel">DOM ããã«</a> ã§ãªããžã§ã¯ãã®ããããã£ãã¡ãœããã調æ»ã§ããŸããFirefox éçºããŒã«ã§ãããªããžã§ã¯ãã調æ»ã§ããŸããFirebug ãšã®éãã¯ã<a href="/ja/docs/Tools/Web_Console/Rich_output#Examining_object_properties">ãŠã§ãã³ã³ãœãŒã«å
ã®ãµã€ãããã«ã«ããããã£ãã¡ãœããã衚瀺ãã</a> ããšã§ãã</p> + +<h3 id="Show_network_requests" name="Show_network_requests">ãããã¯ãŒã¯ãªã¯ãšã¹ãã衚瀺ãã</h3> + +<p>Firebug ã®ã³ã³ãœãŒã«ããã«ã§ã({{Glossary("XMLHttpRequest", "XMLHttpRequests")}} ã«ãã) {{Glossary("AJAX")}} ãªã¯ãšã¹ããèšé²ã§ããŸãããã®èšå®ã¯éçºããŒã«ã®ãŠã§ãã³ã³ãœãŒã«ã§ãã<em>ãããã¯ãŒã¯</em> > <em>XHR</em> ã§äœ¿çšã§ããŸããããã«ãŠã§ãã³ã³ãœãŒã«ã§ã¯ <em>ãããã¯ãŒã¯</em> > <em>ãã°</em> ã§ãã»ãã®ãããã¯ãŒã¯ãªã¯ãšã¹ãããã¹ãŠè¡šç€ºã§ããŸãã</p> + +<h3 id="View_JSON_and_XML_structures" name="View_JSON_and_XML_structures">JSON ã XML æ§é ã衚瀺ãã</h3> + +<p>JSON ã {{Glossary("AJAX")}} ãªã¯ãšã¹ãã® XML ã¬ã¹ãã³ã¹ã衚瀺ããããã«ãFirebug ã«ã¯ã³ã³ãœãŒã«ããã«å
ã§ãªã¯ãšã¹ããå±éããç¹å¥ãªã¿ãããããŸããéçºããŒã«ã®ãŠã§ãã³ã³ãœãŒã«ã¯ãã®ãããªæ§é ãã"å¿ç" ã¿ãã«çŽæ¥è¡šç€ºããŸãã</p> + +<h3 id="Multi-line_command_line" name="Multi-line_command_line">è€æ°è¡ã®ã³ãã³ãã©ã€ã³</h3> + +<p>Firebug ã®ã³ã³ãœãŒã«ã¯ <a href="https://getfirebug.com/wiki/index.php/Command_Editor">Command Editor</a> ãšåŒã°ãããè€æ°è¡ã®ã³ãã³ãã©ã€ã³ã§ããéçºããŒã«ã«ã¯ Command Editor ã®ãããªãµã€ãããã«ã¯ãããŸããã (ãã㯠{{bug(1133849)}} ã§èŠæãããŠããŸã)ã<a href="/ja/docs/Tools/Scratchpad">ã¹ã¯ã©ããããã</a> ãšåŒã°ããå¥ã®ããŒã«ããããŸãããã㯠<a href="/ja/docs/Tools/Settings#Default_Firefox_Developer_Tools">ããã«ãšããŠããŒã«ããã¯ã¹ã«è¿œå ãã</a> ããFirefox ã¡ãã¥ãŒ > <em>éçºããŒã«</em> > <em>ã¹ã¯ã©ããããã</em> ãŸã㯠<kbd>Shift</kbd> + <kbd>F4</kbd> ã§åå¥ã®ãŠã£ã³ããŠãšããŠéãããšãã§ããŸãããŸãéåžžã®ã³ãã³ãã©ã€ã³ãã<code>document.</code> ã®ãããªæªå®äºã®ã³ãã³ããèªèããå Žåã¯ã<kbd>Enter</kbd> ãæŒäžãããšè³¢ãæ¹è¡ãå
¥åããŸããããã«ã<kbd>Shift</kbd> + <kbd>Enter</kbd> ãæŒäžããã°æåã§æ¹è¡ãå
¥åã§ããŸãã</p> + +<h3 id="Response_preview" name="Response_preview">ã¬ã¹ãã³ã¹ã®ãã¬ãã¥ãŒ</h3> + +<p>Firebug ã§ã³ã³ãœãŒã«ã«èšé²ããããããã¯ãŒã¯ãªã¯ãšã¹ããå±éãããšã<em>ãã¬ãã¥ãŒ</em> ã¿ãããããŸãããŠã§ãã³ã³ãœãŒã«ã§ã¯ã<em>å¿ç</em> ã¿ãã§ãã¬ãã¥ãŒã衚瀺ããŸããçŸåšã¯ HTMLãXMLãSVG ã®ãã¬ãã¥ãŒæ©èœãæ¬ ããŠããŸããã{{bug(1247392)}} ããã³ {{bug(1262796)}} ã§èŠæãããŠããŸãããã ãããªã¯ãšã¹ãã® URL ãã¯ãªãã¯ãããš <a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</a> ã«åãæ¿ããããã¡ãã« <em>ãã¬ãã¥ãŒ</em> ã¿ãããããŸãã</p> + +<h2 id="Inspector" name="Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</h2> + +<p>Firebug ã«ã¯ <a href="https://getfirebug.com/wiki/index.php/HTML_Panel">HTML ããã«</a> ããããHTML/XML/SVG ãããããã«é¢ä¿ãã CSS ãç·šéã§ããŸããéçºããŒã«ã§ã¯ã<a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</a> ã§ãã®æ©èœãæäŸããŸãã</p> + +<h3 id="Edit_HTML" name="Edit_HTML">HTML ãç·šéãã</h3> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã§ã¯ Firebug ãšåæ§ã«ãã¿ã°ã®å±æ§ãã³ã³ãã³ããã€ã³ã©ã€ã³ã§ç·šéã§ããŸããããã«ãã¿ã°åãã€ã³ã©ã€ã³ã§ç·šéã§ããŸãã</p> + +<p>HTML ãçŽæ¥ç·šéããããšãã§ããŸããFirebug ã§ã¯ããŒããå³ã¯ãªãã¯ããŠãã³ã³ããã¹ãã¡ãã¥ãŒã® [<a href="https://getfirebug.com/wiki/index.php/HTML_Panel#Edit">HTML ãç·šé</a>] ãéžæããŸããéçºããŒã«ã®ã³ã³ããã¹ãã¡ãã¥ãŒã«ãããã®ã¡ãã¥ãŒé
ç®ããããŸããéçºããŒã«ã§ã¯ [<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Editing_HTML_2">HTML ãšããŠç·šé</a>] ãšããå称ã§ããå€æŽç®æã®ã©ã€ããã¬ãã¥ãŒæ©èœã ããçŸæç¹ã§æ¬ ããŠããã{{bug(1067318)}} ããã³ {{bug(815464)}} ã§æ±ã£ãŠããŸãã</p> + +<h3 id="Copy_HTML_and_related_information" name="Copy_HTML_and_related_information">HTML ãé¢é£æ
å ±ãã³ããŒãã</h3> + +<p>Firebug ã® HTML ããã«ã§ã¯èŠçŽ ã®ã³ã³ããã¹ãã¡ãã¥ãŒã§ãèŠçŽ ã® innerHTML ã outerHTMLãCSSãXPath ãã³ããŒã§ããŸããã€ã³ã¹ãã¯ã¿ãŒã¯ XPath ã®ã³ããŒãé€ããåãæ©èœãæäŸããŸããXPath ã®ã³ããŒã¯ {{bug(987877)}} ã§æ±ã£ãŠããŸãã</p> + +<h3 id="Edit_CSS" name="Edit_CSS">CSS ãç·šéãã</h3> + +<p>ã©ã¡ãã®ããŒã«ããããŒããã¥ãŒã§éžæããèŠçŽ ã«é¢ä¿ãã CSS ã«ãŒã«ããåæ§ã®æ¹æ³ã§é²èŠ§ããã³ç·šéã§ããŸããFirebug ã«ã¯ <a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel">ã¹ã¿ã€ã« ãµã€ãããã«</a>ãéçºããŒã«ã«ã¯ <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS">ã«ãŒã« ãµã€ãããã«</a> ããããŸãã</p> + +<p>Firebug ã§ã¯ãå³ã¯ãªãã¯ããŠã³ã³ããã¹ãã¡ãã¥ãŒã® [<em><a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel#Context_Menu">ã«ãŒã«ãè¿œå </a></em>] ãéžæãããšãæ°ããã«ãŒã«ãè¿œå ããŸããéçºããŒã«ã§ãæ°ããã«ãŒã«ãäœæããããã«ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Add_rules">ã³ã³ããã¹ãã¡ãã¥ãŒã® [<em>æ°ããã«ãŒã«ãè¿œå </em>] ãšããé
ç®ãšãã«ãŒã«ããã«ã®ããŒã«ããŒã® [+] ãã¿ã³</a> ããããŸãã</p> + +<p>èŠçŽ ã®ã¹ã¿ã€ã«ãç·šéãããããªãã¡èŠçŽ ã® {{htmlattrxref("style")}} å±æ§ã® CSS ããããã£ãç·šéããããã«ãFirebug ã§ã¯ã¹ã¿ã€ã«ããã«ãå³ã¯ãªãã¯ããŠãã³ã³ããã¹ãã¡ãã¥ãŒã® [<a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel#Context_Menu">èŠçŽ ã®ã¹ã¿ã€ã«ãç·šé</a>] ãéžæããªããã°ãªããŸãããéçºããŒã«ã§ã¯ããã®ç®ç㧠<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#element_rule">èŠçŽ {} ã«ãŒã«</a> ããããããã 1 åã¯ãªãã¯ããã ãã§ããããã£ãç·šéã§ããŸãã</p> + +<h3 id="Auto-completion_of_CSS" name="Auto-completion_of_CSS">CSS ã®ãªãŒãã³ã³ããªãŒã</h3> + +<p>Firebug ãšåæ§ã«ãã«ãŒã«ãã¥ãŒã§ CSS ããããã£ã®å称ãå€ã®ãªãŒãã³ã³ããªãŒããæäŸããŸããäžéšã®ããããã£å€ã¯ãŸã ãªãŒãã³ã³ããªãŒããã§ããã{{bug(1337918)}} ã§æ±ã£ãŠããŸãã</p> + +<h3 id="Copy_paste_CSS" name="Copy_paste_CSS">CSS ã®ã³ããŒãšè²Œãä»ã</h3> + +<p>Firebug ã® ã¹ã¿ã€ã« ãµã€ãããã«ãéçºããŒã«ã® ã«ãŒã« ãµã€ãããã«ãã³ã³ããã¹ãã¡ãã¥ãŒã«ãCSS ã«ãŒã«ãã¹ã¿ã€ã«å®£èšãã³ããŒããããã®ã¡ãã¥ãŒé
ç®ããããŸããããã«éçºããŒã«ã«ã¯ãã«ãŒã«ã®ã»ã¬ã¯ã¿ãŒãã³ããŒããã¡ãã¥ãŒé
ç®ããã³ã¡ã³ãã¢ãŠãã«ããç¡å¹ãªããããã£å®£èšãã³ããŒããæ©èœããããŸããã¹ã¿ã€ã«å®£èšå
šäœãã³ããŒããé
ç®ãæ¬ ããŠããŸãããããã«å
ã§ããããéžæã㊠<kbd>Ctrl</kbd>+<kbd>C</kbd> ãŸãã¯ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠã³ããŒããããšã«ããå®çŸã§ããŸãã</p> + +<p>éçºããŒã«ã® ã«ãŒã« ãµã€ãããã«ã¯ãCSS ã貌ãä»ãããšãã®åäœãããã¹ããŒãã§ããã³ã¡ã³ãã¢ãŠããããããããã£å®£èšãèªåçã«ç¡å¹åããŠãã¹ã¿ã€ã«å®£èšå
šäœãæ¢åã®ã«ãŒã«ã«è²Œãä»ãã§ããŸãã</p> + +<h3 id="Toggle_pseudo-classes" name="Toggle_pseudo-classes">ç䌌ã¯ã©ã¹ãåãæ¿ãã</h3> + +<p>Firebug ã® <a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel#Options_Menu">ã¹ã¿ã€ã« ãµã€ãããã«ã®ãªãã·ã§ã³ã¡ãã¥ãŒ</a> ã§ãèŠçŽ ã® {{cssxref(":hover")}}ã{{cssxref(":active")}}ã{{cssxref(":focus")}} ç䌌ã¯ã©ã¹ãåãæ¿ããããšãã§ããŸããéçºããŒã«ã§ã¯ãåãããšãè¡ãæ¹æ³ã 2 ã€ãããŸããã²ãšã€ã¯ <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Setting_hover_active_focus">ã«ãŒã« ãµã€ãããã«å
ã®ç䌌ã¯ã©ã¹ããã«</a> ã§åãæ¿ããæ¹æ³ã§ããããã²ãšã€ã¯ããŒããã¥ãŒã§èŠçŽ ãå³ã¯ãªãã¯ããŠã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Context_menu_reference">ã³ã³ããã¹ãã¡ãã¥ãŒ</a> ã§ç䌌ã¯ã©ã¹ãåãæ¿ããæ¹æ³ã§ãã</p> + +<h3 id="Examine_CSS_shorthand_properties" name="Examine_CSS_shorthand_properties">CSS ã·ã§ãŒããã³ãããããã£ã調æ»ãã</h3> + +<p>ã¹ã¿ã€ã« ãµã€ãããã«ã§ [<em><a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel#Options_Menu">ç°¡ç¥ããããã£ãå±é</a></em>] ãèšå®ãããšãCSS <a href="/ja/docs/Web/CSS/Shorthand_properties">ã·ã§ãŒããã³ãããããã£</a> ããé¢ä¿ããããã³ã°ãã³ãããããã£ã«å±éã§ããŸããéçºããŒã«ã®ã«ãŒã«ããã«ã¯ããã¹ããŒãã§ãããããããã£ã®ãã°ã«ããäžè§å°ãã¯ãªãã¯ãããšãåã
ã®ã·ã§ãŒããã³ãããããã£ãå±éã§ããŸãã</p> + +<h3 id="Only_show_applied_styles" name="Only_show_applied_styles">é©çšãããã¹ã¿ã€ã«ã®ã¿è¡šç€ºãã</h3> + +<p><a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel#Options_Menu">Firebug ã®ã¹ã¿ã€ã« ãµã€ãããã«</a> ã«ãéžæããèŠçŽ ã«é©çšããã CSS ã«ãŒã«ã®ããããã£ã®ã¿è¡šç€ºããŠãäžæžããããã¹ã¿ã€ã«ã¯ãã¹ãŠé ãèšå®ããããŸããéçºããŒã«ã® <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS">ã«ãŒã« ãµã€ãããã«</a> ã«ãã®ãããªæ©èœã¯ãããŸãããã{{bug(1335327)}} ã§èŠæãããŠããŸãã</p> + +<h3 id="Inspect_box_model" name="Inspect_box_model">ããã¯ã¹ã¢ãã«ã調æ»ãã</h3> + +<p>Firebug ã§ã¯ã<a href="https://getfirebug.com/wiki/index.php/Layout_Side_Panel">ã¬ã€ã¢ãŠã ãµã€ãããã«</a> 㧠<a href="/ja/docs/Learn/CSS/Introduction_to_CSS/Box_model">ããã¯ã¹ã¢ãã«</a> ã調æ»ã§ããŸããéçºããŒã«ã§ã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model">ããã¯ã¹ã¢ãã«ã èšç®æžã¿ ãµã€ãããã«ã®äžéšã«ãªã£ãŠããŸã</a>ãã©ã¡ãã®ããŒã«ãããã¯ã¹ã¢ãã«ãã¥ãŒã«ããŠã¹ãã€ã³ã¿ãèŒãããšãããŒãžäžã§ããã¯ã¹ã¢ãã«ã®ããŸããŸãªéšåã匷調衚瀺ããŸãããŸããã©ã¡ãã®ããŒã«ãããã¯ã¹ã¢ãã«ãã¯ãªãã¯ãããšãããŸããŸãªå€ãã€ã³ã©ã€ã³ã§ç·šéã§ããŸãã</p> + +<h3 id="Inspect_computed_styles" name="Inspect_computed_styles">èšç®æžã¿ã¹ã¿ã€ã«ã調æ»ãã</h3> + +<p>Firebug ã® <a href="https://getfirebug.com/wiki/index.php/Computed_Side_Panel">çŽ¯ç© ãµã€ãããã«</a> ãšåæ§ã«ãéçºããŒã«ã® <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_computed_CSS">èšç®æžã¿ ãµã€ãããã«</a> 㧠CSS ããããã£ã®èšç®æžã¿ã®å€ã衚瀺ããŸããäž¡è
ã®éãã¯ãéçºããŒã«ã¯ããããã£ãåžžã«ã¢ã«ãã¡ãããé ã«äžŠã¹ãŠããã°ã«ãŒãåããªãããš ({{bug(977128)}} ãã芧ãã ãã) ãšãMozilla ç¹æã®ã¹ã¿ã€ã«ãé ããªãã·ã§ã³ããªãããšã§ãããã®ãããéçºããŒã«ã«ã¯ããããã£ããã£ã«ã¿ãªã³ã°ããããã®å
¥åãã£ãŒã«ãããããŸãã</p> + +<h3 id="Inspect_events" name="Inspect_events">ã€ãã³ãã調æ»ãã</h3> + +<p>Firebug ã§ã¯ãèŠçŽ ã«å²ãåœãŠãããã€ãã³ãã <a href="https://getfirebug.com/wiki/index.php/Events_Side_Panel">ã€ãã³ã ãµã€ãããã«</a> ã«è¡šç€ºããŸããéçºããŒã«ã§ã¯ãããŒããã¥ãŒã§èŠçŽ ã®ãã°ã«ããå°ã㪠'ev' ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã€ãã³ãã衚瀺ããŸããã©ã¡ãã®ããŒã«ããã©ãããããã€ãã³ããªã¹ã㌠(äŸãã°ã jQuery ã®é¢æ°ã§ã©ãããããªã¹ããŒ) ã衚瀺ã§ããŸããéçºããŒã«ã® UI ãæ¹åãããããFirebug ã®ãããªã€ãã³ããµã€ãããã«ãè¿œå ããèŠæãåºãŠããŸã ({{bug(1226640)}} ãã芧ãã ãã)ã</p> + +<h3 id="Stop_script_execution_on_DOM_mutation" name="Stop_script_execution_on_DOM_mutation">DOM ãå€åãããšãã«ã¹ã¯ãªããã®å®è¡ãæ¢ãã</h3> + +<p>Firebug 㯠DOM ãå€åãããšããããªãã¡èŠçŽ ãå€æŽããããšãã«ãã¬ãŒã¯ããŠãJavaScript ãã¡ã€ã«ã®é¢é£ããè¡ã§ã¹ã¯ãªããã®å®è¡ãæ¢ããŸããããã¯ãDOM ã®å€åãèµ·ãããå Žæã§ãããã®æ©èœã¯ <a href="https://getfirebug.com/wiki/index.php/HTML_Panel#Break_On_Mutate"><em>å€åããããã¬ãŒã¯</em> ãã¿ã³</a> ã§ã°ããŒãã«ã«æå¹åãããã<a href="https://getfirebug.com/wiki/index.php/HTML_Panel#Context_Menu">èŠçŽ ããš</a> ããã³å±æ§å€åã»å
容ã®å€åã»èŠçŽ åé€ãšãã£ãçš®é¡ããšã«æå¹åã§ããŸããæ®å¿µãªãããéçºããŒã«ã«ã¯ãŸã ãã®æ©èœããããŸãã ({{bug(1004678)}} ãã芧ãã ãã)ãã¹ã¯ãªããã®å®è¡ãæ¢ããã«ã¯ãå€åãããŠããè¡ã« <a href="/ja/docs/Tools/Debugger">ãããã¬ãŒ ããã«</a> ã§ãã¬ãŒã¯ãã€ã³ããèšå®ããªããã°ãªããŸããã</p> + +<h3 id="Search_for_elements_via_CSS_selectors_or_XPaths" name="Search_for_elements_via_CSS_selectors_or_XPaths">CSS ã»ã¬ã¯ã¿ãŒã XPath ã§èŠçŽ ãæ€çŽ¢ãã</h3> + +<p>Firebug ã¯ã<a href="https://getfirebug.com/wiki/index.php/HTML_Panel#Search">HTML ããã«ã§ CSS ã»ã¬ã¯ã¿ãŒã XPath ã§èŠçŽ ãæ€çŽ¢ã§ããŸã</a>ãéçºããŒã«ã® ã€ã³ã¹ãã¯ã¿ãŒ ããã«ãã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Searching">CSS ã»ã¬ã¯ã¿ãŒã§æ€çŽ¢ã§ããŸã</a>ããŸããããããã ID ãã¯ã©ã¹ã®ãªã¹ãã衚瀺ããŸããããããXPath ã«ããæ€çŽ¢ã¯æªãµããŒãã§ã ({{bug(963933)}} ãã芧ãã ãã)ã</p> + +<h2 id="Debugger" name="Debugger">ãããã¬ãŒ</h2> + +<p>Firebug ã® <a href="https://getfirebug.com/wiki/index.php/Script_Panel">ã¹ã¯ãªãã ããã«</a> ã«çžåœãããã®ããéçºããŒã«ã® <a href="/ja/docs/Tools/Debugger">ãããã¬ãŒ ããã«</a> ã§ããã©ã¡ããããŠã§ããµã€ãã§å®è¡ãã JavaScript ã³ãŒãããããã°ã§ããŸãã</p> + +<h3 id="Switch_between_sources" name="Switch_between_sources">ãœãŒã¹ãåãæ¿ãã</h3> + +<p>Firebug ã«ã¯ããŠã§ããµã€ãã«é¢ä¿ãããã¹ãŠã® JavaScript ãœãŒã¹ã衚瀺ãã <a href="https://getfirebug.com/wiki/index.php/Script_Panel#Script_Location_Menu">ã¹ã¯ãªãããã±ãŒã·ã§ã³ã¡ãã¥ãŒ</a> ããããŸãããããã®ãœãŒã¹ã¯éçãªãã® (ããªãã¡ããã¡ã€ã«) ããåçã«çæããããã® (ããªãã¡ãã€ãã³ããã³ãã©ã§å®è¡ããã¹ã¯ãªããã<code>eval()</code>ã<code>new Function()</code> ãªã©) ãããåŸãŸããéçºããŒã«ã® ãããã¬ãŒ ããã«ã§ã¯ãã¹ã¯ãªãããå·ŠåŽã® <a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ ãµã€ãããã«</a> ã«äžèŠ§è¡šç€ºããŸããåçã«çæãããã¹ã¯ãªããã¯ã<a href="/ja/docs/Tools/Debugger/How_to/Debug_eval_sources"><code>//# sourceURL</code> ã³ã¡ã³ãã§ååãä»ãã</a> å Žåã«éã衚瀺ããŸãã</p> + +<h3 id="Managing_breakpoints" name="Managing_breakpoints">ãã¬ãŒã¯ãã€ã³ãã管çãã</h3> + +<p>Firebug ã§ã¯ããŸããŸãªçš®é¡ã®ãã¬ãŒã¯ãã€ã³ããèšçœ®ã§ãããã¹ãŠã®ãã¬ãŒã¯ãã€ã³ãã <a href="https://getfirebug.com/wiki/index.php/Breakpoints_Side_Panel">ãã¬ãŒã¯ãã€ã³ã ãµã€ãããã«</a> ã«è¡šç€ºããŸããéçºããŒã«ã§ã¯ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãœãŒã¹ ãµã€ãããã«</a> ã§ããããã®ã¹ã¯ãªãããœãŒã¹ã®äžã«ãã¬ãŒã¯ãã€ã³ãã衚瀺ããŸãããã®ããã«ã§ãã²ãšã€ãããã¯ãã¹ãŠã®ãã¬ãŒã¯ãã€ã³ããæå¹åãŸãã¯ç¡å¹åãããããã³ãã¬ãŒã¯ãã€ã³ããåé€ããããšãã§ããŸããçŸåšã¯ãã¹ã¯ãªããã®ãã¬ãŒã¯ãã€ã³ãã®ã¿èšçœ®ã§ããŸããXHRãDOMãCookieããšã©ãŒã®ãã¬ãŒã¯ãã€ã³ãã¯æªãµããŒãã§ã ({{bug(821610)}}ã{{bug(1004678)}}ã{{bug(895893)}}ã{{bug(1165010)}} ãã芧ãã ãã)ãåäžã® JavaScript ãšã©ãŒã«å¯Ÿãããã¬ãŒã¯ãã€ã³ãã¯ãããŸãããã<a href="/ja/docs/Tools/Debugger/Settings">ãããã¬ãŒ ããã«ã®ãªãã·ã§ã³</a> ã«ã<em>äŸå€çºçã§åæ¢</em> ããèšå®ããããŸãã</p> + +<h3 id="Step_through_code" name="Step_through_code">ã³ãŒãã§ã¹ãããå®è¡ãè¡ã</h3> + +<p>ã¹ã¯ãªããã®å®è¡ãåæ¢ãããšãã³ã³ãã£ãã¥ãŒ (<kbd>F8</kbd>)ãã¹ããããªãŒã㌠(<kbd>F10</kbd>)ãã¹ãããã€ã³ (<kbd>F11</kbd>)ãã¹ãããã¢ãŠã (<kbd>Shift</kbd>+<kbd>F11</kbd>) ã䜿çšããŠã³ãŒããã¹ãããå®è¡ã§ããŸãããããã¯ãã©ã¡ãã®ããŒã«ã§ãåäœããŸãã</p> + +<h3 id="Examine_call_stack" name="Examine_call_stack">ã³ãŒã«ã¹ã¿ãã¯ã調æ»ãã</h3> + +<p>ã¹ã¯ãªããã®å®è¡ãåæ¢ãããšããFirebug 㯠<a href="https://getfirebug.com/wiki/index.php/Stack_Side_Panel">ã¹ã¿ã㯠ãµã€ãããã«</a> ã«ãé¢æ°ã®ã³ãŒã«ã¹ã¿ãã¯ã衚瀺ããŸããããã§ã¯ãåŒã³åºãæã®åŒæ°ãšãšãã«é¢æ°ãäžèŠ§è¡šç€ºããŸããéçºããŒã«ã§ã¯ã<a href="/ja/docs/Tools/Debugger/UI_Tour#Call_stack_pane">ã³ãŒã«ã¹ã¿ã㯠ãµã€ãããã«</a> ã«é¢æ°ã®ã³ãŒã«ã¹ã¿ãã¯ã衚瀺ããŸããéçºããŒã«ã§åŒæ°ã確èªããã«ã¯ã<a href="/ja/docs/Tools/Debugger/How_to/Examine,_modify,_and_watch_variables#Examine_variables">å€æ° ãµã€ãããã«</a> ãèŠãªããã°ãªããŸããã</p> + +<h3 id="Examine_variables" name="Examine_variables">å€æ°ã調æ»ãã</h3> + +<p>Firebug 㯠<a href="https://getfirebug.com/wiki/index.php/Watch_Side_Panel">ãŠã©ãã ãµã€ãããã«</a> ã«ãæ¢å®ã§ {{domxref("window")}} ãªããžã§ã¯ã (ã°ããŒãã«ã¹ã³ãŒã) ã衚瀺ããŸããã¹ã¯ãªããã®å®è¡ãåæ¢ãããšãçŸåšã®ã³ãŒã«ã¹ã¿ãã¯ãã¬ãŒã ã§äœ¿çšã§ããããŸããŸãªå€æ°ã¹ã³ãŒãã衚瀺ããŸããããã«ããŠã©ããåŒãè¿œå ããã³æäœã§ããŸããéçºããŒã«ã«ã¯ <a href="/ja/docs/Tools/Debugger/How_to/Examine,_modify,_and_watch_variables">å€æ° ãµã€ãããã«</a> ããããåºæ¬çãªåãã¯åãã§ãã倧ããªéãã¯ãå€æ° ãµã€ãããã«ã¯ã¹ã¯ãªããã®å®è¡ãåæ¢ããŠããªããšãã«ç©ºã§ãããããªãã¡ <code>window</code> ãªããžã§ã¯ãã衚瀺ããªãããšã§ãããã ãã<a href="/ja/docs/Tools/DOM_Property_Viewer">DOM ããããã£ãã¥ãŒã¢</a> ãŸã㯠<a href="/ja/docs/Tools/Web_Console">ãŠã§ãã³ã³ãœãŒã«</a> ã䜿çšããŠãªããžã§ã¯ãã調æ»ã§ããŸãã</p> + +<h2 id="Style_Editor" name="Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</h2> + +<p>Firefox éçºããŒã«ã® <a href="/ja/docs/Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a> ã§ãFirebug ã® <a href="https://getfirebug.com/wiki/index.php/CSS_Panel">CSS ããã«</a> ãšåæ§ã«ãããŸããŸãª CSS ã¹ã¿ã€ã«ã·ãŒãã調æ»ããã³ç·šéã§ããŸããããã«ãæ°ããã¹ã¿ã€ã«ã·ãŒãã®äœæããæ¢åã®ã¹ã¿ã€ã«ã·ãŒããã€ã³ããŒãããŠããŒãžã«é©çšããããšãã§ããŸãããŸããåã
ã®ã¹ã¿ã€ã«ã·ãŒãã®æå¹ã»ç¡å¹ãåãæ¿ããããšãã§ããŸãã</p> + +<h3 id="Switch_between_sources_2" name="Switch_between_sources_2">ãœãŒã¹ãåãæ¿ãã</h3> + +<p>Firebug ã® CSS ããã«ã§ã¯ <a href="https://getfirebug.com/wiki/index.php/CSS_Panel#CSS_Location_Menu">CSS ãã±ãŒã·ã§ã³ã¡ãã¥ãŒ</a> ã䜿çšããŠãããŸããŸãª CSS ãœãŒã¹ãåãæ¿ããããšãã§ããŸããã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ã¯ <a href="/ja/docs/Tools/Style_Editor#The_style_sheet_pane">ãµã€ãããŒ</a> ã䜿çšããŸãã</p> + +<h3 id="Edit_a_style_sheet" name="Edit_a_style_sheet">ã¹ã¿ã€ã«ã·ãŒããç·šéãã</h3> + +<p>Firebug ã® <a href="https://getfirebug.com/wiki/index.php/CSS_Panel">CSS ããã«</a> ã¯ã3 ã€ã®ã¹ã¿ã€ã«ã·ãŒãç·šéæ¹æ³ãæäŸããŸããæ¢å®ã®æ¹æ³ã¯ã<a href="https://getfirebug.com/wiki/index.php/Style_Side_Panel">ã¹ã¿ã€ã« ãµã€ãããã«</a> ã§ã®ã€ã³ã©ã€ã³ç·šéã§ãããã®ã»ãã« <a href="https://getfirebug.com/wiki/index.php/CSS_Panel#Edit_Button">ãœãŒã¹ç·šéã¢ãŒããšã©ã€ãç·šéã¢ãŒã</a> ããããéžæããã¹ã¿ã€ã«ã·ãŒããããã¹ããšãã£ã¿ãŒã§ç·šéã§ããŸããéçºããŒã«ã®ã¹ã¿ã€ã«ãšãã£ã¿ãŒã®ç·šéæ¹æ³ã¯ãFirebug ã®ã©ã€ãç·šéã¢ãŒãã«çžåœãã 1 ã€ã ãã§ãã</p> + +<h3 id="Try_out_CSS_selectors" name="Try_out_CSS_selectors">CSS ã»ã¬ã¯ã¿ãŒãè©Šçšãã</h3> + +<p>Firebug ã®ã»ã¬ã¯ã¿ ãµã€ãããã«ã«ãCSS ã»ã¬ã¯ã¿ãæ€èšŒããæ©èœããããŸããããã¯ãå
¥åããã»ã¬ã¯ã¿ã«ããããããã¹ãŠã®èŠçŽ ã衚瀺ããŸããéçºããŒã«ã«ãã®æ©èœã¯ãããŸãããã{{bug(1323746)}} ã§èŠæãããŠããŸãã</p> + +<h3 id="Searching_within_the_style_sheets" name="Searching_within_the_style_sheets">ã¹ã¿ã€ã«ã·ãŒãå
ã§æ€çŽ¢ãã</h3> + +<p>Firebug ã§ã¯ãæ€çŽ¢ãã£ãŒã«ãã§ã¹ã¿ã€ã«ã·ãŒãå
ãæ€çŽ¢ã§ããŸããéçºããŒã«ã®ã¹ã¿ã€ã«ãšãã£ã¿ãŒã«ãã¹ã¿ã€ã«ã·ãŒãå
ãæ€çŽ¢ããæ©èœããããŸãããçŸåšã¯è€æ°ã®ã¹ã¿ã€ã«ã·ãŒããæ€çŽ¢ããæ©èœ ({{bug(889571)}} ãåç
§) ããã³æ£èŠè¡šçŸã§æ€çŽ¢ããæ©èœ ({{bug(1362030)}} ãåç
§) ããããŸããã</p> + +<h2 id="Performance_Tool" name="Performance_Tool">ããã©ãŒãã³ã¹ããŒã«</h2> + +<p>Firebug ã§ã¯ <a href="https://getfirebug.com/wiki/index.php/Console_Panel#Profile">ã³ã³ãœãŒã« ããã«ã® "ãããã¡ã€ã«" ãã¿ã³</a>ããŸã㯠<code><a href="https://getfirebug.com/wiki/index.php/Console.profile">console.profile()</a></code> ããã³ <code><a href="https://getfirebug.com/wiki/index.php/Console.profileEnd">console.profileEnd()</a></code> ã³ãã³ãã䜿çšããŠãJavaScript ã®ããã©ãŒãã³ã¹ããããã¡ã€ãªã³ã°ã§ããŸããéçºããŒã«ã§ã¯ãããã©ãŒãã³ã¹ã®ãããã¡ã€ãªã³ã°ã«ã€ããŠé«åºŠãªããŒã«ãæäŸããŸããFirebug ãšåæ§ã« <code><a href="/ja/docs/Web/API/Console/profile">console.profile()</a></code> ããã³ <code><a href="/ja/docs/Web/API/Console/profileEnd">console.profileEnd()</a></code> ã䜿çšãããã<a href="/ja/docs/Tools/Performance">ããã©ãŒãã³ã¹ããŒã«</a> ã® "ããã©ãŒãã³ã¹èšé²ã®ç¶æ
ãåãæ¿ããŸã" ãã¿ã³ã䜿çšããŠãããã¡ã€ã«ãäœæã§ããŸãã<a href="/ja/docs/Tools/Performance/Call_Tree">ã³ãŒã«ããªãŒ</a> ã®åºåã Firebug ã®åºåã«ãã£ãšã䌌ãŠããŸãããããã©ãŒãã³ã¹ããã«ã§ã¯åãªã JavaScript ã®ããã©ãŒãã³ã¹ã ãã§ãªããããå€ãã®æ
å ±ãæäŸããŸããäŸãã°ãHTML ã®ããŒã¹ãã¬ã€ã¢ãŠãã«é¢ããæ
å ±ãæäŸããŸãã</p> + +<p>ãã㯠Firebug ãšéçºããŒã«ã§åºåå
容ãå®å
šã«ç°ãªãããããã£ãšãéãã倧ããéšåã§ããFirebug 㯠JavaScript ã®ããã©ãŒãã³ã¹ã«æ³šç®ããŠããããããã¡ã€ãªã³ã°ã»ãã·ã§ã³å
ã® JavaScript é¢æ°åŒã³åºãã«é¢ãã詳现æ
å ±ãæäŸããŸããäžæ¹éçºããŒã«ã¯ JavaScript ã®é¢æ°åŒã³åºãã«éããããŠã§ãéã®ããã©ãŒãã³ã¹ã«é¢ããåºç¯ãªæ
å ±ãæäŸããŸãã</p> + +<h3 id="View_JavaScript_call_performance" name="View_JavaScript_call_performance">JavaScript ã®åŒã³åºãããã©ãŒãã³ã¹ã衚瀺ãã</h3> + +<p>Firebug ã® <a href="https://getfirebug.com/wiki/index.php/Profiler">ãããã¡ã€ã©ãŒã®åºå</a> ã«ãã£ãšãè¿ããã®ããããã©ãŒãã³ã¹ ããã«ã® <a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒãã¥ãŒ</a> ã§ãããã㯠Firebug ãšåæ§ã«ã<em>åèšæé</em> ã«ããããã®é¢æ°åŒã³åºãã®ç·å®è¡æéã<em>ãµã³ãã«</em> ã«åŒã³åºãåæ°ã<em>æé</em> ã«é¢æ°å
ã§è²»ãããæéããããŠç·å®è¡æéã«å¯Ÿããé¢æ°ã®å®è¡æéã®å²åã衚瀺ããŸãã</p> + +<div class="note"> +<p><strong>泚èš:</strong> éçºããŒã«ã®åŒã³åºãããªãŒãã¥ãŒã«è¡šç€ºããæéãšå²åã¯ãFirebug ã衚瀺ããå€ãšåçã§ã¯ãããŸãããããã¯ãJavaScript ã³ãŒãã®å®è¡ç¶æ
ããµã³ããªã³ã°ããããã«äœ¿çšãã API ãç°ãªãããã§ãã</p> +</div> + +<h3 id="Jump_to_function_declaration" name="Jump_to_function_declaration">é¢æ°ã®å®£èšã«ç§»åãã</h3> + +<p>Firebug ã®ãããã¡ã€ã©ãŒãšåæ§ã«ãéçºããŒã«ã®ããã©ãŒãã³ã¹ããŒã«ã® <a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒãã¥ãŒ</a> ãããåŒã³åºãã JavaScript é¢æ°ãå®çŸ©ãããŠããã³ãŒãã®è¡ã«ç§»åã§ããŸããFirebug ã§ã¯é¢æ°ãžã®ãªã³ã¯ã <a href="https://getfirebug.com/wiki/index.php/Console_Panel">ã³ã³ãœãŒã«ããã«</a> ã®åºåã®å³åŽã«ãããŸãããéçºããŒã«ã§ã¯åŒã³åºãããªãŒãã¥ãŒã®å³åŽã«ãªã³ã¯ããããŸãã</p> + +<h2 id="Network_Monitor" name="Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</h2> + +<p>ãããã¯ãŒã¯ãªã¯ãšã¹ããç£èŠããããã«ãFirebug ã«ã¯ <a href="https://getfirebug.com/wiki/index.php/Net_Panel">ããã ããã«</a> ããããŸããFirefox éçºããŒã«ã§ã¯ <a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</a> ã䜿çšããŠããããã¯ãŒã¯éä¿¡ã調æ»ã§ããŸããã©ã¡ãã®ããŒã«ãããããã¯ãŒã¯ãªã¯ãšã¹ãã®èŠæ±ãå¿çãè¡šãã¿ã€ã ã©ã€ã³ãªã©ããã䌌ãæ
å ±ãæäŸããŸãã</p> + +<h3 id="Inspect_request_information" name="Inspect_request_information">ãªã¯ãšã¹ãã®æ
å ±ã調æ»ãã</h3> + +<p>Firebug ã Firefox éçºããŒã«ã®ãããã¯ãŒã¯ã¢ãã¿ãŒãããªã¯ãšã¹ããã¯ãªãã¯ãããšããªã¯ãšã¹ãã«é¢ããæ
å ±ã調æ»ã§ããŸããå¯äžã®éãã¯ãFirebug ã¯ãªã¯ãšã¹ãã®äžã«æ
å ±ã衚瀺ããŸããããããã¯ãŒã¯ã¢ãã¿ãŒã¯ãµã€ãããã«ã«æ
å ±ã衚瀺ããããšã§ãã</p> + +<p>ã©ã¡ãã®ããŒã«ããéžæãããªã¯ãšã¹ãã®ããŸããŸãªæ
å ±ã衚瀺ããã¿ãããããŸãã<em>ããããŒ</em>ã<em>ãã©ã¡ãŒã¿ãŒ</em>ã<em>å¿ç</em>ã<em>Cookie</em> ã®ããã«ããããŸããã¬ã¹ãã³ã¹ã®ãã¬ãã¥ãŒã¯ã<em>HTML</em> ã®ããã«å
·äœçãªå称ã®ããã«ã§è¡šç€ºããŸãããããã¯ãŒã¯ã¢ãã¿ãŒã§ã¯ããã¬ãã¥ãŒçšã« <em>ãã¬ãã¥ãŒ</em> ããã«ããããŸãããã£ãã·ã¥æžã¿ããŒã¿ã®æ
å ±ãæäŸããæ©èœã¯æªå®è£
ã§ã ({{bug(859051)}})ãäžæ¹ãFirebug ã®æ
å ±ã«å ã㊠<em>ã»ãã¥ãªãã£</em> ã®æ
å ±ã衚瀺ããŸãããŸãããããã¯ãŒã¯ã®ã¿ã€ãã³ã°ã«é¢ãã詳现æ
å ±ãæäŸãã <em>ã¿ã€ãã³ã°</em> ã¿ãããããŸãã</p> + +<h3 id="View_request_timings" name="View_request_timings">ãªã¯ãšã¹ãã®ã¿ã€ãã³ã°ã衚瀺ãã</h3> + +<p>Firebug ã§ã¯ <a href="https://getfirebug.com/wiki/index.php/Net_Panel#Timeline">ãããããã«ã®ã¿ã€ã ã©ã€ã³å</a> ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšããªã¯ãšã¹ãã«é¢ãããããã¯ãŒã¯ã¿ã€ãã³ã°ã®è©³çŽ°æ
å ±ã衚瀺ããŸãããããã¯ãŒã¯ã¢ãã¿ãŒã¯ãã®æ
å ±ãããªã¯ãšã¹ããéžæãããšãã« <a href="/ja/docs/Tools/Network_Monitor#Timings">ã¿ã€ã ã©ã€ã³ ãµã€ãããã«</a> ã§è¡šç€ºããŸãã</p> + +<h3 id="View_remote_address" name="View_remote_address">ãªã¢ãŒãã¢ãã¬ã¹ã衚瀺ãã</h3> + +<p>Firebug ã§ã¯ããªã¯ãšã¹ãã®ãªã¢ãŒãã¢ãã¬ã¹ã ãªã¢ãŒã IP åã«è¡šç€ºããŸãããããã¯ãŒã¯ã¢ãã¿ãŒã§ã¯ããªã¯ãšã¹ããéžæãããšãã« <em>ããããŒ</em> ã¿ãã® <em>ãªã¢ãŒãã¢ãã¬ã¹</em> ã«è¡šç€ºããŸãã</p> + +<h3 id="Search_within_requests" name="Search_within_requests">ãªã¯ãšã¹ããæ€çŽ¢ãã</h3> + +<p>Firebug ã®æ€çŽ¢ãã£ãŒã«ãã§ããªã¯ãšã¹ããæ€çŽ¢ã§ããŸããFirefox ã®éçºããŒã«ã®æ€çŽ¢ãã£ãŒã«ãã¯ãå
¥åããæååã§ãªã¯ãšã¹ãããã£ã«ã¿ãªã³ã°ããŸãã</p> + +<p>Firebug ã§ã¯ <a href="https://getfirebug.com/wiki/index.php/Search_Field#Options">æ€çŽ¢ãã£ãŒã«ãã®ãªãã·ã§ã³</a> 㧠<em>ã¬ã¹ãã³ã¹æ¬æ</em> ã«ãã§ãã¯ãå
¥ãããšããããã¯ãŒã¯ãªã¯ãšã¹ãã®ã¬ã¹ãã³ã¹ããã£ãæ€çŽ¢ã§ããŸãããããã¯ãŒã¯ã¢ãã¿ãŒã§ã¯ãã®æ©èœãæªæäŸã§ããã{{bug(1334408)}} ã§èŠæãããŠããŸããã¬ã¹ãã³ã¹ããã£ã¯ãŸã æ€çŽ¢ã§ããŸãããããããã¯ãŒã¯ã¢ãã¿ãŒã§ã¯ <a href="/ja/docs/Tools/Network_Monitor#Filtering_by_properties">ããŸããŸãªãªã¯ãšã¹ãå±æ§ã§ãã£ã«ã¿ãªã³ã°ãã</a> ããšãã§ããŸãã</p> + +<h2 id="Storage_Inspector" name="Storage_Inspector">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ</h2> + +<p>Firebug ã® <a href="https://getfirebug.com/wiki/index.php/Cookies_Panel">Cookie ããã«</a> ã¯ããŒãžãäœæãã Cookie ã«é¢ããæ
å ±ã衚瀺ããŠãããCookie ãä¿åããŠããæ
å ±ãæäœã§ããŸããéçºããŒã«ã§ã¯ã<a href="/ja/docs/Tools/Storage_Inspector">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ</a> ã«ãã®æ©èœããããŸããFirebug ãšæ¯èŒãããšãã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã¯ Cookie ã ãã§ãªãããŒã«ã«ã¹ãã¬ãŒãžãã»ãã·ã§ã³ã¹ãã¬ãŒãžããã£ãã·ã¥ã<a href="/ja/docs/Web/API/IndexedDB_API">IndexedDB</a> ããŒã¿ããŒã¹ãšãã£ãã¹ãã¬ãŒãžã調æ»ã§ããŸãã</p> + +<h3 id="Inspect_cookies" name="Inspect_cookies">Cookie ã調æ»ãã</h3> + +<p>Firebug ã¯ããŠã§ããµã€ãã«é¢ä¿ãããã¹ãŠã® Cookie ã <a href="https://getfirebug.com/wiki/index.php/Cookies_Panel">Cookie ããã«</a> ã«è¡šç€ºããŸããéçºããŒã«ã§ã¯ Cookie ãã<a href="/ja/docs/Tools/Storage_Inspector">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ</a> ã® Cookie ã»ã¯ã·ã§ã³ã«ããã¡ã€ã³ããšã«ã°ã«ãŒãåããŠè¡šç€ºããŸããã©ã¡ãã Cookie ããšã«ååãå€ããã¡ã€ã³ããã¹ãæå¹æéãCookie ã HttpOnly ã§ããããšãã£ããã»ãšãã©åãæ
å ±ã衚瀺ããŸãã</p> + +<p>éçºããŒã«ã¯ Cookie ã Secure ã§ããããããã©ã«ãã§è¡šç€ºããŸããããè¡šã®èŠåºããå³ã¯ãªãã¯ããŠã³ã³ããã¹ãã¡ãã¥ãŒã§ <em>Secure</em> ã«ãã§ãã¯ãå
¥ãããšæå¹åã§ããŸããããã«éçºããŒã«ã¯ãCookie ã®äœææ¥æãæçµã¢ã¯ã»ã¹æ¥æãHostOnly ã§ãããã®æ
å ±ã衚瀺ã§ããŸãã</p> + +<h3 id="Edit_cookies" name="Edit_cookies">Cookie ãç·šéãã</h3> + +<p>Firebug 㧠Cookie ãç·šéããã«ã¯ãCookie ãå³ã¯ãªãã¯ããŠã³ã³ããã¹ãã¡ãã¥ãŒã§ <em>ç·šé</em> ãéžæããªããã°ãªããŸããããã€ã¢ãã°ããã¯ã¹ããããã¢ããããŸãã®ã§ãCookie ãç·šéããŠä¿åããŸããã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ã¯ãç·šéãããããŒã¿ãããã«ã¯ãªãã¯ããã ãã§ããã€ã³ã©ã€ã³ãšãã£ã¿ãŒã§ãå€ãç·šéã§ããŸãã</p> + +<h3 id="Delete_cookies" name="Delete_cookies">Cookie ãåé€ãã</h3> + +<p>Firebug ã® Cookie ããã«ã§ã¯ãã¡ãã¥ãŒã® <em><a href="https://getfirebug.com/wiki/index.php/Cookies_Panel#Cookies">Cookie</a></em> > <em>Cookie ãåé€</em> ãŸã㯠<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd> ã§ããŠã§ããµã€ãã®ãã¹ãŠã® Cookie ãåé€ã§ããŸãããŸãã<em>Cookie</em> > <em>ã»ãã·ã§ã³ Cookie ãåé€</em> ã§ã»ãã·ã§ã³ Cookie ã®ã¿åé€ãCookie ãå³ã¯ãªãã¯ã㊠<em>åé€</em> ãéžæãããšã²ãšã€ã® Cookie ãåé€ã§ããŸããéçºããŒã«ã®ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ã¯ãCookie ãå³ã¯ãªãã¯ã㊠<em>ãã¹ãŠåé€</em> ãéžæãããšãã¹ãŠã® Cookie ãåé€ãããããã® <em>"<Cookie å>" ãåé€</em> ãéžæãããšã²ãšã€ã® Cookie ãåé€ã§ããŸããããã«ãã³ã³ããã¹ãã¡ãã¥ãŒã® <em>"<ãã¡ã€ã³å>" ã®ãã¹ãŠã®ã¢ã€ãã ãåé€</em> ã§ãç¹å®ã®ãã¡ã€ã³ã®ãã¹ãŠã® Cookie ãåé€ã§ããŸããçŸåšãã»ãã·ã§ã³ Cookie ã®ã¿åé€ããããšã¯ã§ããŸãã ({{bug(1336934)}})ã</p> + +<h2 id="Developer_Toolbar" name="Developer_Toolbar">éçºããŒã«ããŒ</h2> + +<h3 id="Display_of_error_count" name="Display_of_error_count">ãšã©ãŒæ°ã衚瀺ãã</h3> + +<p>ããŒãžã§ JavaScript ãšã©ãŒããããšããFirebug ã¯ãã®æ°ã <a href="https://getfirebug.com/wiki/index.php/Start_Button#Error_info">ã¹ã¿ãŒããã¿ã³ã«ãããžã§è¡šç€ºããŸã</a>ãéçºããŒã«ã§ã¯ã<a href="/ja/docs/Tools/GCLI">éçºããŒã«ããŒ</a> ã«ãšã©ãŒæ°ã衚瀺ããŸãã</p> + +<h3 id="Command_API" name="Command_API">ã³ãã³ã API</h3> + +<p>Firebug ã¯ããŸããŸãª <a href="https://getfirebug.com/wiki/index.php/Command_Line_API">ã³ãã³ã</a> ãæäŸããŠãããã³ãã³ãã©ã€ã³ã§å®è¡ã§ããŸããéçºããŒã«ããŒããéçºããŒã«ãå¶åŸ¡ããŠããŸããŸãªã¿ã¹ã¯ãå®è¡ããããã® <a href="/ja/docs/Tools/GCLI#Commands">å€çš®å€æ§ãªã³ãã³ããšãšãã« API</a> ãæäŸããŸãã</p> diff --git a/files/ja/tools/network_monitor/index.html b/files/ja/tools/network_monitor/index.html new file mode 100644 index 0000000000..6a2d2aea2a --- /dev/null +++ b/files/ja/tools/network_monitor/index.html @@ -0,0 +1,61 @@ +--- +title: ãããã¯ãŒã¯ã¢ãã¿ãŒ +slug: Tools/Network_Monitor +tags: + - Debugging + - Dev Tools + - Firefox + - Guide + - Networking + - Tools + - 'l10n:priority' +translation_of: Tools/Network_Monitor +--- +<div>{{ToolsSidebar}}</div> + +<p>ãããã¯ãŒã¯ã¢ãã¿ãŒã¯ã Firefox ãå®è¡ãããã¹ãŠã®ãããã¯ãŒã¯èŠæ± (ããšãã°ããŒãžã®èªã¿èŸŒã¿ã <a href="/ja/docs/Web/API/XMLHttpRequest">XMLHttpRequests</a> ã«ãã) ã«ã€ããŠãåèŠæ±ã§ã©ãã ãæéãããã£ãããèŠæ±ã®è©³çŽ°æ
å ±ã衚瀺ããŸãã</p> + +<h2 id="Opening_the_Network_Monitor" name="Opening_the_Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒãéã</h2> + +<p>ãããã¯ãŒã¯ã¢ãã¿ãŒãéãæ¹æ³ã¯ããã€ããããŸãã</p> + +<ul> + <li><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd> (Mac ã§ã¯ <kbd>Command</kbd> + <kbd>Option</kbd> + <kbd>E</kbd>) ãæŒäžããŸãã</li> + <li>[ãŠã§ãéçº] ã¡ãã¥ãŒ (OS X ã Linux ã§ã¯ã[ããŒã«] ã¡ãã¥ãŒã®ãµãã¡ãã¥ãŒã§ã) ã§ã[ãããã¯ãŒã¯] ãéžæããŸãã</li> + <li>ã¡ã€ã³ããŒã«ããŒãŸãã¯ãã³ããŒã¬ãŒã¡ãã¥ãŒ (<img alt="" src="https://mdn.mozillademos.org/files/12712/hamburger.png" style="height: 20px; width: 22px;">) ã®äžã«ããã¬ã³ãã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/12710/wrench-icon.png" style="height: 21px; width: 21px;">) ãã¯ãªãã¯ããŠã[ãããã¯ãŒã¯] ãéžæããŸãã</li> +</ul> + +<p>ãã©ãŠã¶ãŒãŠã£ã³ããŠã®äžéšã«ãããã¯ãŒã¯ã¢ãã¿ãŒãçŸããŸããèŠæ±ãèŠãããã«ãããŒãžãåèªã¿èŸŒã¿ããŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16245/network_monitor.png" style="border: 1px solid black; display: block; height: 541px; margin: 0px auto; width: 800px;"></p> + +<p>ããŒã«ããŒãéããŠãããšãã¯ããããã¯ãŒã¯ã¢ãã¿ãŒãéžæããŠããªããŠãåžžã«ãããã¯ãŒã¯èŠæ±ãèšé²ããŸããã€ãŸããäŸãã°ãŠã§ãã³ã³ãœãŒã«ãéããŠããŒãžããããã°ããåŸãããŒãžãåèªã¿èŸŒã¿ããããšãªããããã¯ãŒã¯ã¢ãã¿ãŒã«åãæ¿ããŠããããã¯ãŒã¯ã¢ã¯ãã£ããã£ã確èªã§ããŸãã</p> + +<h2 id="UI_overview" name="UI_overview">UI ã®æŠèŠ</h2> + +<p>UI 㯠4 ã€ã®äž»èŠãªéšåã«åããããŸã:</p> + +<ul> + <li>ã¡ã€ã³ç»é¢ã«ã¯<a href="/ja/docs/Tools/Network_Monitor#Toolbar">ããŒã«ããŒ</a>ã<a href="/ja/docs/Tools/Network_Monitor/request_list">ãããã¯ãŒã¯èŠæ±ã®ãªã¹ã</a>ã<a href="/ja/docs/Tools/Network_Monitor/request_details">ãããã¯ãŒã¯èŠæ±ã®è©³çŽ°ãã€ã³</a>ããããŸã:</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16246/Network_Monitor_Closeup.png" style="border: 1px solid black; display: block; height: 747px; margin: 0 auto; width: 800px;"></p> + +<ul> + <li>å¥ã®ç»é¢ã«<a href="/ja/docs/Tools/Network_Monitor/Performance_Analysis">ããã©ãŒãã³ã¹è§£æ</a>ããããŸã:</li> +</ul> + +<p><img alt="Performance analysis view" src="https://mdn.mozillademos.org/files/16276/network_performance.png" style="border: 1px solid black; display: block; height: 1176px; margin-left: auto; margin-right: auto; width: 1382px;" title=""></p> + +<h2 id="ãããã¯ãŒã¯ã¢ãã¿ã®æäœ">ãããã¯ãŒã¯ã¢ãã¿ã®æäœ</h2> + +<p>次ã®èšäºã§ã¯ããããã¯ãŒã¯ã¢ãã¿ã䜿çšããããŸããŸãªåŽé¢ã«ã€ããŠèª¬æããŸãã</p> + +<ul> + <li><a href="/ja/docs/Tools/Network_Monitor/toolbar">ããŒã«ããŒ</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor/request_list">ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ã</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor/request_details">ãããã¯ãŒã¯ãªã¯ãšã¹ãã®è©³çŽ°</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor/recording">ãããã¯ãŒã¯ãã©ãã£ãã¯ã®èšé²</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor/Performance_Analysis">ããã©ãŒãã³ã¹åæ</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor/Throttling">ã¹ããããªã³ã°</a></li> +</ul> diff --git a/files/ja/tools/network_monitor/performance_analysis/index.html b/files/ja/tools/network_monitor/performance_analysis/index.html new file mode 100644 index 0000000000..5532efabec --- /dev/null +++ b/files/ja/tools/network_monitor/performance_analysis/index.html @@ -0,0 +1,32 @@ +--- +title: ããã©ãŒãã³ã¹åæ +slug: Tools/Network_Monitor/Performance_Analysis +tags: + - '110n:priority' + - Dev Tools + - Firefox + - ã¬ã€ã + - ããŒã« + - ãããã° + - ãããã¯ãŒã¯ +translation_of: Tools/Network_Monitor/Performance_Analysis +--- +<p>{{ToolsSidebar}}</p> + +<p>ãããã¯ãŒã¯ã¢ãã¿ã«ã¯ããã©ãŒãã³ã¹åæããŒã«ãå«ãŸããŠããããã©ãŠã¶ãŒããµã€ãã®ããŸããŸãªéšåãããŠã³ããŒãããã®ã«å¿
èŠãªæéã衚瀺ã§ããŸãã</p> + +<h2 id="ããã©ãŒãã³ã¹åæããŒã«ã®äœ¿çš">ããã©ãŒãã³ã¹åæããŒã«ã®äœ¿çš</h2> + +<p>ããã©ãŒãã³ã¹åæããŒã«ãå®è¡ããã«ã¯<a href="/ja/docs/Tools/Network_Monitor#Toolbar">ããŒã«ããŒ</a>ã®ã¹ããããŠã©ããã¢ã€ã³ã³ãã¯ãªãã¯ããŸãã</p> + +<p>(ãŸãããããã¯ãŒã¯ã¢ãã¿ãéããã°ããã®ãšãã«ããŸã ãªã¯ãšã¹ãã®ãªã¹ãã衚瀺ãããŠããªãå Žåã¯ãã¡ã€ã³ãŠã£ã³ããŠã«ã¹ããããŠã©ããã¢ã€ã³ã³ã衚瀺ãããŸãã)</p> + +<p>ãã®åŸããããã¯ãŒã¯ã¢ãã¿ã¯ãµã€ãã2åèªã¿èŸŒã¿ãŸãã1åã¯ç©ºã®ãã©ãŠã¶ãã£ãã·ã¥ããã1åã¯ãã©ã€ã ä»ããã©ãŠã¶ãã£ãã·ã¥ã§ããããã¯ãŠãŒã¶ãŒãåããŠãµã€ãã蚪åãããã®åŸã®èšªåãã·ãã¥ã¬ãŒãããŸãã ããããã®å®è¡çµæã䞊ã¹ãŠè¡šç€ºãããããã©ãŠã¶ãŠã£ã³ããŠãçãå Žåã¯åçŽæ¹åã«è¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16277/network_performance.png" style="border: 1px solid black; display: block; height: 1176px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>åå®è¡çµæã¯è¡šãšåã°ã©ãã«ãŸãšããããŠããŸããããŒãã«ã¯ãªãœãŒã¹ãã¿ã€ãå¥ã«ã°ã«ãŒãåããåãªãœãŒã¹ã®åèšãµã€ãºãšãããã®ããŒãã«èŠããåèšæéã衚瀺ããŸããä»éããåã°ã©ãã¯ãåãªãœãŒã¹ã¿ã€ãã®çžå¯Ÿçãªãµã€ãºã瀺ããŠããŸãã</p> + +<p>ãããã¯ãŒã¯ã¢ãã¿ãŒã®ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ãã«æ»ãã«ã¯ãå·ŠåŽã®ãæ»ãããã¿ã³ãã¯ãªãã¯ããŸãã</p> + +<p>åã°ã©ãã®ã¹ã©ã€ã¹ãã¯ãªãã¯ãããšããã®å®è¡ã®ããã®ãããã¯ãŒã¯ã¢ãã¿ã衚瀺ããããã£ã«ã¿ãèªåçã«é©çšãããŠ<a href="/ja/docs/Tools/Network_Monitor#Filtering_by_content_type">ãã®ãªãœãŒã¹ã¿ã€ãã®ã¿</a>ã衚瀺ãããŸãã</p> diff --git a/files/ja/tools/network_monitor/recording/index.html b/files/ja/tools/network_monitor/recording/index.html new file mode 100644 index 0000000000..e6f7ad6677 --- /dev/null +++ b/files/ja/tools/network_monitor/recording/index.html @@ -0,0 +1,28 @@ +--- +title: ãããã¯ãŒã¯ã¢ãã¿ãŒã®èšé² +slug: Tools/Network_Monitor/recording +tags: + - '110n:priority' + - Dev Tools + - Firefox + - ã¬ã€ã + - ããŒã« + - ãããã° + - ãããã¯ãŒã¯ +translation_of: Tools/Network_Monitor/recording +--- +<p>{{ToolsSidebar}}</p> + +<p>äžæåæ¢ãã¿ã³ã䜿çšããŠãããã¯ãŒã¯ãã©ãã£ãã¯ã®ç£èŠãäžæåæ¢ããã³åéã§ããŸãã</p> + +<h2 id="ãããã¯ãŒã¯ãã©ãã£ãã¯ã®èšé²ãäžæåæ¢ããã³åéãã">ãããã¯ãŒã¯ãã©ãã£ãã¯ã®èšé²ãäžæåæ¢ããã³åéãã</h2> + +<p>ãããã¯ãŒã¯ã¢ãã¿ã«ã¯ãçŸåšã®ããŒãžã®ãããã¯ãŒã¯ãã©ãã£ãã¯ã®èšé²ãäžæåæ¢ããã³åéãããã¿ã³ããããŸããããã¯ãããšãã°ããããã°ç®çã§ããŒãžã®å®å®ãããã¥ãŒãååŸããããšããŠãããããªç¶æ³ã§äŸ¿å©ã§ãããéåžžã®ç¶æ³äžã§ã¯æ°žç¶çãªãããã¯ãŒã¯ãªã¯ãšã¹ãã«ãããã¥ãŒãå€åãç¶ããŸããäžæåæ¢ãã¿ã³ã䜿çšãããšç¹å®ã®ã¹ãããã·ã§ãããèŠãããšãã§ããŸãã</p> + +<p>ã¡ã€ã³ãããã¯ãŒã¯ã¢ãã¿ãŒããŒã«ããŒã®å·Šç«¯ã®æ¹ã«ãã¿ã³ãèŠã€ãããŸãããããã¯å
žåçãªããŒãºãã¿ã³ãã€ãŸã <img alt="" src="https://mdn.mozillademos.org/files/15625/pause-icon.png" style="height: 23px; width: 34px;"> ã®ããã«èŠããŸãã</p> + +<p>ããªãã¯ã³ã³ããã¹ãã§ãããããã§èŠãããšãã§ããŸãïŒ</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15624/play-pause-network-traffic.png" style="border-style: solid; border-width: 1px; display: block; height: 305px; margin: 0px auto; width: 930px;"></p> + +<p>æŒããã³ã«ããã¿ã³ãåçã¢ã€ã³ã³ã«å€ãããããäžåºŠæŒããšèšé²ãããããã¯ãŒã¯ãã©ãã£ãã¯ãåãæ¿ããããšãã§ããŸãã</p> diff --git a/files/ja/tools/network_monitor/request_details/index.html b/files/ja/tools/network_monitor/request_details/index.html new file mode 100644 index 0000000000..c8c41d4975 --- /dev/null +++ b/files/ja/tools/network_monitor/request_details/index.html @@ -0,0 +1,184 @@ +--- +title: ãããã¯ãŒã¯ãªã¯ãšã¹ãã®è©³çŽ° +slug: Tools/Network_Monitor/request_details +tags: + - '110n:priority' + - Dev Tools + - Firefox + - ã¬ã€ã + - ããŒã« + - ãããã° + - ãããã¯ãŒã¯ +translation_of: Tools/Network_Monitor/request_details +--- +<p>{{ToolsSidebar}}</p> + +<p>ãªã¯ãšã¹ãã®è©³çŽ°ãã€ã³ã¯ãªã¯ãšã¹ããªã¹ãã®ãããã¯ãŒã¯ãªã¯ãšã¹ããã¯ãªãã¯ãããšè¡šç€ºãããŸãããã®ãã€ã³ã«ã¯ããªã¯ãšã¹ãã«é¢ãããã詳现ãªæ
å ±ã衚瀺ãããŸãã</p> + +<h2 id="ãããã¯ãŒã¯ãªã¯ãšã¹ãã®è©³çŽ°">ãããã¯ãŒã¯ãªã¯ãšã¹ãã®è©³çŽ°</h2> + +<p>è¡ãã¯ãªãã¯ãããšãããã¯ãŒã¯ã¢ãã¿ãŒã®å³åŽã«æ°ãããã€ã³ã衚瀺ããããªã¯ãšã¹ãã«é¢ãããã詳现ãªæ
å ±ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16261/network_request_details.png" style="display: block; height: 741px; margin-left: auto; margin-right: auto; width: 930px;"></p> + +<p>ãã®ãã€ã³ã®äžéšã«ããã¿ãã䜿çšãããšã次ã®ããŒãžãåãæ¿ããããšãã§ããŸãã</p> + +<ul> + <li><strong>Headers</strong></li> + <li><strong>Cookies</strong></li> + <li><strong>Params</strong></li> + <li><strong>Response</strong></li> + <li><strong>Cache</strong></li> + <li><strong>Timings</strong></li> + <li><strong>Security </strong>(å®å
šãªããŒãžã®ã¿)</li> + <li><strong>Stack trace</strong> (ãªã¯ãšã¹ãã«ã¹ã¿ãã¯ãã¬ãŒã¹ãããå Žåãããšãã°ãå¥ã®ã¹ã¯ãªããã«ãã£ãŠåŒã³åºãããã¹ã¯ãªããã®ã¿)ããã㯠Firefox 55 以éã§å©çšå¯èœã§ãã</li> +</ul> + +<p>ããŒã«ããŒã®å³ç«¯ã«ããã¢ã€ã³ã³ãã¯ãªãã¯ãããšè©³çŽ°ãã€ã³ãéãããªã¹ããã¥ãŒã«æ»ããŸãã</p> + +<h3 id="Headers">Headers</h3> + +<p>ãã®ã¿ãã«ã¯ããªã¯ãšã¹ãã«é¢ããåºæ¬æ
å ±ããªã¹ããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16262/Network_Monitor_Closeup.png" style="border: 1px solid black; display: block; height: 747px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ããã«ã¯æ¬¡ã®ãã®ãå«ãŸããŸãïŒ</p> + +<ul> + <li>ãªã¯ãšã¹ã URL</li> + <li>ãªã¯ãšã¹ãã¡ãœãã</li> + <li>ãªã¢ãŒã IP ã¢ãã¬ã¹ãšããŒã <em>(Firefox 39 ãã)</em></li> + <li>詳现ã確èªããããã®MDN ããã¥ã¡ã³ãã«ãªã³ã¯ããŠããçå笊ã¢ã€ã³ã³ä»ãã¹ããŒã¿ã¹ã³ãŒã (å©çšå¯èœãªå Žå)</li> + <li>éä¿¡ããã HTTP ãªã¯ãšã¹ããšã¬ã¹ãã³ã¹ããããŒ</li> + <li>ãªã¯ãšã¹ããç·šéããŠåéä¿¡ããããã® <a href="/ja/docs/Tools/Network_Monitor">ç·šéãšåéä¿¡</a> ãã¿ã³</li> + <li>rawãªã¯ãšã¹ããšã¬ã¹ãã³ã¹ããããŒã衚瀺ããRawããããŒãã¿ã³</li> +</ul> + +<p>衚瀺ããããããããã£ã«ã¿ãªã³ã°ããããšãã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16266/network_headers.png" style="border: 1px solid black; display: block; height: 295px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ã¹ããŒã¿ã¹ã³ãŒãè¡ã®åããããŒã®æšªã«çå笊ã®ã¢ã€ã³ã³ã衚瀺ãããŸãããã㯠<a href="/ja/docs/Web/HTTP/Headers">HTTP ããããŒã® MDN ããã¥ã¡ã³ã</a>ã§ãç¹å®ã®ã¹ããŒã¿ã¹ã³ãŒãã«é¢ãã詳现æ
å ±ãžã®ãªã³ã¯ã§ãã</p> + +<h3 id="Cookies">Cookies</h3> + +<p>ãã®ã¿ãã«ã¯ããªã¯ãšã¹ããŸãã¯ã¬ã¹ãã³ã¹ãšãšãã«éä¿¡ããããã¹ãŠã®ã¯ãããŒã®è©³çŽ°ãäžèŠ§è¡šç€ºãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16265/network_cookies.png" style="border: 1px solid black; display: block; height: 748px; margin-left: auto; margin-right: auto; width: 2276px;"></p> + +<p>ããããŒãšåæ§ã«ã衚瀺ãããã¯ãããŒã®ãªã¹ãããã£ã«ã¿ãªã³ã°ã§ããŸãã Cookieå±æ§ã®å®å
šãªãªã¹ãã衚瀺ãããŸããã¬ã¹ãã³ã¹ã®ã¯ãããŒã®äŸã®äžã®ã¹ã¯ãªãŒã³ã·ã§ãããåç
§ããŠãã ããã</p> + +<p><img alt="cookies panel in firefox devtools network monitor, showing a number of cookie attributes including samesite" src="https://mdn.mozillademos.org/files/16108/highlight-samesite-attribute.png" style="display: block; height: 394px; margin: 0px auto; width: 1047px;"></p> + +<p>Firefox 62 ({{bug("1452715")}}) 以éã<code>samesite</code> å±æ§ã衚瀺ãããŠããŸãã</p> + +<h3 id="ãã©ã¡ãŒã¿">ãã©ã¡ãŒã¿</h3> + +<p>ãã®ã¿ãã«ã¯ãªã¯ãšã¹ãã® GET ãã©ã¡ãŒã¿ãš POST ããŒã¿ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16333/params.png" style="display: block; height: 215px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h3 id="ã¬ã¹ãã³ã¹">ã¬ã¹ãã³ã¹</h3> + +<p>ã¬ã¹ãã³ã¹ã®å®å
šãªå
容ãã¬ã¹ãã³ã¹ã HTMLãJSããŸã㯠CSS ã®å Žåãããã¹ããšããŠè¡šç€ºãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16268/network_response.png" style="border: 1px solid black; display: block; height: 747px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ã¬ã¹ãã³ã¹ã JSON ã®å Žåãæ€æ»å¯èœãªããžã§ã¯ããšããŠè¡šç€ºãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16332/response_json.png" style="display: block; height: 268px; margin: 0 auto; width: 900px;"></p> + +<p>ã¬ã¹ãã³ã¹ãç»åã®å Žåãã¿ãã«ãã¬ãã¥ãŒã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16331/response_pane_image.png" style="display: block; height: 347px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h4 id="ãã£ãã·ã¥">ãã£ãã·ã¥</h4> + +<p>ã¬ã¹ãã³ã¹ããã£ãã·ã¥ããããš(ããªãã¡ã304)ã"Cache" ã¿ãã«ãã£ãã·ã¥ããããªãœãŒã¹ã«é¢ãã詳现ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16329/response_cache.png" style="border: 1px solid black; display: block; height: 245px; margin: 0px auto; width: 567px;"></p> + +<p>詳现ã«ã¯æ¬¡ã®ãã®ãå«ãŸããŠããŸã:</p> + +<ul> + <li>Last fetched: ãªãœãŒã¹ãæåŸã«ãã§ãããããæ¥ä»ã</li> + <li>Fetched count: ãªãœãŒã¹ããã§ãããããçŸåšã®ã»ãã·ã§ã³å
ã®åæ°ã</li> + <li>Data size: ãªãœãŒã¹ã®ãµã€ãºã</li> + <li>Last modified: ãªãœãŒã¹ãæåŸã«å€æŽãããæ¥ä»ã</li> + <li>Expires: ãªãœãŒã¹ã®æå¹æéãåããæ¥ä»ã</li> + <li>Device: ãªãœãŒã¹ãååŸãããããã€ã¹ ("disk" ãªã©)ã</li> +</ul> + +<h4 id="HTML_ãã¬ãã¥ãŒ">HTML ãã¬ãã¥ãŒ</h4> + +<p>ã¬ã¹ãã³ã¹ã HTML ã®å Žåãã¬ã³ããªã³ã°ããã HTML ã®ãã¬ãã¥ãŒãã¬ã¹ãã³ã¹ãã€ããŒãã®äžã«ãã [Response] ã¿ãå
ã«è¡šç€ºãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16272/settings_for_browser_debugger.png" style="border-style: solid; border-width: 1px; border: 1px solid black; display: block; height: 744px; margin: 0px auto; width: 900px;"></p> + +<h3 id="ã¿ã€ãã³ã°">ã¿ã€ãã³ã°</h3> + +<p>[ã¿ã€ãã³ã°] ã¿ãã§ã¯ããããã¯ãŒã¯ãªã¯ãšã¹ããã<a href="https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HAR/Overview.html">HTTP ã¢ãŒã«ã€ã</a>ä»æ§ã§å®çŸ©ããã次ã®ãµãã»ããã«å解ããŸãã</p> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">åå</th> + <th scope="col">説æ</th> + </tr> + </thead> + <tbody> + <tr> + <td>Blocked</td> + <td> + <p>ãããã¯ãŒã¯æ¥ç¶ãåŸ
ã£ãŠãããã¥ãŒã§è²»ããããæéã</p> + + <p>ãã©ãŠã¶ã¯ãåäžã®ãµãŒããŒã«å¯ŸããŠè¡ãããšãã§ããåææ¥ç¶ã®æ°ã«å¶éãèšããŠããŸããFirefox ã®ããã©ã«ã㯠6 ã§ããã<code><a href="http://kb.mozillazine.org/Network.http.max-persistent-connections-per-server">network.http.max-persistent-connections-per-server</a></code> ã®èšå®ã䜿çšããŠå€æŽã§ããŸãããã¹ãŠã®æ¥ç¶ã䜿çšäžã®å Žåããã©ãŠã¶ã¯æ¥ç¶ã解æŸããããŸã§ãããå€ãã®ãªãœãŒã¹ãããŠã³ããŒãããããšã¯ã§ããŸããã</p> + </td> + </tr> + <tr> + <td>DNS resolution</td> + <td>ãã¹ãåã解決ããã®ã«ãããæéã</td> + </tr> + <tr> + <td>Connecting</td> + <td>TCP æ¥ç¶ãäœæããã®ã«ãããæéã</td> + </tr> + <tr> + <td>Sending</td> + <td>HTTP ãªã¯ãšã¹ãããµãŒããŒã«éä¿¡ããã®ã«ãããæéã</td> + </tr> + <tr> + <td>Waiting</td> + <td>ãµãŒããŒããã®ã¬ã¹ãã³ã¹ãåŸ
ã£ãŠããŸãã</td> + </tr> + <tr> + <td>Receiving</td> + <td>ãµãŒã㌠(ãŸãã¯ãã£ãã·ã¥) ããã®ã¬ã¹ãã³ã¹å
šäœãèªã¿åãã®ã«ãããæéã</td> + </tr> + </tbody> +</table> + +<p>ããã¯ããã®ãªã¯ãšã¹ãã«å¯Ÿããã¿ã€ã ã©ã€ã³ããŒã®ãã詳现ãªæ³šéä»ãã®ãã¥ãŒãæ瀺ããŸããããã¯ãåèšåŸ
ã¡æéãããŸããŸãªæ®µéã«ã©ã®ããã«åå²ããããã瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16271/network_timings.png" style="border: 1px solid black; display: block; height: 749px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h3 id="ã»ãã¥ãªãã£">ã»ãã¥ãªãã£</h3> + +<p>ãµã€ãã HTTPS çµç±ã§ãµãŒãã¹ãããŠããå Žåã¯ã"Security" ãšããã©ãã«ã®ã¿ããè¿œå ãããŸããããã«ã¯ããããã³ã«ãæå·ã¹ã€ãŒãã蚌ææžã®è©³çŽ°ãªã©ã䜿çšãããå®å
šãªæ¥ç¶ã«é¢ãã詳现ãå«ãŸããŠããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16269/network_security.png" style="border: 1px solid black; display: block; height: 748px; margin-left: auto; margin-right: auto; width: 2276px;"></p> + +<p>[ã»ãã¥ãªãã£] ã¿ãã«ã¯ãã»ãã¥ãªãã£ã®åŒ±ç¹ã«é¢ããèŠåã衚瀺ãããŸãã çŸåšã2ã€ã®åŒ±ç¹ã«ã€ããŠèŠåããŠããŸãã</p> + +<ol> + <li>Using SSLv3 instead of TLS</li> + <li>Using the RC4 cipher</li> +</ol> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10165/security-warning.png" style="display: block; height: 93px; margin-left: auto; margin-right: auto; width: 591px;"></p> + +<h3 id="ã¹ã¿ãã¯ãã¬ãŒã¹">ã¹ã¿ãã¯ãã¬ãŒã¹</h3> + +<p>Stack Trace ã¿ãã«ã¯ãã¹ã¿ãã¯ãã¬ãŒã¹ãããã¬ã¹ãã³ã¹ã®ã¹ã¿ãã¯ãã¬ãŒã¹ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16270/network_stack_trace.png" style="border: 1px solid black; display: block; height: 205px; margin: 0px auto; width: 900px;"></p> diff --git a/files/ja/tools/network_monitor/request_list/index.html b/files/ja/tools/network_monitor/request_list/index.html new file mode 100644 index 0000000000..ffc68317a5 --- /dev/null +++ b/files/ja/tools/network_monitor/request_list/index.html @@ -0,0 +1,337 @@ +--- +title: ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ã +slug: Tools/Network_Monitor/request_list +tags: + - '110n:priority' +translation_of: Tools/Network_Monitor/request_list +--- +<p>{{ToolsSidebar}}</p> + +<p>ãããã¯ãŒã¯ã¢ãã¿ãŒã®ãªã¯ãšã¹ããªã¹ãã«ã¯ãããŒãžã®ããŒãäžã«è¡ããããã¹ãŠã®ãããã¯ãŒã¯ãªã¯ãšã¹ãã®äžèŠ§ã衚瀺ãããŸãã</p> + +<h2 id="ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ã">ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ã</h2> + +<p>ããã©ã«ãã§ã¯ããããã¯ãŒã¯ã¢ãã¿ã«ã¯ããŒãžã®èªã¿èŸŒã¿äžã«è¡ããããã¹ãŠã®ãããã¯ãŒã¯ãªã¯ãšã¹ãã®äžèŠ§ã衚瀺ãããŸããåãªã¯ãšã¹ãã¯ããèªèº«ã®è¡ã«è¡šç€ºãããŸãïŒ</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16258/Network_request_list.png" style="border: 1px solid black; display: block; height: 328px; margin: 0px auto; width: 900px;"></p> + +<p>ããã©ã«ãã§ã¯ãæ°ããããŒãžã«ç§»åãããçŸåšã®ããŒãžããªããŒããããã³ã«ããããã¯ãŒã¯ã¢ãã¿ãã¯ãªã¢ãããŸãã<a href="/ja/docs/Tools/Tools_Toolbox#Common_preferences">èšå®</a>ã® [æ°žç¶ãã°ãæå¹ã«ãã] ããªã³ã«ãããšãã®åäœãç¡å¹ã«ããããšãã§ããŸãã</p> + +<h3 id="ãããã¯ãŒã¯ãªã¯ãšã¹ãå">ãããã¯ãŒã¯ãªã¯ãšã¹ãå</h3> + +<p>ããŒãã«ããããŒãå³ã¯ãªãã¯ããã³ã³ããã¹ãã¡ãã¥ãŒããç¹å®ã®åãéžæããããšã«ãã£ãŠãç°ãªãåãåãæ¿ããããšãã§ããŸãã"Reset Columns" ãªãã·ã§ã³ã§åæèšå®ã«æ»ãããšãã§ããŸãã䜿çšå¯èœãªãã¹ãŠã®åã®ãªã¹ãã¯æ¬¡ã®ãšããã§ãã</p> + +<ul> + <li><strong>Status</strong>: è¿ããã HTTP ã¹ããŒã¿ã¹ã³ãŒããããã¯ãè²åããããã¢ã€ã³ã³ãšããŠè¡šç€ºãããŸãã + + <ul> + <li><img alt="" src="https://mdn.mozillademos.org/files/13136/1x.png" style="height: 17px; width: 17px;"> æ
å ±ã®ããã®éãäžž (1XXã³ãŒã)ãç¹ã« WebSocket ã®ã¢ããã°ã¬ãŒãã«ã¯ 101 (ã¹ã€ããã³ã°ãããã³ã«) ãå«ãŸããŠããŸã</li> + <li><img alt="" src="https://mdn.mozillademos.org/files/10941/200.png" style="height: 17px; width: 17px;"> ç·ã®äžžã¯æå (2XX ã³ãŒã)</li> + <li><img alt="" src="https://mdn.mozillademos.org/files/10945/300.png" style="height: 17px; width: 17px;"> ãªã¬ã³ãžã®äžè§ã¯ãªãã€ã¬ã¯ã (3XX)</li> + <li><img alt="" src="https://mdn.mozillademos.org/files/10943/4-500.png" style="height: 17px; width: 17px;"> èµ€ãåè§ã¯ãšã©ãŒ (4XX ãš 5XX)</li> + <li><img alt="" src="https://mdn.mozillademos.org/files/10947/cached.png" style="height: 17px; width: 17px;"> äžç©ºã®ç°è²ã®åã¯ãã©ãŠã¶ã®ãã£ãã·ã¥ããååŸãããã¬ã¹ãã³ã¹ã</li> + </ul> + æ£ç¢ºãªã³ãŒãã¯ã¢ã€ã³ã³ã®çŽåŸã«è¡šç€ºãããŸãã</li> + <li><strong>Method</strong>: 䜿çšããã HTTP ãªã¯ãšã¹ãã¡ãœããã</li> + <li><strong>File</strong>: ãªã¯ãšã¹ãããããã¡ã€ã«ã®ããŒã¹åã</li> + <li><strong>Protocol:</strong> ããŒã¿ã転éããããã«äœ¿çšããããããã¯ãŒã¯ãããã³ã«ããã®åã¯ããã©ã«ãã§ã¯è¡šç€ºãããŸããããã㯠Firefox 55 ã®æ°æ©èœã§ãã</li> + <li><strong>Scheme:</strong> ãªã¯ãšã¹ãããããã¹ã®ã¹ããŒã (https/http/ftp/...)ã ãã®åã¯ããã©ã«ãã§é衚瀺ã«ãªã£ãŠããŸãããã㯠Firefox 55 ã®æ°æ©èœã§ãã</li> + <li><strong>Domain</strong>: ãªã¯ãšã¹ãããããã¹ã®ãã¡ã€ã³ã + <ul> + <li>ãªã¯ãšã¹ãã« SSL/TLS ã䜿çšããæ¥ç¶ã«åŒ±ãæå·ãªã©ã®ã»ãã¥ãªãã£ã®åŒ±ç¹ããã£ãå Žåã¯ããã¡ã€ã³ã®æšªã«èŠåã®äžè§åœ¢ã衚瀺ãããŸããåé¡ã®è©³çŽ°ã¯ <a href="/ja/docs/Tools/Network_Monitor#Security">[ã»ãã¥ãªãã£] ã¿ã</a>ã§ç¢ºèªã§ããŸã</li> + <li>IP ã¢ãã¬ã¹ã衚瀺ããã«ã¯ãã¡ã€ã³ã«ã«ãŒãœã«ãåãããŸãã</li> + <li>ãã¡ã€ã³ã®æšªã«ã¯ããã®ãªã¯ãšã¹ãã®ã»ãã¥ãªãã£ã¹ããŒã¿ã¹ã«é¢ããè¿œå æ
å ±ã瀺ãã¢ã€ã³ã³ããããŸãã <a href="/ja/docs/Tools/Network_Monitor#Security_icons">ã»ãã¥ãªãã£ã¢ã€ã³ã³</a>ãåç
§ããŠãã ããã</li> + </ul> + </li> + <li><strong>Remote IP</strong>: ãªã¯ãšã¹ãã«å¿çããŠãããµãŒããŒã® IP ã¢ãã¬ã¹ããã®åã¯ããã©ã«ãã§é衚瀺ã«ãªã£ãŠããŸãããã㯠Firefox 55 ã®æ°æ©èœã§ãã</li> + <li><strong>Cause</strong>: XHR ãªã¯ãšã¹ãã{{htmlelement("img")}}ãã¹ã¯ãªãããç»åãèŠæ±ããã¹ã¯ãªãããªã©ããããã¯ãŒã¯èŠæ±ãçºçããçç±ããã㯠Firefox 49 ã§æ°ããè¿œå ãããŸããã</li> + <li><strong>Type</strong>: ã¬ã¹ãã³ã¹ã® <code>Content-type</code></li> + <li><strong>Cookies:</strong> ãªã¯ãšã¹ãã«é¢é£ä»ãããããªã¯ãšã¹ãã¯ãããŒã®æ°ã ãã®åã¯ããã©ã«ãã§é衚瀺ã«ãªã£ãŠããŸãããã㯠Firefox 55 ã®æ°æ©èœã§ãã</li> + <li><strong>Set-Cookies:</strong> ãªã¯ãšã¹ãã«é¢é£ä»ããããã¬ã¹ãã³ã¹ã¯ãããŒã®æ°ããã®åã¯ããã©ã«ãã§é衚瀺ã«ãªã£ãŠããŸãããã㯠Firefox 55 ã®æ°æ©èœã§ãã</li> + <li><strong>Transferred</strong>: ãªãœãŒã¹ãããŒãããããã«å®éã«è»¢éããããã€ãæ°ããªãœãŒã¹ãå§çž®ãããŠããå Žå㯠<strong>Size</strong> ããå°ãããªããŸããFirefox 47 ããããªãœãŒã¹ã<a href="/ja/docs/Web/API/ServiceWorker_API">ãµãŒãã¹ã¯ãŒã«ãŒ</a>ãã£ãã·ã¥ãããã§ãããããå Žåããã®ã»ã«ã«ã¯ "service worker" ã衚瀺ãããŸãã</li> + <li><strong>Size</strong>: 転éããããªãœãŒã¹ã®ãµã€ãºã</li> +</ul> + +<p>äžéšã®ããŒã«ããŒã¯ãããã®åã«ã©ãã«ãä»ããã©ãã«ãã¯ãªãã¯ãããšãã®åã«ãããã¹ãŠã®èŠæ±ããœãŒããããŸãã</p> + +<h4 id="ã€ã¡ãŒãžãµã ãã€ã«">ã€ã¡ãŒãžãµã ãã€ã«</h4> + +<p>ãã¡ã€ã«ãã€ã¡ãŒãžã®å Žåãè¡ã«ã¯ã€ã¡ãŒãžã®ãµã ãã€ã«ãå«ãŸãããã¡ã€ã«åã®äžã«ããŠã¹ã眮ããšããŒã«ãããã®ãã¬ãã¥ãŒã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16257/image_preview.png" style="border: 1px solid black; display: block; height: 334px; margin: 0px auto; width: 900px;"></p> + +<h4 id="ã»ãã¥ãªãã£ã¢ã€ã³ã³">ã»ãã¥ãªãã£ã¢ã€ã³ã³</h4> + +<p>ãããã¯ãŒã¯ã¢ãã¿ã¯ [ãã¡ã€ã³] åã«ã¢ã€ã³ã³ã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16194/network_message_list_63.png" style="border: 1px solid black; display: block; height: 191px; margin: 0 auto; width: 845px;"></p> + +<p>ããã«ãããªã¯ãšã¹ãã®ã»ãã¥ãªãã£ã¹ããŒã¿ã¹ã«é¢ããè¿œå æ
å ±ãåŸãããŸãã</p> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">ã¢ã€ã³ã³</th> + <th scope="col">æå³</th> + </tr> + </thead> + <tbody> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/11655/https.svg" style="height: 16px; width: 16px;"></td> + <td>HTTPS</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/11653/https-weak.svg" style="height: 16px; width: 16px;"></td> + <td>匱ã HTTPS (äŸãã°ã匱ãæå·ã䜿çšãããå Žå)</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/11649/https-failed.svg" style="height: 16px; width: 16px;"></td> + <td>倱æãã HTTPS (ããšãã°ã蚌ææžãç¡å¹ã ã£ãå Žå)</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/11651/http.svg" style="height: 16px; width: 16px;"></td> + <td>HTTP</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/11657/localhost.svg" style="height: 16px; width: 16px;"></td> + <td>Localhost</td> + </tr> + <tr> + <td><img alt="" src="https://mdn.mozillademos.org/files/16192/tracker_icon.png" style="height: 16px; width: 16px;"></td> + <td>URL ãã³ã³ãã³ãããããã³ã°ãæå¹ã«ããŠãããã¯ãããæ¢ç¥ã®ãã©ãã«ãŒã«å±ããŠããããšã瀺ããŸãã</td> + </tr> + </tbody> +</table> + +<p>匱ã HTTPS ãªã¯ãšã¹ããšå€±æãã HTTPS ãªã¯ãšã¹ãã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Network_Monitor#Security">[ã»ãã¥ãªãã£]ã¿ã</a>ã«åé¡ã®è©³çŽ°ã衚瀺ãããŸãã</p> + +<h4 id="åå å">åå å</h4> + +<p>ãåå ãåã«ã¯ããªã¯ãšã¹ãã®åå ã瀺ããŸããããã¯éåžžããªãæçœã§ãããäžè¬çã«ãããšã¿ã€ãã®åé
ç®ãšã®éã®çžé¢ãèŠãããšãã§ããŸããæãäžè¬çãªå€ã¯æ¬¡ã®ãšããã§ãã</p> + +<ul> + <li>document: ãœãŒã¹HTMLããã¥ã¡ã³ã</li> + <li>img: {{htmlelement("img")}} èŠçŽ </li> + <li>imageset: {{htmlelement("img")}} èŠçŽ </li> + <li>script: JavaScriptãã¡ã€ã«</li> + <li>stylesheet: CSSãã¡ã€ã«</li> +</ul> + +<h3 id="ã¿ã€ã ã©ã€ã³">ã¿ã€ã ã©ã€ã³</h3> + +<p>ãªã¯ãšã¹ããªã¹ãã«ã¯ãåãªã¯ãšã¹ãã®ããŸããŸãªéšåã®ã¿ã€ã ã©ã€ã³ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16259/timeline.png" style="border: 1px solid black; display: block; height: 331px; margin: 0px auto; width: 900px;"></p> + +<p>åã¿ã€ã ã©ã€ã³ã«ã¯ããã®è¡ã®ä»ã®ãããã¯ãŒã¯ãªã¯ãšã¹ãã«å¯Ÿããçžå¯Ÿçãªæ°Žå¹³äœçœ®ãäžããããŠãããããããŒãžã®ããŒãã«èŠããåèšæéã確èªã§ããŸããããã§äœ¿çšãããè²åãã®è©³çŽ°ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Network_Monitor#Timings">ã¿ã€ãã³ã°</a>ããŒãžã®ã»ã¯ã·ã§ã³ãåç
§ããŠãã ããã</p> + +<p>Firefox 45 以éãã¿ã€ã ã©ã€ã³ã«ã¯ 2 ã€ã®åçŽç·ãå«ãŸããŠããŸãïŒ</p> + +<ul> + <li><span style="color: blue;">éã</span>ç·ã¯ããŒãžã® <code><a href="/ja/docs/Web/Events/DOMContentLoaded">DOMContentLoaded</a></code> ã€ãã³ããããªã¬ãŒããããã€ã³ãã瀺ããŸã</li> + <li><span style="color: red;">èµ€ã</span>ç·ã¯ããŒãžã®ããŒãã€ãã³ããããªã¬ãŒããããã€ã³ãã瀺ããŸã</li> +</ul> + +<h3 id="ãªã¯ãšã¹ãã®ãã£ã«ã¿ãªã³ã°">ãªã¯ãšã¹ãã®ãã£ã«ã¿ãªã³ã°</h3> + +<p>ãªã¯ãšã¹ããã³ã³ãã³ãã¿ã€ããXMLHttpRequests ãªã¯ãšã¹ããWebSocket ãªã¯ãšã¹ããURLããªã¯ãšã¹ãããããã£å¥ã®ããããã§ãã£ã«ã¿ãªã³ã°ã§ããŸãã</p> + +<h4 id="ã³ã³ãã³ãã¿ã€ãã«ãããã£ã«ã¿ãªã³ã°">ã³ã³ãã³ãã¿ã€ãã«ãããã£ã«ã¿ãªã³ã°</h4> + +<p>ã³ã³ãã³ãã¿ã€ãå¥ã«ãã£ã«ã¿ãªã³ã°ããã«ã¯ã<a href="/ja/docs/Tools/Network_Monitor#Toolbar">ããŒã«ããŒ</a>ã®ãã¿ã³ã䜿çšããŸãã</p> + +<h4 id="XHRã®ãã£ã«ã¿ãªã³ã°">XHRã®ãã£ã«ã¿ãªã³ã°</h4> + +<p>{{Glossary("XHR (XMLHttpRequest)", "XHR")}} ã®ã¿ã衚瀺ããã«ã¯ã<a href="/ja/docs/Tools/Network_Monitor#Toolbar">ããŒã«ããŒ</a>ã® "XHR" ãã¿ã³ã䜿çšããŸãã</p> + +<h4 id="WebSocketsã®ãã£ã«ã¿ãªã³ã°">WebSocketsã®ãã£ã«ã¿ãªã³ã°</h4> + +<p>WebSocketæ¥ç¶ã®ã¿ã衚瀺ããã«ã¯ã<a href="/ja/docs/Tools/Network_Monitor#Toolbar">ããŒã«ããŒ</a>ã® "WS" ãã¿ã³ã䜿çšããŸãã</p> + +<p>WebSocket æ¥ç¶ã§äº€æãããããŒã¿ãç£èŠããã«ã¯ã<a href="https://addons.mozilla.org/ja/firefox/addon/websocket-monitor/">WebSocket Monitor ã¢ããªã³</a>ãè©ŠããŠãã ããã</p> + +<h4 id="URLã«ãããã£ã«ã¿ãªã³ã°">URLã«ãããã£ã«ã¿ãªã³ã°</h4> + +<p>URL ã§ãã£ã«ã¿ãªã³ã°ããã«ã¯ã<a href="/ja/docs/Tools/Network_Monitor#Toolbar">ããŒã«ããŒ</a>ã®æ€çŽ¢ããã¯ã¹ã䜿çšããŸããæ€çŽ¢ããã¯ã¹ã®äžãã¯ãªãã¯ããããããã㯠<kbd>Ctrl</kbd> + <kbd>F</kbd> (ãŸã㯠Mac ã®å Žå㯠<kbd>Cmd</kbd> + <kbd>F</kbd> )ãæŒããŠãå
¥åãéå§ããŸãããããã¯ãŒã¯ãªã¯ãšã¹ãã®ãªã¹ãã¯ããã£ã«ã¿æååãå«ããªã¯ãšã¹ãã®ã¿ããã¡ã€ã³ãŸãã¯ãã¡ã€ã«ã®éšåã«å«ããããã«ãã£ã«ã¿ãªã³ã°ãããŸãã</p> + +<p>Firefox 45 ã§ã¯ãã¯ãšãªæååã« "-" æŒç®åãã€ããããšã§ãã£ã«ã¿æååãå«ãŸãªããªã¯ãšã¹ãããã£ã«ã¿ãªã³ã°ã§ããŸããããšãã°ã"-google.com" ãšããã¯ãšãªã§ã¯ãURL ã« "google.com" ããªããã¹ãŠã®ãªã¯ãšã¹ãã衚瀺ãããŸãã</p> + +<h4 id="ããããã£ã«ãããã£ã«ã¿ãªã³ã°">ããããã£ã«ãããã£ã«ã¿ãªã³ã°</h4> + +<p>ç¹å®ã®ãªã¯ãšã¹ãããããã£ã§ãã£ã«ã¿ãªã³ã°ããã«ã¯ã<a href="/ja/docs/Tools/Network_Monitor">ããŒã«ããŒ</a>ã®æ€çŽ¢ããã¯ã¹ã䜿çšããŸããæ€çŽ¢ããã¯ã¹ã¯ç¹å®ã®ããŒã¯ãŒããèªèããç¹å®ã®ãªã¯ãšã¹ãããããã£ã«ãã£ãŠãªã¯ãšã¹ãããã£ã«ã¿ãªã³ã°ããããã«äœ¿çšã§ããŸãããããã®ããŒã¯ãŒãã®åŸã«ã³ãã³ãšé¢é£ãããã£ã«ã¿ãŒå€ãç¶ããŸãããã£ã«ã¿ãŒå€ã¯å€§æåãšå°æåãåºå¥ããŸããããã€ãã¹ (<code>-</code>) ãåã«ä»ãããšããã£ã«ã¿ã¯ç¡å¹ã«ãªããŸããç°ãªããã£ã«ã¿ãã¹ããŒã¹ã§åºåã£ãŠçµã¿åãããããšãã§ããŸãã</p> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">ããŒã¯ãŒã</th> + <th scope="col">æå³</th> + <th scope="col">äŸ</th> + </tr> + <tr> + <td><code>status-code</code></td> + <td>ç¹å®ã® HTTP ã¹ããŒã¿ã¹ã³ãŒããæã€ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>status-code:304</code></td> + </tr> + <tr> + <td><code>method</code></td> + <td>ç¹å®ã® HTTP ãªã¯ãšã¹ãã¡ãœãããä»ããŠèŠæ±ããããªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>method:post</code></td> + </tr> + <tr> + <td><code>domain</code></td> + <td>ç¹å®ã®ãã¡ã€ã³ããã®ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>domain:mozilla.org</code></td> + </tr> + <tr> + <td><code>remote-ip</code></td> + <td>æå®ããã IP ãæã€ãµãŒããŒããã®ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>remote-ip:63.245.215.53</code><br> + <code>remote-ip:[2400:cb00:2048:1::6810:2802]</code></td> + </tr> + <tr> + <td><code>cause</code></td> + <td>ç¹å®ã®åå ã¿ã€ãã«äžèŽãããªãœãŒã¹ã衚瀺ããŸãã ã¿ã€ãã¯ã<a href="/ja/docs/Tools/Network_Monitor/request_list#Cause_column">åå å</a>ã®èª¬æã«èšèŒãããŠããŸãã</td> + <td><code>cause:js</code><br> + <code>cause:stylesheet<br> + cause:img</code></td> + </tr> + <tr> + <td><code>transferred</code></td> + <td>ç¹å®ã®è»¢éãµã€ãºãŸãã¯è»¢éãµã€ãºãæå®ããããµã€ãºã«è¿ããªãœãŒã¹ã瀺ããŸãã<code>k</code> ã¯ãããã€ãã®æ¥å°ŸèŸãšããŠã<code>m</code> ã¯ã¡ã¬ãã€ãã«äœ¿çšã§ããŸããäŸãã° <code>1k</code> ã®å€ã¯ <code>1024</code> ã«çžåœããŸãã</td> + <td><code>transferred:1k</code></td> + </tr> + <tr> + <td><code>size</code></td> + <td> + <p>ç¹å®ã®ãµã€ãº (å§çž®è§£é€åŸ) ãŸãã¯æå®ããããµã€ãºã«è¿ããµã€ãºã®ãªãœãŒã¹ã衚瀺ããŸãã<code>k</code> ã¯ãããã€ãã®æ¥å°ŸèŸãšããŠã<code>m</code> ã¯ã¡ã¬ãã€ãã«äœ¿çšã§ããŸãã<code>1k</code> ã®å€ã¯ <code>1024</code> ã«çžåœããŸãã</p> + </td> + <td><code>size:2m</code></td> + </tr> + <tr> + <td><code>larger-than</code></td> + <td>æå®ãããµã€ãº (ãã€ãåäœ) ãè¶
ãããªãœãŒã¹ã衚瀺ããŸãã<code>k</code> ã¯ãããã€ãã®æ¥å°ŸèŸãšããŠã<code>m</code> ã¯ã¡ã¬ãã€ãã«äœ¿çšã§ããŸãã<code>1k</code> ã®å€ã¯ <code>1024</code> ã«çžåœããŸãã</td> + <td><code>larger-than:2000</code><br> + <code>-larger-than:4k</code></td> + </tr> + <tr> + <td><code>mime-type</code></td> + <td>æå®ããã MIME ã¿ã€ãã«äžèŽãããªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>mime-type:text/html</code><br> + <code>mime-type:image/png</code><br> + <code>mime-type:application/javascript</code></td> + </tr> + <tr> + <td><code>is</code></td> + <td><code>is:cached</code> ããã³ <code>is:from-cache</code> ã¯ãã£ãã·ã¥ããæ¥ããªãœãŒã¹ã®ã¿ã瀺ããŸãã<br> + <code>is:running</code> ã¯çŸåšè»¢éäžã®ãªãœãŒã¹ã®ã¿ã衚瀺ããŸãã</td> + <td><code>is:cached</code><br> + <code>-is:running</code></td> + </tr> + <tr> + <td><code>scheme</code></td> + <td>æå®ãããã¹ããŒã ãä»ããŠè»¢éããããªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>scheme:http</code></td> + </tr> + <tr> + <td><code>has-response-header</code></td> + <td>æå®ããã HTTP ã¬ã¹ãã³ã¹ããããå«ããªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>has-response-header:cache-control</code><br> + <code>has-response-header:X-Firefox-Spdy</code></td> + </tr> + <tr> + <td><code>set-cookie-domain</code></td> + <td>æå®ãããå€ãšäžèŽãã <code>Domain</code> å±æ§ãæ〠<code>Set-Cookie</code> ããããæã€ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>set-cookie-domain:.mozilla.org</code></td> + </tr> + <tr> + <td><code>set-cookie-name</code></td> + <td>æå®ãããå€ãšäžèŽããååãæ〠<code>Set-Cookie</code> ããããæã€ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>set-cookie-name:_ga</code></td> + </tr> + <tr> + <td><code>set-cookie-value</code></td> + <td>æå®ãããå€ãšäžèŽããå€ãæ〠<code>Set-Cookie</code> ããããæã€ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>set-cookie-value:true</code></td> + </tr> + <tr> + <td><code>regexp</code></td> + <td>æå®ããã {{Glossary("regular expression")}} ãšäžèŽãã URL ãæã€ãªãœãŒã¹ã衚瀺ããŸãã</td> + <td><code>regexp:\d{5}<br> + regexp:mdn|mozilla</code></td> + </tr> + </thead> +</table> + +<h3 id="ã³ã³ããã¹ãã¡ãã¥ãŒ">ã³ã³ããã¹ãã¡ãã¥ãŒ</h3> + +<p>ãªã¹ãå
ã®è¡ã®"ã³ã³ããã¹ãã¯ãªãã¯"ã¯ã次ã®ãªãã·ã§ã³ãå«ãã³ã³ããã¹ãã¡ãã¥ãŒã衚瀺ããŸãã</p> + +<ul> + <li>Copy URL</li> + <li>Copy URL Parameters</li> + <li>Copy POST Data (only for POST requests)</li> + <li>Copy as cURL</li> + <li>Copy Request Headers</li> + <li>Copy Response Headers</li> + <li>Copy Response</li> + <li>Copy Image as Data URI (only for images)</li> + <li>Copy All As HAR</li> + <li>Save All As HAR</li> + <li>Save Image As (only for images)</li> + <li>Edit and Resend</li> + <li>Open in New Tab</li> + <li>Start <a href="/en-US/docs/Tools/Network_Monitor#Performance_analysis">Performance Analysis</a> for the page</li> +</ul> + +<h4 id="Edit_and_Resend">Edit and Resend</h4> + +<p>ãã®ãªãã·ã§ã³ã䜿çšãããšããªã¯ãšã¹ãã®ã¡ãœãããURLããã©ã¡ãŒã¿ãããã³ããããŒãç·šéãããªã¯ãšã¹ããåéä¿¡ã§ãããšãã£ã¿ãéããŸãã</p> + +<h4 id="æ°èŠã¿ãã§éã">æ°èŠã¿ãã§éã</h4> + +<p>ãªã¯ãšã¹ããæ°ããã¿ãã§åéä¿¡ããŸããéåæãªã¯ãšã¹ãã®ãããã°ã«ã¯éåžžã«äŸ¿å©ã§ãã</p> + +<h4 id="Copy_as_cURL">Copy as cURL</h4> + +<p>ãã®ãªãã·ã§ã³ã¯ãããã¯ãŒã¯ãªã¯ãšã¹ãã cURL ã³ãã³ããšããŠã¯ãªããããŒãã«ã³ããŒããã®ã§ãã³ãã³ãã©ã€ã³ããå®è¡ããããšãã§ããŸãã ãã®ã³ãã³ãã«ã¯ã次ã®ãªãã·ã§ã³ãå«ãŸããŸãã</p> + +<table class="standard-table"> + <tbody> + <tr> + <td><code>-X [METHOD]</code></td> + <td>ã¡ãœããã GET ãŸã㯠POST ã§ãªãå Žå</td> + </tr> + <tr> + <td><code>--data</code></td> + <td>URL ãšã³ã³ãŒãããããªã¯ãšã¹ããã©ã¡ãŒã¿</td> + </tr> + <tr> + <td><code>--data-binary</code></td> + <td>ãã«ãããŒããªã¯ãšã¹ããã©ã¡ãŒã¿ã®å Žå</td> + </tr> + <tr> + <td><code>--http/VERSION</code></td> + <td>HTTP ããŒãžã§ã³ã 1.1 ã§ãªãå Žå</td> + </tr> + <tr> + <td><code>-I</code></td> + <td>ã¡ãœããã HEAD ã®å Žå</td> + </tr> + <tr> + <td><code>-H</code></td> + <td> + <p>åãªã¯ãšã¹ãããããŒããšã«1ã€ã</p> + + <p>Firefox 34ããã"Accept-Encoding" ããããååšããå ŽåãcURL ã³ãã³ãã« <code>-H "Accept-Encoding: gzip, deflate"</code> ã®ä»£ããã« <code>--compressed</code> ãå«ãŸããŸããããã¯ãã¬ã¹ãã³ã¹ãèªåçã«è§£åãããããšãæå³ããŸãã</p> + </td> + </tr> + </tbody> +</table> + +<h4 id="CopySave_All_As_HAR">Copy/Save All As HAR</h4> + +<p>ãããã®ãªãã·ã§ã³ã¯ãªã¹ãããããã¹ãŠã®èŠæ±ã«å¯Ÿã㊠HTTP ã¢ãŒã«ã€ã (HAR) ãäœæããŸããHAR 圢åŒã䜿çšãããšããããã¯ãŒã¯ãªã¯ãšã¹ãã«é¢ãã詳现æ
å ±ããšã¯ã¹ããŒãã§ããŸãã'Copy All As HAR' ã¯ããŒã¿ãã¯ãªããããŒãã«ã³ããŒãã'Save All As HAR' ã¯ã¢ãŒã«ã€ãããã£ã¹ã¯ã«ä¿åãããã€ã¢ãã°ãéããŸãã</p> + +<p>Firefox 61 以éã§ã¯ããããã®ãªãã·ã§ã³ãç°¡åã«çºèŠã§ããããã«ããŒã«ããŒã¡ãã¥ãŒãè¿œå ããŸãã ({{bug(1403530)}})ãæ°ãã 'HAR' ããããããŠã³ã¡ãã¥ãŒã«ã¯ã'Copy All As HAR' ã³ãã³ããš 'Save All As HAR' ã³ãã³ãã®äž¡æ¹ãšã'Import...' ãªãã·ã§ã³ããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16056/har-dropdown.png" style="border-style: solid; border-width: 1px; height: 262px; width: 723px;"></p> diff --git a/files/ja/tools/network_monitor/throttling/index.html b/files/ja/tools/network_monitor/throttling/index.html new file mode 100644 index 0000000000..92b46a0b78 --- /dev/null +++ b/files/ja/tools/network_monitor/throttling/index.html @@ -0,0 +1,93 @@ +--- +title: ã¹ããããªã³ã° +slug: Tools/Network_Monitor/Throttling +tags: + - '110n:priority' + - Dev Tools + - Firefox + - ã¬ã€ã + - ããŒã« + - ãããã° + - ãããã¯ãŒã¯ +translation_of: Tools/Network_Monitor/Throttling +--- +<p>{{ToolsSidebar}}</p> + +<p>ãããã¯ãŒã¯ã¢ãã¿ã䜿çšãããšãããã¯ãŒã¯é床ã調æŽããŠããŸããŸãªæ¥ç¶é床ããšãã¥ã¬ãŒãããããšãã§ãããããã¢ããªã±ãŒã·ã§ã³ãããŸããŸãªæ¥ç¶ã¿ã€ãã§ã©ã®ããã«åäœãããã確èªã§ããŸãã</p> + +<h2 id="ã¹ããããªã³ã°">ã¹ããããªã³ã°</h2> + +<p>ããŒã«ããŒã«ã¯ããŸããŸãªãããã¯ãŒã¯é床æ¡ä»¶ããšãã¥ã¬ãŒãããããã«ãããã¯ãŒã¯é床ãæå¶ããããšãå¯èœã«ãã Throttling ããããããŠã³ãå«ãŸããŠããŸããã¡ãã¥ãŒãããªãã·ã§ã³ãéžæããã ãã§ããªããŒãããŠãç¶æãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16260/throttling.png" style="border: 1px solid black; display: block; height: 177px; margin: 0px auto; width: 150px;"></p> + +<p>ãšãã¥ã¬ãŒããããç¹æ§ã¯æ¬¡ã®ãšããã§ãã</p> + +<ul> + <li>ããŠã³ããŒãé床</li> + <li>ã¢ããããŒãé床</li> + <li>æå°ã¬ã€ãã³ã·ãŒ</li> +</ul> + +<p>以äžã®è¡šã¯åãããã¯ãŒã¯ã¿ã€ãã«é¢é£ããæ°å€ã瀺ããŠããŸãããæ£ç¢ºãªæ§èœæž¬å®ã«ã¯ãã®æ©èœã䜿çšããªãã§ãã ãããããŸããŸãªæ¡ä»¶ã§ã®ãŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®æŠç®ã瀺ãããšãæå³ããŠããŸãã</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col">Selection</th> + <th scope="col">ããŠã³ããŒãé床</th> + <th scope="col">ã¢ããããŒãé床</th> + <th scope="col">æå°ã¬ã€ãã³ã·ãŒ (ms)</th> + </tr> + </thead> + <tbody> + <tr> + <td>GPRS</td> + <td>50 Kb/s</td> + <td>20 Kb/s</td> + <td>500</td> + </tr> + <tr> + <td>Regular 2G</td> + <td>250 Kb/s</td> + <td>50 Kb/s</td> + <td>300</td> + </tr> + <tr> + <td>Good 2G</td> + <td>450 Kb/s</td> + <td>150 Kb/s</td> + <td>150</td> + </tr> + <tr> + <td>Regular 3G</td> + <td>750 Kb/s</td> + <td>250 Kb/s</td> + <td>100</td> + </tr> + <tr> + <td>Good 3G</td> + <td>1.5 Mb/s</td> + <td>750 Kb/s</td> + <td>40</td> + </tr> + <tr> + <td>Regular 4G/LTE</td> + <td>4 Mb/s</td> + <td>3 Mb/s</td> + <td>20</td> + </tr> + <tr> + <td>DSL</td> + <td>2 Mb/s</td> + <td>1 Mb/s</td> + <td>5</td> + </tr> + <tr> + <td>Wi-Fi</td> + <td>30 Mb/s</td> + <td>15 Mb/s</td> + <td>2</td> + </tr> + </tbody> +</table> diff --git a/files/ja/tools/network_monitor/toolbar/index.html b/files/ja/tools/network_monitor/toolbar/index.html new file mode 100644 index 0000000000..35aa0ce0a1 --- /dev/null +++ b/files/ja/tools/network_monitor/toolbar/index.html @@ -0,0 +1,48 @@ +--- +title: ãããã¯ãŒã¯ã¢ãã¿ãŒããŒã«ã㌠+slug: Tools/Network_Monitor/toolbar +tags: + - '119n:priority' + - Dev Tools + - Firefox + - ã¬ã€ã + - ããŒã« + - ãããã° + - ãããã¯ãŒã¯ +translation_of: Tools/Network_Monitor/toolbar +--- +<p>{{ToolsSidebar}}</p> + +<p>ãããã¯ãŒã¯ã¢ãã¿ã«ã¯2ã€ã®ããŒã«ããŒé åãããã1ã€ã¯ã¡ã€ã³ã»ã¯ã·ã§ã³ã®äžã«ãããïŒã€ã¯äžã«ãããŸãã</p> + +<h2 id="ããŒã«ããŒ">ããŒã«ããŒ</h2> + +<p>ããŒã«ããŒã¯ãã¡ã€ã³ãããã¯ãŒã¯ã¢ãã¿ãŠã£ã³ããŠã®äžéšã«ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16247/network_toolbar.png" style="display: block; height: 98px; margin-left: auto; margin-right: auto; width: 1200px;"></p> + +<p>It provides:</p> + +<ul> + <li><a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ã</a>ãã¯ãªã¢ããã¢ã€ã³ã³</li> + <li><a href="/ja/docs/Tools/Network_Monitor#Filtering_by_URL">URL</a>ãš<a href="/ja/docs/Tools/Network_Monitor#Filtering_by_properties">ããããã£</a>ã§ãªã¯ãšã¹ãããã£ã«ã¿ã§ããããã«ããããã¯ã¹</li> + <li>ã¿ã€ãå¥ã«ãããã¯ãŒã¯ãªã¯ãšã¹ããªã¹ãããã£ã«ã¿ãªã³ã°ããããã®äžé£ã®ã¢ã€ã³ã³ïŒ + <ul> + <li>ã¬ã¹ãã³ã¹ã®ã³ã³ãã³ãã¿ã€ãå¥</li> + <li>XHR ãªã¯ãšã¹ã</li> + <li>WebSocketã®ã¢ããã°ã¬ãŒãïŒWSãšã©ãã«ä»ãïŒ</li> + </ul> + ããã©ã«ãã§ã¯ãæ°ããããŒãžã«ç§»åãããçŸåšã®ããŒãžããªããŒããããã³ã«ãããã¯ãŒã¯ã¢ãã¿ãã¯ãªã¢ãããŸãã[Persist Logs] ãã§ãã¯ããã¯ã¹ããªã³ã«ãããšãã®åäœãå€æŽã§ããŸãã</li> + <li>ãã£ãã·ã¥ãç¡å¹ã«ããããã®ãã§ãã¯ããã¯ã¹ã</li> + <li>ã¹ããããªã³ã°</li> + <li>HAR</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16248/network_monitor_bottom_toolbar.png" style="border: 1px solid black; height: 48px; width: 2010px;"></p> + +<p>ãããã¯ãŒã¯ã¢ãã¿ã®äžéšã«ãã2çªç®ã®ããŒã«ããŒé åã«ã¯ã次ã®é
ç®ããããŸãã</p> + +<ul> + <li><a href="/ja/docs/Tools/Network_Monitor#Performance_analysis">ããã©ãŒãã³ã¹åæ</a>ãéå§ããã¢ã€ã³ã³ã</li> + <li>ãªã¯ãšã¹ãæ°ãåèšãµã€ãºãåèšæéãªã©ããã®ããŒãžã®æŠèŠã</li> +</ul> diff --git a/files/ja/tools/page_inspector/3-pane_mode/index.html b/files/ja/tools/page_inspector/3-pane_mode/index.html new file mode 100644 index 0000000000..a7a9fd3966 --- /dev/null +++ b/files/ja/tools/page_inspector/3-pane_mode/index.html @@ -0,0 +1,69 @@ +--- +title: 3ãã€ã³ã¢ãŒãã®ããŒãžã€ã³ã¹ãã¯ã¿ +slug: Tools/Page_Inspector/3-pane_mode +tags: + - 3-pane + - CSS + - ã€ã³ã¹ãã¯ã¿ + - ã¬ã€ã + - ããŒã« +translation_of: Tools/Page_Inspector/3-pane_mode +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary">ãã®èšäºã§ã¯ãããŒãžã€ã³ã¹ãã¯ã¿ã®3ãã€ã³ã¢ãŒãã䜿çšããæ¹æ³ã«ã€ããŠèª¬æããŸãã</p> + +<h2 id="æ©èœã®æŠèŠ">æ©èœã®æŠèŠ</h2> + +<p>Firefox 62以éã§ã¯ã<a href="/en-US/docs/Tools/Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</a> ã«æ°ããã¢ãŒã (<strong>3ãã€ã³ã¢ãŒã</strong>) ãçšæãããŠããŸãããããæå¹ã«ãããšãåæã«ä»¥äžãèŠãããšãã§ããŸãïŒ</p> + +<ul> + <li>The <a href="/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML">HTML pane</a> on the left hand side, as usual.</li> + <li>The <a href="/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_CSS_rules">CSS Rules</a> in the middle in their own separate pane, rather than as a tab.</li> + <li>The other CSS related features â such as <a href="/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_computed_CSS">Computed styles view</a>, <a href="/en-US/docs/Tools/Page_Inspector/How_to/Work_with_animations">Animations view</a>, and <a href="/en-US/docs/Tools/Page_Inspector/How_to/View_fonts">Fonts view</a> â in tabs on the right hand side, as usual.</li> +</ul> + +<p><img alt="The firefox page inspector in 3 pane mode, with HTML pane on left, CSS rules pane in center, and CSS tool tabs on right" src="https://mdn.mozillademos.org/files/15935/3-pane-view-final.png" style="border-style: solid; border-width: 1px; display: block; height: 259px; margin: 0px auto; width: 1195px;"></p> + +<div class="note"> +<p><strong>Note</strong>: å¹
ã®çããã©ãŠã¶ãŠã£ã³ããŠã®å¹
ã§ã¯ãCSSã«ãŒã«ãã€ã³ã®äžã«ã¿ãã衚瀺ãããŸãã</p> +</div> + +<p>ç¬èªã®ãã€ã³ã« CSS ã«ãŒã«ãèšå®ãããšãHTML ãæ€æ»ã㊠CSS ãç·šéããã ãã§ãªããèšç®ãããã¹ã¿ã€ã«ãã°ãªãããªã©ã® CSS æ©èœã«ãªã¢ã«ã¿ã€ã ã§åæ ãããããšãã§ããŸããå¹æãèŠãã«ã¯ã該åœããã¿ããéããŠããå¿
èŠããããŸãã</p> + +<h2 id="ç°¡åãªãŠã©ãŒã¯ã¹ã«ãŒ"><span class="short_text" id="result_box" lang="ja"><span>ç°¡åãªãŠã©ãŒã¯ã¹ã«ãŒ</span></span></h2> + +<p>3ãã€ã³ã®ã€ã³ã¹ãã¯ã¿ã¯ããã©ã«ãã§ç¡å¹ã«ãªã£ãŠããŸãã ããã¯ãå·ŠåŽã®ã¿ããã€ã³ã«ãããã°ã«ã³ã³ãããŒã«ã§æå¹ã«ãªããŸãã</p> + +<p><img alt="a view of the tabs panel, showing the 2 to 3 pane toggle icon" src="https://mdn.mozillademos.org/files/15937/toggle-icon-final.png" style="display: block; height: 241px; margin: 0px auto; width: 410px;"></p> + +<p>ãã°ã«ã³ã³ãããŒã«ãæŒããŠã2ãã€ã³ãš3ãã€ã³ã®è¡šç€ºãåãæ¿ããŸãã</p> + +<p><img alt="The firefox page inspector in 2 pane mode, with HTML pane on left and CSS tool tabs on right" src="https://mdn.mozillademos.org/files/15936/2-pane-view-final.png" style="border-style: solid; border-width: 1px; display: block; height: 262px; margin: 0px auto; width: 1195px;"></p> + +<p><img alt="The firefox page inspector in 3 pane mode, with HTML pane on left, CSS rules pane in center, and CSS tool tabs on right" src="https://mdn.mozillademos.org/files/15935/3-pane-view-final.png" style="border-style: solid; border-width: 1px; display: block; height: 259px; margin: 0px auto; width: 1195px;"></p> + +<p>3ãã€ã³ã¢ãŒããæå¹ã«ãããšãããŒãžã«é©çšãããã«ãŒã«ãç·šéãããšãã« CSS æ©èœã®å®éã®å€æŽã確èªã§ããŸãã ããšãã°ã<a href="/ja/docs/Web/CSS/CSS_Grid_Layout">CSS ã°ãªãã</a>ããããã£ãç·šéãã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_grid_layouts">ã°ãªããã€ã³ã¹ãã¯ã¿</a>ã§ããã«å€æŽã芳å¯ã§ããŸãã</p> + +<p>{{EmbedYouTube("ELS2OOUvxIw")}}</p> + +<h2 id="Firefox_62_以åã§3ãã€ã³ã®ã€ã³ã¹ãã¯ã¿ãæå¹ã«ãã">Firefox 62 以åã§3ãã€ã³ã®ã€ã³ã¹ãã¯ã¿ãæå¹ã«ãã</h2> + +<p>以åã®ããŒãžã§ã³ã® Firefox (Firefox 59/60 以é) ã§ã¯ãabout:config ã«ç§»åããŠæ¬¡ã® prefs ã <code>true</code> ã«åãæ¿ããããšã§ãRelease/Beta ã§3ãã€ã³ã¢ãŒããæå¹ã«ããããšãã§ããŸãïŒ</p> + +<p><code>devtools.inspector.split-rule-enabled</code> â 3ãã€ã³ã¢ãŒãã®ãªã³ãšãªããåãæ¿ããŸãã</p> + +<p><code>devtools.inspector.split-sidebar-toggle</code> â ããã«ãã UI ãã°ã«ãã¿ã³ãè¿œå ããããªã³/ãªããåãæ¿ããããšãã§ããŸãã</p> + +<p>Firefox 61 ã§ã¯ããããã®èšå®ã次ã®ããã«å€æŽãããŸããã</p> + +<ul> + <li><code>devtools.inspector.three-pane-enabled</code></li> + <li><code>devtools.inspector.three-pane-toggle</code></li> +</ul> + +<p>Firefox 61ã®æ©èœããã¹ãããã«ã¯ããªãªãŒã¹/ããŒã¿çã§ãããã®2ã€ã <code>true</code> ã«åãæ¿ããå¿
èŠããããŸãã</p> + +<div class="note"> +<p><strong>Note</strong>: 3ãã€ã³ã®ã€ã³ã¹ãã¯ã¿ã¯ãFirefox 62 ããåã®Nightly/Developer çã§ãã§ã«æå¹ã«ãªã£ãŠããŸãã</p> +</div> diff --git a/files/ja/tools/page_inspector/3d_view/index.html b/files/ja/tools/page_inspector/3d_view/index.html new file mode 100644 index 0000000000..daac55be01 --- /dev/null +++ b/files/ja/tools/page_inspector/3d_view/index.html @@ -0,0 +1,103 @@ +--- +title: 3D ãã¥ãŒ +slug: Tools/Page_Inspector/3D_view +tags: + - HTML + - Tools + - Web Development + - 'Web Development:Tools' +translation_of: Tools/3D_View +--- +<div>{{ToolsSidebar}}</div><div class="warning"> +<p>Firefox 47 ããã3D ãã¥ãŒã¯äœ¿çšã§ããŸããã</p> + +<p>åæ§ã®æ©èœãæäŸããã¢ããªã³ããããŸã: <a href="https://addons.mozilla.org/firefox/addon/tilt/">https://addons.mozilla.org/firefox/addon/tilt/</a>ããã ãçµã¿èŸŒã¿çãšåããããã®ã¢ããªã³ã¯<a href="/ja/docs/Mozilla/Firefox/Multiprocess_Firefox">ãã«ãããã»ã¹ Firefox</a> ã§åäœããŸããã</p> +</div> + +<p>3D ãã¥ãŒãã¿ã³ãã¯ãªãã¯ãããšãããŒãžã 3D ãã¥ãŒã¢ãŒãã«ç§»è¡ããŸãããã®ã¢ãŒãã§ã¯ HTML ã§å
¥ãåã®ãããã¯ããããŒãžã®åºéšããå€åŽãžé£ã³åºãããã¡ã§æ¬¡ç¬¬ã« "é«ã" ãªãããã« 3D æç»ãããããŒãžãèŠãããšãã§ããŸãããã®ãã¥ãŒã¯ãã³ã³ãã³ãã®å
¥ãåæ§é ã®èŠèŠåã容æã«ããŸãã</p> + +<p><img alt="" class="default internal" src="/files/3625/3dview.png"></p> + +<p>ãã¥ãŒãã¯ãªãã¯ããŠãã©ãã°ãããšãããŒãžã® DOM éå±€æ§é ã® 3D 衚瀺ãå¥ã®èŠç¹ããèŠãããæ§é ã確èªããããããããã«å転ããããšãåãã®å€æŽãã§ããŸãããªãã¹ã¯ãªãŒã³ã®èŠçŽ ãèŠããããã«ãªããŸãã®ã§ãèŠããŠããã³ã³ãã³ãã«å¯ŸããŠèŠçŽ ãã©ãã«é
眮ãããŠãããã確èªã§ããŸãããŸãèŠçŽ ãã¯ãªãã¯ãããšããã® HTML ã <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ããã«</a> ã <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane" title="Style panel">ã¹ã¿ã€ã«ããã«</a> ã§åç
§ã§ããŸããéã«ãã³ãããªã¹ãã§èŠçŽ ãã¯ãªãã¯ãããšã3D ãã¥ãŒå
ã§éžæãããŠããèŠçŽ ãå€æŽã§ããŸãã</p> + +<p>ããŒãžèª¿æ»ããŒã«ã« 3D ãã¥ãŒãã¿ã³ã衚瀺ãããªãå Žåã¯ã䜿çšããŠããã°ã©ãã£ãã¯ãã©ã€ããæŽæ°ããå¿
èŠããããããããŸããã詳ããã¯ã<a class="link-https" href="https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers" title="https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers">ãããã¯ãªã¹ãã«ç»é²ããããã©ã€ãã®ããŒãž</a>ãã芧ãã ããã</p> + +<h2 id="Controlling_the_3D_view" name="Controlling_the_3D_view">3D ãã¥ãŒã®ã³ã³ãããŒã«</h2> + +<p>3D ãã¥ãŒã§äœ¿çšã§ããããŒããŒãã·ã§ãŒãã«ãããšããŠã¹æäœã以äžã«ç€ºããŸãã</p> + +<table class="standard-table" style="width: auto;"> + <tbody> + <tr> + <td class="header">æ©èœ</td> + <td class="header">ããŒããŒã</td> + <td class="header">ããŠã¹</td> + </tr> + <tr> + <td>ãºãŒã ã€ã³/ã¢ãŠã</td> + <td><kbd>+</kbd> / <kbd>-</kbd></td> + <td>ãã€ãŒã«ã®äžå転/äžå転</td> + </tr> + <tr> + <td>å·Šå³ã®å転</td> + <td><kbd>a</kbd> / <kbd>d</kbd></td> + <td>å·Šå³ãžã®ãã©ãã°</td> + </tr> + <tr> + <td>äžäžã®å転</td> + <td><kbd>w</kbd> / <kbd>s</kbd></td> + <td>äžäžãžã®ãã©ãã°</td> + </tr> + <tr> + <td>å·Šå³ã®ç§»å</td> + <td><kbd>â</kbd> / <kbd>â</kbd></td> + <td>å·Šå³ãžã®ãã©ãã°</td> + </tr> + <tr> + <td>äžäžã®ç§»å</td> + <td><kbd>â</kbd> / <kbd>â</kbd></td> + <td>äžäžãžã®ãã©ãã°</td> + </tr> + <tr> + <td>ãºãŒã ã¬ãã«ã®åæå</td> + <td><kbd>0</kbd></td> + <td>ãºãŒã ã¬ãã«ãæ¢å®ã®ç¶æ
ã«åæåããŸãã</td> + </tr> + <tr> + <td>éžæããããŒããžãã©ãŒã«ã¹</td> + <td><kbd>f</kbd></td> + <td>éžæããããŒããèŠããããã«ãã¥ãŒã移åããŸãã {{fx_minversion_inline("13.0")}}</td> + </tr> + <tr> + <td>ãã¥ãŒã®åæå</td> + <td><kbd>r</kbd></td> + <td>ãºãŒã ãå転ã移åãæ¢å®ã®ç¶æ
ã«åæåããŸãã{{fx_minversion_inline("12.0")}}</td> + </tr> + <tr> + <td>éžæäžã®ããŒããé ã</td> + <td><kbd>x</kbd></td> + <td>çŸåšéžæããŠããããŒããé衚瀺ã«ããŸããããã¯èŠãé ãããŠããããŒããæããã«ããå¿
èŠãããå Žåã«åœ¹ç«ã¡ãŸãã{{fx_minversion_inline("12.0")}}</td> + </tr> + </tbody> +</table> + +<h2 id="Use_cases_for_the_3D_view" name="Use_cases_for_the_3D_view">3D ãã¥ãŒã®çšé</h2> + +<p>ããŸããŸãªç¶æ³ã§ 3D ãã¥ãŒã¯åœ¹ã«ç«ã¡ãŸã:</p> + +<ul> + <li>å£ãã HTML ã«ããã¬ã€ã¢ãŠãã®åé¡ãçºçããŠããå Žåã« 3D ãã¥ãŒã§ç¢ºèªããããšã§ãã©ãã«èª€ããããããèŠã€ããããšã®å©ãã«ãªããŸããã¬ã€ã¢ãŠãã®åé¡ã¯ãã³ã³ãã³ãã®å
¥ãåé¢ä¿ã®èª€ãã«ãã£ãŠçºçããããšããããããŸãã3D ãã¥ãŒã§è¡šç€ºããŠã©ã®èŠçŽ ã誀ã£ãå
¥ãåã«ãªã£ãŠããããèŠããšãå
¥ãåã®èª€ããããæ確ã«ãªããŸãã</li> + <li>ã³ã³ãã³ãã衚瀺ãããªãå Žåã«ããã®çç±ãããããããããŸããã3D ãã¥ãŒã§ã¯ããŒãžã®å¯èŠé åã®å€åŽã«è¡šç€ºãããŠããèŠçŽ ãèŠãããã«ãºãŒã ã¢ãŠãããããšãã§ããŸãã®ã§ããã®æ¹æ³ã§å€ããŠããã³ã³ãã³ããèŠã€ããããšãã§ããŸãã</li> + <li>ã¬ã€ã¢ãŠããæé©åããæ¹æ³ããããã調ã¹ãããã«ãããŒãžãã©ã®ãããªæ§é ã§ãããã確èªããããšãã§ããŸãã</li> + <li>ãŸãã3D ãã¥ãŒã®è¡šç€ºã¯<strong>å°è±¡ç</strong>ã§ãã</li> +</ul> + +<h2 id="See_also" name="See_also">é¢é£æ
å ±</h2> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector" title="Page Inspector">ããŒãžã€ã³ã¹ãã¯ã¿</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ããã«</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane" title="Style panel">ã¹ã¿ã€ã«ããã«</a></li> + <li><a href="/ja/docs/Tools" title="Tools">éçºããŒã«</a></li> + <li><a href="http://hacks.mozilla.org/2011/12/new-developer-tools-in-firefox-11-aurora/" title="http://hacks.mozilla.org/2011/12/new-developer-tools-in-firefox-11-aurora/">New Developer Tools in Firefox 11 Aurora</a> (ããã°èšäº)</li> +</ul> diff --git a/files/ja/tools/page_inspector/how_to/edit_css_filters/index.html b/files/ja/tools/page_inspector/how_to/edit_css_filters/index.html new file mode 100644 index 0000000000..5f9a89304f --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/edit_css_filters/index.html @@ -0,0 +1,36 @@ +--- +title: CSS ãã£ã«ã¿ãŒãç·šéãã +slug: Tools/Page_Inspector/How_to/Edit_CSS_filters +tags: + - CSS + - DevTools + - Filters + - Page Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Edit_CSS_filters +--- +<div>{{ToolsSidebar}}</div><p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã§ã<code><a href="/ja/docs/Web/CSS/filter">filter</a></code> ããããã£ã®é£ã«äžžãç°è²ãšçœè²ã®ããŒã¯ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10873/filter-editor-swatch.png" style="display: block; height: 70px; margin-left: auto; margin-right: auto; width: 768px;"></p> + +<p>ãã®ããŒã¯ãã¯ãªãã¯ãããšããã£ã«ã¿ãŒãšãã£ã¿ãŒãéããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11309/filter-editor.png" style="display: block; height: 276px; margin-left: auto; margin-right: auto; width: 603px;"></p> + +<p>ãã£ã«ã¿ãŒãè¿œå ãåé€ãç·šéãããã³ãã©ãã°ããŠãã£ã«ã¿ãŒã®é©çšé åºãå€æŽã§ããŸã:</p> + +<p>{{EmbedYouTube("yws01SEPTvg")}}</p> + +<h2 id="Saving_filter_presets" name="Saving_filter_presets">ãã£ã«ã¿ãŒã®ããªã»ãããä¿åãã</h2> + +<p>Firefox 42 ãããããªã»ããã®ãªã¹ãã«ãã£ã«ã¿ãŒãè¿œå ããããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11311/filter-editor-presets.png" style="display: block; height: 276px; margin-left: auto; margin-right: auto; width: 603px;"></p> + +<p>çŸåšã®ãã£ã«ã¿ãŒãããªã»ããã®ãªã¹ãã«ä¿åããŸã:</p> + +<p>{{EmbedYouTube("bHcfLlZE8T8")}}</p> + +<p>ä¿åãããã£ã«ã¿ãŒããæ°ããªèŠçŽ ã«å¯ŸããŠé©çšã§ããŸã:</p> + +<p>{{EmbedYouTube("PK85L7ztQto")}}</p> diff --git a/files/ja/tools/page_inspector/how_to/edit_css_shapes/index.html b/files/ja/tools/page_inspector/how_to/edit_css_shapes/index.html new file mode 100644 index 0000000000..485ac68a01 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/edit_css_shapes/index.html @@ -0,0 +1,89 @@ +--- +title: CSS ã·ã§ã€ãã®ãã¹ãç·šéãã +slug: Tools/Page_Inspector/How_to/Edit_CSS_shapes +tags: + - CSS + - DevTools + - Page Inspector + - Rules view + - Tools + - highlighter + - shapes +translation_of: Tools/Page_Inspector/How_to/Edit_CSS_shapes +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary">ã·ã§ã€ããã¹ãšãã£ã¿ãŒã¯ãCSS ã® {{cssxref("clip-path")}}ã{{cssxref("shape-outside")}} ããããã£ãš {{cssxref("<basic-shape>")}} å€ã䜿çšããŠäœæããã·ã§ã€ãã®ç¢ºèªãç·šéãæ¯æŽããããŒã«ã§ãããã®ã¬ã€ãã§ã¯ãããŒã«ã§äœ¿çšå¯èœãªãªãã·ã§ã³ãèŠãŠãããŸãã</p> + +<h2 id="Activate_deactivate_the_Shape_Path_Editor" name="Activate_deactivate_the_Shape_Path_Editor">ã·ã§ã€ããã¹ãšãã£ã¿ãŒãèµ·åããã³çµäºãã</h2> + +<p>ã·ã§ã€ããã¹ãšãã£ã¿ãŒã¯ CSS ã«ãŒã«ããã«ããã¢ã¯ã»ã¹ã§ããŸããããã«ã®éãæ¹ã¯ <a href="/ja/docs/Tools/Page_Inspector/How_to/Open_the_Inspector">ã€ã³ã¹ãã¯ã¿ãŒãéã</a> ã®ã¬ã€ãã§èª¬æããŠããŸããèŠçŽ ãéžæãããšã<code>shape-outside</code> ãªã©æå¹ãªå€ã®ãã°ã«ã·ã§ã€ãã®ã¢ã€ã³ã³ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15915/enable-shapes-editor.png" style="border-style: solid; border-width: 1px; height: 370px; width: 1836px;"></p> + +<p>ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã·ã§ã€ãããã€ã©ã€ã衚瀺ãããšãã£ã¿ãŒãçŸããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15916/circle.png" style="height: 686px; width: 1210px;"></p> + +<p>ã¢ã€ã³ã³ãå床ã¯ãªãã¯ãããšãšãã£ã¿ãŒãéããŸãããããã¯å¥ã®èŠçŽ ãéžæãããšãå¥ã®ãšãã£ã¿ãŒãçŸããŸããã·ã§ã€ããã¹ãšãã£ã¿ãŒã¯ãããŒãžã®åèªã¿èŸŒã¿åŸã«ç¶æãããŸãããåèªã¿èŸŒã¿ãããšãããäžåºŠèŠçŽ ãéžæããªããã°ãªããŸããã</p> + +<h2 id="Understanding_the_lines_drawn_by_the_editor" name="Understanding_the_lines_drawn_by_the_editor">ãšãã£ã¿ãŒã衚瀺ããç·ãç解ãã</h2> + +<p>ããŒãžäžã®ã·ã§ã€ããéžæãããšã·ã§ã€ããã¹ãšãã£ã¿ãŒããäœæããããã¹ã®ç解ãæ¯æŽããç·ã衚瀺ããŸãã</p> + +<ul> + <li><strong>å®ç·</strong>ã¯ãããã¹ããæãè¿ãã·ã§ã€ãã®èŒªéãè¡šããŸããããã¯ããªããæå®ããã·ã§ã€ãã§ããã·ã§ã€ããããŒãžã³ããã¯ã¹ã«ãã£ãŠåãæãããå Žåã¯ãããŒãžã³ããã¯ã¹ããã®ç·ã®äžéšãæ§æããŸãã</li> + <li><strong>ç Žç·</strong>ã¯ãããŒãžã³ããã¯ã¹ãè¶
ããã·ã§ã€ãã®èŒªéãè¡šããŸããããã¯ãããŒãžã³ããã¯ã¹ã«ãã£ãŠåãæãããé åã§ããããŒãžã³ããã¯ã¹ããCSS ã·ã§ã€ãã§äœ¿çšãããã»ãã®ããã¯ã¹ã«ã€ããŠã¯ã<a href="/ja/docs/Web/CSS/CSS_Shapes/From_box_values">ããã¯ã¹å€ããã®ã·ã§ã€ã</a> ã®ã¬ã€ããã芧ãã ããã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15917/clipped-margin-box.png" style="height: 692px; width: 1290px;"></p> + +<h2 id="Editing_Basic_Shapes" name="Editing_Basic_Shapes">åºæ¬ã·ã§ã€ããç·šéãã</h2> + +<p>ãã®æ©èœã¯ãç·šéããåºæ¬ã·ã§ã€ãã®çš®é¡ã«å¿ããŠç°ãªãããŒã«ãæäŸãããŸããã¢ã€ã³ã³ãã¯ãªãã¯ããŠã·ã§ã€ããã¹ãšãã£ã¿ãŒãèµ·åãããšããã®æ©èœã䜿çšã§ããŸãããŸããã³ã³ããã¹ãã¡ãã¥ãŒ (<kbd>Ctrl</kbd> ãŸã㯠<kbd>Cmd</kbd> + ã¯ãªãã¯) ããä»å æ©èœã䜿çšã§ããŸãã</p> + +<h3 id="circle()" name="circle()">circle()</h3> + +<p><code>shape-outside</code> ã®å€ã <code>circle()</code> ã§ããå Žåã¯ã<a href="/ja/docs/Web/CSS/CSS_Shapes/Basic_Shapes#circle()">å圢ã®åºæ¬ã·ã§ã€ã</a> ãäœæããŸãã<code>circle()</code> å€ã®é£ã«ããã·ã§ã€ãã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã·ã§ã€ãããã€ã©ã€ã衚瀺ããŠãåã®ãµã€ãºå€æŽãšäžå¿ã®ç§»åãè¡ãæ©èœãæäŸããŸããããŒãžã³ããã¯ã¹ãè¶
ããããã«åã移åããããµã€ãºãå€æŽããããããšãããŒãžã³ããã¯ã¹ã«ãã£ãŠèŒªéãåãæãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15917/clipped-margin-box.png" style="height: 692px; width: 1290px;"></p> + +<p>ã·ã§ã€ãã®ç·šéã«å¿ããŠãã«ãŒã«ããã«ã§ <code>circle()</code> ã®å€ãå€åããŸãããããã®å€ãã³ããŒããŠã¹ã¿ã€ã«ã·ãŒãã«è²Œãä»ãããšãç·šéåŸã®ãã¹ã§æ°ããã·ã§ã€ããäœæã§ããŸãã</p> + +<h3 id="ellipse()" name="ellipse()">ellipse()</h3> + +<p><code>shape-outside</code> ã®å€ã <code>ellipse()</code> ã§ããå Žåã¯ã<a href="/ja/docs/Web/CSS/CSS_Shapes/Basic_Shapes#ellipse()">æ¥å圢ã®åºæ¬ã·ã§ã€ã</a> ãäœæããŸããã·ã§ã€ããã¹ãšãã£ã¿ãŒã¯ <code>ellipse()</code> å€ã§ãã<code>circle()</code> ãšã»ãŒåæ§ã«æ©èœããŸããæ¥å圢ã¯ã€ã¶ããå圢ã§ãã®ã§ãã·ã§ã€ãã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšæ°Žå¹³ããã³åçŽæ¹åã«ãµã€ãºãå€æŽããæ©èœãæäŸããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15920/ellipse.png" style="height: 570px; width: 1216px;"></p> + +<h3 id="inset()" name="inset()">inset()</h3> + +<p><code>shape-outside</code> ã®å€ã <code>inset()</code> ã§ããå Žåã¯ã<a href="/ja/docs/Web/CSS/CSS_Shapes/Basic_Shapes#inset()">inset åã®åºæ¬ã·ã§ã€ã</a> ãäœæããŸããããã¯ãããŒãžã³ããã¯ã¹ã®äžã§å
容ç©ãåãæããªãã»ããå€ã«ãã£ãŠã·ã§ã€ããäœæã§ããŸãã</p> + +<p>ã·ã§ã€ãã¢ã€ã³ã³ãã¯ãªãã¯ãããšãç©åœ¢ã®ããããã®èŸºã察象ã«ããã·ã§ã€ããã¹ãšãã£ã¿ãŒãèµ·åãããŸãã蟺ããã©ãã°ãããšããªãã»ããå€ã® topãrightãbottomãleft ãæŽæ°ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15923/inset.png" style="height: 606px; width: 1214px;"></p> + +<h3 id="polygon()" name="polygon()">polygon()</h3> + +<p><code>shape-outside</code> ã®å€ã <code>polygon()</code> ã§ããå Žåã¯ã<a href="/ja/docs/Web/CSS/CSS_Shapes/Basic_Shapes#polygon()">å€è§åœ¢ã®åºæ¬ã·ã§ã€ã</a> ãäœæããŸããããã¯åºæ¬ã·ã§ã€ãã§ãã£ãšãè€éãªå€ã§ãããã·ã§ã€ããç·šéããéã«ããŒã«ãå€ãã®æ©èœãæäŸããŸã:</p> + +<ul> + <li>ã·ã§ã€ãã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšã·ã§ã€ããã¹ãšãã£ã¿ãŒãèµ·åããŠãå€è§åœ¢ã·ã§ã€ãã®é ç¹ã移åããæ©èœãæäŸããŸãã</li> + <li>蟺ã®ä»»æã®å Žæãããã«ã¯ãªãã¯ãããšãæ°ããé ç¹ãäœæããŸãã</li> + <li>æ¢åã®é ç¹ãããã«ã¯ãªãã¯ãããšãé ç¹ãåé€ããŸãã<em>å€è§åœ¢ã¯å°ãªããšã 3 ã€ã®é ç¹ãå¿
èŠã§ãã®ã§æ³šæããŠãã ãã</em>ã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15918/polygon-edit.png" style="height: 660px; width: 1260px;"></p> + +<h3 id="Moving_and_scaling_shapes" name="Moving_and_scaling_shapes">ã·ã§ã€ãã移åããã³æ¡å€§çž®å°ãã</h3> + +<p>ãã€ã©ã€ã衚瀺ããã·ã§ã€ãã§ä»å æ©èœã䜿çšã§ããŸããã·ã§ã€ãã®ã¢ã€ã³ã³ã <kbd>Ctrl</kbd> ãŸã㯠<kbd>Cmd</kbd> + ã¯ãªãã¯ãããšãã·ã§ã€ãã®æ¡å€§ã»çž®å°ã移åãå¯èœãªãã€ã©ã€ã衚瀺ã«æ¿ãããŸãããã¡ãããããŒãžã³ããã¯ã¹ã®å¢çãè¶
ããéšåã¯åãæãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15924/scaled-circle.png"></p> + +<p>å€è§åœ¢ã·ã§ã€ãã§ã¯ã軞ã«ãã£ãŠå転ãããæ©èœãæäŸããŸãã</p> + +<h2 id="Browser_support" name="Browser_support">ãã©ãŠã¶ãŒã®ãµããŒã</h2> + +<p>ã·ã§ã€ããã¹ãšãã£ã¿ãŒã¯çŸåšã{{cssxref("clip-path")}} ã§çæããã·ã§ã€ãã§æ©èœããŸããFirefox 62 ã§ã¯ {{cssxref("shape-outside")}} ã§çæããã·ã§ã€ãã§ãæ©èœããŸãã</p> diff --git a/files/ja/tools/page_inspector/how_to/examine_and_edit_css/index.html b/files/ja/tools/page_inspector/how_to/examine_and_edit_css/index.html new file mode 100644 index 0000000000..7390574960 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/examine_and_edit_css/index.html @@ -0,0 +1,244 @@ +--- +title: CSS ã®èª¿æ»ãšç·šé +slug: Tools/Page_Inspector/How_to/Examine_and_edit_CSS +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Examine_and_edit_CSS +--- +<div>{{ToolsSidebar}}</div> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">CSS ãã€ã³</a> ã§ãããŒãžã® CSS ã®èª¿æ»ãç·šéãè¡ããŸãã</p> + +<h2 id="Examine_CSS_rules" name="Examine_CSS_rules">CSS ã«ãŒã«ã®èª¿æ»</h2> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã§ã¯éžæããèŠçŽ ã«é©çšããŠãããã¹ãŠã®ã«ãŒã«ããå
·äœæ§ãé«ããã®ããäœããã®ã®é ã«äžŠã¹ãŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11203/css-overview.png" style="display: block; height: 510px; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<p>æªãµããŒããç¡å¹ãªã¹ã¿ã€ã«ã®é£ã«ãèŠåã¢ã€ã³ã³ã衚瀺ããŸããããã«ãããããã¹ã¿ã€ã«ããªãé©çšãããªãããç¥ãå©ãã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12189/css-as-authored.png" style="display: block; height: 357px; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<h3 id="Rule_display" name="Rule_display">ã«ãŒã«ã®è¡šç€º</h3> + +<p>ããã§ã¯åã«ãŒã«ããã»ã¬ã¯ã¿ãŒã®ãªã¹ããš <code>property:value;</code> ã®å®£èšãšãã圢åŒã§ãã¹ã¿ã€ã«ã·ãŒãã®ããã«è¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11635/css-rule-anatomy.png" style="display: block; height: 488px; margin-left: auto; margin-right: auto; width: 650px;"></p> + +<ul> + <li><em>äžèŽããèŠçŽ ã匷調</em>: ã»ã¬ã¯ã¿ãŒã®é£ã«ãæšçã®ã¢ã€ã³ã³ããããŸãããããã¯ãªãã¯ãããšãããŒãžå
ã§ã»ã¬ã¯ã¿ãŒã«ããããããã¹ãŠã®ããŒãã匷調衚瀺ããŸãã</li> + <li><em>ãªãŒããŒã©ã€ãããã宣èš</em>: åŸã®ã«ãŒã«ã§ãªãŒããŒã©ã€ãããã宣èšã«ã¯ãæã¡æ¶ãç·ãåŒãããŸãã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Overridden_declarations">ãªãŒããŒã©ã€ãããã宣èš</a> ãã芧ãã ããã</li> + <li><em>ã«ã¹ã±ãŒãã衚瀺</em>: ãªãŒããŒã©ã€ãããã宣èšã®é£ã«ãæ¡å€§é¡ã®ã¢ã€ã³ã³ããããŸãããããã¯ãªãã¯ãããšããªãŒããŒã©ã€ããããããããã£ãå«ãã«ãŒã«ã®ã«ã¹ã±ãŒãç¶æ³ã確èªã§ããŸãã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Overridden_declarations">ãªãŒããŒã©ã€ãããã宣èš</a> ãã芧ãã ããã</li> + <li><em>æå¹/ç¡å¹</em>: 宣èšã®äžã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãé£ã«ãã§ãã¯ããã¯ã¹ã衚瀺ãããŸãããã®ãã§ãã¯ããã¯ã¹ã§å®£èšã®æå¹ã»ç¡å¹ãåãæ¿ãã§ããŸãã</li> + <li><em>ãã¡ã€ã«åãšè¡çªå·</em>: å³åŽã«ãã«ãŒã«ãžã®ãªã³ã¯ããããŸãã詳ãã㯠<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Link_to_CSS_file">CSS ãã¡ã€ã«ãžã®ãªã³ã¯</a> ãã芧ãã ããã</li> +</ul> + +<p>Firefox 52 ãã <code><a href="/ja/docs/Web/CSS/display">display: grid</a></code> 宣èšãããèŠçŽ ã§ãã°ãªããã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14524/Screen%20Shot%202016-12-16%20at%2010.51.15%20AM.png" style="height: 22px; margin-bottom: -5px; width: 22px;">) ã衚瀺ãããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã°ãªããã©ã€ã³ãã°ãªãããã©ãã¯ãå«ãã°ãªããã®ç¶æ
ããããŒãžã«éããŠè¡šç€ºããŸãã詳ãã㯠<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_grid_layouts">ã°ãªããã¬ã€ã¢ãŠãã調æ»ãã</a> ãã芧ãã ããã</p> + +<p><a href="/ja/docs/Web/CSS/Cascade">ãŠãŒã¶ãŒãšãŒãžã§ã³ãã®ã¹ã¿ã€ã«</a> (<em>ããªãã¡</em>ããã©ãŠã¶ãŒã®ããã©ã«ãã® CSS ã«ãŒã«) ã衚瀺ããã«ã¯ã<a href="/ja/docs/Tools/Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ããã«ã§ "ãã©ãŠã¶ãŒ CSS ã衚瀺" ãæå¹åããŸã (ãã®èšå®ã¯ <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_computed_CSS">èšç®æžã¿ãã¥ãŒ</a> ã® [ãã©ãŠã¶ãŒ CSS] ãã§ãã¯ããã¯ã¹ãšã¯ç¬ç«ããèšå®ã§ãã®ã§æ³šæããŠãã ãã)ã</p> + +<p>ãŠãŒã¶ãŒãšãŒãžã§ã³ãã®ã¹ã¿ã€ã«ã¯èæ¯ãç°ãªãããã¡ã€ã«åãšè¡çªå·ã®ãªã³ã¯ã«æ¥é èŸ <code>(ãŠãŒã¶ãŒãšãŒãžã§ã³ã)</code> ãã€ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11207/css-user-agent.png" style="display: block; height: 118px; margin-left: auto; margin-right: auto; width: 585px;"></p> + +<h3 id="element_rule" name="element_rule">èŠçŽ {} ã«ãŒã«</h3> + +<p>ã«ãŒã«äžèŠ§ã®å
é ã«ãã <code>èŠçŽ {}</code> ã«ãŒã«ã¯ãæ¬ç©ã® CSS ã«ãŒã«ã§ã¯ãããŸãããããã¯ãèŠçŽ ã® {{htmlattrxref("style")}} å±æ§ã§å²ãåœãŠããã CSS ããããã£ãè¡šããŸãã</p> + +<p>Firefox 52 ããæšçã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14520/target-icon.png" style="height: 22px; margin-bottom: -5px; width: 22px;">) ã衚瀺ããŠãããããã¯ããŒãžã§çŸåšéžæããŠããèŠçŽ ã匷調衚瀺ããããã®äŸ¿å©ãªæ段ã§ãã</p> + +<p>{{EmbedYouTube("bQzOAFvEDco")}}</p> + +<h3 id="Filtering_rules" name="Filtering_rules">ã«ãŒã«ã®ãã£ã«ã¿ãªã³ã°</h3> + +<p>ã«ãŒã«ãã¥ãŒã®äžéšã« "ã¹ã¿ã€ã«ãçµã蟌ã¿" ãšèšèŒãããããã¯ã¹ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11195/css-filter-annotated.png" style="display: block; height: 264px; margin-left: auto; margin-right: auto; width: 606px;"></p> + +<p>ããã«å
¥åãããšä»¥äžã®ããã«ãªããŸã:</p> + +<ul> + <li>å
¥åããæååãå«ãŸãªãã«ãŒã«ã¯ããã¹ãŠé衚瀺ã«ãªããŸãã</li> + <li>å
¥åããæååãå«ã宣èšããã€ã©ã€ã衚瀺ããŸãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11197/css-filtered.png" style="display: block; height: 382px; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<p>æ€çŽ¢ããã¯ã¹æ«å°Ÿã® "X" å°ãã¯ãªãã¯ãããšããã£ã«ã¿ãŒãåé€ããŸãã</p> + +<div class="note"> +<p>ã«ãŒã«ãã¥ãŒã§ <kbd>Ctrl</kbd> / <kbd>Cmd</kbd> + <kbd>F</kbd> ãæŒäžãããšãæ€çŽ¢ãã£ãŒã«ãã«ãã©ãŒã«ã¹ãããããŸãããã£ã«ã¿ãŒãå
¥åããåŸã<kbd>Esc</kbd> ãæŒäžãããšå
¥åå
容ãåé€ã§ããŸãã</p> +</div> + +<p>{{EmbedYouTube("9w8vDIWqnAE")}}</p> + +<h4 id="Strict_search" name="Strict_search">å³å¯ãªæ€çŽ¢</h4> + +<p>ããã©ã«ãã§æ€çŽ¢ããã¯ã¹ã¯ãæååãäžéšã«å«ããã¹ãŠã®å®£èšã匷調衚瀺ããŸããäŸãã° "color" ãæ€çŽ¢ãããšã<code><a href="/ja/docs/Web/CSS/color">color</a></code> ã ãã§ãªã <code><a href="/ja/docs/Web/CSS/border-bottom-color">border-bottom-color</a></code> ã <code><a href="/ja/docs/Web/CSS/background-color">background-color</a></code> ãå«ã宣èšã匷調衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11625/css-search-not-strict.png" style="display: block; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<p>`color` ã®ããã«æ€çŽ¢èªãããã¯ã¯ã©ãŒãã§æ¬ããšãå®å
šäžèŽã«éå®ããŠæ€çŽ¢ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11627/css-search-strict.png" style="display: block; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<h3 id="Expanding_shorthand_properties" name="Expanding_shorthand_properties">ã·ã§ãŒããã³ãããããã£ãå±éãã</h3> + +<p><a href="/ja/docs/Web/CSS/Shorthand_properties">ã·ã§ãŒããã³ãããããã£</a> ã®ãã°ã«ããäžè§å°ãã¯ãªãã¯ãããšãé¢é£ãããã³ã°ãã³ãããããã£ã衚瀺ããããã«å±éã§ããŸãã</p> + +<h3 id="Displaying_pseudo-elements" name="Displaying_pseudo-elements">ç䌌èŠçŽ ã衚瀺ãã</h3> + +<p>éžæããèŠçŽ ã«ä»¥äžã® <a href="/ja/docs/Web/CSS/Pseudo-elements">ç䌌èŠçŽ </a> ãé©çšãããŠããå Žåã«ãããããã«ãŒã«ãã¥ãŒã§è¡šç€ºããŸã:</p> + +<p><code>::after<br> + ::backdrop<br> + ::before<br> + ::first-letter<br> + ::first-line<br> + ::selection<br> + :-moz-color-swatch<br> + :-moz-number-spin-box<br> + :-moz-number-spin-down<br> + :-moz-number-spin-up<br> + :-moz-number-text<br> + :-moz-number-wrapper<br> + :-moz-placeholder<br> + :-moz-progress-bar<br> + :-moz-range-progress<br> + :-moz-range-thumb<br> + :-moz-range-track<br> + :-moz-selection</code></p> + +<p>éžæããèŠçŽ ã«é©çšããŠããç䌌èŠçŽ ãããå Žåã¯ãéžæããèŠçŽ ããåã«ãããã衚瀺ããŸãããã ããå±éããªãç¶æ
ã§é ãããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11225/css-pseudo-collapsed.png" style="display: block; height: 304px; margin-left: auto; margin-right: auto; width: 626px;"></p> + +<p>äžè§å°ãã¯ãªãã¯ãããšãç䌌èŠçŽ ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11227/css-pseudo-expanded.png" style="display: block; height: 371px; margin-left: auto; margin-right: auto; width: 587px;"></p> + +<h3 id="Setting_hover_active_focus" name="Setting_hover_active_focus">:hoverã:activeã:focus ãèšå®ãã</h3> + +<p>ãã£ã«ã¿ãŒããã¯ã¹ã®å³åŽã«ãã¿ã³ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11199/css-lock-hover-1.png" style="display: block; height: 510px; margin-left: auto; margin-right: auto; width: 597px;"></p> + +<p>ãã¿ã³ãã¯ãªãã¯ãããš 3 ã€ã®ãã§ãã¯ããã¯ã¹ãçŸããŸããããã䜿çšããŠãéžæããèŠçŽ ã« {{cssxref(":hover")}}ã{{cssxref(":active")}}ã{{cssxref(":focus")}} ã®åç䌌ã¯ã©ã¹ãèšå®ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11201/css-lock-hover-2.png" style="display: block; height: 732px; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<p>ãã®æ©èœã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">HTML ãã¥ãŒã®ãããã¢ããã¡ãã¥ãŒ</a> ãã䜿çšããããšãã§ããŸãã</p> + +<p>ããããã®ç䌌ã¯ã©ã¹ãèšå®ãããšããŒã¯ã¢ãããã¥ãŒã§ãç䌌ã¯ã©ã¹ãé©çšããããã¹ãŠã®ããŒãã®é£ã«æ©è²ã®å°ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11637/css-pseudo-class.png" style="display: block; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<h3 id="Link_to_CSS_file" name="Link_to_CSS_file">CSS ãã¡ã€ã«ãžã®ãªã³ã¯</h3> + +<p>åã«ãŒã«ã®å³äžã«ããœãŒã¹ãã¡ã€ã«ã®ååãšè¡çªå·ããªã³ã¯ãšããŠè¡šç€ºããŸãããã®ãªã³ã¯ãã¯ãªãã¯ãããšããã¡ã€ã«ã <a href="/ja/docs/Tools/Style_Editor" title="Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a> ã§éããŸãã</p> + +<p>ãœãŒã¹ãã¡ã€ã«ã®å Žæãã³ããŒã§ããŸãããªã³ã¯ãå³ã¯ãªãã¯ã㊠[URL ãã³ããŒ] ãéžæããŠãã ããã</p> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã¯ CSS ãœãŒã¹ããããç解ããŸãããœãŒã¹ãããããµããŒããã CSS ããªããã»ããµãŒã䜿çšããŠããããŸã <a href="/ja/docs/Tools_Toolbox#Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã®èšå®</a> ã§ãœãŒã¹ãããã®ãµããŒããæå¹ã«ããŠããå Žåã¯ãçæããã CSS ã§ã¯ãªãå
ã®ãœãŒã¹ãã¡ã€ã«ãžã®ãªã³ã¯ã«ãªããŸããCSS ãœãŒã¹ãããã®ãµããŒãã«ã€ããŠã詳ãã㯠<a href="/ja/docs/Tools/Style_Editor#Source_map_support">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã®ããã¥ã¡ã³ã</a> ãã芧ãã ããã</p> + +<h3 id="Overridden_declarations" name="Overridden_declarations">ãªãŒããŒã©ã€ãããã宣èš</h3> + +<p>CSS 宣èšããããŠã§ã€ãã®å€§ããå¥ã® CSS ã«ãŒã«ã«ãªãŒããŒã©ã€ããããå ŽåããªãŒããŒã©ã€ãããã宣èšã«æã¡æ¶ãç·ã衚瀺ããŸãã</p> + +<p>ãªãŒããŒã©ã€ãããã宣èšã®é£ã«æ¡å€§é¡ã®ã¢ã€ã³ã³ããããŸããã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã«ã¬ã³ãããŒãã«é©çšãããŠããããããã£ã§ãåãããããã£ãèšå®ããããšãããã®ã ãã衚瀺ããããã«ã«ãŒã«ãã¥ãŒããã£ã«ã¿ãªã³ã°ããŸããããã¯ããã®ããããã£ã®ã«ã¹ã±ãŒãã®å
šäœåã§ãã</p> + +<p>ã©ã®ã«ãŒã«ã宣èšããªãŒããŒã©ã€ãããŠãããããç°¡åã«ç¢ºèªã§ããŸã:</p> + +<p>{{EmbedYouTube("i9mDVjJAGwQ")}}</p> + +<h2 id="Examine_computed_CSS" name="Examine_computed_CSS">èšç®æžã¿ CSS ã®èª¿æ»</h2> + +<p>éžæããèŠçŽ åãã«èšç®ããã CSS ã確èªããã«ã¯ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Computed_view">èšç®æžã¿ãã¥ãŒ</a> ã«åãæ¿ããŠãã ãããããã§ã¯éžæããèŠçŽ ã«ã€ããŠãå CSS ããããã£ã®èšç®æžã¿ã®å€ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11209/css-computed.png" style="display: block; height: 566px; margin-left: auto; margin-right: auto; width: 587px;"></p> + +<p><kbd>Tab</kbd> ã䜿çšããŠãããããéžæã§ããŸãããŸã Firefox 49 ããããããã®ããããã£ã«ã€ããŠè©³ããæ
å ±ã確èªã§ããŸããããããã£ãéžæã㊠<kbd>F1</kbd> ãæŒäžãããšãMDN ã®ãªãã¡ã¬ã³ã¹ããŒãžãéããŸãã</p> + +<p>ããããã£åã®é£ã«ããäžè§å°ãã¯ãªãã¯ãã (ãŸãã¯éžæäžã« <kbd>Enter</kbd> ãŸã㯠<kbd>Space</kbd> ãæŒäžãã) ãšããã®å€ãèšå®ããã«ãŒã«ããã³ãã®ã«ãŒã«ãååšãããœãŒã¹ãã¡ã€ã«ã®ãã¡ã€ã«åãšè¡çªå·ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11211/css-computed-expanded.png" style="display: block; height: 484px; margin-left: auto; margin-right: auto; width: 587px;"></p> + +<p>ããã©ã«ãã§ã¯ãããŒãžã§æ瀺çã«èšå®ãããå€ã®ã¿è¡šç€ºããŸãããã¹ãŠã®å€ãèŠãã«ã¯ã[ãã©ãŠã¶ãŒ CSS] ãã§ãã¯ããã¯ã¹ãã¯ãªãã¯ããŠãã ããã<kbd>Tab</kbd> ã䜿çšããŠãã¡ã€ã«å/è¡çªå·ã«ç§»åã§ããŸãããã㊠<kbd>Enter</kbd>/<kbd>Return</kbd> ãæŒäžãããšãé¢é£ãããã¡ã€ã«ã <a href="/ja/docs/Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a> ã§éããŸãã</p> + +<p>æ€çŽ¢ããã¯ã¹ã«å
¥åãããšããã®å Žã§äžèŠ§ãçµã蟌ã¿ãŸããäŸãã°ãã©ã³ãé¢é£ã®èšå®ã ããèŠããå Žåã¯ãæ€çŽ¢ããã¯ã¹ã« "font" ãšå
¥åããã°ååã« "font" ãå«ãŸããããããã£ã®ã¿è¡šç€ºããŸããåæ§ã«ãããããã£ã®å€ãæ€çŽ¢ã§ããŸãããã©ã³ãã "Lucida Grande" ã«èšå®ããã«ãŒã«ãæ¢ãã«ã¯ããã©ã³ãåãæ€çŽ¢ããã¯ã¹ã«å
¥åããŸãã</p> + +<div class="note"> +<p>èšç®æžã¿ãã¥ãŒã§ <kbd>Ctrl</kbd> / <kbd>Cmd</kbd> + <kbd>F</kbd> ãæŒäžãããšãæ€çŽ¢ãã£ãŒã«ãã«ãã©ãŒã«ã¹ãããããŸãããã£ã«ã¿ãŒãå
¥åããåŸã<kbd>Esc</kbd> ãæŒäžãããšå
¥åå
容ãåé€ã§ããŸãã</p> +</div> + +<h2 id="Edit_rules" name="Edit_rules">ã«ãŒã«ã®ç·šé</h2> + +<p>ã«ãŒã«ãã¥ãŒã§å®£èšãŸãã¯ã»ã¬ã¯ã¿ãŒãã¯ãªãã¯ãããšãã«ãŒã«ãç·šéããŠçµæãçŽã¡ã«ç¢ºèªã§ããŸãããŸãã<kbd>Tab</kbd> ã䜿çšããŠå¥ã®æ¢åããããã£ãå€ãéžæã§ãã<kbd>Enter</kbd> ãŸã㯠<kbd>Space</kbd> ãæŒäžãããšããããç·šéã§ããŸããæ°ãã宣èšãã«ãŒã«ã«è¿œå ããã«ã¯ãã«ãŒã«ã®æåŸã®è¡ (éãæ¬åŒ§ãããè¡) ãã¯ãªãã¯ããŸãã</p> + +<p>ããããã£åãå
¥åããã®ã«å¿ããŠããªãŒãã³ã³ããªãŒãåè£ã®ãªã¹ãã衚瀺ããŸãã<kbd>Tab</kbd> ãæŒäžããŠçŸåšã®åè£ãåãå
¥ãããã<kbd>â</kbd> ããã³ <kbd>â</kbd> ãæŒäžããŠãªã¹ãå
ã移åããŸããããã©ã«ãã§éžæãããé
ç®ã¯ãå
¥åããæåããå§ãŸãããããã£ã§ãã£ãšãäžè¬çãªãã®ã§ããäŸãã°ãŠãŒã¶ã "c" ãå
¥åãããšãããã©ã«ã㧠"color" ãéžæããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13080/css-autocomplete.png" style="display: block; height: 401px; margin-left: auto; margin-right: auto; width: 587px;"></p> + +<p>ããããã£ã«å¯ŸããŠç¡å¹ãªå€ãæªç¥ã®ããããã£åãç·šéäžã«å
¥åãããšã宣èšã®åŸãã«é»è²ã®èŠåã¢ã€ã³ã³ã衚瀺ããŸãã</p> + +<p>ã«ãŒã«ãã¥ãŒã§ç·šéããå
容ã <a href="/ja/docs/Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a> ã«åæ ãããŸããéãåæ§ã§ããå®æœããå€æŽç¹ã¯äžæçãªãã®ã§ããããŒãžãåèªã¿èŸŒã¿ãããšãå
ã®ã¹ã¿ã€ã«ã«æ»ããŸãã</p> + +<p>CSS ãç·šéããŠãããšãã®ã³ã³ããã¹ãã¡ãã¥ãŒããããã¹ãã®ç·šéã«ãããŠäžè¬çãªãã®ã«ãªããŸãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14522/editable-context-menu.png" style="display: block; height: 241px; margin-left: auto; margin-right: auto; width: 200px;"></p> + +<h3 id="CSS_variable_autocompletion" name="CSS_variable_autocompletion">CSS å€æ°ã®ãªãŒãã³ã³ããªãŒã</h3> + +<p>CSS ã§å®çŸ©ããå€æ°ã«å¿ããŠã<a href="/ja/docs/Web/CSS/Using_CSS_variables">CSS å€æ°å</a> ã®ãªãŒãã³ã³ããªãŒããè¡ããŸããããããã£ã®å€ã« <code>var(</code> ãšå
¥åããŠããã·ã¥ (<code>-</code>) ãæŒäžãããšãCSS ã§å®£èšããå€æ°ããªãŒãã³ã³ããªãŒãã®ãªã¹ãã«è¡šç€ºããŸããFirefox 61 ãããããããã®å€æ°ã«ã©ã®è²ã®å€ãä¿åãããŠããããæ確ã«ããããã«è²èŠæ¬ã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16053/variable-autocomplete.png" style="display: block; height: 335px; margin: 0px auto; width: 546px;"></p> + +<p>ããã«ãCSS å€æ°åã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãå€æ°ã«ä¿åãããŠããè²ã®å€ãããŒã«ãããã§è¡šç€ºããŸã ({{bug(1431949)}})ã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16054/variable-tooltip.png" style="display: block; height: 166px; margin: 0px auto; width: 480px;"></p> + +<h3 id="Editing_keyboard_shortcuts" name="Editing_keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ããã§ç·šéãã</h3> + +<p>ç·šéäžã¯ãç¢å°ããŒã Page Up/Down ããŒã (ã»ãã®ããŒãšçµã¿åãããŠ) 䜿çšããŠæ°å€ã®ã«ãŒã«ãå¢æžã§ããŸã:</p> + +<ul> + <li><kbd>â</kbd> ç¢å°ããŒã§å€ã 1 å¢ãããŸã (äŸãã° "1px" ã "2px" ã«å€ãããŸã)ã</li> + <li><kbd>Shift</kbd> + <kbd>â</kbd>/<kbd>â</kbd> ã§å€ã 10 å¢æžããŸãã</li> + <li><kbd>Alt</kbd> + <kbd>â</kbd>/<kbd>â</kbd> ã§å€ã 0.1 å¢æžããŸããFirefox 60 ã§ãã®çµã¿åããããLinux ããã³ Windows 㧠OS ã®ããã©ã«ãã®ã·ã§ãŒãã«ãããšè¡çªããªãããã«ãããã <kbd>Ctrl</kbd> + <kbd>â</kbd>/<kbd>â</kbd> ã«å€æŽããŸããã®ã§æ³šæããŠãã ãã ({{bug("1413314")}})ãMac ã§ã¯å€ãããŸãããmacOS 㯠<kbd>Ctrl</kbd> + <kbd>â</kbd> ãããã©ã«ãã§ãMission Control ã衚瀺ããã·ã§ãŒãã«ããããŒã§ãã</li> + <li><kbd>Shift</kbd> + <kbd>Page up</kbd>/<kbd>Page down</kbd> ã§å€ã 100 å¢æžããŸãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14522/editable-context-menu.png" style="display: block; height: 241px; margin-left: auto; margin-right: auto; width: 200px;"></p> + +<h2 id="Add_rules" name="Add_rules">ã«ãŒã«ã®è¿œå </h2> + +<p>ã«ãŒã«ãã¥ãŒã§ã«ãŒã«ãè¿œå ã§ããŸããå³ã¯ãªãã¯ã§è¡šç€ºãããã³ã³ããã¹ãã¡ãã¥ãŒã§ [æ°ããã«ãŒã«ãè¿œå ] ãéžæããŠãã ãããéžæäžã®ããŒãã«ãããããã»ã¬ã¯ã¿ãŒã®é
äžã«ãæ°ã㪠CSS ã«ãŒã«ãè¿œå ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11193/css-add-rule-menu.png" style="display: block; height: 734px; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<p>ãŸããåãããšãã§ãããã¿ã³ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11191/css-add-rule-button.png" style="display: block; height: 256px; margin-left: auto; margin-right: auto; width: 588px;"></p> + +<h2 id="Copy_rules" name="Copy_rules">ã«ãŒã«ãã³ããŒãã</h2> + +<p>ã«ãŒã«ãã¥ãŒã®ã³ã³ããã¹ãã¡ãã¥ãŒé
ç®ã䜿çšããŠãã«ãŒã«ãã«ãŒã«ã®äžéšåãã³ããŒã§ããŸã:</p> + +<ul> + <li>ã«ãŒã«ãã³ããŒ</li> + <li>ã»ã¬ã¯ã¿ãã³ããŒ</li> + <li>ããããã£å®£èšãã³ããŒ</li> + <li>ããããã£åãã³ããŒ</li> + <li>ããããã£ã®å€ãã³ããŒ</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11217/css-context-menu.png" style="display: block; height: 218px; margin-left: auto; margin-right: auto; width: 281px;"></p> + +<h2 id="See_also" name="See_also">é¢é£æ
å ±</h2> + +<ul> + <li>ã€ã³ã¹ãã¯ã¿ãŒã®ãã¹ãŠã® <a href="/ja/docs/Tools/Page_Inspector/Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a> ã®äžèŠ§</li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã«ã¯ãè²ã»ãã©ã³ãã»ã¢ãã¡ãŒã·ã§ã³ãšãã£ãåã
ã® CSS æ©èœãæ±ãããšã«ç¹åããããŒã«ããããŸãããããã®ããŒã«ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Page_Inspector">ããŠããŒã¬ã€ã</a> ãã芧ãã ããã</li> +</ul> diff --git a/files/ja/tools/page_inspector/how_to/examine_and_edit_html/index.html b/files/ja/tools/page_inspector/how_to/examine_and_edit_html/index.html new file mode 100644 index 0000000000..243421f8fe --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/examine_and_edit_html/index.html @@ -0,0 +1,387 @@ +--- +title: HTML ã®èª¿æ»ãšç·šé +slug: Tools/Page_Inspector/How_to/Examine_and_edit_HTML +tags: + - ã€ã³ã¹ãã¯ã¿ + - ã¬ã€ã + - ããŒã« +translation_of: Tools/Page_Inspector/How_to/Examine_and_edit_HTML +--- +<div>{{ToolsSidebar}}</div> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ãã€ã³</a> ã§ãããŒãžã® HTML ã®èª¿æ»ãç·šéãè¡ããŸãã</p> + +<h2 id="Navigating_the_HTML" name="Navigating_the_HTML">HTML ã®ããã²ãŒã·ã§ã³</h2> + +<h3 id="HTML_breadcrumbs" name="HTML_breadcrumbs">HTML ãã³ãããªã¹ã</h3> + +<p>HTML ãã€ã³ã®äžéšã«ããã³ãããªã¹ãã®ããŒã«ããŒããããŸããããã¯éžæããèŠçŽ ãå«ãæã®ãããã¥ã¡ã³ãå
ã§ã®éå±€æ§é ãè¡šããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15499/57-html-panel.png" style="display: block; height: 274px; margin-left: auto; margin-right: auto; width: 633px;"></p> + +<p>ãã³ãããªã¹ãã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšããã®èŠçŽ ãããŒãžäžã§ãã€ã©ã€ã衚瀺ããŸãã</p> + +<p>ãã³ãããªã¹ãã® <a href="/ja/docs/Tools/Page_Inspector/Keyboard_shortcuts#Breadcrumbs_bar">ããŒããŒãã·ã§ãŒãã«ãã</a> ããããŸãã</p> + +<div class="note"> +<p>Firefox 48 ããåã®ããŒãžã§ã³ã§ã¯ããã³ãããªã¹ãã®ããŒã«ããŒãããŒã¯ã¢ãããã€ã³ã®äžã«ãããŸããã</p> +</div> + +<h3 id="Searching" name="Searching">æ€çŽ¢</h3> + +<p>Firefox 45 ãããã€ã³ã¹ãã¯ã¿ãŒã®æ€çŽ¢ããã¯ã¹ã¯ãã«ã¬ã³ãããã¥ã¡ã³ãããã³ãã¹ãŠã®ãã¬ãŒã å
ã®ããŒã¯ã¢ããããæ€çŽ¢ããŸãã</p> + +<p>æ€çŽ¢ããã¯ã¹ãã¯ãªãã¯ããŠåºãããã<kbd>Ctrl</kbd> + <kbd>F</kbd> ãŸã㯠Mac 㧠<kbd>Cmd</kbd> + <kbd>F</kbd> ãæŒäžããŠãããŒã¯ã¢ããã®æ€çŽ¢ãå§ããŸãã</p> + +<p>æ€çŽ¢ããã¯ã¹ã«å
¥åãããšãæ€çŽ¢æååã«ããããã class å±æ§ã id å±æ§ã衚瀺ãããªãŒãã³ã³ããªãŒãããããã¢ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15495/html-code-search.png" style="display: block; height: 398px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p><kbd>â</kbd> ããã³ <kbd>â</kbd> ããŒãæŒäžãããšåè£ãè¡ãæ¥ã§ãã<kbd>Tab</kbd> ã§éžæäžã®åè£ãéžæãããã« <kbd>Enter</kbd> ã§ãã®å±æ§ãæã€æåã®ããŒããéžæããŸãã</p> + +<p>ãªãŒãã³ã³ããªãŒããéžæããã«ã»ã¬ã¯ã¿ãŒãªãã®æ€çŽ¢æååãå
¥åãããšããã¹ãŠã®å±æ§åããã³å±æ§å€ãããŒãã®ããã¹ãã³ã³ãã³ããå«ãããã¥ã¡ã³ãã®å
šæããæ€çŽ¢ããŸãã</p> + +<p>{{EmbedYouTube("AKBhnfp1Opo")}}</p> + +<p>ãããããç®æãå·¡åããã«ã¯ã<kbd>Enter</kbd> ãæŒäžããŸããFirefox 48 ããã<kbd>Shift</kbd> + <kbd>Enter</kbd> ã䜿çšããŠããããããç®æãéæ¹åã«å·¡åã§ããŸãã</p> + +<h3 id="HTML_tree" name="HTML_tree">HTML ããªãŒ</h3> + +<p>ãã€ã³ã®æ®ãã®éšåã«ãããŒãžã® HTML ãããªãŒåœ¢åŒã§è¡šç€ºããŸã (ãã® UI ã¯ããŒã¯ã¢ãããã¥ãŒãšãåŒã°ããŸã)ãåããŒãã®å·ŠåŽã«äžè§å°ããããŸãããã®å°ãã¯ãªãã¯ãããšãããŒããå±éããŸããAlt ããŒãæŒããªããäžè§å°ãã¯ãªãã¯ãããšãé
äžã®ããŒãããã¹ãŠå±éããŸãã</p> + +<p><img alt="The new Firefox 57 inspector HTML tree." src="https://mdn.mozillademos.org/files/15503/57-html-tree.png" style="display: block; height: 433px; margin-left: auto; margin-right: auto; width: 600px;"></p> + +<p>ããªãŒå
ã®ããŒãã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšããã®èŠçŽ ãããŒãžäžã§ãã€ã©ã€ã衚瀺ããŸãã</p> + +<p><code><a href="/ja/docs/Web/CSS/display">display: none</a></code> ã䜿çšããŠé衚瀺ã«ããŠããããŒãã¯ãæ·¡è²ã§ (äŸãã° {{HTMLElement("head")}} ãªã©ã¬ã³ããªã³ã°ãããªãèŠçŽ ãšåæ§ã«) 衚瀺ããŸãã</p> + +<p>Firefox 53 ãããå
容ç©ã倧ããªããŒããæããããŸããŠãããšããéå§ã¿ã°ãšçµäºã¿ã°ã®éã«çç¥èšå·ã衚瀺ããŸããFirefox 53 ããåã®ããŒãžã§ã³ã§ã¯ãæããããŸããããŒãã«åãååšããããå€å¥ã§ããŸããã§ãããçŸåšã¯ãããªãŒå
ã«ååšããåå«ããã®ã¢ã€ã³ã³ã§ç€ºããŸã: <img alt="" src="https://mdn.mozillademos.org/files/14925/child-node-indicator.png" style="height: 24px; width: 32px;"></p> + +<div class="note"> +<p><strong>ã¡ã¢</strong>: HTML ããªãŒã§äœ¿çšã§ãã䟿å©ãªããŒããŒãã·ã§ãŒãã«ãããããã€ããããŸã - <a href="/ja/docs/Tools/Keyboard_shortcuts#HTML_pane">HTML ãã€ã³ã®ããŒããŒãã·ã§ãŒãã«ãããªã¹ã</a>ãã芧ãã ããã</p> +</div> + +<h3 id="before_and_after" name="before_and_after">::before ãš ::after</h3> + +<p>Firefox 35 ããã{{cssxref("::before")}} ããã³ {{cssxref("::after")}} ã䜿çšããŠè¿œå ããç䌌èŠçŽ ã調æ»ã§ããŸãã</p> + +<p>{{EmbedYouTube("ecfqTGvzsNc")}}</p> + +<h3 id="ã«ã¹ã¿ã èŠçŽ å®çŸ©">ã«ã¹ã¿ã èŠçŽ å®çŸ©</h3> + +<p>ã«ã¹ã¿ã èŠçŽ ãå«ãããŒãžã§ã€ã³ã¹ãã¯ã¿ãéããšããããã¬ã§ã«ã¹ã¿ã èŠçŽ ã®ã¯ã©ã¹å®çŸ©ã衚瀺ã§ããŸãã</p> + +<ol> + <li>èŠçŽ ãæ€æ»ããŸã</li> + <li><code>custom</code> ãšããåèªãã¯ãªãã¯ããŸãã</li> +</ol> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16306/custom_pc_01.png" style="display: block; height: 580px; margin: 0px auto; width: 852px;"></p> + +<p>èŠçŽ ã®ã¯ã©ã¹ã®ãœãŒã¹ããããã¬ã«è¡šç€ºãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16307/custom_pc_02.png" style="display: block; height: 290px; margin: 0px auto; width: 852px;"></p> + +<h3 id="Whitespace-only_text_nodes" name="Whitespace-only_text_nodes">ãã¯ã€ãã¹ããŒã¹ã®ã¿ã®ããã¹ãããŒã</h3> + +<div class="geckoVersionNote">Firefox 52 ã®æ°æ©èœ</div> + +<p>ãŠã§ãéçºè
ã¯ã1 è¡ã®ããã¹ãã«ãã¹ãŠã®ã³ãŒããèšè¿°ããããã§ã¯ãããŸãããããŒã¯ã¢ãããèªã¿ããããªããŸãã®ã§ã空çœã»æ¹è¡ã»ã¿ããšãã£ããã¯ã€ãã¹ããŒã¹ã HTML èŠçŽ ã®éã«çœ®ããŸãã</p> + +<p>éåžžã¯ãããã®ãã¯ã€ãã¹ããŒã¹ã«å¹æããªãèŠèŠçã«åºåãããŸããããå®éã¯ãã©ãŠã¶ãŒã HTML ãããŒã¹ãããšãã«ãããŒãå
ã«å«ãŸããŠããªãèŠçŽ ã®ããã«ç¡åã®ããã¹ãããŒããèªåçã«çæããŸãããã㯠(ããããããã¹ãã®åŸã«ãã) ãã¯ã€ãã¹ããŒã¹ãå«ãŸããŸãã</p> + +<p>ãããã®èªåçæãããããã¹ãããŒã㯠<a href="/ja/docs/Web/Guide/CSS/Visual_formatting_model#Inline-level_elements_and_inline_boxes">ã€ã³ã©ã€ã³ã¬ãã«</a> ã®ããŒãã§ãããå¹
ã»é«ããšãã« 0 ã§ã¯ãªãé åããã©ãŠã¶ãŒãäžããŸãããããŠãããŒãžã³ãããã£ã³ã°ãèšå®ããŠããªãã«ãããããããèŠçŽ ã®éã«è¬ã®ééãçŸããã§ãããã</p> + +<p>Firefox 52 ãããã€ã³ã¹ãã¯ã¿ãŒã§ãã¯ã€ãã¹ããŒã¹ã®ããŒãã衚瀺ããŸãã®ã§ãããŒã¯ã¢ããå
ã®ééãã©ãããçºçããããããããŸãããã¯ã€ãã¹ããŒã¹ã®ããŒããäžžå° (<img alt="" src="https://mdn.mozillademos.org/files/14931/new-whitespace-text-indicator.png" style="height: 23px; width: 30px;">) ã§è¡šããŠãããŠã¹ãã€ã³ã¿ãŒãèŒãããšèª¬æã®ããŒã«ãããã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14929/whitespace-text-nodes-2.png" style="display: block; height: 1010px; margin-left: auto; margin-right: auto; width: 912px;"></p> + +<p><a href="https://mdn.github.io/devtools-examples/whitespace-only-demo/index.html">https://mdn.github.io/devtools-examples/whitespace-only-demo/index.html</a> ã®ãã¢ã§ãå®éã®åäœãã芧ãã ããã</p> + +<h3 id="ä»®æ³ã«ãŒã">ä»®æ³ã«ãŒã</h3> + +<p>DOM ã«ååšããä»®æ³ã«ãŒãã¯ãéåžžã® DOM ãšåãæ¹æ³ã§ HTML ããŒãžã«å
¬éãããŸããä»®æ³ã«ãŒã㯠<code>#shadow-root</code> ãšããããŒãã«ãã£ãŠè¡šãããŸããæ¡åŒµç¢å°ãã¯ãªãã¯ãããšãä»®æ³ DOM ã®å®å
šãªå
容ã衚瀺ãããããŒãžã® DOM ã®ä»ã®éšåãšåæ§ã®æ¹æ³ã§å«ãŸããããŒããæäœã§ããŸã éããããã£ãŒãã£ã»ãã - ä»®æ³ DOM ããŒãã®ãã©ãã°ã¢ã³ããããããåé€ã¯ã§ããŸããã</p> + +<p><img alt="A view of a shadow root shown inside the DOM tree in the Firefox DevTools" src="https://mdn.mozillademos.org/files/16051/shadow-root-in-html-pane.png" style="height: 485px; width: 1303px;"></p> + +<p>ä»®æ³ DOM ã« "slotted" èŠçŽ ãå«ãŸããŠããå Žå({{htmlelement("slot")}} èŠçŽ ã®å
éšã«æ¿å
¥ãããåŸã® <code>slot</code> å±æ§ãæã€èŠçŽ - ãããã®äœ¿çšæ¹æ³ã®èª¬æã«ã€ããŠã¯ã<a href="/ja/docs/Web/Web_Components/Using_templates_and_slots#Adding_flexibility_with_slots">slot ã«æè»æ§ãè¿œå ãã</a>ãåç
§ããŠãã ãã)ã"slotted" èŠçŽ ã¯å¯Ÿå¿ãã {{htmlelement("slot")}} èŠçŽ ã®å
éšã«è¡šç€ºããããã®æšªã« "å
¬é" ãªã³ã¯ã衚瀺ãããŸãããå
¬éããªã³ã¯ãã¯ãªãã¯ãããšãä»®æ³ DOM ã®å€ã«ååšãã <code>slot</code> å±æ§ãæã€èŠçŽ ã匷調衚瀺ãããŸãã</p> + +<p><img alt="A view of a shadow root shown inside the DOM tree in the Firefox DevTools" src="https://mdn.mozillademos.org/files/16063/slots.png" style="height: 208px; width: 672px;"></p> + +<p>ãã㯠<code><slot></code> èŠçŽ ãããããã®ã³ã³ãã³ãã®ãœãŒã¹ãèŠã€ããããšãã§ããªãå Žåã«éåžžã«äŸ¿å©ã§ãã</p> + +<div class="note"> +<p><strong>ã¡ã¢</strong>: ä»®æ³ DOM æ€æ»ã¯ Firefox 61 ã§å®è£
ãããŸããããçŸåšã¯ dom.webcomponents.shadowdom.enabled ãã¬ãã£ãã¯ã¹ã®åŸãã«é ããŠããŸããçŸåšãFirefox 63 ã®ããã«ãªã£ãŠãããã©ãããã©ãŒã 㧠Web ã³ã³ããŒãã³ã/ä»®æ³ DOM ãå©çšå¯èœã«ãªããšããã®æ©èœãæå¹ã«ãªããŸãã</p> +</div> + +<h2 id="Element_popup_context_menu" name="Element_popup_context_menu">èŠçŽ ã®ãããã¢ããã³ã³ããã¹ãã¡ãã¥ãŒ</h2> + +<p>ãããã¢ããã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠãç¹å®ã®ããŒãã«å¯ŸããŠå
±éçãªã¿ã¹ã¯ãå®è¡ã§ããŸããèŠçŽ ãã³ã³ããã¹ãã¯ãªãã¯ãããšãã¡ãã¥ãŒã衚瀺ããŸããã¡ãã¥ãŒã«ã¯ã以äžã®é
ç®ããããŸãããªã³ã¯ãã¯ãªãã¯ãããšã{{anch("Context menu reference", "ã³ã³ããã¹ãã¡ãã¥ãŒãªãã¡ã¬ã³ã¹")}} ã®ã³ãã³ã説æã確èªã§ããŸã:</p> + +<ul> + <li><a href="#Edit as HTML">HTML ãšããŠç·šé</a></li> + <li><a href="#Create New Node">æ°ããããŒããäœæ</a></li> + <li><a href="#Duplicate Node">ããŒããè€è£œ</a></li> + <li><a href="#Delete Node">ããŒããåé€</a></li> + <li>å±æ§ + <ul> + <li><a href="#Attribute/Add Attribute">å±æ§ãè¿œå </a></li> + <li><a href="#Attribute/Edit Attribute">å±æ§ãç·šé</a></li> + <li><a href="#Attribute/Remove Attribute">å±æ§ãåé€</a></li> + </ul> + </li> + <li><a href="#:hover">hover</a></li> + <li><a href="#:active">active</a></li> + <li><a href="#:focus">focus</a></li> + <li>ã³ã㌠+ <ul> + <li><a href="#Copy Inner HTML">innerHTML</a></li> + <li><a href="#Copy Outer HTML">outerHTML</a></li> + <li><a href="#Copy Unique Selector">CSS ã»ã¬ã¯ã¿ãŒ</a></li> + <li><a href="#Copy CSS Path">CSS ãã¹</a></li> + <li><a href="#Copy Image Data-URL">ç»åã®ããŒã¿ URI</a></li> + <li><a href="#Copy Attribute">å±æ§</a></li> + </ul> + </li> + <li>貌ãä»ã + <ul> + <li><a href="#Paste Inner HTML">innerHTML</a></li> + <li><a href="#Paste Outer HTML">outerHTML</a></li> + <li><a href="#Paste/Before">å</a></li> + <li><a href="#Paste/After">åŸ</a></li> + <li><a href="#Paste/As First Child">æåã®åèŠçŽ ãšããŠ</a></li> + <li><a href="#Paste/As Last Child">æåŸã®åèŠçŽ ãšããŠ</a></li> + </ul> + </li> + <li><a href="#Expand All">ãã¹ãŠå±é</a></li> + <li><a href="#Collapse">æãããã</a></li> + <li><a href="#Scroll Into View">ãã®èŠçŽ ã®äœçœ®ã«ã¹ã¯ããŒã«</a></li> + <li><a href="#Screenshot Node">ããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±</a></li> + <li><a href="#Use in Console">ã³ã³ãœãŒã«ã§äœ¿ã</a></li> + <li><a href="#Show DOM Properties">DOM ããããã£ã衚瀺</a></li> + <li><a href="#Open Link in New Tab">ãªã³ã¯ãæ°ããã¿ãã§éã</a> *</li> + <li><a href="#Open File in Debugger">ãããã¬ãŒã§ãã¡ã€ã«ãéã</a> *</li> + <li><a href="#Open File in Style-Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ãã¡ã€ã«ãéã</a> *</li> + <li><a href="#Copy Link Address">ãªã³ã¯ã® URL ãã³ããŒ</a> *</li> +</ul> + +<p>* ãããã®é
ç®ã¯ç¹å®ã®ç¶æ³ã«éã衚瀺ãããŸããäŸãã° [ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ãã¡ã€ã«ãéã] ã¯ãCSS ãã¡ã€ã«ãžã®ãªã³ã¯ã®äžã§ã³ã³ããã¹ãã¯ãªãã¯ãããšãã«è¡šç€ºãããŸãã</p> + +<h3 id="Context_menu_reference" name="Context_menu_reference">ã³ã³ããã¹ãã¡ãã¥ãŒãªãã¡ã¬ã³ã¹</h3> + +<div class="note"> +<p><strong>泚èš</strong>: Firefox 49 ããã³ã³ããã¹ãã¡ãã¥ãŒã¯ãããã³ã³ãã¯ãã«ãããã倧ããåç·šãããŸãããã¡ãã¥ãŒã®æ§é ãäžã§ç€ºãããã®ãšè¥å¹²ç°ãªã£ãŠããŠããæ©ãŸãªãã§ãã ãããããã§ãåãé
ç®ã䜿çšã§ããŸãã</p> +</div> + +<table class="standard-table"> + <tbody> + <tr> + <td style="width: 30%;"><a id="Edit as HTML">HTML ãšããŠç·šé</a></td> + <td><a href="#Editing_HTML">èŠçŽ ã® HTML ãç·šéãã</a></td> + </tr> + <tr> + <td><a id="Copy Inner HTML">(ã³ããŒ) innerHTML</a></td> + <td>èŠçŽ ã® innerHTML ãã³ããŒãã</td> + </tr> + <tr> + <td><a id="Copy Outer HTML">(ã³ããŒ) outerHTML</a></td> + <td> + <p>èŠçŽ ã® outerHTML ãã³ããŒãã</p> + + <p><kbd>Ctrl</kbd> + <kbd>C</kbd> (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>C</kbd>) ãæŒäžãããšåãããšãã§ããŸãã</p> + </td> + </tr> + <tr> + <td><a id="Copy Unique Selector">(ã³ããŒ) äžæãªã»ã¬ã¯ã¿/CSS ã»ã¬ã¯ã¿ãŒ</a></td> + <td>èŠçŽ ãäžæã«éžæãã CSS ã»ã¬ã¯ã¿ãŒãã³ããŒãã</td> + </tr> + <tr> + <td><a id="Copy CSS Path">(ã³ããŒ) CSS ãã¹</a></td> + <td>èŠçŽ ãžã®ãã«ãã¹ãè¡šã CSS ã»ã¬ã¯ã¿ãŒãã³ããŒãã</td> + </tr> + <tr> + <td><a id="Copy Image Data-URL">(ã³ããŒ) ç»åã®ããŒã¿ URI</a></td> + <td>éžæããèŠçŽ ãç»åã§ããå Žåã«ãç»åã data:// URL ãšããŠã³ããŒãã</td> + </tr> + <tr> + <td><a id="Copy Attribute">(Copy) å±æ§</a></td> + <td>èŠçŽ ã®å±æ§ãã³ããŒãã</td> + </tr> + <tr> + </tr> + <tr> + <td><a id="Show DOM Properties">DOM ããããã£ã衚瀺</a></td> + <td><a href="/ja/docs/Tools/Web_Console#The_split_console">åžžæ衚瀺ã³ã³ãœãŒã«</a> ãéããŠãéžæäžã®èŠçŽ ã <a href="/ja/docs/Tools/Web_Console#Inspecting_objects">調æ»</a> ããããã« "<code>inspect($0)</code>" ã³ãã³ããå®è¡ãã</td> + </tr> + <tr> + <td><a id="Use in Console">ã³ã³ãœãŒã«ã§äœ¿ã</a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 43 ã®æ°æ©èœ</p> + </div> + çŸåšéžæããŠããããŒãã <code>temp0</code> ãšããååã®å€æ° (<code>temp0</code> ããã§ã«äœ¿çšäžã§ããå Žåã¯ã<code>temp1</code> ãªã©ã䜿çš) ã«ä»£å
¥ã㊠<a href="/ja/docs/Tools/Web_Console#The_split_console">åžžæ衚瀺ã³ã³ãœãŒã«</a> ãéãããšã«ãããã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã䜿çšããŠããŒããšå¯Ÿè©±ã§ããŸãã</td> + </tr> + <tr> + <td><a id="Expand All">ãã¹ãŠå±é</a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 44 ã®æ°æ©èœ</p> + </div> + ããªãŒãã¥ãŒã§ãéžæããèŠçŽ ããã³é
äžã®èŠçŽ ããã¹ãŠå±éããŸããããã¯ãèŠçŽ ã®é£ã«ããå±éçšç¢å°ã <kbd>Alt</kbd> ããŒãæŒäžããªããã¯ãªãã¯ããããšãšåãã§ãã</td> + </tr> + <tr> + <td><a id="Collapse">æãããã</a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 44 ã®æ°æ©èœ</p> + </div> + ããªãŒãã¥ãŒã§ãéžæããèŠçŽ ãæãããã¿ãŸããããã¯ãå±éãããŠããèŠçŽ ã®å±éçšç¢å°ãã¯ãªãã¯ããããšãšåãã§ãã</td> + </tr> + <tr> + <td><a id="Paste Inner HTML">(貌ãä»ã) innerHTML</a></td> + <td>ã¯ãªããããŒãå
ã®ã³ã³ãã³ãããããŒãã® <a href="/ja/docs/Web/API/element.innerHTML">innerHTML</a> ãšããŠè²Œãä»ãã</td> + </tr> + <tr> + <td><a id="Paste Outer HTML">(貌ãä»ã) outerHTML</a></td> + <td>ã¯ãªããããŒãå
ã®ã³ã³ãã³ãããããŒãã® <a href="/ja/docs/Web/API/element.outerHTML">outerHTML</a> ãšããŠè²Œãä»ãã</td> + </tr> + <tr> + <td><a id="Paste/Before">(貌ãä»ã) å</a></td> + <td>ã¯ãªããããŒãå
ã®ã³ã³ãã³ãããããŒãã®çŽåã«è²Œãä»ãã</td> + </tr> + <tr> + <td><a id="Paste/After">(貌ãä»ã) åŸ</a></td> + <td>ã¯ãªããããŒãå
ã®ã³ã³ãã³ãããããŒãã®çŽåŸã«è²Œãä»ãã</td> + </tr> + <tr> + <td><a id="Paste/As First Child">(貌ãä»ã) æåã®åèŠçŽ ãšããŠ</a></td> + <td>ã¯ãªããããŒãå
ã®ã³ã³ãã³ãããããŒãã®æåã®åèŠçŽ ãšããŠè²Œãä»ãã</td> + </tr> + <tr> + <td><a id="Paste/As Last Child">(貌ãä»ã) æåŸã®åèŠçŽ ãšããŠ</a></td> + <td>ã¯ãªããããŒãå
ã®ã³ã³ãã³ãããããŒãã®æåŸã®åèŠçŽ ãšããŠè²Œãä»ãã</td> + </tr> + <tr> + <td><a id="Scroll Into View">ãã®èŠçŽ ã®äœçœ®ã«ã¹ã¯ããŒã«</a></td> + <td> + <p>éžæããããŒãã衚瀺ããããã«ãããŒãžãã¹ã¯ããŒã«ãã</p> + + <p>Firefox 44 ããããŒããŒãã·ã§ãŒãã«ãã <kbd>S</kbd> ã§ããéžæããèŠçŽ ã®äœçœ®ã«ã¹ã¯ããŒã«ããŸãã</p> + </td> + </tr> + <tr> + <td><a id="Screenshot Node">ããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±</a></td> + <td>éžæããããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããŠãããŠã³ããŒããã£ã¬ã¯ããªãŒã«ä¿åããŸãã<a href="/ja/docs/Tools/Taking_screenshots">ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãã</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td><a id="Create New Node">æ°ããããŒããäœæ</a></td> + <td>éžæäžã®èŠçŽ ã®æåŸã®åèŠçŽ ãšããŠã空㮠<div> èŠçŽ ãäœæããŸãã<a href="#Inserting_new_nodes">æ°ããããŒããæ¿å
¥ãã</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td><a id="Duplicate Node">ããŒããè€è£œ</a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 44 ã®æ°æ©èœ</p> + </div> + èŠçŽ ãã³ããŒããŠãåœè©²èŠçŽ ã®çŽåŸãžæ¿å
¥ããŸãã</td> + </tr> + <tr> + <td><a id="Delete Node">ããŒããåé€</a></td> + <td>èŠçŽ ã DOM ããåé€ãã</td> + </tr> + <tr> + <td><a id="Attribute/Add Attribute">å±æ§/å±æ§ãè¿œå </a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 44 ã®æ°æ©èœ</p> + </div> + èŠçŽ ã«å±æ§ãè¿œå ãã</td> + </tr> + <tr> + <td><a id="Attribute/Edit Attribute">å±æ§/å±æ§ãç·šé</a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 44 ã®æ°æ©èœ</p> + </div> + (å±æ§ã§ã¡ãã¥ãŒãéããå Žåã®ã¿) å±æ§ãç·šéãã</td> + </tr> + <tr> + <td><a id="Attribute/Remove Attribute">å±æ§/å±æ§ãåé€</a></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 44 ã®æ°æ©èœ</p> + </div> + (å±æ§ã§ã¡ãã¥ãŒãéããå Žåã®ã¿) å±æ§ãåé€ãã</td> + </tr> + <tr> + <td><a id="Open Link in New Tab">ãªã³ã¯ãæ°ããã¿ãã§éã</a></td> + <td>(href å±æ§ãªã©ããªã³ã¯äžã§ã¡ãã¥ãŒãéããå Žåã®ã¿) ãªã³ã¯å
ã®ã¢ã€ãã ãæ°ããã¿ãã§éã</td> + </tr> + <tr> + <td><a id="Open File in Debugger">ãããã¬ãŒã§ãã¡ã€ã«ãéã</a></td> + <td>(JS ãœãŒã¹ãžã®ãªã³ã¯äžã§ã¡ãã¥ãŒãéããå Žåã®ã¿) ãªã³ã¯å
ã®ãœãŒã¹ããããã¬ãŒã§éã</td> + </tr> + <tr> + <td><a id="Open File in Style-Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ãã¡ã€ã«ãéã</a></td> + <td>(CSS ãœãŒã¹ãžã®ãªã³ã¯äžã§ã¡ãã¥ãŒãéããå Žåã®ã¿) ãªã³ã¯å
ã®ãœãŒã¹ãã¹ã¿ã€ã«ãšãã£ã¿ãŒã§éã</td> + </tr> + <tr> + <td><a id="Copy Link Address">ãªã³ã¯ã® URL ãã³ããŒ</a></td> + <td>(URL äžã§ã¡ãã¥ãŒãéããå Žåã®ã¿) URL ãã³ããŒãã</td> + </tr> + <tr> + <td><a id=":hover">:hover</a></td> + <td><a href="/ja/docs/Web/CSS/:hover" title="Web/CSS/:hover">:hover</a> CSS ç䌌ã¯ã©ã¹ãèšå®ãã</td> + </tr> + <tr> + <td><a id=":active">:active</a></td> + <td><a href="/ja/docs/Web/CSS/:active" title="Web/CSS/:active">:active</a> CSS ç䌌ã¯ã©ã¹ãèšå®ãã</td> + </tr> + <tr> + <td><a id=":focus">:focus</a></td> + <td><a href="/ja/docs/Web/CSS/:focus" title="Web/CSS/:focus">:focus</a> CSS ç䌌ã¯ã©ã¹ãèšå®ãã</td> + </tr> + </tbody> +</table> + +<h2 id="Editing_HTML" name="Editing_HTML">HTML ãšããŠç·šé</h2> + +<p>HTML ãã€ã³ã§ãHTML (ã¿ã°ãå±æ§ãå
容ç©) ãçŽæ¥ç·šéã§ããŸããç·šéãããèŠçŽ ãããã«ã¯ãªãã¯ããŠãç·šéããŠãã ãããEnter ããŒãæŒäžãããšãå€æŽç¹ãçŽã¡ã«åæ ãããŸãã</p> + +<p>èŠçŽ ã® <a href="/ja/docs/Web/API/Element.outerHTML">outerHTML</a> ãç·šéããã«ã¯ãèŠçŽ ã®ãããã¢ããã¡ãã¥ãŒãéã㊠[HTML ãšããŠç·šé] ãéžæããŸããHTML ãã€ã³å
ã«ããã¹ãããã¯ã¹ãçŸããŸã:</p> + +<p><img alt="Edit HTML directly in the Inspector panel in Firefox 57" src="https://mdn.mozillademos.org/files/15505/57-edit-as-html.png" style="display: block; height: 332px; margin-left: auto; margin-right: auto; width: 600px;"></p> + +<p>ããã«ä»»æã® HTML ãè¿œå ã§ããŸããèŠçŽ ã®ã¿ã°ãå€æŽãããæ¢åã®èŠçŽ ãå€æŽãããæ°ããªèŠçŽ ãè¿œå ãããšãã£ãããšãå¯èœã§ããããã¯ã¹ã®å€éšãã¯ãªãã¯ãããšãå€æŽç¹ãããŒãžã«é©çšããŸãã</p> + +<p>Firefox 52 ãããHTML ãç·šéããŠãããšãã®ã³ã³ããã¹ãã¡ãã¥ãŒããããã¹ãã®ç·šéã«ãããŠäžè¬çãªãã®ã«ãªããŸãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14522/editable-context-menu.png" style="display: block; height: 241px; margin-left: auto; margin-right: auto; width: 200px;"></p> + +<h3 id="Copy_and_paste" name="Copy_and_paste">ã³ããŒãšè²Œãä»ã</h3> + +<p><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">ãããã¢ããã¡ãã¥ãŒ</a> ã䜿çšããŠãHTML ããªãŒå
ã®ããŒãã®ã³ããŒãåžæããå ŽæãžããŒãã貌ãä»ããããšãã§ããŸãã</p> + +<h3 id="Drag_and_drop" name="Drag_and_drop">ãã©ãã°ã»ã¢ã³ãã»ãããã</h3> + +<p>HTML ããªãŒã§ããŒãã移åããããšãã§ããŸããèŠçŽ ãã¯ãªãã¯ã¢ã³ãããŒã«ãããŠãããªãŒå
ã§ãã©ãã°ããŠãã ãããããŠã¹ãã¿ã³ãé¢ããšã察å¿ããå Žæã«èŠçŽ ãæ¿å
¥ããŸã:</p> + +<p>{{EmbedYouTube("oI-a035nfWk")}}</p> + +<p>Firefox 44 ããã<kbd>Esc</kbd> ããŒãæŒäžãããšãã©ãã°ã»ã¢ã³ãã»ããããããã£ã³ã»ã«ã§ããŸãã</p> + +<h3 id="Inserting_new_nodes" name="Inserting_new_nodes">æ°ããããŒããæ¿å
¥ãã</h3> + +<div class="geckoVersionNote">Firefox 48 ã®æ°æ©èœ</div> + +<p>Firefox 48 ãããããŒã¯ã¢ãããã¥ãŒã®äžéšã« "+" å°ã®ã¢ã€ã³ã³ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13082/inspector-insert-node.png" style="display: block; height: 337px; margin-left: auto; margin-right: auto; width: 547px;"></p> + +<p>ãã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãçŸåšéžæããŠããèŠçŽ ã®æåŸã®åèŠçŽ ãšããŠã空㮠<code><a href="/ja/docs/Web/HTML/Element/div"><div></a></code> èŠçŽ ãããã¥ã¡ã³ãã«æ¿å
¥ããŸãããããŠããã¥ã¡ã³ãå
ã®ä»ã®ããŒããšåæ§ã«ãæ°ããããŒãã®å
容ãã¹ã¿ã€ã«ãç·šéã§ããŸãã</p> + +<p>{{EmbedYouTube("NG5daffvVZM")}}</p> + +<p>ãããã¢ããã¡ãã¥ãŒã® [æ°ããããŒããäœæ] ã䜿çšããŠãåãæ©èœã«ã¢ã¯ã»ã¹ã§ããŸãã</p> + +<p>æåŸã«åèŠçŽ ãè¿œå ããŠãå¹æããªãã¿ã€ãã®èŠçŽ (äŸãã° <code><a href="/ja/docs/Web/HTML/Element/html"><html></a></code> ã <code><a href="/ja/docs/Web/HTML/Element/iframe"><iframe></a></code> èŠçŽ ãªã©) ãéžæããŠãããšãã¯ããã®ãã¿ã³ãç¡å¹ã«ãªããŸãã®ã§æ³šæããŠãã ããããã ãã<code><div></code> ãæ¿å
¥ããããšãç¡å¹ã§ããå Žæ (<code><a href="/ja/docs/Web/HTML/Element/style"><style></a></code> ã <code><a href="/ja/docs/Web/HTML/Element/link"><link></a></code> ãªã©) ã§ã¯æå¹ã«ãªããŸãããã®ãããªå Žåã¯ãèŠçŽ ãããã¹ããšããŠæ¿å
¥ããŸãã</p> diff --git a/files/ja/tools/page_inspector/how_to/examine_and_edit_the_box_model/index.html b/files/ja/tools/page_inspector/how_to/examine_and_edit_the_box_model/index.html new file mode 100644 index 0000000000..64ca2fbbda --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/examine_and_edit_the_box_model/index.html @@ -0,0 +1,41 @@ +--- +title: ããã¯ã¹ã¢ãã«ã®èª¿æ»ãšç·šé +slug: Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model +tags: + - Guide + - Tools +translation_of: Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model +--- +<div>{{ToolsSidebar}}</div><h2 id="Viewing_the_box_model" name="Viewing_the_box_model">ããã¯ã¹ã¢ãã«ã®ç¢ºèª</h2> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Select_element_button">èŠçŽ éžæãã¿ã³</a> ãæŒããŠãããšããããŒãžäžã§èŠçŽ ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãèŠçŽ ã® <a href="/ja/docs/Web/CSS/box_model">ããã¯ã¹ã¢ãã«</a> ããªãŒããŒã¬ã€ã§è¡šç€ºããŸã:</p> + +<p>{{EmbedYouTube("vDRzN-svJHQ")}}</p> + +<p>HTML ãã€ã³ã§èŠçŽ ã®ããŒã¯ã¢ããã«ããŠã¹ãã€ã³ã¿ãŒãèŒããå Žåããåæ§ã«ãªãŒããŒã¬ã€ã§è¡šç€ºããŸã:</p> + +<p>{{EmbedYouTube("xA4IxTttNLk")}}</p> + +<p>èŠçŽ ãã€ã³ã©ã€ã³èŠçŽ ã§ããè€æ°ã®è¡ããã¯ã¹ã«åãããŠããå Žåã¯ãèŠçŽ ãæ§æããããããã®è¡ããã¯ã¹ããã€ã©ã€ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10349/inline-box-model.png" style="display: block; height: 186px; margin-left: auto; margin-right: auto; width: 351px;"></p> + +<h3 id="The_Box_Model_view" name="The_Box_Model_view">ããã¯ã¹ã¢ãã«ãã¥ãŒ</h3> + +<p>èŠçŽ ãéžæãããšã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Computed_view">ããã¯ã¹ã¢ãã«ãã¥ãŒ</a> ã§ããã¯ã¹ã¢ãã«ã詳ãã調ã¹ãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14241/box-model.png" style="display: block; height: 232px; margin-left: auto; margin-right: auto; width: 610px;"></p> + +<p>å€ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšããã®å€ãã©ã®ã«ãŒã«ã«ç±æ¥ãããã瀺ãããŒã«ãããã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14243/box-model-tooltip.png" style="display: block; height: 234px; margin-left: auto; margin-right: auto; width: 620px;"></p> + +<p>ããã¯ã¹ã¢ãã«ãã¥ãŒã§ããã¯ã¹ã¢ãã«ã®äžéšã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžäžã§å¯Ÿå¿ããéšåããã€ã©ã€ã衚瀺ããŸã:</p> + +<p>{{EmbedYouTube("H3ZxRbbyfwI")}}</p> + +<h2 id="Editing_the_box_model" name="Editing_the_box_model">ããã¯ã¹ã¢ãã«ã®ç·šé</h2> + +<p><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model#The_Box_Model_view">ããã¯ã¹ã¢ãã«ãã¥ãŒ</a> ã§ã¯å€ã®ç·šéãå¯èœã§ãããå€æŽçµæã¯ããŒãžãžå³åº§ã«åæ ããŸã:</p> + +<p>{{EmbedYouTube("gHjDjM8GJ9I")}}</p> diff --git a/files/ja/tools/page_inspector/how_to/examine_event_listeners/index.html b/files/ja/tools/page_inspector/how_to/examine_event_listeners/index.html new file mode 100644 index 0000000000..da04aa7673 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/examine_event_listeners/index.html @@ -0,0 +1,33 @@ +--- +title: ã€ãã³ããªã¹ããŒã®èª¿æ» +slug: Tools/Page_Inspector/How_to/Examine_event_listeners +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Examine_event_listeners +--- +<p>{{ToolsSidebar}}</p> + +<p>ã€ã³ã¹ãã¯ã¿ã§ã¯ <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ãã€ã³</a>ã®èŠçŽ ã®æšªã«ãã€ãã³ãããšããåèªã衚瀺ãããã€ãã³ããªã¹ããŒããã€ã³ããããŠããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16253/inspect_element_with_eventhandler.png" style="border: 1px solid black; display: block; height: 24px; margin-left: auto; margin-right: auto; width: 491px;"></p> + +<p>ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã®èŠçŽ ã«ãã€ã³ããããŠãããã¹ãŠã®ã€ãã³ããªã¹ããŒãäžèŠ§è¡šç€ºãããããã¢ããã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16254/inspector_event_handlers.png" style="border: 1px solid black; display: block; height: 702px; margin-left: auto; margin-right: auto; width: 828px;">åè¡ã«ã¯ä»¥äžãå«ãŸããŸãã</p> + +<ul> + <li>å³åãã®ç¢é ãã¯ãªãã¯ããŠè¡ãå±éãããªã¹ããŒé¢æ°ã®ãœãŒã¹ã³ãŒãã衚瀺ããŸãã</li> + <li>ã¹ã¿ãã¯ãæã瀺ãã«ãŒãããç¢å°ããããã¯ãªãã¯ãããšããããã¬ã«ãã³ãã©ã®ã³ãŒãã衚瀺ãããŸãã</li> + <li>ãã®èŠçŽ ã«ãã³ãã©ãã¢ã¿ãããããã€ãã³ãã®åå</li> + <li>ãªã¹ããŒã®ååãšè¡çªå·ããããã¯ãªãã¯ããŠè¡ãå±éãããªã¹ããŒé¢æ°ã®ãœãŒã¹ã³ãŒãã衚瀺ããããšãã§ããŸã</li> + <li>ã€ãã³ããããã«ãã©ããã瀺ãã©ãã«</li> + <li>ã€ãã³ããå®çŸ©ããã·ã¹ãã ã瀺ãã©ãã«ãFirefox ã¯æ¬¡ã®ããã«è¡šç€ºã§ããŸãïŒ + <ul> + <li>æšæºã® DOM ã€ãã³ã</li> + <li><a class="external external-icon" href="http://api.jquery.com/category/events/">jQuery ã€ãã³ã</a></li> + <li><a href="https://facebook.github.io/react/docs/events.html">React ã€ãã³ã</a></li> + </ul> + </li> +</ul> diff --git a/files/ja/tools/page_inspector/how_to/examine_flexbox_layouts/index.html b/files/ja/tools/page_inspector/how_to/examine_flexbox_layouts/index.html new file mode 100644 index 0000000000..27c8d283c5 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/examine_flexbox_layouts/index.html @@ -0,0 +1,80 @@ +--- +title: 'CSS FlexBox ã€ã³ã¹ãã¯ã¿: Flexbox ã¬ã€ã¢ãŠãã調æ»ãã' +slug: Tools/Page_Inspector/How_to/Examine_Flexbox_layouts +tags: + - flexbox + - ã€ã³ã¹ãã¯ã¿ + - ã¬ã€ã + - ããŒã« +translation_of: Tools/Page_Inspector/How_to/Examine_Flexbox_layouts +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary"><strong>FlexBox Inspector</strong> ã䜿çšãããšãFirefox DevTools ã䜿çšã㊠<a href="/ja/docs/Web/CSS/CSS_Flexible_Box_Layout">CSS Flexbox ã®ã¬ã€ã¢ãŠã</a>ã調ã¹ãããããŒãžã«ãã flex ã³ã³ãããèŠã€ããããã¬ã€ã¢ãŠãã調ã¹ããä¿®æ£ããããã¬ã€ã¢ãŠãã®åé¡ããããã°ãããªã©ã®äœæ¥ãè¡ãããšãã§ããŸãã</p> + +<h2 id="Flex_ã³ã³ããã®æ€åº">Flex ã³ã³ããã®æ€åº</h2> + +<p>ããŒãžäžã® HTML èŠçŽ ã« <code><a href="/ja/docs/Web/CSS/display">display: flex</a></code> ãé©çšãããŠããå Žåãflexbox ã®ã¬ã€ã¢ãŠãæ©èœã«ç°¡åã«ã¢ã¯ã»ã¹ã§ããããã« DevTools ã«ããã€ãã®æ©èœãçšæãããŠããŸãã</p> + +<h3 id="HTML_ãã€ã³ãã">HTML ãã€ã³ãã</h3> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ãã€ã³</a>ã§ã¯ãflexbox ã³ã³ããã䜿çšããŠã¬ã€ã¢ãŠããããèŠçŽ ã®æšªã« <code>flex</code> ãšããåèªããããŸãã</p> + +<p><img alt="The HTML pane of the Firefox devtools, showing an element annotated with a grid marker, meaning that it has display: grid set on it" src="https://mdn.mozillademos.org/files/16342/flexbox_html.png" style="display: block; height: 458px; margin: 0px auto; width: 586px;"></p> + +<h3 id="CSS_ãã€ã³ãã">CSS ãã€ã³ãã</h3> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">CSS ãã€ã³</a>ã®ã«ãŒã«ãã¥ãŒã§ã¯ã<code><a href="/ja/docs/Web/CSS/display">display: flex</a></code> 宣èšã®ã€ã³ã¹ã¿ã³ã¹ã¯ <code>flex</code> ãšããåèªã®é£ã«å°ããªãã¬ãã¯ã¹ããã¯ã¹ã¢ã€ã³ã³ <img alt="" src="https://mdn.mozillademos.org/files/16345/flexbox_icon.gif" style="height: 15px; width: 17px;"> ã衚瀺ããŸããã¢ã€ã³ã³ãã¯ãªãã¯ãããšãflexbox ã®åèŠçŽ ã®è©³çŽ°ãã©ã®ããã«è¡šç€ºããããã瀺ããªãŒããŒã¬ã€ã®è¡šç€ºãåãæ¿ãããŸãã</p> + +<p><img alt="The CSS pane of the Firefox devtools, showing the CSS for a grid layout with a grid icon included next to display: grid" src="https://mdn.mozillademos.org/files/16343/flexbox_css.png" style="display: block; height: 177px; margin: 0px auto; width: 353px;"></p> + +<p>ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãèŠçŽ ã®äžã«è¡šç€ºãããããŒãžäžã®ãªãŒããŒã¬ã€ã®è¡šç€ºãåãæ¿ãããã°ãªããç·ãšãã©ãã¯ã®äœçœ®ã衚瀺ãããŸãã</p> + +<p><img alt="A screenshot of the Firefox web browser, showing a colored overlay on top of a section of the page laid out like a grid " src="https://mdn.mozillademos.org/files/16344/flexbox_overlay.png" style="display: block; height: 743px; margin: 0px auto; width: 950px;"></p> + +<p>ä»ã®èŠçŽ ãéžæãããšãªãŒããŒã¬ã€ã衚瀺ãããã®ã§ãé¢é£ãã CSS ããããã£ãç·šéã㊠flexbox ãã©ã®ããã«åœ±é¿ãåããŠãããã確èªã§ããŸãã</p> + +<h3 id="ã¬ã€ã¢ãŠã_Flex_ã³ã³ããã»ã¯ã·ã§ã³">ã¬ã€ã¢ãŠã Flex ã³ã³ããã»ã¯ã·ã§ã³</h3> + +<p>ããŒãžã1ã€ä»¥äžã® flexbox ã³ã³ããã§æ§æãããå ŽåãCSS ãã€ã³ã®ã¬ã€ã¢ãŠããã¥ãŒã«ã¯ãã³ã³ããã®ã³ã³ããŒãã³ãã衚瀺ããããã®å€æ°ã®ãªãã·ã§ã³ãå«ããFlex ã³ã³ãããã»ã¯ã·ã§ã³ãå«ãŸããŠããŸãããããã®è©³çŽ°ã«ã€ããŠã¯ã以äžã®ã»ã¯ã·ã§ã³ã§èª¿ã¹ãããšãã§ããŸãã</p> + +<div class="note"> +<p><strong>ã¡ã¢</strong>: ã¬ã€ã¢ãŠããã¥ãŒã¯ããŒãžã€ã³ã¹ãã¯ã¿ã®å³åŽã®ãã€ã³ã«ããã¬ã€ã¢ãŠãã¿ãã®äžã«ãããŸããäžèšããã³ä»¥äžã®ã¹ã¯ãªãŒã³ã·ã§ããã¯ãããã«å°éããæ¹æ³ã«é¢ãããããªããã³ããäžããã¯ãã§ãã</p> +</div> + +<h2 id="Flex_ã³ã³ãããªãã·ã§ã³">Flex ã³ã³ãããªãã·ã§ã³</h2> + +<p>ã¬ã€ã¢ãŠããã¥ãŒã® Flex ã³ã³ããã»ã¯ã·ã§ã³ã¯æ¬¡ã®ããã«ãªããŸãã</p> + +<p><img alt="The grid options section of the Firefox devtools Layout view, showing multiple options for specifying how you want to see CSS grids displayed" src="https://mdn.mozillademos.org/files/16346/flexbox_settings.png" style="border-style: solid; border-width: 1px; display: block; height: 319px; margin: 0px auto; width: 351px;"></p> + +<p>Flex Container ã»ã¯ã·ã§ã³ã§å€æŽã§ããèšå®ã¯2ã€ãããŸãã</p> + +<ul> + <li>ãã®äŸãã¯ãªãã¯ãããšããªãŒããŒã¬ã€ã®è²ãå¶åŸ¡ã§ããŸããã«ã©ãŒã¹ãŠã©ãããã¯ãªãã¯ãããšãã«ã©ãŒããã«ãŒããããã¢ãããããªãŒããŒã¬ã€ã®å¥ã®è²ãéžæã§ããŸãã</li> + <li>Flex ã³ã³ããã»ã¯ã·ã§ã³ã®å³åŽã«ããã¹ã€ããã¯ããªãŒããŒã¬ã€ã®ãªã³ãšãªããåãæ¿ããŸãã</li> +</ul> + +<h2 id="Flex_ã¢ã€ãã ããããã£">Flex ã¢ã€ãã ããããã£</h2> + +<p>flexbox ã®åã³ã³ããŒãã³ãã«ã¯ãèŠçŽ åãšãã®ã¯ã©ã¹ (ååšããå Žå) ãå«ãçªå·ä»ãã®ãšã³ããªããããŸããèŠçŽ ã®äžã«ã«ãŒãœã«ã眮ããšãããŒãžäžã§åŒ·èª¿è¡šç€ºãããŸãã</p> + +<p><img alt="An entry for a single grid in the Overlay Grid section of the Grid options, showing a grid's name, overlay color, and more." src="https://mdn.mozillademos.org/files/16347/flexbox_component.png" style="border: 1px solid black; display: block; height: 23px; margin: 0px auto; width: 117px;"></p> + +<p>ã¢ã€ãã ãã¯ãªãã¯ãããšããã®ã³ã³ããŒãã³ãã®è©³çŽ°ã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16348/flexbox_component_detail.png" style="border: 1px solid black; display: block; height: 379px; margin: 0 auto; width: 337px;"></p> + +<p>ãã®ãã¥ãŒã«ã¯ãã³ã³ããŒãã³ãã«é¢ãã3ã€ã®æ
å ±ã衚瀺ãããŸãã</p> + +<ul> + <li>ã³ã³ããŒãã³ãã®åœ¢ç¶</li> + <li>ããŒã¹ãµã€ãº - 芪ã«ããå¶çŽã課ããããŠããªãã³ã³ããŒãã³ãã®ãµã€ãº</li> + <li>æçµãµã€ãº - ãã¬ãã¯ã¹ããã¯ã¹ã«ãã£ãŠãµã€ãžã³ã°å¶çŽã課ãããåŸã«ã³ã³ããŒãã³ããæã€ãµã€ãºãé©çšãããŸãã</li> +</ul> + +<p>ã»ã¯ã·ã§ã³ã®äžéšã«ãéžæãããé
ç®ã®ååã¯ãflexboxã³ã³ããã®ãã¹ãŠã®ã³ã³ããŒãã³ãã®ããããããŠã³ãªã¹ãã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16349/flexbox_component_list.png" style="border: 1px solid black; display: block; height: 379px; margin: 0px auto; width: 338px;"></p> + +<p>ãã®ããããããŠã³ã䜿çšããŠãflexbox å
ã®ä»ã®ã³ã³ããŒãã³ããéžæã§ããŸãã</p> diff --git a/files/ja/tools/page_inspector/how_to/examine_grid_layouts/index.html b/files/ja/tools/page_inspector/how_to/examine_grid_layouts/index.html new file mode 100644 index 0000000000..f46ebfea79 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/examine_grid_layouts/index.html @@ -0,0 +1,135 @@ +--- +title: 'CSS ã°ãªããã€ã³ã¹ãã¯ã¿ãŒ: ã°ãªããã¬ã€ã¢ãŠãã調æ»ãã' +slug: Tools/Page_Inspector/How_to/Examine_grid_layouts +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Examine_grid_layouts +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary"><strong>ã°ãªããã€ã³ã¹ãã¯ã¿ãŒ</strong>ã§ãFirefox ã®éçºããŒã«ã䜿çšã㊠<a href="/ja/docs/Web/CSS/CSS_Grid_Layout">CSS ã°ãªããã¬ã€ã¢ãŠã</a> ã調æ»ã§ããŸããããŒãžäžã«ããã°ãªãããèŠã€ãããã°ãªããã調æ»ããã³å€æŽãããã¬ã€ã¢ãŠãã®ã®åé¡ããããã°ãããšãã£ãããšãå¯èœã§ãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: ãã®èšäºã«ããã¹ã¯ãªãŒã³ã·ã§ããã§ç€ºãäŸã¯ãJen Simmons ã«ãã <a href="http://labs.jensimmons.com/2016/examples/futurismo-1.html">Futurismo</a> ã <a href="http://labs.jensimmons.com/2017/01-003.html">Variations on a grid</a>ãããã³ Rachel Andrew ã«ãã <a href="/ja/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas#Naming_a_grid_area">ååä»ãã°ãªããé åã®äŸ</a> ã§ãã</p> +</div> + +<h2 id="Discovering_CSS_grids" name="Discovering_CSS_grids">CSS ã°ãªãããçºèŠãã</h2> + +<p>ããŒãžå
ã« <code><a href="/ja/docs/Web/CSS/display">display: grid</a></code> ãé©çšããã HTML èŠçŽ ããããšããã°ãªããã®æ©èœãžç°¡åã«ã¢ã¯ã»ã¹ã§ããããã«ãããããéçºããŒã«ã§ããã€ãã®æ©èœã䜿çšã§ããŸãã</p> + +<h3 id="In_the_HTML_pane" name="In_the_HTML_pane">HTML ãã€ã³ã®æ©èœ</h3> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ãã€ã³</a> ã§ã¯ãã°ãªããæ¹åŒã§ã¬ã€ã¢ãŠããããèŠçŽ ã®ãã°ã« "grid" ããŒã¯ãã€ããŸãã</p> + +<p><img alt="The HTML pane of the Firefox devtools, showing an element annotated with a grid marker, meaning that it has display: grid set on it" src="https://mdn.mozillademos.org/files/15977/html-pane.png" style="border-style: solid; border-width: 1px; display: block; height: 262px; margin: 0px auto; width: 400px;"></p> + +<h3 id="In_the_CSS_pane" name="In_the_CSS_pane">CSS ãã€ã³ã®æ©èœ</h3> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">CSS ãã€ã³</a> ã®ã«ãŒã«ãã¥ãŒã§ã¯ã<code><a href="/ja/docs/Web/CSS/display">display: grid</a></code> 宣èšã®å®äœã«ã°ãªããã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14524/Screen%20Shot%202016-12-16%20at%2010.51.15%20AM.png" style="height: 22px; margin-bottom: -5px; width: 22px;">) ã衚瀺ããŸãã</p> + +<p><img alt="The CSS pane of the Firefox devtools, showing the CSS for a grid layout with a grid icon included next to display: grid" src="https://mdn.mozillademos.org/files/15978/css-pane.png" style="border-style: solid; border-width: 1px; display: block; height: 399px; margin: 0px auto; width: 1146px;"></p> + +<p>ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãããŒãžäžã«ã°ãªããããªãŒããŒã¬ã€è¡šç€ºããæ©èœã®æå¹ã»ç¡å¹ãåãæ¿ããŸããããã¯èŠçŽ ã«éããŠè¡šç€ºãããã°ãªããã®ç·ããã©ãã¯ã®äœçœ®ã瀺ãããã«ã°ãªããã®ããã«äžŠã¹ãããŸãã</p> + +<p><img alt="A screenshot of the Firefox web browser, showing a colored overlay on top of a section of the page laid out like a grid " src="https://mdn.mozillademos.org/files/15979/grid-overlay.png" style="border-style: solid; border-width: 1px; display: block; height: 1383px; margin: 0px auto; width: 1842px;"></p> + +<p>ãã®ãªãŒããŒã¬ã€ã¯å¥ã®èŠçŽ ãéžæããŠã衚瀺ãç¶ããŸãã®ã§ãé¢é£ãã CSS ããããã£ãç·šéããŠãã°ãªããã«ã©ã®ãããªåœ±é¿ããããã確èªã§ããŸãã</p> + +<h3 id="The_Layout_view_Grid_section" name="The_Layout_view_Grid_section">ã¬ã€ã¢ãŠããã¥ãŒã®ã°ãªããã»ã¯ã·ã§ã³</h3> + +<p>ããŒãžå
ã«ã°ãªããããããšããã°ãªããã確èªããããã®ããŸããŸãªãªãã·ã§ã³ããã "ã°ãªãã" ã»ã¯ã·ã§ã³ã CSS ãã€ã³ã®ã¬ã€ã¢ãŠããã¥ãŒã«è¡šç€ºãããŸãã詳ããã¯åŸã®ç« ã§èª¬æããŸãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: ã¬ã€ã¢ãŠããã¥ãŒã¯ãããŒãžã€ã³ã¹ãã¯ã¿ãŒã®å³åŽã®ãã€ã³ã«ãã<em>Layout</em>ã¿ãã®äžã«ãããŸãããã®èšäºå
ã®ã¹ã¯ãªãŒã³ã·ã§ããã§ãã©ãã«ãããã®ãã³ããåŸãããã§ãããã</p> +</div> + +<h2 id="Grid_options" name="Grid_options">ã°ãªããã®ãªãã·ã§ã³</h2> + +<p>ã¬ã€ã¢ãŠããã¥ãŒã®ã°ãªããã»ã¯ã·ã§ã³ã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="The grid options section of the Firefox devtools Layout view, showing multiple options for specifying how you want to see CSS grids displayed" src="https://mdn.mozillademos.org/files/15980/grid-options.png" style="border-style: solid; border-width: 1px; display: block; height: 408px; margin: 0px auto; width: 500px;"></p> + +<p>ã»ã¯ã·ã§ã³å
ã«ãªãã·ã§ã³ãããã€ããããŸã:</p> + +<ul> + <li>ã°ãªããããªãŒããŒã¬ã€è¡šç€º: ããŸããŸãªèšå®ãšãšãã«ãããŒãžäžã«ããããã®ã°ãªããã衚瀺ããããã®ãã§ãã¯ããã¯ã¹ããããŸãããªãŒããŒã¬ã€è¡šç€ºã®ãªã³ã»ãªããåãæ¿ãã§ããŸãã</li> + <li>ã°ãªããã®è¡šç€ºèšå®: + <ul> + <li>ç·çªå·ã衚瀺: ããããã®ã°ãªãããªãŒããŒã¬ã€ã§ç·çªå·ã®è¡šç€ºããªã³ã»ãªãã§ããŸã (ããã©ã«ãã§ãªã³)ã</li> + <li>é ååã衚瀺: ã°ãªããã®é åã«ååãããå Žåã«ãé ååã®è¡šç€ºããªã³ã»ãªãã§ããŸã (劥åœã§ããã°ããã©ã«ãã§ãªã³)ã</li> + <li>ã°ãªããç·ãç¡éã«å»¶äŒž: ããã©ã«ãã§ãã°ãªããã®ç·ããã©ãã¯ã¯ <code>display: grid</code> ãèšå®ãããèŠçŽ ã®å
éšã«éã£ãŠè¡šç€ºããŸãããã®ãªãã·ã§ã³ãæå¹ã«ãããšãã°ãªããç·ãããããã®è»žã«ãã£ãŠãã¥ãŒããŒãã®ç«¯ãŸã§å»¶äŒžããŸãã</li> + </ul> + </li> + <li>ããã°ãªãããã¥ãŒ: çŸåšãªãŒããŒã¬ã€è¡šç€ºããŠããã°ãªãããçž®å°è¡šç€ºããŸãã</li> +</ul> + +<div class="note"> +<p><strong>泚èš</strong>: ãªãŒããŒã¬ã€ã®è²ã衚瀺èšå®ã¯ãããŒãžããšã«åèªã¿èŸŒã¿åŸãç¶æããŸãã</p> +</div> + +<p>ãããã®æ©èœããããã«è©³ããèŠãŠãããŸããã</p> + +<h3 id="Overlay_grid" name="Overlay_grid">ã°ãªããããªãŒããŒã¬ã€è¡šç€º</h3> + +<p>"ã°ãªããããªãŒããŒã¬ã€è¡šç€º" ã»ã¯ã·ã§ã³ã«ãããŒãžäžã®ããããã®ã°ãªããã®é
ç®ã衚瀺ãããŸã:</p> + +<p><img alt="An entry for a single grid in the Overlay Grid section of the Grid options, showing a grid's name, overlay color, and more." src="https://mdn.mozillademos.org/files/15981/overlay-grid-entry.png" style="border-style: solid; border-width: 1px; display: block; height: 37px; margin: 0px auto; width: 300px;"></p> + +<p>ããããã®é
ç®ã®æ§æ㯠(å·Šããå³ã®é ã«) 以äžã®ãšããã§ã:</p> + +<ul> + <li>ã°ãªããã®ãªãŒããŒã¬ã€è¡šç€ºã®ãªã³ã»ãªããåãæ¿ãããã§ãã¯ããã¯ã¹ãçŸåšããªãŒããŒã¬ã€ã¯åæã« 1 ã€ãã衚瀺ããŸããã®ã§æ³šæããŠãã ããã</li> + <li>ã°ãªãããè¡šãã©ãã«ãã°ãªãããé©çšããã HTML èŠçŽ ãèå¥ããã»ã¬ã¯ã¿ãŒã§ãããããã¯ãªãã¯ããŠãããªãŒããŒã¬ã€è¡šç€ºã®ãªã³ã»ãªããåãæ¿ãã§ããŸãã</li> + <li>æšçã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã®ã°ãªããã«é¢é£ãã HTML èŠçŽ ã HTML ãã€ã³ã§éžæããŸãã</li> + <li>ã°ãªãããªãŒããŒã¬ã€ã®äž»èŠãªè²ãå€æŽã§ããã«ã©ãŒããã«ãŒãã°ãªãããåºå¥ãããããããããè²ãå€ããã®ã«äŸ¿å©ã§ãã</li> +</ul> + +<h3 id="Display_line_numbers" name="Display_line_numbers">ç·çªå·ã衚瀺</h3> + +<p>ããã©ã«ãã§ãã°ãªãããªãŒããŒã¬ã€ã«ç·çªå·ã衚瀺ããŸãã</p> + +<p><img alt="A CSS grid overlay with grid line numbers displayed" src="https://mdn.mozillademos.org/files/15982/line-numbers.png" style="border-style: solid; border-width: 1px; display: block; height: 582px; margin: 0px auto; width: 600px;"></p> + +<p>"ç·çªå·ã衚瀺" ã®ãã§ãã¯ãå€ããšãç·çªå·ãæ¶ããŸãã</p> + +<p><img alt="A CSS grid overlay with grid line numbers not displayed" src="https://mdn.mozillademos.org/files/15983/no-line-numbers.png" style="border-style: solid; border-width: 1px; display: block; height: 580px; margin: 0px auto; width: 600px;"></p> + +<h3 id="Display_area_names" name="Display_area_names">é ååã衚瀺</h3> + +<p>é ååãããã°ãªããã§ã¯ãããã©ã«ãã§é ååãã°ãªãããªãŒããŒã¬ã€ã«è¡šç€ºããŸãã</p> + +<p><img alt="A CSS grid overlay with named area names displayed" src="https://mdn.mozillademos.org/files/15984/grid-named-areas.png" style="border-style: solid; border-width: 1px; display: block; height: 777px; margin: 0px auto; width: 1396px;"></p> + +<p>"é ååã衚瀺" ã®ãã§ãã¯ãå€ããšãé ååãæ¶ããŸãã</p> + +<p><img alt="A CSS grid overlay with named area names not displayed" src="https://mdn.mozillademos.org/files/15990/no-grid-named-areas.png" style="border-style: solid; border-width: 1px; display: block; height: 788px; margin: 0px auto; width: 1400px;"></p> + +<h3 id="Extend_lines_infinitely" name="Extend_lines_infinitely">ã°ãªããç·ãç¡éã«å»¶äŒž</h3> + +<p>ããã©ã«ãã§ãã°ãªããã®ç·ããã©ãã¯ã¯ <code>display: grid</code> ãèšå®ãããèŠçŽ ã®å
éšã«éã£ãŠè¡šç€ºããŸãã</p> + +<p><img alt="A CSS grid overlay with grid lines not extended infinitely" src="https://mdn.mozillademos.org/files/15987/no-extend-lines.png" style="border-style: solid; border-width: 1px; display: block; height: 499px; margin: 0px auto; width: 1000px;"></p> + +<p>"ã°ãªããç·ãç¡éã«å»¶äŒž" ã«ãã§ãã¯ãå
¥ãããšãã°ãªããç·ãããããã®è»žã«ãã£ãŠãã¥ãŒããŒãã®ç«¯ãŸã§å»¶äŒžããŸãã</p> + +<p><img alt="A CSS grid overlay with grid lines extended infinitely" src="https://mdn.mozillademos.org/files/15986/extend-lines.png" style="border-style: solid; border-width: 1px; display: block; height: 501px; margin: 0px auto; width: 1000px;"></p> + +<h3 id="Mini_grid_view" name="Mini_grid_view">ããã°ãªãããã¥ãŒ</h3> + +<p>çŸåšãªãŒããŒã¬ã€è¡šç€ºããŠããã°ãªããããå®éã®ã°ãªããã«æ¯äŸããŠå°ãã衚瀺ããŸãã</p> + +<p><img alt="A mini CSS grid view from the Firefox DevTools" src="https://mdn.mozillademos.org/files/15988/mini-grid-view.png" style="border-style: solid; border-width: 1px; display: block; height: 246px; margin: 0px auto; width: 600px;"></p> + +<p>ããã°ãªããã®ããŸããŸãªé åã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãã°ãªãããªãŒããŒã¬ã€ã§å¯Ÿå¿ããé åããã€ã©ã€ã衚瀺ãããŸãããŸããé åã®å¯žæ³ãåçªå·ã»è¡çªå·ãªã©ã®æçšãªæ
å ±ãããŒã«ãããã§è¡šç€ºããŸãã</p> + +<p><img alt="A firefox screenshot showing an area of a mini CSS grid being highlighted in the DevTools, and the corresponding area in the real grid being highlighted on the web page." src="https://mdn.mozillademos.org/files/15989/mini-grid-highlight.png" style="border-style: solid; border-width: 1px; display: block; height: 793px; margin: 0px auto; width: 1200px;"></p> + +<h2 id="See_also" name="See_also">é¢é£æ
å ±</h2> + +<ul> + <li><a href="http://labs.jensimmons.com/">labs.jensimmons.com</a> â ããŸããŸãªèå³æ·±ãã°ãªããã®äŸ</li> + <li><a href="https://gridbyexample.com/">Grid by Example</a> â Rachel Andrew ã«ãããCSS ã°ãªãããåŠã¶ããã®è³æ</li> + <li><a href="/ja/docs/Web/CSS/CSS_Grid_Layout">CSS Grid Layout</a> â MDN ã® CSS ã°ãªããã¬ã€ã¢ãŠãã®ãªãã¡ã¬ã³ã¹ããã¥ãŒããªã¢ã«</li> +</ul> diff --git a/files/ja/tools/page_inspector/how_to/index.html b/files/ja/tools/page_inspector/how_to/index.html new file mode 100644 index 0000000000..370529a6d4 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/index.html @@ -0,0 +1,13 @@ +--- +title: How to +slug: Tools/Page_Inspector/How_to +tags: + - NeedsTranslation + - TopicStub +translation_of: Tools/Page_Inspector/How_to +--- +<div>{{ToolsSidebar}}</div><p><span class="seoSummary">ããã«ã¯æ§ã
㪠HOW TO ãžã®ãªã³ã¯ããããŸãããããã®ãªã³ã¯å
ã§ã¯ãåæè¡ã® HOW TO ã«ã€ããŠè©³ãã説æããŠããŸãã</span></p> + +<p>{{ ListSubpages () }}</p> + +<p> </p> diff --git a/files/ja/tools/page_inspector/how_to/inspect_and_select_colors/index.html b/files/ja/tools/page_inspector/how_to/inspect_and_select_colors/index.html new file mode 100644 index 0000000000..4da5c5c3c3 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/inspect_and_select_colors/index.html @@ -0,0 +1,26 @@ +--- +title: è²ã®èª¿æ»ãšéžæ +slug: Tools/Page_Inspector/How_to/Inspect_and_select_colors +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Inspect_and_select_colors +--- +<div>{{ToolsSidebar}}</div><p>CSS ãã€ã³ã® <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã§ã¯ã«ãŒã«ã«è²ã®å€ãå«ãŸããå Žåã«ãå€ã®é£ã«è²ã®ãµã³ãã«ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6361/inspector-css-color-swatch.png" style="display: block; height: 158px; margin-left: auto; margin-right: auto; width: 487px;"></p> + +<p>è²ãµã³ãã«ãã¯ãªãã¯ãããšããã®è²ãå€æŽã§ããã«ã©ãŒããã«ãŒããããã¢ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7747/inspector-color-picker.png" style="display: block; height: 320px; margin-left: auto; margin-right: auto; width: 835px;"></p> + +<p>ã«ã©ãŒããã«ãŒã«ãã¹ãã€ãã®ã¢ã€ã³ã³ããããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãèŠçŽ ã®è²ãããŒãžå
ããæ°ãã«éžæããã¹ãã€ãããŒã«ã䜿çšã§ããŸã:</p> + +<p>{{EmbedYouTube("0Zx1TN21QOo")}}</p> + +<p>Firefox 40 ãããShift ããŒãæŒããªããè²ãµã³ãã«ãã¯ãªãã¯ãããšãè²åäœãåãæ¿ããŸã:</p> + +<p>{{EmbedYouTube("gYL8-gxc1MA")}}</p> + +<p>Firefox 53 以éã§ã<a href="https://drafts.csswg.org/css-color/">CSS color level 4</a> ã®è²ã®å€ããµããŒãããŸãã</p> diff --git a/files/ja/tools/page_inspector/how_to/open_the_inspector/index.html b/files/ja/tools/page_inspector/how_to/open_the_inspector/index.html new file mode 100644 index 0000000000..fe2d531143 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/open_the_inspector/index.html @@ -0,0 +1,23 @@ +--- +title: ã€ã³ã¹ãã¯ã¿ãŒãéã +slug: Tools/Page_Inspector/How_to/Open_the_Inspector +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Open_the_Inspector +--- +<div>{{ToolsSidebar}}</div> + +<p>ã€ã³ã¹ãã¯ã¿ãŒãéãæ¹æ³ã¯ã䞻㫠2 ã€ãããŸã:</p> + +<ul> + <li><strong><em>èŠçŽ ãéžæããã«éã</em></strong>: ã¡ãã¥ãŒããŒã§ [ããŒã«] â [ãŠã§ãéçº] â [ã€ã³ã¹ãã¯ã¿ãŒ] ãéžæããããåçã® <a href="/ja/docs/tools/Keyboard_shortcuts#Opening_and_closing_tools">ããŒããŒãã·ã§ãŒãã«ãã</a> ãæŒäžããã</li> + <li><strong><em>èŠçŽ ãéžæããŠéã</em></strong>: ãŠã§ãããŒãžäžã§èŠçŽ ãå³ã¯ãªãã¯ããŠã[èŠçŽ ã調æ»] ãéžæããã</li> +</ul> + +<p>ã€ã³ã¹ãã¯ã¿ãŒããã©ãŠã¶ãŒãŠã£ã³ããŠã®äžéšã«çŸããŸã:</p> + +<p><img alt="The all-new Inspector in Firefox 57 DevTools." src="https://mdn.mozillademos.org/files/15493/57-inspector-starfish.png" style="display: block; height: 647px; margin-left: auto; margin-right: auto; width: 845px;"></p> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã§äœãè¡ãããç¥ãããã«ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour">UI ãã¢ãŒ</a> ãã芧ãã ããã</p> diff --git a/files/ja/tools/page_inspector/how_to/reposition_elements_in_the_page/index.html b/files/ja/tools/page_inspector/how_to/reposition_elements_in_the_page/index.html new file mode 100644 index 0000000000..6c7084a728 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/reposition_elements_in_the_page/index.html @@ -0,0 +1,22 @@ +--- +title: ããŒãžå
ã®èŠçŽ ãåé
眮ãã +slug: Tools/Page_Inspector/How_to/Reposition_elements_in_the_page +translation_of: Tools/Page_Inspector/How_to/Reposition_elements_in_the_page +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote">Firefox 48 ã®æ°æ©èœ</div> + +<p>Firefox 48 ããã絶察çã«é
眮ãããŠããèŠçŽ ãããŒãžäžã§ãã©ãã°ããŠç§»åã§ããããã«ãªããŸããã</p> + +<p>{{EmbedYouTube("Or5HM1FFhvE")}}</p> + +<p><code>{{cssxref("position")}}</code> ããããã£ã <code>absolute</code>ã<code>relative</code> ãŸã㯠<code>fixed</code> ã«èšå®ãããŠããããŸã {{cssxref("top")}}ã{{cssxref("bottom")}}ã{{cssxref("left")}}ã{{cssxref("right")}} ããããã£ã®ãããããæå®ãããŠãããšã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Computed_view">ããã¯ã¹ã¢ãã«ãã¥ãŒ</a> ã«ãã¿ã³ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14245/box-model-reposition.png" style="display: block; height: 472px; margin-left: auto; margin-right: auto; width: 610px;"></p> + +<p>ãã¿ã³ãã¯ãªãã¯ãããšãèŠçŽ ã®é£ã«ãã³ãã«ã 2 ã€è¡šç€ºããŸã:</p> + +<p><img alt="Example for changing the position of an element within the content" src="https://mdn.mozillademos.org/files/12986/in-content-box-model-editing.png" style="display: block; height: 215px; margin-left: auto; margin-right: auto; width: 388px;"></p> + +<p>ãã®ãã³ãã«ã䜿çšããŠãããŒãžå
ã§èŠçŽ ã移åã§ããŸãã</p> + +<p>èŠçŽ ã絶察é
眮ãããŠããå Žåã¯ããªãã»ããå
ãè¡šãæ³¢ç·ã衚瀺ããŸããçžå¯Ÿé
眮ã®èŠçŽ ã§ã¯ãããŒãã®å
ã®äœçœ®ãæ³¢ç·ã§ç€ºããŸãããªãã»ããéã¯ãããããã®æ¹åã«ã€ããŠç·ãšããŒã«ãããã§ç€ºããŸãã</p> diff --git a/files/ja/tools/page_inspector/how_to/select_an_element/index.html b/files/ja/tools/page_inspector/how_to/select_an_element/index.html new file mode 100644 index 0000000000..aba60ca71c --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/select_an_element/index.html @@ -0,0 +1,36 @@ +--- +title: èŠçŽ ãéžæãã +slug: Tools/Page_Inspector/How_to/Select_an_element +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Select_an_element +--- +<div>{{ToolsSidebar}}</div><p><em>éžæãããèŠçŽ </em> ã¯ãããŒãžå
ã§ã€ã³ã¹ãã¯ã¿ãŒãçŸåšæ³šç®ããŠããèŠçŽ ã§ããéžæãããèŠçŽ 㯠<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTML ãã€ã³</a> ã«è¡šç€ºããŸãããŸããèŠçŽ ã® CSS ã <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">CSS ãã€ã³</a> ã«è¡šç€ºããŸãã</p> + +<p><em>ãã€ã©ã€ã衚瀺ãããèŠçŽ </em> ã¯ãããã¯ã¹ã¢ãã«ãè¡šãå³ããã¿ã°ããµã€ãºãè¡šãããŒã«ããããããŒãžå
ã§éãåãããŠããèŠçŽ ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14516/inspector-highlighted.png" style="display: block; height: 779px; margin-left: auto; margin-right: auto; width: 1034px;"></p> + +<h2 id="With_the_context_menu" name="With_the_context_menu">ã³ã³ããã¹ãã¡ãã¥ãŒã§éžæãã</h2> + +<p>ããŒãžå
ã®èŠçŽ äžã§ã³ã³ããã¹ãã¡ãã¥ãŒãéã㊠[èŠçŽ ã調æ»] ãéžæãããšãã€ã³ã¹ãã¯ã¿ãŒãéããŠå³åº§ã«èŠçŽ ãéžæããŸã:</p> + +<p>{{EmbedYouTube("db83PCnPiNM")}}</p> + +<h2 id="With_the_HTML_pane" name="With_the_HTML_pane">HTML ãã€ã³ã§éžæãã</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒãéããŠãããšããHTML ãã€ã³å
ã«äžŠãã§ããèŠçŽ äžã§ããŠã¹ãã€ã³ã¿ãŒãåããã®ã«å¿ããŠã察å¿ããèŠçŽ ãããŒãžå
ã§ãã€ã©ã€ã衚瀺ããŸããHTML ãã€ã³ã§ã¯ãªãã¯ãããšãèŠçŽ ãéžæããŸã:</p> + +<p>{{EmbedYouTube("EojH_vCMesI")}}</p> + +<p>ããŒããŒãã®ç¢å°ããŒã䜿çšããŠãDOM å
ã移åããããšãã§ããŸãã</p> + +<h2 id="With_the_node_picker" name="With_the_node_picker">ããŒãããã«ãŒã§éžæãã</h2> + +<p>"ããŒãããã«ãŒ" ã®ã¢ã€ã³ã³ <img alt="" src="https://mdn.mozillademos.org/files/14518/node-picker.png" style="height: 16px; margin-bottom: -4px; width: 18px;"> (<em>èŠçŽ ãéžæ</em> ã¢ã€ã³ã³ãšãåŒã°ããŸã) ãã¯ãªãã¯ããŠããŒãããã«ãŒãèµ·åãããšãããŒãžèªäœã§èŠçŽ ãéžæã§ããŸããããŒãžå
ã§ããŠã¹ãã€ã³ã¿ãŒãåãããšããã€ã³ã¿ãŒã®äžã«ããèŠçŽ ããã€ã©ã€ã衚瀺ããŸããèŠçŽ ãã¯ãªãã¯ãããšãéžæããŸã:</p> + +<p>{{EmbedYouTube("Ss_fJz0zaxA")}}</p> + +<p>Firefox 52 ããã<kbd>Shift</kbd> ãæŒããªããèŠçŽ ãã¯ãªãã¯ãããšãèŠçŽ ãéžæããŸããããã«ãŒãåŒãç¶ã䜿çšã§ããŸããããã«ãã CSS ãã€ã³ã§èŠçŽ ã®ã«ãŒã«ã確èªã§ããããŒãžå
ã®å¥ã®èŠçŽ ãç°¡åã«éžæã§ããŸãã</p> diff --git a/files/ja/tools/page_inspector/how_to/select_and_highlight_elements/index.html b/files/ja/tools/page_inspector/how_to/select_and_highlight_elements/index.html new file mode 100644 index 0000000000..744c59e0e6 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/select_and_highlight_elements/index.html @@ -0,0 +1,32 @@ +--- +title: èŠçŽ ã®éžæãšåŒ·èª¿è¡šç€º +slug: Tools/Page_Inspector/How_to/Select_and_highlight_elements +translation_of: Tools/Page_Inspector/How_to/Select_and_highlight_elements +--- +<div>{{ToolsSidebar}}</div> + +<p><em>éžæããã</em>èŠçŽ ã¯ãã€ã³ã¹ãã¯ã¿ãçŸåšãã©ãŒã«ã¹ããŠããããŒãžã®èŠçŽ ã§ãã éžæããèŠçŽ ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">HTMLãã€ã³</a>ã«è¡šç€ºããããã®CSSã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">CSSãã€ã³</a>ã«è¡šç€ºãããŸãã</p> + +<p>匷調衚瀺ãããèŠçŽ ã¯ãããŒãžã«ãªãŒããŒã¬ã€ãããèŠçŽ ã§ãããã¯ã¹ã¢ãã«ã瀺ãã°ã©ãã£ãã¯ãšãã®ã¿ã°ãšãµã€ãºã瀺ãããŒã«ãããã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14516/inspector-highlighted.png" style="display: block; height: 779px; margin-left: auto; margin-right: auto; width: 1034px;"></p> + +<h2 id="ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšãã">ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšãã</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãéããŠèŠçŽ ãããã«éžæããã«ã¯ãããŒãžå
ã®èŠçŽ ã®ã³ã³ããã¹ãã¡ãã¥ãŒãã¢ã¯ãã£ãã«ããŠããèŠçŽ ã®æ€èšŒããéžæããŸãã</p> + +<p>{{EmbedYouTube("db83PCnPiNM")}}</p> + +<h2 id="HTML_ãã€ã³ã䜿çšãã">HTML ãã€ã³ã䜿çšãã</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãéããŠãããšãã«ãHTMLãã€ã³ã«ãªã¹ããããŠããèŠçŽ ã®åšãã«ããŠã¹ã移åãããšã察å¿ããèŠçŽ ãããŒãžå
ã§åŒ·èª¿è¡šç€ºãããŸãã HTMLãã€ã³ã§èŠçŽ ãã¯ãªãã¯ããŠéžæããŸãã</p> + +<p>{{EmbedYouTube("EojH_vCMesI")}}</p> + +<p>ç¢å°ããŒã䜿çšããŠãããŒããŒãã§DOMã®åšãã移åããããšãã§ããŸãã</p> + +<h2 id="ããŒãããã«ãŒã䜿çšãã">ããŒãããã«ãŒã䜿çšãã</h2> + +<p>ããŒãžèªäœã®èŠçŽ ãéžæããã«ã¯ããã®èŠçŽ ã®ã¢ã€ã³ã³Â <img alt="" src="https://mdn.mozillademos.org/files/14518/node-picker.png" style="height: 16px; margin-bottom: -4px; width: 18px;"> (ãèŠçŽ ã®éžæãã¢ã€ã³ã³ãšãåŒã°ããŸã) ãã¯ãªãã¯ããŠ"node picker"ãã¢ã¯ãã£ãã«ããŸãããã®åŸãããŒãžäžã§ããŠã¹ãåãããšãããŠã¹ã®äžã®èŠçŽ ã匷調衚瀺ãããŸããèŠçŽ ãã¯ãªãã¯ããŠéžæããŸãã</p> + +<p>{{EmbedYouTube("Ss_fJz0zaxA")}}</p> diff --git a/files/ja/tools/page_inspector/how_to/use_the_inspector_api/index.html b/files/ja/tools/page_inspector/how_to/use_the_inspector_api/index.html new file mode 100644 index 0000000000..65d0f7cfb8 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/use_the_inspector_api/index.html @@ -0,0 +1,44 @@ +--- +title: ã€ã³ã¹ãã¯ã¿ãŒã® API ã䜿çšãã +slug: Tools/Page_Inspector/How_to/Use_the_Inspector_API +tags: + - Inspector + - Reference + - Référence(2) + - Tools +translation_of: Tools/Page_Inspector/How_to/Use_the_Inspector_API +--- +<div>{{ToolsSidebar}}</div><p>Firefox ã¢ããªã³ã¯ãchrome://browser/content/devtools/inspector/inspector.xul ã³ã³ããã¹ããã以äžã®ãªããžã§ã¯ãã«ã¢ã¯ã»ã¹ã§ããŸã:</p> + +<h3 id="window.inspector" name="window.inspector">window.inspector</h3> + +<p><a href="http://mxr.mozilla.org/mozilla-central/source/browser/devtools/inspector/inspector-panel.js" title="http://mxr.mozilla.org/mozilla-central/source/browser/devtools/inspector/inspector-panel.js">inspector-panel.js</a> ã§å®çŸ©ããŠããŸããå±æ§ãšé¢æ°:</p> + +<ul> + <li>.selection - ã€ã³ã¹ãã¯ã¿ãŒã§éžæãããã®ã«é¢ããæ
å ±: + <ul> + <li>.isNode() - éžæãããã®ãããŒãã§ããå Žåã« true ãè¿ããŸãã</li> + <li>.node - ããŒãžããå®éã®èŠçŽ ãè¿ããŸãã</li> + <li>.window - éžæãããã®ãå«ãŸããŠãããã¬ãŒã ã® window ãªããžã§ã¯ãã§ãã</li> + </ul> + </li> + <li>.markDirty() - ã€ã³ã¹ãã¯ã¿ãŒã«ãã£ãŠå€æŽãããããŒãžãããŒã¯ããŸããã€ã³ã¹ãã¯ã¿ãŒã§æœããå€æŽç¹ã¯åèªã¿èŸŒã¿ã«ãã£ãŠæžãæãããããããããŒãžããå»ããšãã«èŠåã衚瀺ããŸãã</li> +</ul> + +<p>ãã€ã³ãå¯èœãªã€ãã³ã:</p> + +<h4 id="markuploaded" name="markuploaded">markuploaded</h4> + +<p>ããŒãžãå€æŽããåŸãå·ŠåŽã®ããã«ãæŽæ°ããããšãã«åŒã³åºãããŸãã</p> + +<h4 id="ready" name="ready">ready</h4> + +<p>æåã® markuploaded ã§åŒã³åºãããŸãã</p> + +<h4 id="pseudoclass" name="pseudoclass">pseudoclass</h4> + +<p>ç䌌ã¯ã©ã¹ã®åãæ¿ãåŸã«åŒã³åºãããŸãã</p> + +<h4 id="layout-change" name="layout-change">layout-change</h4> + +<p>"æç»ããªãµã€ãºãªã©ã®ããã®ãäœåªå
床ã®å€æŽã€ãã³ã"</p> diff --git a/files/ja/tools/page_inspector/how_to/use_the_inspector_from_the_web_console/index.html b/files/ja/tools/page_inspector/how_to/use_the_inspector_from_the_web_console/index.html new file mode 100644 index 0000000000..be82d54870 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/use_the_inspector_from_the_web_console/index.html @@ -0,0 +1,16 @@ +--- +title: ãŠã§ãã³ã³ãœãŒã«ããã€ã³ã¹ãã¯ã¿ãŒã䜿çšãã +slug: Tools/Page_Inspector/How_to/Use_the_Inspector_from_the_Web_Console +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Use_the_Inspector_from_the_Web_Console +--- +<div>{{ToolsSidebar}}</div><p>ã€ã³ã¹ãã¯ã¿ãŒã§éžæãããŠããèŠçŽ ã¯ãå€æ° <code>$0</code> ã䜿çšããŠãŠã§ãã³ã³ãœãŒã«ããåç
§ã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10057/console-$0.png" style="display: block; margin-left: auto; margin-right: auto; width: 761px;"></p> + +<p>ãŠã§ãã³ã³ãœãŒã«ã«åºåããã DOM èŠçŽ ã®é£ã«ãæšçã®ã¢ã€ã³ã³ããããŸãããã®ã¢ã€ã³ã³ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžäžã§èŠçŽ ããã€ã©ã€ã衚瀺ããŸãããŸãã¢ã€ã³ã³ãã¯ãªãã¯ãããšãèŠçŽ ãã€ã³ã¹ãã¯ã¿ãŒã§éžæãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10059/console-highlight.png" style="display: block; margin-left: auto; margin-right: auto; width: 760px;"></p> diff --git a/files/ja/tools/page_inspector/how_to/view_background_images/index.html b/files/ja/tools/page_inspector/how_to/view_background_images/index.html new file mode 100644 index 0000000000..8946153638 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/view_background_images/index.html @@ -0,0 +1,12 @@ +--- +title: èæ¯ç»åã確èªãã +slug: Tools/Page_Inspector/How_to/View_background_images +translation_of: Tools/Page_Inspector/How_to/View_background_images +--- +<div>{{ToolsSidebar}}</div><p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã§ã<a href="/ja/docs/Web/CSS/background-image">background-image</a> ã§æå®ããç»åã®ãã¬ãã¥ãŒã確èªã§ããŸããã«ãŒã«ã«ããŠã¹ãã€ã³ã¿ãŒãèŒããŠãã ãã:</p> + +<p id="sect1"><img alt="" src="https://mdn.mozillademos.org/files/11215/css-image-preview.png" style="display: block; height: 422px; margin-left: auto; margin-right: auto; width: 585px;"></p> + +<p>Firefox 41 ãããç»åã®å®£èšäžã§å³ã¯ãªãã¯ãããšãç»åã data: URL ãšããŠã³ããŒããã¡ãã¥ãŒé
ç®ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11213/css-copy-image-data-url.png" style="display: block; height: 254px; margin-left: auto; margin-right: auto; width: 587px;"></p> diff --git a/files/ja/tools/page_inspector/how_to/view_fonts/index.html b/files/ja/tools/page_inspector/how_to/view_fonts/index.html new file mode 100644 index 0000000000..dc20a581e8 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/view_fonts/index.html @@ -0,0 +1,233 @@ +--- +title: ãã©ã³ãã確èªãã +slug: Tools/Page_Inspector/How_to/View_fonts +tags: + - Fonts + - Guide + - Inspector + - Tools + - variable fonts +translation_of: Tools/Page_Inspector/How_to/Edit_fonts +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary">ãã®èšäºã¯ãFirefox éçºããŒã«ã§äœ¿çšå¯èœãªãã©ã³ãããŒã«ã®ãã¢ãŒã§ãããã®ããŒã«ã¯ãã©ãŠã¶ãŒã«èªã¿èŸŒãã ææžã«é©çšããããã©ã³ãã«å¯ŸããŠãé©çšããããã¹ãŠã®ãã©ã³ãã調æ»ããããããã¯ããªã¢ãã«ãã©ã³ãã®è»žã®å€ã现ãã調æŽãããªã©ã衚瀺ã調æ»ã®ããã«åœ¹ã«ç«ã€ããŒã«ãå«ãŸããŠããŸãã</p> + +<div class="note"> +<p><strong>泚èš:</strong> ãã®èšäºã«ç€ºãããŠããããã«ãæŽæ°ããããã©ã³ãããŒã«ã¯ Firefox 63 以éã§å©çšã§ããŸããå€ãããŒãžã§ã³ã® Firefox ã䜿çšããŠããå ŽåãããŒã«ã¯èŠãç®ãåäœãå
šãåãã§ã¯ãããŸãããã䌌ãŠããŸã (ç¹ã«ãã©ã³ããšãã£ã¿ãŒã¯å©çšã§ããŸãã)ã</p> +</div> + +<h2 id="The_Fonts_tab" name="The_Fonts_tab">ãã©ã³ãã¿ã</h2> + +<p><a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</a> ããŠã£ã³ããŠã®äžåŽã«è¡šç€ºããŠããå Žåã¯ãå³åŽã«ãã©ã³ãã¿ãããããŸããå³åŽãŸãã¯å·ŠåŽã«è¡šç€ºããŠããå Žåã¯ãHTML ãã€ã³ã®äžã«ãã©ã³ãã¿ãããããŸããã¿ãã¯ä»¥äžã®ããã«ããŠè¡šç€ºã§ããŸã:</p> + +<ol> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Open_the_Inspector">ã€ã³ã¹ãã¯ã¿ãŒãéããŸã</a>ã</li> + <li>ãã©ã³ãã¿ããéžæããŸããCSS ãã€ã³ã®å³åŽã«è¡šç€ºãããã¿ãã®æ«å°Ÿã«ãããŸãã</li> +</ol> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16157/full-fonts-tab-new63.png" style="border: 1px solid black; display: block; height: 663px; margin: 0px auto; width: 500px;"></p> + +<p>ãã©ã³ãã¿ã㯠3 ã€ã®äž»èŠãªã»ã¯ã·ã§ã³ã«åãããŠããŸã:</p> + +<ul> + <li>"Fonts used" : çŸåšèª¿æ»äžã®èŠçŽ ã§äœ¿çšããŠãããã©ã³ãã</li> + <li>æ°ãããã©ã³ããšãã£ã¿ãŒãFirefox 61 ããã³ 62 ã§ã¯ããã®ã»ã¯ã·ã§ã³ããããŸããã</li> + <li>"All fonts on page" : ãã®ã»ã¯ã·ã§ã³ã¯ãããŒãžã§äœ¿çšããŠãããã¹ãŠã®ãã©ã³ãã衚瀺ããŸããFirefox 61 ããã³ 62 ã§ã¯ãã®é åã "ããŒãžå
ã®ä»ã®ãã©ã³ã" ãšããååã§ããã"Fonts used" ã»ã¯ã·ã§ã³ã«ãããã©ã³ããå«ãŸããŸããã</li> +</ul> + +<h2 id="Fonts_used" name="Fonts_used">Fonts used</h2> + +<p>ãã©ã³ããšãã£ã¿ãŒã®æåã®ã»ã¯ã·ã§ã³ã¯ãçŸåšèª¿æ»äžã®èŠçŽ ã§äœ¿çšããŠãããã©ã³ããããã©ã³ããã¡ããªãŒã§ã°ã«ãŒãåããŠè¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16150/fonts-used.png" style="border-style: solid; border-width: 1px; display: block; height: 114px; margin: 0px auto; width: 400px;"></p> + +<p>調æ»äžã®èŠçŽ ã«ãã©ã³ããé©çšãããããã¹ãã³ã³ãã³ããããå Žåã«ããã©ã³ãã "䜿çšãããŠãã" ãšå€æããŸãã空èŠçŽ ã¯ãã©ã³ãã䜿çšãããŸããã®ã§ã"No fonts were found for the current element." ãšããã¡ãã»ãŒãžã衚瀺ãããŸãã</p> + +<p>以äžã®çç±ã®ãããããçç±ãšããŠããã®ã»ã¯ã·ã§ã³ã«ãã©ã³ãã衚瀺ãããŸã:</p> + +<ul> + <li>èŠçŽ ã® <code>font-family</code> CSS 宣èšã®å€ã«æå®ãããŠããã</li> + <li>ãã©ãŠã¶ãŒã®ããã©ã«ãã¹ã¿ã€ã« (ã©ãã³æåã§ã¯ã»ãšãã©ã®ãã©ãŠã¶ãŒã§ Times New Roman) ãèŠçŽ ã«é©çšãããŠãããäœè
ãå®çŸ©ãããã©ã³ãã¯äžããããŠããªãã</li> + <li>ãã©ã³ããé©çšãããããã¹ãã³ã³ãã³ããæã€ã»ãã®èŠçŽ ãå
å«ããŠãããªã©ã調æ»äžã®èŠçŽ ã®åå«ã§ãã©ã³ãã䜿çšãããŠããã</li> + <li><code>font-family</code> CSS 宣èšã§æå®ããããã©ã³ãããªããããã·ã¹ãã ã®æ¢å®ã®ãã©ã³ãã䜿çšãããŠããã</li> +</ul> + +<h2 id="Fonts_Editor" name="Fonts_Editor">ãã©ã³ããšãã£ã¿ãŒ</h2> + +<p>Firefox 63 ã§ãã©ã³ããšãã£ã¿ãŒãè¿œå ããŸããã"Fonts used" ã®äžã«ããæ°ããªé åã§ããããã©ã³ãã®ç¹æ§ãç·šéããã³ã³ãããŒã«ããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16159/fonts-editor-closeup-63-cropped.png" style="border-style: solid; border-width: 1px; display: block; height: 134px; margin: 0px auto; width: 500px;"></p> + +<p>éåžžã® (éçãª) ãã©ã³ãã§ã¯ã以äžã®èšå®ãå€æŽã§ããŸãã</p> + +<h3 id="Size" name="Size">ãµã€ãº</h3> + +<p>調æ»äžã®èŠçŽ ã® {{cssxref("font-size")}} ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16160/font-size_cropped.png" style="border-style: solid; border-width: 1px; display: block; height: 26px; margin: 0px auto; width: 360px;"></p> + +<p><code>em</code>ã<code>rem</code>ã<code>%</code>ã<code>px</code>ã<code>vh</code>ã<code>vw</code> ã®åäœã䜿çšããŠèšå®ã§ããŸããã¹ã©ã€ããŒã䜿çšããããããã¹ãããã¯ã¹ã«çŽæ¥æ°å€ãå
¥åããŠå€ãèšå®ã§ããŸãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: <code>pt</code> ãªã©ãã»ãã®åäœã <code>font-size</code> ã <code>line-height</code> ã§äœ¿çšãããå Žåã¯ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã§èª¿æ»äžã®èŠçŽ ã«ããã®åäœã䜿çšããå€ãé©çšããŸãããã©ã³ããšãã£ã¿ãŒãèªåçã«å€ãæŸã£ãŠåäœã®ããããããŠã³ã¡ãã¥ãŒã«å²ãåœãŠãŠãåäœã䜿çšå¯èœã«ãªããŸãã</p> +</div> + +<p>åäœãå€æŽãããšæ°å€ãæ°ããåäœã§åçã®å€ã«å€æããŸãã®ã§ãåãèšç®å€ãç¶æãããŸãã</p> + +<p>äŸ: <code>1rem</code> ã 10 ãã¯ã»ã«ãšç䟡ã§ããå Žåã«åäœã <code>rem</code> ãã <code>px</code> ã«å€æŽãããšã<code>2rem</code> 㯠<code>20px</code> ã«ãªããŸãã</p> + +<h3 id="Line_height" name="Line_height">Line height</h3> + +<p>調æ»äžã®èŠçŽ ã® {{cssxref("line-height")}} ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16166/line-height_cropped.png" style="border-style: solid; border-width: 1px; display: block; height: 31px; margin: 0px auto; width: 360px;"></p> + +<p>åäœãªãããŸã㯠<code>em</code>ã<em>%</em>ã<code>px</code> ã®åäœã䜿çšããŠèšå®ã§ããŸããã¹ã©ã€ããŒã䜿çšããããããã¹ãããã¯ã¹ã«çŽæ¥æ°å€ãå
¥åããŠå€ãèšå®ã§ããŸãã</p> + +<p>åäœãå€æŽãããšã<code>font-size</code> ã®èšå®ã«å¿ããŠå€ãå€æããŸãã</p> + +<p>äŸ: ãã©ã³ãã®ãµã€ãºã 20 ãã¯ã»ã«ã§ line-height ã <code>1.5em</code> ã§ããå Žåã«åäœã <code>em</code> ãã <code>px</code> ã«å€æŽãããšãå€ã <code>30px</code> ã«ãªããŸãã</p> + +<h3 id="Weight" name="Weight">倪ã</h3> + +<p>調æ»äžã®èŠçŽ ã® {{cssxref("font-weight")}} ã§ãã</p> + +<p><img alt="Font weight setting" src="https://mdn.mozillademos.org/files/16162/font-weight_cropped.png" style="border-style: solid; border-width: 1px; display: block; height: 31px; margin: 0px auto; width: 360px;"></p> + +<p>ã¹ã©ã€ããŒã䜿çšããããããã¹ãããã¯ã¹ã«çŽæ¥æ°å€ãå
¥åããŠå€ãèšå®ã§ããŸããããªã¢ãã«ã§ã¯ãªããã©ã³ãã§ã¯ã¹ã©ã€ããŒã®ç¯å²ã 100 ãã 900 ã§ããã100 ãã€å¢ããŸãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: <code>wght</code> ããªãšãŒã·ã§ã³è»žãå®çŸ©ãã <a href="/ja/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide">ããªã¢ãã«ãã©ã³ã</a> (åŸè¿°) ã¯ãç¬èªã®ç¯å²ãæã¡ãŸãã</p> +</div> + +<h3 id="Italic" name="Italic">ã€ã¿ãªãã¯</h3> + +<p>調æ»äžã®èŠçŽ ã® {{cssxref("font-style")}} ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16163/font-italic_cropped.png" style="border-style: solid; border-width: 1px; display: block; height: 31px; margin: 0px auto; width: 360px;"></p> + +<p>ãã®èšå®ã¯ã<code>font-style</code> ããããã£ã®å€ <code>italic</code> ãš <code>normal</code> ãåãæ¿ããŸãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: ãã®èšå®ãå€æŽãããšãFirefox ã¯ããŒãžäžã®è¡šç€ºãçŽã¡ã«å€æŽããããã«ã€ã³ã©ã€ã³ã¹ã¿ã€ã«ãé©çšããŸãã</p> +</div> + +<h2 id="All_fonts_on_page" name="All_fonts_on_page">All fonts on page</h2> + +<p>ãã©ã³ãã¿ãã®æåŸã«ããé åã«ãããŒãžäžã§äœ¿çšããŠãããã¹ãŠã®ãã©ã³ãããå±éå¯èœãªãªã¹ãã§è¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16158/all-fonts-on-page_new63.png" style="border: 1px solid black; display: block; height: 641px; margin: 0px auto; width: 500px;"></p> + +<p>ãã®ãªã¹ãã¯ããã©ã³ãããŠã§ããã©ã³ããã·ã¹ãã ã®ãã©ã³ãããç°¡åã«å€å¥ã§ããŸãã®ã§äŸ¿å©ã§ãã</p> + +<p>ãã®ã»ã¯ã·ã§ã³ã§ã¯ãããããã®ãã©ã³ãã§ä»¥äžã®æ
å ±ãæäŸããŸã:</p> + +<ul> + <li>ãã©ã³ãã®ã<code>font-family</code> ã«ãããèå¥åãšæ£åŒå称ã</li> + <li>ã·ã¹ãã ã§äœ¿çšã§ããªããŠã§ããã©ã³ãã§ããå Žåã¯ããã©ã³ããã¡ã€ã«ã® URLããããã¯ã³ã³ãã¥ãŒã¿ãŒããèªã¿èŸŒãã ãã©ã³ã (æ¢å®ã®ã·ã¹ãã ãã©ã³ãããŸãã¯ä»¥åã·ã¹ãã ã«ã€ã³ã¹ããŒã«ãããŠã§ããã©ã³ã) ã§ããå Žå㯠"ã·ã¹ãã " ãšè¡šç€ºããŸããURL ã®å³ã«ããã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã©ã³ããã¡ã€ã«ã® URL ãã³ããŒããŸãã</li> + <li>ãŠã§ããã©ã³ãã§ããå Žåã«ããã©ã³ããããŒãžã«èªã¿èŸŒãéã® {{cssxref("@font-face")}} ãã£ã¹ã¯ãªãã¿ãŒããã£ã¹ã¯ãªãã¿ãŒã¯å±éå¯èœã§ãããå±éãããšã¹ã¿ã€ã«ã·ãŒãã§å®çŸ©ããããã¹ãŠã®æ§æã衚瀺ããŸãã</li> + <li>ãã©ã³ããã¬ã³ããªã³ã°ããçµæãç解ããããã®æååãµã³ãã«ãæ¢å®ã®ãµã³ãã«æåå㯠"Abc" ã§ãããã»ã¯ã·ã§ã³ã®æäžéšã«ããå
¥åãã£ãŒã«ããã¯ãªãã¯ããŠæ°ããå€ãå
¥åããããšã§ãç·šéå¯èœã§ããå
¥åããæååã¯ããã¹ãŠã®ãµã³ãã«æååã«èšå®ãããŸãã</li> +</ul> + +<h2 id="Variable_font_support_in_Firefox_Developer_Tools" name="Variable_font_support_in_Firefox_Developer_Tools">Firefox éçºããŒã«ã§ããªã¢ãã«ãã©ã³ãããµããŒã</h2> + +<p>Firefox 62 ã§ããªã¢ãã«ãã©ã³ãããµããŒãããŠãFirefox 63 ã§ã¯ãã©ã³ããšãã£ã¿ãŒã§ããªã¢ãã«ãã©ã³ãããããã£ã®ç·šéæ©èœããµããŒãããŸããã</p> + +<h3 id="What_are_variable_fonts" name="What_are_variable_fonts">ããªã¢ãã«ãã©ã³ããšã¯?</h3> + +<p><a href="/ja/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide">ããªã¢ãã«ãã©ã³ã</a> ãŸã㯠<strong>OpenType Font Variations</strong> ã¯ããã©ã³ããã¶ã€ããŒãã²ãšã€ã®ãã©ã³ããã¡ã€ã«ã«è€æ°ã®ã¿ã€ããã§ã€ã¹ã®ããªãšãŒã·ã§ã³ãå«ãããšãå¯èœã«ãããæ°ãããã©ã³ããã¡ã€ã«åœ¢åŒãå®çŸ©ããŸããããã¯ããªã¢ãã«ãã©ã³ãã䜿çšå¯èœãªã¿ã€ããã§ã€ã¹å
šäœãè¡šããšãã¯ãã²ãšã€ã®ããŒãžã«è€æ°ã®ç°ãªããŠã§ããã©ã³ããé©çšããå¿
èŠããªããå€æŽãããç¹æ§ã§æãå€ãå«ããŠæäŸããã°ããããšãæå³ããŸãã</p> + +<p>ããªã¢ãã«ãã©ã³ãã¯èš±å®¹ç¯å²ã <strong>ããªãšãŒã·ã§ã³è»ž</strong> (詳ãã㯠<a href="/ja/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Introducing_the_'variation_axis'">Introducing the 'variation axis'</a> ãã芧ãã ãã) ã§å®çŸ©ãããŠããŸãã®ã§ããã©ã³ãã®ç¹æ§ã现ããç²åºŠã§ç°¡åã«å€æŽã§ããŸããäŸãã°ãããªã¢ãã«ãã©ã³ãã§ã¯ {{cssxref("font-weight")}} ã 1 ãã 1000 ã®ä»»æã®å€ã«èšå®ã§ããŸã (ãã ããããªã¢ãã«ãã©ã³ãããã®ç¯å²å
šäœããµããŒãããããšã¯ä¿èšŒãããŸãã)ã</p> + +<p>ç»é²æžã¿ã®è»žãããã€ããããŸãããããã®è»žããã¹ãŠã®ãã©ã³ããå®çŸ©ããå¿
èŠã¯ãããŸãããããã©ã³ããã¶ã€ããŒãç»é²æžã¿ã®è»žã<em>å®è£
ãã</em>å Žåã¯ããã®åäœãå®çŸ©æžã¿ã®åäœã«<em>åŸãããšãå¿
èŠã§ã</em>ã</p> + +<p>ãã¹ãŠã®ããªã¢ãã«ãã©ã³ã軞ã«ã4 æåã®è»žã¿ã°ããããŸããCSS ã® <code>{{cssxref("font-variation-settings")}}</code> ããããã£ã¯ãããŒãšå€ã®ãã¢ã§ã¿ã°ã䜿çšããŸããäŸãã° <code>font-variation-settings</code> ã䜿çšã㊠{{cssxref("font-weight")}} ãèšå®ããã«ã¯ä»¥äžã®ããã«ããŸã:</p> + +<pre class="brush: css">font-variation-settings: "wght" 350;</pre> + +<p>ãã ã <code>font-variation-settings</code> ã¯ã(ç¬èªã®è»žãªã©) ç¹æ§å€ãèšå®ããããã«åºæ¬çãªãã©ã³ãããããã£ã䜿çšã§ããªãå Žåã®æçµæ段ã«éã£ãŠäœ¿çšããã¹ãã§ãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: <code>font-variation-settings</code> ã䜿çšããŠèšå®ãããã©ã³ãã®ç¹æ§å€ã¯ã察å¿ããåºæ¬çãªãã©ã³ããããã㣠(<code>font-weight</code> ãªã©) ã§èšå®ããå€ã«å¿
ãäžæžããããŸããããã¯ã«ã¹ã±ãŒãã£ã³ã°ã«ãã£ãŠçŸããå€ãå«ãŸããŸãã</p> +</div> + +<p>ç»é²æžã¿ã®è»žãšå¯Ÿå¿ãã CSS ããããã£ã以äžã«ç€ºããŸã:</p> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">軞ã¿ã°</th> + <th scope="col">CSS ããããã£</th> + </tr> + </thead> + <tbody> + <tr> + <td>"wght"</td> + <td>{{cssxref("font-weight")}}</td> + </tr> + <tr> + <td>"wdth"</td> + <td>{{cssxref("font-stretch")}}</td> + </tr> + <tr> + <td>"slnt" (slant)</td> + <td>{{cssxref("font-style")}}: <code>oblique + angle</code></td> + </tr> + <tr> + <td>"ital"</td> + <td>{{cssxref("font-style")}}: <code>italic</code></td> + </tr> + <tr> + <td>"opsz"</td> + <td> + <p>{{cssxref("font-optical-sizing")}}</p> + </td> + </tr> + </tbody> +</table> + +<p>ç»é²æžã¿ã®è»žã®ãªã¹ãã«å«ãŸããªã軞ã¯ãç¬èªã®è»žã§ãããšèããããŸããç¬èªã®è»žã«å¯Ÿå¿ãã CSS ãã©ã³ãããããã£ã¯ãããŸããããã©ã³ããã¶ã€ããŒã¯ãåžæãã軞ããªãã§ãå®çŸ©ã§ããŸããããããã®è»žã«ãäžæã® 4 æåã®ã¿ã°ãå¿
èŠã§ãã軞ã®ååãšç¯å²ã®å®çŸ©ã¯ããã©ã³ããã¶ã€ããŒæ¬¡ç¬¬ã§ãã</p> + +<div class="note"> +<p><strong>泚èš</strong>: ç»é²æžã¿ã®è»žã¿ã°ã¯å°æåã®ã¿ã°ã§ããã®ã«å¯ŸããŠãç¬èªã®è»žã¯å€§æåã®ã¿ã°ã«ããã¹ãã§ãããã©ã³ããã¶ã€ããŒããã®æ
£ç¿ã«åŸãããšã¯åŒ·å¶ãããŠããããåŸã£ãŠããªããã®ãããããšã«æ³šæããŠãã ãããããã§éèŠãªããšã¯ã軞ã¿ã°ã倧æåãšå°æåãåºå¥ããããšã§ãã</p> +</div> + +<div class="warning"> +<p><strong>èŠå</strong>: ããªã¢ãã«ãã©ã³ãã䜿çšããããã«ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãææ°ã®ç¶æ
ã«ããŠããããšãå¿
èŠã§ããäŸãã° Linux OS ã§ã¯ææ°ããŒãžã§ã³ã® Linux Freetype ãå¿
èŠã§ããããŸã 10.13 ããå€ã macOS ã¯ããªã¢ãã«ãã©ã³ãããµããŒãããŠããŸãããææ°ã§ã¯ãªããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§ã¯ããŠã§ãããŒãžã Firefox éçºããŒã«ã§ããªã¢ãã«ãã©ã³ãã䜿çšã§ããªãå ŽåããããŸãã</p> +</div> + +<h4 id="Working_with_Variable_fonts_in_the_Font_Editor" name="Working_with_Variable_fonts_in_the_Font_Editor">ãã©ã³ããšãã£ã¿ãŒã§ããªã¢ãã«ãã©ã³ããæ±ã</h4> + +<p>調æ»äžã®èŠçŽ ã§ããªã¢ãã«ãã©ã³ãã䜿çšããŠããå Žåã«ãåã
ã®ãã©ã³ãã«å®è£
ãããŠãã軞ãšã軞ã®å€ãå€æŽããã³ã³ãããŒã«ããã©ã³ãã¿ãã«è¡šç€ºããŸããããã¯ãåã
ã®ãã©ã³ãã§ã©ã®è»žã䜿çšå¯èœãããã°ããèŠã€ããéã«åœ¹ã«ç«ã¡ãŸãããã©ã³ããã¶ã€ããŒãåºæ¬çã«èªç±ã«è»žãå®è£
ã§ããããã«ãªããšãåçã«åœ¹ã«ç«ã€ã§ãããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16164/v_fonts_example_cropped.png" style="border: 1px solid black; display: block; height: 379px; margin: 0px auto; width: 350px;"></p> + +<p>ãããã®è»žã¯åå¥ã«èª¿ç¯ã§ããŸãããŸããã©ã³ããã¶ã€ããŒãå®çŸ©æžã¿ã®ã€ã³ã¹ã¿ã³ã¹ãå«ããŠããã° "Instance" ããããããŠã³ãªã¹ãã§ããããéžæã§ããããŒãžã®è¡šç€ºãæŽæ°ããŸãã</p> + +<p>以äžã«ãããŸããŸãªè»žãå®çŸ©ãããã©ã³ãã®äŸã 2 ã€ç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16167/v_fonts-examples_cropped.png" style="display: block; height: 29px; margin: 0px auto; width: 700px;"></p> + +<p>以äžã®äŸã§ã¯ã"Cheee Variable" ãã©ã³ãã« Yeast ã Gravity ã®èšå®ãããããšãããããŸãããããã¯ãã©ã³ããã¶ã€ããŒãå®çŸ©ããç¬èªã®è»žã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16169/change_font_before_cropped.png" style="border: 1px solid black; display: block; height: 329px; margin: 0px auto; width: 889px;"></p> + +<p>1 çªç®ã®ç»åã¯ãæ¢å®ã®èšå®ã®ãã©ã³ããããŒãžã§äœ¿çšããç¶æ
ã§ãã2 çªç®ã®ç»åã¯ãåããã©ã³ã㧠"Hi Yeast Hi Gravity" ããªãšãŒã·ã§ã³ãéžæããåŸã®ç¶æ
ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16168/change_font_after_cropped.png" style="border: 1px solid black; display: block; height: 329px; margin: 0px auto; width: 897px;"></p> + +<ul> +</ul> + +<h2 id="Tips" name="Tips">ãã³ã</h2> + +<p>æåŸã«ããã©ã³ãã¿ããæå¹ã«äœ¿çšããããã®ãã³ããããã€ã玹ä»ããŸã:</p> + +<ul> + <li>ã€ã³ã¹ãã¯ã¿ãŒã® <a href="/ja/docs/Tools/Page_Inspector/3-pane_mode">3 ãã€ã³ã¢ãŒã</a> ã䜿çšããŠãããšãããã©ã³ãã¿ãã®é£ã«èª¿æ»äžã®èŠçŽ ã® CSS ã«ãŒã«ãåæã«è¡šç€ºããŸãã</li> + <li>ã«ãŒã«ãã¥ãŒã§ {{cssxref("font-family")}} ããããã£ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšããã©ã³ãã®ãµã³ãã«ãããŒã«ãããã§è¡šç€ºããŸã: + <p><img alt="" src="https://mdn.mozillademos.org/files/16170/fonts_62_tooltip_cropped.png" style="border: 1px solid black; display: block; height: 153px; margin: 0px auto; width: 450px;"></p> + </li> + <li>äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ã<code>font-family</code> ã®ãã©ã³ãã®çŸ
åã§ã調æ»äžã®èŠçŽ ãžå®éã«é©çšããããã©ã³ãã«äžç·ãåŒãããŠããããšã«ãæ°ã¥ãã§ããããããã¯ãæå®ãããå€ãã®ãã©ã³ãã§ã©ããé©çšãããããç°¡åã«çºèŠã§ããããã«ããŸãã</li> +</ul> diff --git a/files/ja/tools/page_inspector/how_to/visualize_transforms/index.html b/files/ja/tools/page_inspector/how_to/visualize_transforms/index.html new file mode 100644 index 0000000000..9b4b4f3b66 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/visualize_transforms/index.html @@ -0,0 +1,12 @@ +--- +title: Transform ã®å¯èŠå +slug: Tools/Page_Inspector/How_to/Visualize_transforms +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Visualize_transforms +--- +<div>{{ToolsSidebar}}</div><p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> 㧠<a href="/ja/docs/Web/CSS/transform"><code>transform</code></a> ããããã£ã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžäžã«å€åœ¢æäœããªãŒããŒã¬ã€è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9961/transform.png" style="display: block; height: 1670px; margin-left: auto; margin-right: auto; width: 1968px;"></p> diff --git a/files/ja/tools/page_inspector/how_to/work_with_animations/animation_inspector_(firefox_41_and_42)/index.html b/files/ja/tools/page_inspector/how_to/work_with_animations/animation_inspector_(firefox_41_and_42)/index.html new file mode 100644 index 0000000000..a971196e9a --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/work_with_animations/animation_inspector_(firefox_41_and_42)/index.html @@ -0,0 +1,24 @@ +--- +title: ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ (Firefox 41 ããã³ 42) +slug: >- + Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_(Firefox_41_and_42) +translation_of: >- + Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_(Firefox_41_and_42) +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ã® UI ã¯ãFirefox 43 ã§æ¹è¯ããŸãããFirefox 43 以éã§ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãã©ã®ããã«ãªã£ãããç¥ãããå Žåã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Animation_inspector">"ã¢ãã¡ãŒã·ã§ã³ãæ±ã" ã®ã¡ã€ã³ããŒãž</a>ãã芧ãã ããã</p> +</div> + +<p>Firefox 41 ããã³ 42 ã§ã¯ãã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ã§ä»¥äžã®ããšãã§ããŸã:</p> + +<ul> + <li>ããŒãžäžã§å®è¡ããŠãããã¹ãŠã®ã¢ãã¡ãŒã·ã§ã³ã®æ
å ±</li> + <li>ãã¹ãŠã®ã¢ãã¡ãŒã·ã§ã³ã®åç/äžæåæ¢</li> + <li>ããããã®ã¢ãã¡ãŒã·ã§ã³ã®åç/äžæåæ¢/æ©æ»ã/æ©éã (Firefox 39 ã®æ°æ©èœ)</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã®ç¹å®ã®æç¹ã«ãžã£ã³ããã (Firefox 39 ã®æ°æ©èœ)</li> + <li>ã¢ãã¡ãŒã·ã§ã³ããããŒãã®ãã€ã©ã€ã衚瀺ãšèª¿æ» (Firefox 40 ã®æ°æ©èœ)</li> + <li>ããããã®ã¢ãã¡ãŒã·ã§ã³ã®åçã¬ãŒãã調ç¯ãã (Firefox 40 ã®æ°æ©èœ)</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã Compositor ã¹ã¬ããã§å®è¡ããŠãããã衚瀺ãã (ããããã®ã¢ãã¡ãŒã·ã§ã³ã®é£ã«ã皲劻ã®ã¢ã€ã³ã³ã衚瀺ããŸã) (Firefox 41 ã®æ°æ©èœ)</li> +</ul> + +<p>{{EmbedYouTube("0vSIuKaqD8o")}}</p> diff --git a/files/ja/tools/page_inspector/how_to/work_with_animations/animation_inspector_example_colon__web_animations_api/index.html b/files/ja/tools/page_inspector/how_to/work_with_animations/animation_inspector_example_colon__web_animations_api/index.html new file mode 100644 index 0000000000..2335fd6df5 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/work_with_animations/animation_inspector_example_colon__web_animations_api/index.html @@ -0,0 +1,118 @@ +--- +title: ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã®äŸïŒWeb Animations API +slug: >- + Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_example:_Web_Animations_API +translation_of: >- + Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_example:_Web_Animations_API +--- +<div>{{ToolsSidebar}}</div> + +<h2 id="firefox-logo-animation" name="firefox-logo-animation">firefox-logo-animation</h2> + +<p><a href="/ja/docs/Web/API/Web_Animations_API">Web Animations API</a> ã䜿çšããã¢ãã¡ãŒã·ã§ã³ã®ãµã³ãã«ã§ãã</p> + +<h3 id="HTML_ã³ã³ãã³ã">HTML ã³ã³ãã³ã</h3> + +<pre class="brush: html"><div class="channel"> +  <img src="https://mdn.mozillademos.org/files/11827/developer.png" id="icon"/> +  <span id="note">Firefox Developer Edition</span> +</div></pre> + +<h3 id="CSS_ã³ã³ãã³ã">CSS ã³ã³ãã³ã</h3> + +<pre class="brush: css">.channel { + padding: 2em; + margin: 0.5em; + box-shadow: 1px 1px 5px #808080; + margin: 1.5em; +} + +.channel > * { + vertical-align: middle; + line-height: normal; +} + +#icon { + width: 50px; + height: 50px; + filter: grayscale(100%); +} + +#note { + margin-left: 1em; + font: 1.5em "Open Sans",Arial,sans-serif; + overflow: hidden; + white-space: nowrap; + display: inline-block; + opacity: 0; + width: 0; +} +</pre> + +<h3 id="JavaScript_ã³ã³ãã³ã">JavaScript ã³ã³ãã³ã</h3> + +<pre class="brush: js">var iconKeyframeSet = [ + { transform: 'scale(1)', filter: 'grayscale(100%)'}, + { filter: 'grayscale(100%)', offset: 0.333}, + { transform: 'scale(1.5)', offset: 0.666 }, + { transform: 'scale(1.5)', filter: 'grayscale(0%)'} +]; + +var noteKeyframeSet = [ + { opacity: '0', width: '0'}, + { opacity: '1', width: '300px'} +]; + +var iconKeyFrameOptions = { + duration: 750, + fill: 'forwards', + easing: 'ease-in', + endDelay: 100 +} + +var noteKeyFrameOptions = { + duration: 500, + fill: 'forwards', + easing: 'ease-in', + delay: 150 +} + +var icon = document.getElementById("icon"); +var note = document.getElementById("note"); + +var iconKeyframes = new KeyframeEffect( + icon, + iconKeyframeSet, + iconKeyFrameOptions +); + +var noteKeyframes = new KeyframeEffect( + note, + noteKeyframeSet, + noteKeyFrameOptions +); + +var iconAnimation = new Animation(iconKeyframes, document.timeline); +var noteAnimation = new Animation(noteKeyframes, document.timeline); + +var firstTime = true; + +function animateChannel(e) { + if (e.button != 0) { +   return; + } + if (e.target.id != "icon") { + return; + } + if (firstTime) { + iconAnimation.play(); + noteAnimation.play(); + firstTime = false; + } else { + iconAnimation.reverse(); + noteAnimation.reverse(); + } +} + +document.addEventListener("click", animateChannel); +</pre> diff --git a/files/ja/tools/page_inspector/how_to/work_with_animations/animations_examples/index.html b/files/ja/tools/page_inspector/how_to/work_with_animations/animations_examples/index.html new file mode 100644 index 0000000000..3f0900fd07 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/work_with_animations/animations_examples/index.html @@ -0,0 +1,86 @@ +--- +title: ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ã®äŸïŒCSS ãã©ã³ãžã·ã§ã³ +slug: Tools/Page_Inspector/How_to/Work_with_animations/Animations_examples +translation_of: >- + Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_example:_CSS_transitions +--- +<div>{{ToolsSidebar}}</div> + +<h2 id="firefox-logo-animation" name="firefox-logo-animation">firefox-logo-animation</h2> + +<p><a href="/ja/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions">CSS ãã©ã³ãžã·ã§ã³</a>ã䜿çšããã¢ãã¡ãŒã·ã§ã³ã®äŸã</p> + +<h3 id="HTML_Content" name="HTML_Content">HTML ã³ã³ãã³ã</h3> + +<pre class="brush: html"><div class="channel"> + <img src="https://mdn.mozillademos.org/files/11827/developer.png" class="icon"/> + <span class="note">Firefox Developer Edition</span> +</div></pre> + +<h3 id="CSS_Content" name="CSS_Content">CSS ã³ã³ãã³ã</h3> + +<pre class="brush: css">.channel { + padding: 2em; + margin: 0.5em; + box-shadow: 1px 1px 5px #808080; + margin: 1.5em; +} + +.channel > * { + vertical-align: middle; + line-height: normal; +} + +.icon { + width: 50px; + height: 50px; + filter: grayscale(100%); + transition: transform 750ms ease-in, filter 750ms ease-in-out; +} + +.note { + margin-left: 1em; + font: 1.5em "Open Sans",Arial,sans-serif; + overflow: hidden; + white-space: nowrap; + display: inline-block; + + opacity: 0; + width: 0; + transition: opacity 500ms 150ms, width 500ms 150ms; +} + +.icon#selected { + filter: grayscale(0%); + transform: scale(1.5); +} + +.icon#selected+span { + opacity: 1; + width: 300px; +} +</pre> + +<h3 id="JavaScript_Content" name="JavaScript_Content">JavaScript ã³ã³ãã³ã</h3> + +<pre class="brush: js">function toggleSelection(e) { + if (e.button != 0) { + return; + } + if (e.target.classList.contains("icon")) { + var wasSelected = (e.target.getAttribute("id") == "selected"); + clearSelection(); + if (!wasSelected) { + e.target.setAttribute("id", "selected"); + } + } +} + +function clearSelection() { + var selected = document.getElementById("selected"); + if (selected) { + selected.removeAttribute("id"); + } +} + +document.addEventListener("click", toggleSelection);</pre> diff --git a/files/ja/tools/page_inspector/how_to/work_with_animations/index.html b/files/ja/tools/page_inspector/how_to/work_with_animations/index.html new file mode 100644 index 0000000000..6a458e58a6 --- /dev/null +++ b/files/ja/tools/page_inspector/how_to/work_with_animations/index.html @@ -0,0 +1,180 @@ +--- +title: ã¢ãã¡ãŒã·ã§ã³ãæ±ã +slug: Tools/Page_Inspector/How_to/Work_with_animations +tags: + - Guide + - Inspector + - Tools +translation_of: Tools/Page_Inspector/How_to/Work_with_animations +--- +<div>{{ToolsSidebar}}</div><p>æ¬èšäºã§ã¯ãã¢ãã¡ãŒã·ã§ã³ã®èŠèŠåãšç·šéãå¯èœãª 3 ã€ã®ããŒã«ãæ±ããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Animation_inspector">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Edit_keyframes">@keyframes ã®ç·šé</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Edit_timing_functions">ã¿ã€ãã³ã°é¢æ°ã®ç·šé</a></li> +</ul> + +<h2 id="Animation_inspector" name="Animation_inspector">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒ</h2> + +<p>ããŒãžã€ã³ã¹ãã¯ã¿ãŒã® <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Animations_view">ã¢ãã¡ãŒã·ã§ã³ãã¥ãŒ</a> ã§ã¯ãããŒãžå
ã®ã¢ãã¡ãŒã·ã§ã³ãæéã®æç³»åã«æ²¿ã£ãŠè¡šç€ºããŸãããŸããæç³»åäžã®ä»»æã®äœçœ®ã«ç§»åããããã«äœ¿çšããããã©ãã°å¯èœãªãŠã£ãžã§ããããããããæç¹ã®ããŒãžã®ç¶æ
ã確èªã§ããŸãã</p> + +<p>ãã®ãã¥ãŒã§ã¯ <a href="/ja/docs/Web/CSS/CSS_Transitions">CSS ãã©ã³ãžã·ã§ã³</a>ã<a href="/ja/docs/Web/CSS/CSS_Animations/Using_CSS_animations">CSS @keyframes èŠå</a>ã<a href="/ja/docs/Web/API/Web_Animations_API">Web Animations API</a> ã䜿çšããŠäœæããã¢ãã¡ãŒã·ã§ã³ã衚瀺ããŸããFirefox 48 ããã<code><a href="/ja/docs/Web/CSS/::before">::before</a></code> ããã³ <code><a href="/ja/docs/Web/CSS/::after">::after</a></code> ç䌌èŠçŽ ã«é©çšããã¢ãã¡ãŒã·ã§ã³ã衚瀺ããŸãã</p> + +<p>ãã¥ãŒã®åäœãç¥ãããã«ããµã³ãã«ã䜿çšããŠã²ãšãšããèŠãŠãããŸãããã以äžã®ããã¯ã¹å
ã«ã<a href="/ja/docs/Mozilla/Firefox/Developer_Edition">Firefox Developer Edition</a> ãè¡šãã°ã¬ãŒã¹ã±ãŒã«ã®ã¢ã€ã³ã³ããããŸããã¢ã€ã³ã³ãã¯ãªãã¯ãããšèšåŒµããŠè²ãã€ãããã©ãŠã¶åãçŸããŸããããäžåºŠã¢ã€ã³ã³ãã¯ãªãã¯ãããšãå
ã«æ»ããŸãã</p> + +<p>{{EmbedLiveSample('firefox-logo-animation', 500, 200, "", "Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_example:_Web_Animations_API")}}</p> + +<p>ãããã®ã¢ãã¡ãŒã·ã§ã³ã¯ã<a href="/ja/docs/Web/API/Web_Animations_API">Web Animations API</a> ã䜿çšããŠäœæããŸããã</p> + +<p>ãã®ãµã³ãã«ã§äœãèµ·ããŠãããããã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã§èŠãŠãããŸãããã</p> + +<ol> + <li>ããã¯ã¹å
ãå³ã¯ãªãã¯ã㊠[èŠçŽ ã調æ»] ãéžæããŸãã</li> + <li><code><div class="channel"></code> èŠçŽ ãéžæãããŠããããšã確èªããŸãã</li> + <li>[ã¢ãã¡ãŒã·ã§ã³] ã¿ãã«åãæ¿ããŸãã</li> + <li>ã¢ãã¡ãŒã·ã§ã³ãåçããŸãã</li> +</ol> + +<p>{{EmbedYouTube("3f_vtdHqt9o")}}</p> + +<p>ããã§ãã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã®å
容ã詳ããèŠãŠãããŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14508/animation-inspector-1.png" style="display: block; height: 216px; margin-left: auto; margin-right: auto; width: 738px;"></p> + +<p>ããã¯ãéžæäžã®èŠçŽ ãåèŠçŽ ã«é©çšãããŠãããã¹ãŠã®ã¢ãã¡ãŒã·ã§ã³ãã²ãšã€ã®æç³»åã«è¡šç€ºããã¿ã€ã ã©ã€ã³ã§ããæç³»åã¯æåã®ã¢ãã¡ãŒã·ã§ã³ã®éå§æç¹ããå§ãŸããæåŸã®ã¢ãã¡ãŒã·ã§ã³ã®çµäºæç¹ã§çµãããŸãããŸãã250 ããªç§ããšã«ããŒã«ãŒãã€ããŠããŸã (衚瀺ããŠããã¢ãã¡ãŒã·ã§ã³ã®æéèŠæš¡ã«äŸåããŸã)ã</p> + +<h3 id="Animation_bars" name="Animation_bars">ã¢ãã¡ãŒã·ã§ã³ããŒ</h3> + +<p>ããããã®ã¢ãã¡ãŒã·ã§ã³ããã©ã³ãžã·ã§ã³ã¯ãæç³»åã«æ²¿ã£ãŠæ°Žå¹³æ¹åã«äžŠã¶ããŒãšããŠè¡šç€ºããŸãããŸããããŒã¯ä»¥äžã®ããã«è¡šç€ºããŸã:</p> + +<ul> + <li>ããããã£ãå€åããã <code><a href="/ja/docs/Web/CSS/transition">transition</a></code> ã䜿çšããŠããå Žåã¯éè²ã§è¡šç€º</li> + <li><a href="/ja/docs/Web/CSS/CSS_Animations/Using_CSS_animations"><code>@keyframes</code> ã¢ãã¡ãŒã·ã§ã³</a> ã䜿çšããŠããå Žåã¯æ©è²ã§è¡šç€º</li> + <li><a href="/ja/docs/Web/API/Web_Animations_API">Web Animations API</a> ã䜿çšããŠããå Žåã¯ç·è²ã§è¡šç€º</li> +</ul> + +<p>Compositor ã¹ã¬ããã䜿çšããŠããããã£ã®ã¢ãã¡ãŒã·ã§ã³ãè¡ã£ãŠããå Žåã¯çš²åŠ»ã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/13106/compositor.png" style="width: 15px;">) ã衚瀺ããŸã (詳ãã㯠<a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties#CSS_property_cost">ããŸããŸãª CSS ããããã£ã§ã¢ãã¡ãŒã·ã§ã³ãè¡ãã³ã¹ã</a> ãã芧ãã ãã)ã</p> + +<p>Firefox 52 ããããŒã®åœ¢ç¶ããã¢ãã¡ãŒã·ã§ã³ã§äœ¿çšããã€ãŒãžã³ã°å¹æãåæ ããããã«ãªããŸãããååºã®äŸã§ã¯ 1 çªç®ã®ããŒãå¹å㧠ease-inã2çªç®ã®ããŒãåžå㧠ease-out ãè¡šããŠããããšãããããŸãã</p> + +<p>CSS ãã©ã³ãžã·ã§ã³ã®ã¢ãã¡ãŒã·ã§ã³ã§ã¯ãããããã®ããããã£ã®ãã©ã³ãžã·ã§ã³ãã²ãšã€ã®ããŒã§è¡šãããã©ã³ãžã·ã§ã³ãè¡ãããããã£ã®å称ãèšèŒããŸããCSS <code>@keyframes</code> ã®ã¢ãã¡ãŒã·ã§ã³ã§ã¯ãããããã®ã¢ãã¡ãŒã·ã§ã³ãã²ãšã€ã®ããŒã§è¡šããããŒãã¬ãŒã ã®ååãèšèŒããŸãã</p> + +<p>ã¢ãã¡ãŒã·ã§ã³ããã©ã³ãžã·ã§ã³ã«é
延ãããå Žåã¯ããã®éšåãæç·ã§ç¶²æã衚瀺ããŸãã<a href="/ja/docs/Web/API/Web_Animations_API/Animation_timing_options"><code>delay</code> ããã³ <code>endDelay</code></a> ã®äž¡æ¹ãè¡šããŸãã</p> + +<p>ããŒã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšä»¥äžã®æ
å ±ãå«ããã¢ãã¡ãŒã·ã§ã³ããã©ã³ãžã·ã§ã³ã®è©³çŽ°æ
å ±ãèšèŒããããŒã«ãããã衚瀺ããŸã:</p> + +<ul> + <li>ã¢ãã¡ãŒã·ã§ã³ã®çš®é¡: CSS ãã©ã³ãžã·ã§ã³ãCSS ã¢ãã¡ãŒã·ã§ã³ãWeb Animations API</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã®åçæé</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã®éå§ããã³çµäºæã®é
延</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã®ã€ãŒãžã³ã° (ãŸãã¯ã¿ã€ãã³ã°é¢æ°)</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14510/animation-inspector-2.png" style="display: block; height: 291px; margin-left: auto; margin-right: auto; width: 738px;"></p> + +<h3 id="Information_about_the_animated_element" name="Information_about_the_animated_element">ã¢ãã¡ãŒã·ã§ã³ããèŠçŽ ã®æ
å ±</h3> + +<p>ããŒã®å·ŠåŽã«ãã¢ãã¡ãŒã·ã§ã³ãé©çšããèŠçŽ ã®ã»ã¬ã¯ã¿ãŒããããŸããã»ã¬ã¯ã¿ãŒã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãããŒãžäžã§èŠçŽ ããã€ã©ã€ã衚瀺ããŸããã»ã¬ã¯ã¿ãŒãã¯ãªãã¯ãããšãèŠçŽ ãã€ã³ã¹ãã¯ã¿ãŒã§éžæããŸãã</p> + +<p>{{EmbedYouTube("ygATdrzQz0I")}}</p> + +<p>ã»ã¬ã¯ã¿ãŒã®å·ŠåŽã«ã"æšç" ã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/11919/target-icon.png" style="height: 16px; width: 15px;">) ããããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãèŠçŽ ããã€ã©ã€ã衚瀺ãããŸãŸã«ããŸãã</p> + +<h3 id="Animation_details" name="Animation_details">ã¢ãã¡ãŒã·ã§ã³ã®è©³çŽ°æ
å ±</h3> + +<p>ããŒãã¯ãªãã¯ãããšãã¢ãã¡ãŒã·ã§ã³ã§å€åãããã¹ãŠã®ããããã£ã«ã€ããŠè©³çŽ°æ
å ±ã衚瀺ããŸããäŸãã°ã<code>img#icon</code> ã®ã¢ãã¡ãŒã·ã§ã³ã®ããŒãã¯ãªãã¯ããŠã¿ãŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14512/animation-inspector-3.png" style="display: block; height: 260px; margin-left: auto; margin-right: auto; width: 738px;"></p> + +<p><code><a href="/ja/docs/Web/CSS/filter">filter</a></code> ãš <code><a href="/ja/docs/Web/CSS/transform">transform</a></code> ã®ã2 ã€ã®ããããã£ãå€åããŠããããšãããããŸããããããã®ãããã¯ãã¢ãã¡ãŒã·ã§ã³ã§äœ¿çšããŠããããŒãã¬ãŒã ã®ã»ããå
ã«ãããããããã£ã®é
ç®ã瀺ããŸããã©ã¡ãã®ããããã£ã 0ms ã§éå§ã750ms ã§çµäºããŠããŸãã<code>filter</code> 㯠250ms ã§ã<code>transform</code> 㯠500ms ã§å€ãäžããããŠããŸãããããã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãã¿ã€ã ã©ã€ã³äžã®ç¹å®ã®æç¹ã§ããããã£ã«äžããããå€ã確èªã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14514/animation-inspector-4.png" style="display: block; height: 260px; margin-left: auto; margin-right: auto; width: 738px;"></p> + +<p>ããã¯èŠããã«ãã¢ãã¡ãŒã·ã§ã³ã® <a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations/Animation_inspector_example:_Web_Animations_API#JavaScript_Content">ããŒãã¬ãŒã </a> ãèŠèŠåãããã®ã§ã:</p> + +<pre class="brush: js line-numbers language-js">var iconKeyframeSet = [ + { transform: 'scale(1)', filter: 'grayscale(100%)' }, + { filter: 'grayscale(100%)', offset: 0.333 }, + { transform: 'scale(1.5)', offset: 0.666 }, + { transform: 'scale(1.5)', filter: 'grayscale(0%)' } +];</pre> + +<h3 id="Application_to_the_example" name="Application_to_the_example">ãµã³ãã«ã«å¿çšãã</h3> + +<p>ããããã¹ãŠããµã³ãã«ã«é©çšãããšã以äžã®ããšãããããŸã:</p> + +<ul> + <li>ã¢ãã¡ãŒã·ã§ã³ã¯ <code>span#note</code> ããã³ <code>img#icon</code> ã®ã2 ã€ã®èŠçŽ ã§è¡ã£ãŠããŸãããããã®ã»ã¬ã¯ã¿ãŒã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšããããããã©ãŠã¶ãŒå "Firefox Developer Edition" ãšãã©ãŠã¶ãŒã®ã¢ã€ã³ã³ã§ããããšãããããŸãã</li> + <li><code>img#icon</code> ã®ã¢ãã¡ãŒã·ã§ã³ã«ã€ããŠ: + <ul> + <li>ã¢ã€ã³ã³ã®ãµã€ãºå€æŽãšçè²ã®ããã<code><a href="/ja/docs/Web/CSS/filter">filter</a></code> ããã³ <code><a href="/ja/docs/Web/CSS/transform">transform</a></code> ããããã£ã§ã¢ãã¡ãŒã·ã§ã³ãè¡ã£ãŠããŸãã</li> + <li>çµç«¯ã¯ 750ms ã§ã100ms ã® <code>endDelay</code> ããããŸãã</li> + <li>Compositor ã¹ã¬ããã䜿çšããŸãã</li> + <li><code><a href="/ja/docs/Web/API/AnimationEffectTimingProperties/easing">easing</a></code> ã®å€ <code>ease-in</code> ãæå®ãããŸãããç·è²ã®ããŒãå¹å圢ç¶ã§ããããšããããããŸãã</li> + </ul> + </li> + <li><code>span#note</code> ã®ã¢ãã¡ãŒã·ã§ã³ã«ã€ããŠ: + <ul> + <li>å称ãåŸã
ã«è¡šç€ºããããã<code><a href="/ja/docs/Web/CSS/width">width</a></code> ããã³ <code><a href="/ja/docs/Web/CSS/opacity">opacity</a></code> ããããã£ã§ã¢ãã¡ãŒã·ã§ã³ãè¡ã£ãŠããŸãã</li> + <li>çµç«¯ã¯ 500ms ã§ã150ms ã® <code>delay</code> ããããŸãã</li> + <li><code><a href="/ja/docs/Web/API/AnimationEffectTimingProperties/easing">easing</a></code> ã®å€ <code>ease-out</code> ãæå®ãããŸãããç·è²ã®ããŒãåžå圢ç¶ã§ããããšããããããŸãã</li> + </ul> + </li> +</ul> + +<h3 id="Animation_playback" name="Animation_playback">ã¢ãã¡ãŒã·ã§ã³ãåçãã</h3> + +<p>ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã®äžéšã«ã以äžã®ãŠã£ãžã§ããããããŸã:</p> + +<ul> + <li>ã¢ãã¡ãŒã·ã§ã³ã®åç/äžæåæ¢ããã³åå®è¡ãããã¿ã³</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã®åçé床ãå€æŽããããããããŠã³ãªã¹ã</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã®çµéæéã衚瀺ãã</li> +</ul> + +<p>æåŸã«ãæç³»åã®äžéšã«ããããŒã®å
éšãã¯ãªãã¯ãããšãå·Šå³ã«ãã©ãã°ããŠã¢ãã¡ãŒã·ã§ã³ãååŸã«é·ç§»ãããããšãå¯èœãªã¹ã¯ã©ããŒã䜿çšã§ããŸããããã«ããããã€äœãèµ·ããŠããããæ£ç¢ºã«ææ¡ã§ããŸã:</p> + +<p>{{EmbedYouTube("9fxRm3i_aDQ")}}</p> + +<h3 id="Further_information_about_animation_compositing" name="Further_information_about_animation_compositing">ã¢ãã¡ãŒã·ã§ã³ã®åæã«é¢ãã詳现æ
å ±</h3> + +<p>Firefox 49 ããã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã§ãã¢ãã¡ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ãåæã«é¢ããæ
å ±ãæäŸããæ©èœãåäžããŸãããããã説æããããã«ããµã³ãã«ã 2 ã€äœæããŸããã<a href="https://mdn.github.io/devtools-examples/animation-inspector/animation-inspector-compositing.html">animation-inspector-compositing.html</a> ãéããŠèµ€è²ã®é·æ¹åœ¢ãã¯ãªãã¯ãããšãã·ã³ãã«ãª {{cssxref("opacity")}} ã®ã¢ãã¡ãŒã·ã§ã³ãå§ãŸããŸããFirefox 49 以éã§ãããã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã§èŠããšã以äžã®ããšãããããŸã:</p> + +<ul> + <li>çœè²ã®çš²åŠ»ã¢ã€ã³ã³ã¯ããã¹ãŠã®ã¢ãã¡ãŒã·ã§ã³ããããã£ã Compositor ã䜿çšããŠå®è¡ããããæé©åãããŠãããã瀺ããŠãããæå¹ã«ãªã£ãŠããŸãã</li> + <li>ããŒã®ããŒã«ãããã«ãããªãã€ã³ããŒãšããŠãã®æ
å ±ãå«ãŸããŠããŸãã"ãã¹ãŠã®ã¢ãã¡ãŒã·ã§ã³ã®ããããã£ãæé©åãããŠããŸã" ãšããã¡ãã»ãŒãžããããŸãã</li> + <li>ã¢ãã¡ãŒã·ã§ã³æ
å ±ãå±éãããšãCompositor ã«ãã£ãŠã¢ãã¡ãŒã·ã§ã³ãæé©åãããŠããããããã£åã®é£ã«çš²åŠ»ã®ã¢ã€ã³ã³ã衚瀺ããŸãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13589/compositing-information-1.png" style="display: block; height: 349px; margin: 0px auto; width: 1065px;"></p> + +<p>次㫠<a href="https://mdn.github.io/devtools-examples/animation-inspector/animation-inspector-compositing-silly.html">animation-inspector-compositing-silly.html</a> ãèŠãŠã¿ãŸãããããã¡ããåæ§ã®ãµã³ãã«ã§ãããèµ€è²ã®é·æ¹åœ¢ãã¯ãªãã¯ãããš {{cssxref("opacity")}} ãšåæã«ã{{cssxref("left")}} ã {{cssxref("transform")}} (translation ãªã) ããããã£ãã¢ãã¡ãŒã·ã§ã³ããç¹ãç°ãªããŸããäœçœ®ããããã£ãš translation ãåæã«å®è¡ããããšã«ã¯ããŸãæå³ããããŸãã (2 ã€ã®å¹æã¯åæããŸãã) ã®ã§ã<code>transform</code> ããããã£ã¯æå³çã« Compositor ã§æ±ãããŸãããFirefox 49 以éãã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã¯ããããã圹ã«ç«ã€ããã«äŒããŸããã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã§èŠããšã以äžã®ããšãããããŸã:</p> + +<ul> + <li>ããŒã«ãã£ãçœè²ã®çš²åŠ»ã¢ã€ã³ã³ãç°è²ã®çš²åŠ»ã¢ã€ã³ã³ã«å€ãã£ãŠãããé¢é£ããããã£ã®äžéšãã Compositor ã«ãã£ãŠæé©åãããŠããªãããšã瀺ããŸãã</li> + <li>ããŒã®ããŒã«ãããã«ãããªãã€ã³ããŒãšããŠãã®æ
å ±ãå«ãŸããŠããŸãã"äžéšã®ã¢ãã¡ãŒã·ã§ã³ã®ããããã£ãæé©åãããŠããŸã" ãšããã¡ãã»ãŒãžããããŸãã</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã<strong>æé©åãããŠããªã</strong>ããããã£ã§ãã³ãŒããæ¹è¯ããã°æé©åã§ãããã®ã«ãç¹ç·ã®äžç·ã衚瀺ããŸãã以äžã®ã¹ã¯ãªãŒã³ã·ã§ãã㧠transform ãã芧ãã ãããããããã£åã«ããŠã¹ãã€ã³ã¿ãŒãèŒãããšãçç±ã説æããããŒã«ãããã衚瀺ããŸãããã®äŸã§ã¯ã"åäžèŠçŽ äžã®äœçœ®ããããã£ãåæã«ã¢ãã¡ãŒã·ã§ã³ããå Žåããã®ã³ã³ããžã¿ã§ã¯ âtransformâ ã®ã¢ãã¡ãŒã·ã§ã³ãå®è¡ã§ããŸããã" ãšããã¡ãã»ãŒãžã§ãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13591/compositing-information-2.png" style="display: block; height: 394px; margin: 0px auto; width: 1158px;"></p> + +<h2 id="Edit_keyframes" name="Edit_keyframes">@keyframes ã®ç·šé</h2> + +<p>éžæäžã®èŠçŽ ã«é¢é£ä»ãããã <a href="/ja/docs/Web/Guide/CSS/Using_CSS_animations">@keyframes èŠå</a> ã <a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã«è¡šç€ºããŸãããŸããç·šéãå¯èœã§ã:</p> + +<p>{{EmbedYouTube("mDHtLK88ZW4")}}</p> + +<h2 id="Edit_timing_functions" name="Edit_timing_functions">ã¿ã€ãã³ã°é¢æ°ã®ç·šé</h2> + +<p><a href="/ja/docs/Web/Guide/CSS/Using_CSS_animations">CSS ã¢ãã¡ãŒã·ã§ã³</a> ãäœæããéã«ã<a href="/ja/docs/Web/CSS/animation-timing-function">ã¿ã€ãã³ã°é¢æ°</a> ãæå®ã§ããŸããããã¯ã¢ãã¡ãŒã·ã§ã³ãé²ãããŒã¹ãå®çŸ©ããŸããã¿ã€ãã³ã°é¢æ°ã®æå®æ¹æ³ã®ã²ãšã€ãã3 次ããžã§æ²ç·ã«ããæå®ã§ãã</p> + +<p>ã«ãŒã«ãã¥ãŒã§ã3 次ããžã§æ²ç·ã§å®çŸ©ããã¿ã€ãã³ã°é¢æ°ã®é£ã«ã¢ã€ã³ã³ã衚瀺ããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšèŠèŠçãªæ²ç·ãšãã£ã¿ãŒã衚瀺ããŸãã<a href="/ja/docs/Web/CSS/timing-function#The_cubic-bezier()_class_of_timing-functions">P1 ããã³ P2</a> ããã©ãã°ããŠããã®çµæãããŒãžäžã§ç¢ºèªã§ããŸãã</p> + +<p>{{EmbedYouTube("GW5-R2ewaqA")}}</p> + +<p>ãã®æ©èœã¯ã<a href="http://cubic-bezier.com">Lea Verou ã® cubic-bezier.com</a> ç±æ¥ã®ãªãŒãã³ãœãŒã¹ã³ãŒãã䜿çšããŠããŸãã</p> + +<p>3 次ããžã§æ²ç·ãšãã£ã¿ãŒã«å€ãã®ããªã»ãããçšæããŸãããããã㯠"Ease-in"ã"Ease-out"ã"Ease-in-out" ã«ã°ã«ãŒãåãããŠããŸã:</p> + +<p>{{EmbedYouTube("Jx-J2Yy0aSg")}}</p> diff --git a/files/ja/tools/page_inspector/html_panel/index.html b/files/ja/tools/page_inspector/html_panel/index.html new file mode 100644 index 0000000000..49ef474f32 --- /dev/null +++ b/files/ja/tools/page_inspector/html_panel/index.html @@ -0,0 +1,34 @@ +--- +title: HTML panel +slug: Tools/Page_Inspector/HTML_panel +translation_of: Tools/Page_Inspector/UI_Tour +--- +<div>{{ToolsSidebar}}</div><p>{{ fx_minversion_header("10.0") }}</p> + +<p>ããŒãžèª¿æ»ããŒã«ã® HTML ããã«ã§ã¯ã調æ»ããŒã«ã§çŸåšéžæããŠããèŠçŽ ã® HTML æ§æãåšå²ã® HTML ãšå
±ã«é²èŠ§ããããšãã§ããŸãã®ã§ããã®èŠçŽ ãçæããæèãèŠãããšãã§ããŸããããã¯ãµã€ãã®ãããã°ããç¹å®ã®ã¬ã€ã¢ãŠããã©ã®ããã«äœãããŠãããã®åŠç¿ã«åœ¹ç«ã¡ãŸãã</p> + +<div class="note"><strong>泚æ:</strong> HTML ããã«ã®è¡šç€ºïŒé衚瀺㯠Ctrl-H ãæŒãããšã§åãæ¿ãã§ããŸãã</div> + +<h2 id="HTML_ã®ããã²ãŒããè¡ã">HTML ã®ããã²ãŒããè¡ã</h2> + +<p>HTML äžã®ããŒããã¯ãªãã¯ããŠããããªã調æ»ã®ããã«èŠçŽ ãéžæããããšãã§ããŸãããŸããèŠçŽ ãéžæããŠããªããšãã« HTML ããã«ãéããŠããå Žåã¯ãããŠã¹ãã€ã³ã¿ãèŒããŠããèŠçŽ ã® HTML ã衚瀺ããããã«ããã«ã®å
容ãèªåæŽæ°ãããŸããããã¯ãã³ãŒãã®åé¡ç¹ã®çºèŠã«åœ¹ç«ã€ããŒã«ã«ããªããŸãã</p> + +<p><img alt="html-panel.png" class="default internal" src="/@api/deki/files/6073/=html-panel.png"></p> + +<p>HTML ããã«ã衚瀺ããŠãããšãã¯ãããŒãžèª¿æ»ããŒã«ã®ããŒã«ããŒã®å³ç«¯ã«ãªãµã€ãºçšã®ãŠã£ãžã§ããã衚瀺ãããŸãã®ã§ãäžåºŠã«èŠãã HTML ã®éã«åãããŠãµã€ãºã調ç¯ããããšãã§ããŸãã</p> + +<h2 id="å±æ§ã®å®éšãè¡ã">å±æ§ã®å®éšãè¡ã</h2> + +<p>ãœãŒã¹äžã®å±æ§å€ãããã«ã¯ãªãã¯ããŠæ°ããå€ãå
¥åããããšã§ãHTML å±æ§ã®å€ãå€æŽããããšãã§ããŸã:</p> + +<p><img alt="edit-html-attr.png" class="default internal" src="/@api/deki/files/6080/=edit-html-attr.png"></p> + +<h2 id="åèæ
å ±">åèæ
å ±</h2> + +<ul> + <li><a href="/ja/Tools/Page_Inspector" title="Page Inspector">Page Inspector</a></li> + <li><a href="/ja/Tools/Page_Inspector/Style_panel" title="ja/Tools/Page_Inspector/Style panel">Style panel</a></li> + <li><a href="/ja/Tools" title="Tools">Tools</a></li> +</ul> + +<p>{{ languages( { "en": "en/Tools/Page_Inspector/HTML_panel"} ) }}</p> diff --git a/files/ja/tools/page_inspector/index.html b/files/ja/tools/page_inspector/index.html new file mode 100644 index 0000000000..cb87d85681 --- /dev/null +++ b/files/ja/tools/page_inspector/index.html @@ -0,0 +1,60 @@ +--- +title: ã€ã³ã¹ãã¯ã¿ãŒ +slug: Tools/Page_Inspector +tags: + - CSS + - DOM + - HTML + - Stylesheets + - Web Development + - 'Web Development:Tools' + - 'l10n:priority' +translation_of: Tools/Page_Inspector +--- +<div>{{ToolsSidebar}}</div> + +<p>ããŒãžã® HTML ã CSS ã®èª¿æ»ãå€æŽãè¡ãããã«ãã€ã³ã¹ãã¯ã¿ãŒã䜿çšããŸãããã</p> + +<p>Firefox ã§ããŒã«ã«ãžã®ã³ããŒãšããŠèªã¿èŸŒãã ããŒãžã®ä»ã«ãAndroid ç Firefox ãªã©ãªã¢ãŒãã§èªã¿èŸŒãã ããŒãžã調æ»ã§ããŸããéçºããŒã«ããªã¢ãŒãç°å¢ã«æ¥ç¶ããæé ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a> ãã芧ãã ããã</p> + +<hr> +<h2 id="User_Interface_Tour" name="User_Interface_Tour">ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãã¢ãŒ</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã«ã€ããŠã²ãšãšããç解ããããã«ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour">UI ã®ã¯ã€ãã¯ãã¢ãŒ</a> ãçšæããŸããã</p> + +<hr> +<h2 id="How_to" name="How_to">䜿ãæ¹</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã§äœãã§ããããç¥ãããã«ã以äžã®äœ¿ãæ¹ã¬ã€ããã芧ãã ãã:</p> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Open_the_Inspector">ã€ã³ã¹ãã¯ã¿ãŒãéã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML">HTML ã®èª¿æ»ãšç·šé</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model">ããã¯ã¹ã¢ãã«ã®èª¿æ»ãšç·šé</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Inspect_and_select_colors">è²ã®èª¿æ»ãšéžæ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Reposition_elements_in_the_page">ããŒãžå
ã®èŠçŽ ãåé
眮ãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/View_fonts">ãã©ã³ãã確èªãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Visualize_transforms">Transform ã®å¯èŠå</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Use_the_Inspector_API">ã€ã³ã¹ãã¯ã¿ãŒã® API ã䜿çšãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Select_an_element">èŠçŽ ãéžæãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS">CSS ã®èª¿æ»ãšç·šé</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_event_listeners">ã€ãã³ããªã¹ããŒã®èª¿æ»</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations">ã¢ãã¡ãŒã·ã§ã³ãæ±ã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Edit_CSS_filters">CSS ãã£ã«ã¿ãŒãç·šéãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Edit_CSS_shapes">CSS shape ãç·šéãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/View_background_images">èæ¯ç»åã確èªãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Use_the_Inspector_from_the_Web_Console">ãŠã§ãã³ã³ãœãŒã«ããã€ã³ã¹ãã¯ã¿ãŒã䜿çšãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_grid_layouts">CSS ã°ãªããã¬ã€ã¢ãŠãã調æ»ãã</a></li> +</ul> +</div> + +<hr> +<h2 id="Reference" name="Reference">ãªãã¡ã¬ã³ã¹</h2> + +<div class="twocolumns"> +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a></li> + <li><a href="/ja/docs/Tools/Tools_Toolbox#Inspector">ãªãã·ã§ã³</a></li> +</ul> +</div> diff --git a/files/ja/tools/page_inspector/keyboard_shortcuts/index.html b/files/ja/tools/page_inspector/keyboard_shortcuts/index.html new file mode 100644 index 0000000000..b21a0a16c0 --- /dev/null +++ b/files/ja/tools/page_inspector/keyboard_shortcuts/index.html @@ -0,0 +1,10 @@ +--- +title: ããŒããŒãã·ã§ãŒãã«ãã +slug: Tools/Page_Inspector/Keyboard_shortcuts +translation_of: Tools/Page_Inspector/Keyboard_shortcuts +--- +<div>{{ToolsSidebar}}</div><p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "page-inspector")}}</p> + +<h3 id="Global_shortcuts" name="Global_shortcuts">å
±éã·ã§ãŒãã«ãã</h3> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "all-toolbox-tools")}}</p> diff --git a/files/ja/tools/page_inspector/style_panel/index.html b/files/ja/tools/page_inspector/style_panel/index.html new file mode 100644 index 0000000000..12ff9868fb --- /dev/null +++ b/files/ja/tools/page_inspector/style_panel/index.html @@ -0,0 +1,68 @@ +--- +title: Style panel +slug: Tools/Page_Inspector/Style_panel +translation_of: Tools/Page_Inspector#CSS_pane +--- +<div>{{ToolsSidebar}}</div><p>ããŒãžèª¿æ»ããŒã«ã®ã¹ã¿ã€ã«ããã«ã§ã¯ã調æ»ãè¡ã£ãŠããããŒãžã® CSS ã調ã¹ããæäœãããããããšãã§ããŸãããã®ããã«ã«ã¯éžæãããŠããèŠçŽ ã«çŽã¥ããããŠãã CSS ã«é¢ãã 2 ã€ã®ãã¥ãŒããããŸã: CSS ã«ãŒã«ãåºã«ãããã¥ãŒãšãããããã£ãåºã«ãããã¥ãŒã§ãã</p> + +<p>{{ è±èªçç« é¡("The Rules view") }}</p> + +<h2 id="ã«ãŒã«ãã¥ãŒ">ã«ãŒã«ãã¥ãŒ</h2> + +<p><img alt="style-rules.png" class="internal lwrap" src="/@api/deki/files/6075/=style-rules.png" style="float: left;">ã«ãŒã«ãã¥ãŒ (å·Šå³) ã§ã¯ãã¹ã¿ã€ã«ã<a href="/ja/DOM/stylesheet" title="stylesheet">ã¹ã¿ã€ã«ã·ãŒã</a>ã®ç·šææ¹æ³ã«äŒŒã圢åŒã§ãŸãšããããŠããŸããããã«ã¯éžæãããèŠçŽ ã«é©çšããŠããã«ãŒã«ãããã®ã«ãŒã«ãèŠçŽ ã«äžãããããã㣠(ããã³ãã®å€) ãšå
±ã«è¡šç€ºãããŸãããŸããæåŸã«é©çšããã¹ã¿ã€ã«ããªã¹ãã®å§ãã«è¡šç€ºãããŸããã¹ã¿ã€ã«ã¯äŸçµŠæºããšã«ã°ã«ãŒãåããããã®ã¹ã¿ã€ã«ãèªã¿èŸŒãŸãããã¡ã€ã«ã®ååã衚瀺ãããŸãããªãã"ã€ã³ã©ã€ã³" ã°ã«ãŒã㯠HTML ã® <code>style</code> å±æ§ãçšããŠé©çšãããã¹ã¿ã€ã«ããªã¹ãåããŸãã</p> + +<p>ç¶æ¿ãããã¹ã¿ã€ã«ã¯ãã®æšã泚èšããããŸãåŸããé©çšãããã¹ã¿ã€ã«ã«äžæžããããã¹ã¿ã€ã«ã«ã¯åãæ¶ãç·ãåŒãããŸãããã£ãŠãããèŠçŽ ã®ã¹ã¿ã€ã«ã®ç±æ¥ãã©ãããæããã«ããããšãç°¡åã«ãããŸãèŠçŽ ã®ã¹ã¿ã€ã«ãäºæããªããã®ã«ãªã£ãŠããŸãåé¡ã®ãããã°ã«åœ¹ç«ã€ã§ãããã</p> + +<p>ãŸããã«ãŒã«ãã¥ãŒã§ã¯ CSS ã«å€æŽãå ããããšãã§ããŸããããã¹ã¿ã€ã«ã®é©çšïŒéé©çšãåãæ¿ããã«ã¯ããã®ã¹ã¿ã€ã«ã®é£ã«ãããã§ãã¯ããã¯ã¹ãã¯ãªãã¯ããŠãã ãããå€æŽç¹ã¯ãã©ãŠã¶ãŠã£ã³ããŠå
ãžçŽã¡ã«åæ ãããŸãã</p> + +<p>å ããŠãããããã£åãã¯ãªãã¯ããŠæ°ããååãå
¥åããããšã§ãããããã£ã®ååãå€ããããšãã§ããŸããåæ§ã«ããããã£ã®å€ãã¯ãªãã¯ããŠæ°ããå€ãå
¥åããããšã§ãå€ãå€ããããšãã§ããŸãã</p> + +<p>éãæ¬åŒ§ ("<span class="nowiki">}</span>") ãããè¡ãã¯ãªãã¯ããããšã§ãæ°ããããããã£ãè¿œå ããããšãã§ããŸããæ°ããè¡ãè¿œå ãããŠãããããã£åãšãã®å€ãå
¥åããããšãã§ããŸãã</p> + +<p>ãã¹ãŠã®å€æŽå
容ã¯äžæçãªãã®ã§ããããŒãžãåèªã¿èŸŒã¿ãããšãå
ã®ã¹ã¿ã€ã«ã«æ»ããŸãã</p> + +<p>äŸãã° "Sign in" ãã¿ã³ã® {{ HTMLElement("a") }} èŠçŽ ã«ã以äžã«ç€ºããã«ãŒã«ã®æ°ããããããã£ãè¿œå ããŠã¿ãŸããã:</p> + +<p><img alt="font-size.png" class="default internal" src="/@api/deki/files/6076/=font-size.png" style="border: 1px solid black;"></p> + +<p>ãã©ã³ããµã€ãºã倧ãããããã®ã§ããã¿ã³ã以åããã倧ãããªããŸãããã®ããã«ãã³ã³ãã³ãã§å®éšãè¡ã£ãããäœæ¥äžã®ã³ã³ãã³ãã§äœãããã°ã©ã®ãããªå€èŠã«ãªããããªã¢ã«ã¿ã€ã ã«ç¢ºèªãããããããšã«ã¹ã¿ã€ã«ããã«ã䜿çšã§ããŸãã</p> + +<p>{{ è±èªçç« é¡("New features in Firefox 13") }}</p> + +<p>ãã宣èšã®ããã« CSS ã®å€§èŠæš¡ãªç·šéãè¡ãããå Žåã¯ãèæ¯ãç°è²ã®èŠåºãè¡ (ã¹ã¯ãªãŒã³ã·ã§ãã㧠"mdn-min.css:1" ãªã©ã®ãããªç®æ) ãã¯ãªãã¯ããŸãããããããšãåœè©²å®£èšãå®çŸ©ããå Žæã«ã«ãŒãœã«ã眮ããç¶æ
ã§<a href="/ja/Tools/Style_Editor" title="Style Editor">ã¹ã¿ã€ã«ãšãã£ã¿</a>ãéããŸãã</p> + +<p>宣èšã®éšåã§å³ã¯ãªãã¯ãããšããã®å®£èšãããŸããŸãªæ¹æ³ã§ã³ããŒããé
ç®ããããããã¢ããã¡ãã¥ãŒã衚瀺ããŸãã®ã§ãäŸãã°å¥ã®ããã¥ã¡ã³ãã«è²Œãä»ãããšãã£ãããšãã§ããŸãã</p> + +<p>ç·šéäžãããããããã£ã«å¯ŸããŠäžæ£ãªå€ãå
¥åãããæªç¥ã®ããããã£åãå
¥åããããããšãé»è²ã®èŠåã¢ã€ã³ã³ãããããã£ã®é£ãžä»¥äžã®ããã«è¡šç€ºããŸã:</p> + +<p><img alt="style-panel-warning-icon.png" class="default internal" src="/@api/deki/files/6223/=style-panel-warning-icon.png"></p> + +<p>{{ è±èªçç« é¡("The Properties view") }}</p> + +<h2 id="ããããã£ãã¥ãŒ">ããããã£ãã¥ãŒ</h2> + +<p>äžæ¹ããããã£ãã¥ãŒã§ã¯ãéžæãããèŠçŽ ã«é©çšãããŠãããã¹ãŠã®ããããã£ããã®å€ããã©ã®ã¹ã¿ã€ã«ã·ãŒããã«ãŒã«ããã®å€ãèšå®ããããšå
±ã«è¡šç€ºããŸãããããã¯ã¢ã«ãã¡ãããé ã«äžŠã¹ããããŸãèŠããé
ç®ãç°¡åã«çºèŠã§ããæ€çŽ¢æ©èœãæäŸãããŠããŸãã</p> + +<p><img alt="style-properties.png" class="internal rwrap" src="/@api/deki/files/6077/=style-properties.png" style="float: right;">æ¢å®ã®ç¶æ
ã§ã¯ããŒãžã®ã¹ã¿ã€ã«ã·ãŒãã§èšå®ããã¹ã¿ã€ã«ã ãã衚瀺ãããŸããã"ãŠãŒã¶ CSS ã®ã¿" ã®ãã§ãã¯ããã¯ã¹ã®ãã§ãã¯ãå€ãããšã§ããã©ãŠã¶ã®æ¢å®ã®ã¹ã¿ã€ã«ã衚瀺ããããšãã§ããŸãã</p> + +<p>æ€çŽ¢ããã¯ã¹ã«å
¥åããããšã§ãªã¢ã«ã¿ã€ã ã«äžèŠ§ã®çµã蟌ã¿ãè¡ãããŸããäŸãã°ãã©ã³ãé¢é£ã®èšå®å
容ã ããèŠããå Žåã¯ãæ€çŽ¢ããã¯ã¹ã« "font" ãšå
¥åããã°ååã« "font" ãå«ãŸããããããã£ã ãã衚瀺ãããŸããåæ§ã«ãããããã£ã®å€ãæ€çŽ¢ããããšãã§ããŸããäŸãã°ããã©ã³ãã« "Lucida Grande" ãé©çšãããããšã®èµ·å ãšãªãã«ãŒã«ãæ¢ããããšããŸãããã®å Žåã¯ããã©ã³ãåãæ€çŽ¢ããã¯ã¹ã«å
¥åããŠãã ããã</p> + +<p>ããããã£åã®é£ã«ããäžè§å°ãã¯ãªãã¯ãããšãããããã£ã®å€ã»ããããã£ãã©ã®ããã«é©çšããããã»ãã®ããããã£ã®ç±æ¥ã¯ã©ãããšãã£ã詳现æ
å ±ã衚瀺ãããŸãã</p> + +<p>{{ è±èªçç« é¡("Learning more about properties") }}</p> + +<h3 id="ããããã£ã«ã€ããŠè©³ããåŠã¶">ããããã£ã«ã€ããŠè©³ããåŠã¶</h3> + +<p><img alt="showing-info-icon.png" class="internal lwrap" src="/@api/deki/files/6079/=showing-info-icon.png" style="float: left;">ããç¥ããªã CSS ããããã£ãããã詳ããç¥ãããããããã£ããããšãã«ãšãŠã䟿å©ãªæ©èœããããŸã: ããããã£ãã¥ãŒã§ããããã£åã«ããŠã¹ãã€ã³ã¿ãèŒãããšãå°ã㪠"æ
å ±" ã¢ã€ã³ã³ã衚瀺ãããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãMozilla Developer Network ã® Wiki ã«ããåœè©²ããããã£ã®ããã¥ã¡ã³ãã衚瀺ãããŸãã</p> + +<p>{{ è±èªçç« é¡("See also") }}</p> + +<h2 id="åèæ
å ±">åèæ
å ±</h2> + +<ul> + <li><a href="/ja/Tools/Page_Inspector/HTML_panel" title="HTML panel">HTML panel</a></li> + <li><a href="/ja/Tools/Page_Inspector" title="Page Inspector">Page Inspector</a></li> + <li><a href="/ja/Tools" title="Tools">Tools</a></li> +</ul> + +<p>{{ languages( { "en": "en/Tools/Page_Inspector/Style_panel"} ) }}</p> diff --git a/files/ja/tools/page_inspector/ui_tour/index.html b/files/ja/tools/page_inspector/ui_tour/index.html new file mode 100644 index 0000000000..627d52e4fd --- /dev/null +++ b/files/ja/tools/page_inspector/ui_tour/index.html @@ -0,0 +1,110 @@ +--- +title: UI ãã¢ãŒ +slug: Tools/Page_Inspector/UI_Tour +tags: + - ã€ã³ã¹ãã¯ã¿ + - ã¬ã€ã + - ããŒã« +translation_of: Tools/Page_Inspector/UI_Tour +--- +<p>{{ToolsSidebar}}</p> + +<p>æ¬èšäºã¯ãã€ã³ã¹ãã¯ã¿ãŒã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã®äž»èŠéšã玹ä»ããã¯ã€ãã¯ãã¢ãŒã§ãã</p> + +<p>ããã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒã® UI ã«ååšãã 3 ã€ã®ãããã¬ãã«ã³ã³ããŒãã³ããæ±ããŸã:</p> + +<ul> + <li>[ããŒãžããèŠçŽ ãéžæããŸã] ãã¿ã³</li> + <li>HTML ãã€ã³</li> + <li>CSS ãã€ã³</li> +</ul> + +<p><img alt="The all-new Inspector panel in Firefox 57." src="https://mdn.mozillademos.org/files/15507/57-inspector-UI.png" style="display: block; height: 649px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>æ¬ã¬ã€ãã¯ããããŠå¯èœãªéãç°¡æœã«ããŸãããããŠã€ã³ã¹ãã¯ã¿ãŒã®äœ¿ãæ¹ã詳ãã説æãããããŸããŸãªããŠããŒã¬ã€ããžãªã³ã¯ããŸãã</p> + +<h2 id="Select_element_button" name="Select_element_button">èŠçŽ éžæãã¿ã³</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã¯ãéžæäžã®èŠçŽ ã«é¢ãã詳现æ
å ±ãæäŸããŸããèŠçŽ éžæãã¿ã³ã¯ã調æ»ããèŠçŽ ãéžæããæ段ã®ã²ãšã€ã§ã:</p> + +<p><img alt="This is the button in Firefox 57 Inspector you can use to select elements on a web page." src="https://mdn.mozillademos.org/files/15513/57-select-element.png" style="display: block; height: 147px; margin-left: auto; margin-right: auto; width: 500px;"></p> + +<p> </p> + +<p>ãã®ãã¿ã³ã¯ãå®é㯠<a href="/ja/docs/Tools/Tools_Toolbox#Toolbar">ããŒã«ããã¯ã¹ã®ããŒã«ããŒ</a> ã®äžéšã§ãã®ã§ãã€ã³ã¹ãã¯ã¿ãŒä»¥å€ã®ããŒã«ããã§ãå³åº§ã«ã¢ã¯ã»ã¹ã§ããŸãã</p> + +<p>èŠçŽ ã®éžææ¹æ³ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Select_an_element">èŠçŽ ãéžæãã</a> ã®ã¬ã€ããã芧ãã ããã</p> + +<h2 id="HTML_pane" name="HTML_pane">HTML ãã€ã³</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã¯ 2 ã€ã®ãã€ã³ã«åãããŠããŸããå·Šåå㯠HTML ãã€ã³ãå ããŠããŸã:</p> + +<p><img alt="These are the tasty new HTML and CSS panes in Firefox 57." src="https://mdn.mozillademos.org/files/15515/57-html-css-pane.png" style="display: block; height: 254px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p> </p> + +<p>HTML ãã€ã³ã®æ§é ã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML">HTML ã®èª¿æ»ãšç·šé</a> ã®ã¬ã€ããã芧ãã ããã</p> + +<h2 id="CSS_pane" name="CSS_pane">CSS ãã€ã³</h2> + +<p>ã€ã³ã¹ãã¯ã¿ãŒã®å³ååã¯ãCSS ãã€ã³ãå ããŠããŸã:</p> + +<p><img alt="The rules view within the Inspector." src="https://mdn.mozillademos.org/files/15511/57-rules-view.png" style="display: block; height: 579px; margin-left: auto; margin-right: auto; width: 600px;"></p> + +<p> </p> + +<p>CSS ãã€ã³ã¯ 5 ã€ã®ãã¥ãŒã«åãããŠããŸã:</p> + +<ul> + <li>ã«ãŒã«ãã¥ãŒ</li> + <li>èšç®æžã¿ãã¥ãŒ</li> + <li>ã¬ã€ã¢ãŠããã¥ãŒ</li> + <li>ã¢ãã¡ãŒã·ã§ã³ãã¥ãŒ</li> + <li>ãã©ã³ããã¥ãŒ</li> +</ul> + +<p>ãã€ã³ã®äžéšã«ããã¿ãã䜿çšããŠãå¥ã®ãã¥ãŒã«åãæ¿ããŸãã</p> + +<div class="note"> +<p><strong>ã¡ã¢</strong>: Firefox 62 以éã§ã¯ãã«ãŒã«ãã¥ãŒã CSS ãã€ã³ã®ä»ã®ã¿ããšã¯å¥ã®ç¬èªã®ãã€ã³ã«åå²ããããšãã§ããŸããããã¯<a href="/ja/docs/ja/docs/Tools/Page_Inspector/3-pane_mode">3ãã€ã³ã¢ãŒã</a>ãšåŒã°ããŸãã</p> +</div> + +<p> </p> + +<h3 id="Rules_view" name="Rules_view">ã«ãŒã«ãã¥ãŒ</h3> + +<p>ã«ãŒã«ãã¥ãŒã§ã¯éžæããèŠçŽ ã«é©çšããŠãããã¹ãŠã®ã«ãŒã«ããå
·äœæ§ãé«ããã®ããäœããã®ã®é ã«äžŠã¹ãŠããŸã:</p> + +<p>詳ãã㯠<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS">CSS ã®èª¿æ»ãšç·šé</a> ãã芧ãã ããã</p> + +<h3 id="Computed_view" name="Computed_view">èšç®æžã¿ãã¥ãŒ</h3> + +<p>èšç®æžã¿ãã¥ãŒã§ã¯éžæããèŠçŽ ã«ã€ããŠãå CSS å±æ§ã®èšç®æžã¿ã®å€ãšãèŠçŽ ã®ããã¯ã¹ã¢ãã«ãç·šéå¯èœãªåœ¢ã§èŠèŠåãããã®ã衚瀺ããŸãã</p> + +<p><img alt="The Computed view within the Inspector." src="https://mdn.mozillademos.org/files/15509/57-computed-view.png" style="display: block; height: 491px; margin-left: auto; margin-right: auto; width: 500px;"></p> + +<p> </p> + +<p>ããã¯ã¹ã¢ãã«ãã¥ãŒã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model">ããã¯ã¹ã¢ãã«ã®èª¿æ»ãšç·šé</a> ãã芧ãã ãããFirefox 50 ããåã®ããŒãžã§ã³ã§ã¯ãããã¯ã¹ã¢ãã«ãã¥ãŒã [èšç®æžã¿ãã¥ãŒ] ã¿ãã®äžã§ã¯ãªããåå¥ã®ã¿ãã§è¡šç€ºããŠããŸããã</p> + +<p>ãã®ãã¥ãŒã«è¡šç€ºããã CSS 宣èšã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_computed_CSS">èšç®æžã¿ CSS ã®èª¿æ»</a> ãã芧ãã ããã</p> + +<h3 id="Fonts_view" name="Fonts_view">ãã©ã³ããã¥ãŒ</h3> + +<p>ãã©ã³ããã¥ãŒã§ã¯ãããŒãžå
ã§äœ¿çšããŠãããã¹ãŠã®ãã©ã³ãããç·šéå¯èœãªãµã³ãã«ã䜿çšããŠè¡šç€ºããŸãã</p> + +<p><img alt="The all-new Inspector panel in Firefox 57." src="https://mdn.mozillademos.org/files/15517/57-fonts-panel.png" style="display: block; height: 344px; margin-left: auto; margin-right: auto; width: 500px;"></p> + +<p> </p> + +<p>詳ãã㯠<a href="/ja/docs/Tools/Page_Inspector/How_to/View_fonts">ãã©ã³ãã確èªãã</a> ãã芧ãã ããã</p> + +<h3 id="Animations_view" name="Animations_view">ã¢ãã¡ãŒã·ã§ã³ãã¥ãŒ</h3> + +<p>ã¢ãã¡ãŒã·ã§ã³ãã¥ãŒã§ã¯ãéžæããèŠçŽ ã«é©çšãããŠããã¢ãã¡ãŒã·ã§ã³ã®è©³çŽ°æ
å ±ã衚瀺ããŸãããŸããã¢ãã¡ãŒã·ã§ã³ãäžæåæ¢ããæ©èœããããŸã:</p> + +<p><img alt="This is the Animations pane in the Firefox 57 Inspector. " src="https://mdn.mozillademos.org/files/15519/animation-view.png" style="display: block; height: 343px; margin-left: auto; margin-right: auto; width: 500px;"></p> + +<p> </p> + +<p>詳ãã㯠<a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations">ã¢ãã¡ãŒã·ã§ã³ãæ±ã</a> ãã芧ãã ããã</p> diff --git a/files/ja/tools/paint_flashing_tool/index.html b/files/ja/tools/paint_flashing_tool/index.html new file mode 100644 index 0000000000..9e62cfd697 --- /dev/null +++ b/files/ja/tools/paint_flashing_tool/index.html @@ -0,0 +1,93 @@ +--- +title: Paint Flashing Tool +slug: Tools/Paint_Flashing_Tool +translation_of: Tools/Paint_Flashing_Tool +--- +<div>{{ToolsSidebar}}</div><p>Paint Flashing Tool ã¯ã¢ã¯ãã£ãæã«ãäœããã®å
¥å (äŸãã°ãŠãŒã¶ãŒãããŠã¹ãåããããã¹ã¯ããŒã«ããããããªã©) ãžã®å¿çãšããŠãã©ãŠã¶ãŒãåæç»ãè¡ããªããã°ãªããªãéšåã匷調衚瀺ããŸãããã®ããŒã«ã«ããããŠã§ããµã€ãããã©ãŠã¶ãŒã«éå°ãªåæç»ãè¡ãããŠããªãããæããã«ã§ããŸããåæç»ã¯ããã©ãŒãã³ã¹ãžã®åœ±é¿ã倧ããåŠçã«ãªããããããäžå¿
èŠãªåæç»ããªããããšã§ãŠã§ããµã€ãã®å¿çæ§ãæ¹åã§ããŸãã</p> + +<h2 id="Repaints_and_responsiveness" name="Repaints_and_responsiveness">åæç»ãšå¿çæ§</h2> + +<p>ãã©ãŠã¶ãŒã¯ãŠã§ãããŒãžãã¬ã³ããªã³ã°ãããšãã«ãHTML ã CSS ã®è§£æãã©ã®ããã«ã¬ã€ã¢ãŠããããã®æ±ºå®ããããŠå®éã«ç»é¢ãžã³ã³ãã³ãã衚瀺ããããã«æç»ãè¡ããŸãããŠã§ãããŒãžã§èŠããŠããéšåãå€æŽããã€ãã³ããçºçãããã³ã«ããã©ãŠã¶ãŒã¯ããŒãžã®äžéšåãåæç»ããªããã°ãªããŸãããäŸãã°ãŠãŒã¶ãŒãããŒãžãã¹ã¯ããŒã«ããããèŠçŽ ã®ã¹ã¿ã€ã«ãå€æŽãã <a href="/ja/docs/Web/CSS/:hover" title="Web/CSS/:hover"><code>:hover</code></a> ç䌌ã¯ã©ã¹ãæã€èŠçŽ ã«ããŠã¹ãã€ã³ã¿ãŒãèŒããããããšãåæç»ãå¿
èŠã§ãã</p> + +<p>åæç»ã¯é«ã³ã¹ããªåŠçã§ããããããã©ãŠã¶ãŒã¯å¿
èŠãªåæç»éã®æå°åãå³ããŸãããã©ãŠã¶ãŒã¯ç»é¢äžã®ã©ã®éšåã "æå·" ããŠãããã解æããŠãããã ããåæç»ããããšããŸãããŸããäºãã«ç¬ç«ããŠæŽæ°ããããšèããããã¬ã€ã€ãŒã«ãããŒãžã®ã¢ãã«ãåå²ããŸããã¬ã€ã€ãŒã¯ç¬ç«ããŠæç»ãããåŸã«åæãããŸãã®ã§ãã²ãšã€ã®ã¬ã€ã€ãŒã§å€èŠ³ãå€æŽããŠãä»ã®ã¬ã€ã€ãŒã§ã®åæç»ãåŒãèµ·ãããŸããããŸã 2 ã€ã®ã¬ã€ã€ãŒã®é¢ä¿ãå€åããã ã (äŸãã°ã¢ãã¡ãŒã·ã§ã³ã§) ã§ã¯ãåæç»ã¯ãŸã£ããå¿
èŠãããŸããã</p> + +<p>ãŠã§ãéçºè
ã«ãã£ãŠãªãããéžæããã©ãŠã¶ãŒã®äžèšåäœã劚ããå Žåããããå¿
èŠä»¥äžã®ç»é¢é åã«å¯ŸããŠããå€ãã®åæç»ãåŒãèµ·ãããŸããããã«ããããŠãŒã¶ãŒã®å
¥åã«å¯Ÿãããµã€ãã®å¿çãé
ããªããããããŸãã ("janky" ãšãèšãããŸã)ãPaint Flashing Tool ã¯ããã§åœ¹ç«ã¡ãŸããã€ãã³ããžã®å¿çãšããŠãã©ãŠã¶ãŒãåæç»ããé åã瀺ãããšã§ãéå°ãªåæç»ã§ã¯ãªããã確èªã§ããŸãã</p> + +<h2 id="Using_the_paint_flashing_tool" name="Using_the_paint_flashing_tool">Paint Flashing Tool ã䜿çšãã</h2> + +<p>Paint Flashing ãæå¹ã«ããæ¹æ³ã¯ 2 ã€ãããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools_Toolbox" title="Tools_Toolbox">ããŒã«ããã¯ã¹</a> ãéããŠã[æç»ãããé åã匷調衚瀺ããŸã] ãšããã©ãã«ã®ã¢ã€ã³ã³ãã¯ãªãã¯ããŸã:</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5929/paint-flashing-open-from-toolbox.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<ul> + <li><a href="/ja/docs/Tools/GCLI" title="Tools/GCLI">éçºããŒã«ããŒ</a> ãèµ·åããŠã"paintflashing on" ãšå
¥åã㊠Enter ããŒãæŒäžããŸã:</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5931/paint-flashing-open-from-toolbar.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ããŒãžã䜿çšããŠã¿ãŸããããããŠã¹ãåããããå°ãã¹ã¯ããŒã«ããããããšãäžå³ã®ããŒãžãäžå³ã®ããã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5935/paint-flashing-activated.png" style="display: block; margin-left: auto; margin-right: auto;">ãã®äŸã§ã¯ãåæç»ã®äž»ãªåå ã 2 ã€ãããŸã:</p> + +<ul> + <li>ãªã³ã¯ã« <a href="/ja/docs/Web/CSS/:hover" title="Web/CSS/:hover"><code>:hover</code></a> ç䌌ã¯ã©ã¹ãé©çšãããã¹ã¿ã€ã«ãããããããªã³ã¯äžã§ããŠã¹ãåãããšããã©ãŠã¶ãŒãåæç»ãè¡ããŸãã</li> + <li>ã¹ã¯ããŒã«ãè¡ããšãç»é¢ã®äžéšã«çŸããããŒãžã®æ°ããªäžéšåããã©ãŠã¶ãŒãåæç»ããŸãããŸããå³äžã§ã¹ã¯ããŒã«ããŒãåæç»ããŸãã</li> +</ul> + +<p>Paint Flashing ãç¡å¹ã«ããã«ã¯ãããŒã«ããŒã§ [æç»ãããé åã匷調衚瀺ããŸã] ã®ã¢ã€ã³ã³ãå床ã¯ãªãã¯ããããéçºããŒã«ããŒã« "paintflashing off" ãšå
¥åã㊠Enter ããŒãæŒäžããŸãã</p> + +<h2 id="Example_CSS_transitions" name="Example_CSS_transitions">äŸ: CSS ãã©ã³ãžã·ã§ã³</h2> + +<p>å®è£
ã®éžæãåæç»ã®å¹çã«åœ±é¿ãäžããå¯èœæ§ãããåéã®ã²ãšã€ãã<a href="/ja/docs/Web/Guide/CSS/Using_CSS_transitions" title="Web/Guide/CSS/Using_CSS_transitions">CSS ãã©ã³ãžã·ã§ã³</a> ã§ãã以äžã®äŸã¯ãCSS ãã©ã³ãžã·ã§ã³ã䜿çšããŠèŠçŽ ãåããããã®ã2 ã€ã®ç°ãªãæ¹æ³ã瀺ããŠããŸãã第äžã®æ¹æ³ã¯èŠçŽ ã® <a href="/ja/docs/Web/CSS/margin-left" title="Web/CSS/margin-left"><code>margin-left</code></a> ã«å¯ŸããŠãã©ã³ãžã·ã§ã³ãé©çšããã第äºã®æ¹æ³ã¯ <a href="/ja/docs/Web/CSS/transform" title="Web/CSS/transform"><code>transform</code></a> ããããã£ã䜿çšããŠèŠçŽ ãåãããŸãã</p> + +<pre class="brush: html"><body> + <div id="container"> +    <div class="moving-box" id="moving-box-left-margin">Transition using margin-left</div> +   <div class="moving-box" id="moving-box-transform">Transition using transform</div> + </div> +</body> +</pre> + +<pre class="brush: css">#container { + border: 1px solid; +} + +.moving-box { + height: 20%; + width:20%; + margin: 2%; + padding: 2%; + background-color: blue; + color: white; + font-size: 24px; +} + +#moving-box-left-margin { + transition: margin-left 4s; +} + +#moving-box-transform { + transition: transform 4s; +} + +body:hover #moving-box-left-margin{ + margin-left: 74%; +} + +body:hover #moving-box-transform { + transform: translate(300%); +}</pre> + +<p>以äžã®é åã«ããŠã¹ãã€ã³ã¿ãŒãåãããšããã©ã³ãžã·ã§ã³ãã芧ããã ããŸã:</p> + +<p>{{EmbedLiveSample('Example_CSS_transitions', 600, 300)}}</p> + +<p>ãã㧠Paint Flashing ãæå¹ã«ããŠãããäžåºŠè©ŠããŠã¿ãŸãããã<code>margin-left</code> çã§ã¯èŠçŽ ãåãã«ã€ããŠäžé£ã®åæç»ãçºçããã®ã«å¯ŸããŠã<code>transform</code> çã§ã¯å§ç¹ãšçµç¹ã ãã§åæç»ãçºçããŸãã</p> + +<p>ãªãã§ããã? <code>transform</code> ã䜿çšãããšãããã©ãŠã¶ãŒã¯èŠçŽ ã®ããã«å¥ã®ã¬ã€ã€ãŒãçæããŸãããã£ãŠèŠçŽ ã移åãããšãã¯ããã¹ãŠã®å€æŽç¹ã 2 ã€ã®ã¬ã€ã€ãŒçžäºã®é¢ä¿ã§ãããåæåŠçã«ãã£ãŠå¯ŸåŠãããŸã: ã©ã¡ãã®ã¬ã€ã€ãŒãåæç»ãäžèŠã§ãã</p> + +<p>ã·ã³ãã«ãªã¹ã¿ã€ã«ã§ããæ¬ã±ãŒã¹ã§ã¯ãè¿œå ã®åæç»ã¯å€§ããªéãã«ã¯ãªããŸããããããã¹ã¿ã€ã«ãæç»åŠççã«é«ã³ã¹ããªãã®ã«ãªããšã倧ããªéãã«ãªãã§ãããããã©ãŠã¶ãŒã®åæç»ãæå°åããæé©åã¯äœããç¥ãã®ã¯é£ããããŸãããŒãžã§ã³ãå€ãããšæé©åã®æ¹æ³ãå€ããå¯èœæ§ããããŸãããã£ãŠ Paint Flashing Tool ã§ãŠã§ããµã€ãã®ãã¹ããè¡ããšãæé©ãªåäœã§ããããšã確ãããã®ã«åœ¹ç«ã¡ãŸãã</p> diff --git a/files/ja/tools/performance/allocations/index.html b/files/ja/tools/performance/allocations/index.html new file mode 100644 index 0000000000..29a7719108 --- /dev/null +++ b/files/ja/tools/performance/allocations/index.html @@ -0,0 +1,86 @@ +--- +title: ã¡ã¢ãªå²ãåœãŠ +slug: Tools/Performance/Allocations +translation_of: Tools/Performance/Allocations +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>ããã©ãŒãã³ã¹ããŒã«ã®ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯ããããã¡ã€ã«ã®äžã§ããŒãžå
ã®ã©ã®é¢æ°ããã£ãšãå€ãã®ã¡ã¢ãªå²ãåœãŠãè¡ã£ããã衚瀺ããŸãã</p> + +<p>ã¡ã¢ãªã倧éã«å²ãåœãŠããã¡ã¢ãªå²ãåœãŠãå€æ°è¡ã£ãããããš<a href="/ja/docs/Tools/Performance/Allocations#Allocations_and_garbage_collection">ã¬ããŒãžã³ã¬ã¯ã·ã§ã³</a>ãåŒãèµ·ãããããããã©ãŒãã³ã¹ã®èŠ³ç¹ã§éèŠã§ããã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã¯ãããŒãžã®å¿çæ§ãæãªãå¯èœæ§ããããŸãã</p> +</div> + +<div class="geckoVersionNote"> +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯ãFirefox 46 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒãæå¹ã«ããããããããã¡ã€ã«ãèšé²ãã<em>åã«</em>ããã©ãŒãã³ã¹ããŒã«ã®èšå®ã§ "ã¡ã¢ãªå²ãåœãŠãèšé²" ã«ãã§ãã¯ãå
¥ããªããã°ãªããŸããããããŠéåžžã©ãã<a href="/ja/docs/Tools/Performance/How_to#Record_a_profile">ãããã¡ã€ã«ã®èšé²</a>ãè¡ããšãããŒã«ããŒã« "ã¡ã¢ãªå²ãåœãŠ" ãšããæ°ããªã¿ããçŸããŸã:</p> + +<p>{{EmbedYouTube("Le9tTo7bqts")}}</p> + +<h2 id="Anatomy_of_the_allocations_view" name="Anatomy_of_the_allocations_view">ã¡ã¢ãªå²ãåœãŠãã¥ãŒãåæãã</h2> + +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯ã以äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12393/allocations-view-1.png" style="display: block; height: 156px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯ãèšé²äžã«è¡ãããã¡ã¢ãªå²ãåœãŠãå®æçã«ãµã³ããªã³ã°ããŸããããããã®è¡ã¯ãèšé²äžã«å°ãªããšã 1 åãã¡ã¢ãªå²ãåœãŠã®ãµã³ãã«ãååŸããé¢æ°ãè¡šããŸãã</p> + +<p>åè¡ã«ã以äžã®åããããŸã:</p> + +<ul> + <li>Self Count: é¢æ°å
ã§ååŸããã¡ã¢ãªå²ãåœãŠãµã³ãã«ã®æ° (åèšã«å¯ŸããããŒã»ã³ãå€ã衚瀺ããŸã)</li> + <li>Self Bytes: é¢æ°å
ã®ã¡ã¢ãªå²ãåœãŠãµã³ãã«ã§å²ãåœãŠãã¡ã¢ãªã®ç·ãã€ãæ° (åèšã«å¯ŸããããŒã»ã³ãå€ã衚瀺ããŸã)</li> +</ul> + +<p>è¡ã¯ "Self Bytes" åã®å€ã§ãœãŒãããŸãã</p> + +<p>ãã£ãŠãååºã®äŸã§ã¯ä»¥äžã®ããšãåãããŸã:</p> + +<ul> + <li><code>signalLater()</code> 㧠8904 åã®ãµã³ãã«ãååŸããŠãããããã¯ç·ãµã³ãã«æ°ã® 28.57% ã§ãã</li> + <li>ãããã®ãµã³ãã«ã§ 1102888 ãã€ãã®ã¡ã¢ãªãå²ãåœãŠãŠãããããã¯ãã¹ãŠã®ãµã³ãã«ãå²ãåœãŠãã¡ã¢ãªã® 30.01% ã§ãã</li> +</ul> + +<p>ããããã®é¢æ°åã®é£ã«ãå±éçšã®äžè§å°ããããŸãããããã¯ãªãã¯ãããšãé¢æ°ãåŒã³åºããå ŽæãããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12397/allocations-view-2.png" style="display: block; height: 155px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ãã®äŸã§ã¯ <code>signalLater()</code> ã 2 ã€ã®å ŽæããåŒã³åºãããããšãåãããŸãã<code>removeInner()</code> ãš <code>setSelectionInner()</code> ã§ãããã®æ¹æ³ã§ã³ãŒã«ã¹ã¿ãã¯ãæ»ãããšãã§ããã¡ã¢ãªå²ãåœãŠã®ç¶æ³ãããç解ã§ããŸãã</p> + +<h3 id="Self_Cost_and_Total_Cost" name="Self_Cost_and_Total_Cost">Self Cost ãš Total Cost</h3> + +<ul> +</ul> + +<p>ãã®ãã¥ãŒã§ã¯ãåã "Self" ãš "Total" ã® 2 ã€ã®ã»ããã«åããããŠããããšããããã§ãããã"Self" ã¯ãé¢æ°èªäœã§ååŸãããµã³ãã«ãèšé²ããŸãã"Total" ã¯é¢æ°èªäœãšããã®é¢æ°ããåŒã³åºããé¢æ°ã§ååŸãããµã³ãã«ãèšé²ããŸãããã¥ãŒã§ã¯ããªãŒã®èã«äœçœ®ããé¢æ°ããããã¬ãã«ã«çœ®ããŸã (ã€ãŸããã³ãŒã«ã¹ã¿ãã¯ãå転ããŠè¡šç€ºããŸã) ã®ã§ããããã¬ãã«ã§ã¯ã©ã¡ããåãå€ã«ãªããŸããäžæ¹ãã³ãŒã«ã¹ã¿ãã¯ãæ»ã£ãŠãããšéããåºãŠããããšããããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12397/allocations-view-2.png" style="display: block; height: 155px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ãã®å³ã§ã¯ã<code>signalLater()</code> 㧠8904 åã®ãµã³ãã«ãååŸããŠããŸããããã <code>signalLater()</code> ã¯ã<code>removeInner()</code> ãš <code>setSelectionInner()</code> ã® 2 ãæããåŒã³åºãããŠããŸãããããã®é¢æ°ã¯ã©ã¡ãã Self Count ã 0 ã§ããããã®é¢æ°å
ã§çŽæ¥ã¡ã¢ãªå²ãåœãŠã¯è¡ã£ãŠããªãããšãæå³ããŸããäžæ¹ã<code>removeInner()</code> ã® Total Count 㯠8901ã<code>setSelectionInner()</code> ã® Total Count ã¯ããã 3 ã§ãããã㯠8904 åã®ã¡ã¢ãªå²ãåœãŠãã<code>removeInner()</code> ã®æã§è¡ããã 3åãé€ãããã¹ãŠ <code>signalLater()</code> ã§çºèŠãããããšãèªããŸãã</p> + +<h2 id="Allocations_and_garbage_collection" name="Allocations_and_garbage_collection">ã¡ã¢ãªå²ãåœãŠãšã¬ããŒãžã³ã¬ã¯ã·ã§ã³</h2> + +<p>åœç¶ãªãããµã€ãå
ã§å²ãåœãŠãã¡ã¢ãªã¯ãç¥ã£ãŠãããšåœ¹ã«ç«ã€æ
å ±ã§ãããããããµã€ãã®ã¡ã¢ãªå²ãåœãŠã®ãããã¡ã€ã«ãšãµã€ãã®å¿çæ§ãäž»ã«çµã³ã€ãããã®ã¯ãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ (GC) ã®ã³ã¹ãã§ãã</p> + +<p>ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ã JavaScript ãªã©ã®èšèªã¯ã<a href="/ja/docs/Tools/Memory/Dominators#Reachability">å°éæ§</a>ããªããªã£ããªããžã§ã¯ããçºèŠããããã«ã©ã³ã¿ã€ã ãå®æçã«ããŒããèµ°æ»ããŠããã®ãããªãªããžã§ã¯ããå ããŠããã¡ã¢ãªã解æŸããªããã°ãªããŸããããã®ãã㪠GC ã€ãã³ããå®è¡ããé㯠JavaScript ãšã³ãžã³ãäžæåæ¢ããŸãã®ã§ãããã°ã©ã ãäŒæ¢ããŠå¿çæ§ãå®å
šã«ãªããªããŸãã</p> + +<p>å¿çæ§ãžã®åœ±é¿ã軜æžãããã <a href="/ja/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> (Firefox ã® JavaScript ãšã³ãžã³) ã¯å°ããã€å¢å ãã GC ãå®æœã§ããGC ã®åéã«ããã°ã©ã ãå®è¡ã§ããŸããããã§ãæã«ã¯ãã³ã€ã³ã¯ãªã¡ã³ã¿ã«ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãå¿
èŠã§ããããã®å Žåããã°ã©ã ã¯å®äºãããŸã§åŸ
ããªããã°ãªããŸããã</p> + +<p>GC ã€ãã³ãã¯<a href="/ja/docs/Tools/Performance/Waterfall">ã¿ã€ã ã©ã€ã³</a>ãã¥ãŒã§èµ€è²ã®ããŒã«ãŒã§ç€ºãããæã«ã¯æ°çŸããªç§ç¶ããªã©å¿çæ§ã«å±éºä¿¡å·ããšãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12399/allocations-view-long-gc.png" style="display: block; height: 160px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ãµã€ãã®ããã©ãŒãã³ã¹ãããã¡ã€ã«ã« GC ã€ãã³ããããå Žåãäœãã§ããã®ã§ãããã? SpiderMonkey ã¯ããã€ã©ã®ãããªã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ããã決ããããã«<a href="https://dxr.mozilla.org/mozilla-central/rev/584870f1cbc5d060a57e147ce249f736956e2b62/js/src/gc/GCRuntime.h#192">è€éãªãã¥ãŒãªã¹ãã£ãã¯æè¡</a>ã䜿çšããŠããŸãã</p> + +<p>ãã ããéåžžã¯<em>ã¡ã¢ãªå²ãåœãŠã®å§å (倧éã®ã¡ã¢ãªãå²ãåœãŠãããŸãã¯é«ãé »åºŠã§ã¡ã¢ãªãå²ãåœãŠã) ã«ãã£ãŠ SpiderMonkey ãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ãå¯èœæ§ãé«ããªããããã«ã€ã³ã¯ãã¡ã³ã¿ã«ã§ã¯ãªãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãè¡ãå¯èœæ§ãé«ããªããŸã</em>ã</p> + +<p>ã¡ã¢ãªå²ãåœãŠã®å§åã«ãã£ãŠã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãçºçããå Žåã¯ãã¿ã€ã ã©ã€ã³ã®ããŒã«ãŒã®å³åŽã«ãããµã€ãããŒã§ "Show allocation triggers" ãšããååã®ãªã³ã¯ã衚瀺ããŸãããã®ãªã³ã¯ãã¯ãªãã¯ãããšéçºããŒã«ãã¡ã¢ãªå²ãåœãŠãã¥ãŒã«åãæ¿ãããååã® GC ãçµäºãããšãããã¯ãªãã¯ãã GC ãå§ãŸããšããŸã§ã®æé垯ãéžæããŸããããã«ãããGC ã€ãã³ããåŒãèµ·ãããã¡ã¢ãªå²ãåœãŠãéçŽããŠè¡šç€ºããŸã:</p> + +<p>{{EmbedYouTube("tO5ovD9Jw4k")}}</p> + +<p>ãã®ãããªåé¡ãã¿ãããå Žåã¯ããã®ãšãã«è¡ã£ãŠããã¡ã¢ãªå²ãåœãŠã®åæ°ãéãåæžã§ããªããæ€èšããŠãã ãããäŸãã°:</p> + +<ul> + <li>å§ãã«ã¡ã¢ãªãå²ãåœãŠãã®ã§ã¯ãªããå®éå¿
èŠãªãšãã«é 次ã¡ã¢ãªãå²ãåœãŠãããŸããã?</li> + <li>ã«ãŒãå
ã§ã¡ã¢ãªãå²ãåœãŠãŠããå Žåãã²ãšã€ã®ã¡ã¢ãªé åãæ¯åã®åŠçã§å䜿çšã§ããŸããã?</li> +</ul> diff --git a/files/ja/tools/performance/call_tree/index.html b/files/ja/tools/performance/call_tree/index.html new file mode 100644 index 0000000000..d0472584d4 --- /dev/null +++ b/files/ja/tools/performance/call_tree/index.html @@ -0,0 +1,128 @@ +--- +title: ã³ãŒã«ããªãŒ +slug: Tools/Performance/Call_Tree +tags: + - JavaScript + - ããã©ãŒãã³ã¹ + - ã¡ã¢ãª +translation_of: Tools/Performance/Call_Tree +--- +<div>{{ToolsSidebar}}</div> + +<div class="summary"> +<p>ã³ãŒã«ããªãŒã¯ãã©ã® JavaScript é¢æ°ããã£ãšããã©ãŠã¶ã§æéããããŠãããã瀺ããŸãããã®çµæãåæãããšãã³ãŒãã®ããã«ãã㯠(ãã©ãŠã¶ãäžçžå¿ã«å€ãã®æéããããŠããå Žæ) ãèŠã€ããããšãã§ããŸãã</p> + +<p>ãããã®ããã«ããã¯ã¯ãæé©åã«ããæ倧ã®å¹æãåŸãããå Žæã§ãã</p> +</div> + +<p>ã³ãŒã«ããªãŒã¯ããµã³ããªã³ã°ãããã¡ã€ã©ã§ãããã㯠JavaScript ãšã³ãžã³ã®ç¶æ
ãå®æçã«ãµã³ããªã³ã°ããŠããã®æç¹ã®ã³ãŒãå®è¡ã®ã¹ã¿ãã¯ãèšé²ããŸããçµ±èšçã«ãåã
ã®é¢æ°ãå®è¡ããŠãããšãã«ååŸãããµã³ãã«æ°ã¯ãã©ãŠã¶ãå®è¡ã«ãããæéã«å¯Ÿå¿ããŸãã®ã§ãã³ãŒãå
ã®ããã«ããã¯ãçºèŠã§ããŸãã</p> + +<div class="note"> +<p>æ¬èšäºã§ã¯ãäŸãšããŠã·ã³ãã«ãªããã°ã©ã ããåºåããçµæã䜿çšããŸããèªèº«ã®ãããã¡ã€ã«ã§å®éšããããã«ããã°ã©ã ãååŸãããå Žåã¯ã<a href="https://github.com/mdn/performance-scenarios/blob/gh-pages/js-call-tree-1/">ãã¡ã</a>ãã芧ãã ãããããã§èšåãããããã¡ã€ã«ã¯<a href="https://github.com/mdn/performance-scenarios/blob/gh-pages/js-call-tree-1/profile/call-tree.json">ãã¡ã</a>ã«ãããŸããèªã¿é²ããããã«ãã€ã³ããŒãããŠãã ããã</p> + +<p>ããã°ã©ã ã®æ§é ã説æããããŒãžã¯<a href="/ja/docs/Tools/Performance/Examples/Sorting_algorithms_comparison">ãã¡ã</a>ã§ãã</p> + +<p>ãªã<a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ã®ããã¥ã¡ã³ãããŒãžã§ããåãããã°ã©ã ããã³åããããã¡ã€ã«ã䜿çšããŠããŸãã</p> +</div> + +<p>以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã¯ããã«ãœãŒããéžæãœãŒããã¯ã€ãã¯ãœãŒãã® 3 çš®é¡ã®ãœãŒãã¢ã«ãŽãªãºã ãæ¯èŒããããã°ã©ã ã®åºåã§ããæŽæ°ã®ä¹±æ°ãåããé
åãããã€ãçæããŠãããããã®ã¢ã«ãŽãªãºã ã§é ã«ãœãŒãããŸãã</p> + +<p>èšé²å
ã§é·ã JavaScript ããŒã«ãŒã瀺ããŠããéšåã<a href="/ja/docs/Tools/Performance/UI_Tour#Zooming_in">ãºãŒã ã€ã³</a>ããŸãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10981/perf-call-tree.png" style="display: block; height: 574px; margin-left: auto; margin-right: auto; width: 1052px;"></p> + +<p>ã³ãŒã«ããªãŒã¯ã衚圢åŒã§çµæã衚瀺ããŸããããããã®è¡ã¯ 1 å以äžã®ãµã³ãã«ãååŸããé¢æ°ãè¡šãããããã®è¡ã¯é¢æ°å
ã§ååŸãããµã³ãã«æ°ã®éé ã§äžŠã¹ãããŸãã</p> + +<p><em>Samples ã¯ããã®ç¹å®ã®é¢æ°ãå®è¡ããŠãããšãã«ååŸããããµã³ãã« (ãã®é¢æ°ã«ãã£ãŠåŒã³åºãããä»ã®é¢æ°) ã®æ°ã§ãã</em></p> + +<p><em>Total Time</em> <em>ã¯ãèšé²ã®éžæãããéšåãã«ããŒããåèšæéã«åºã¥ããŠããã®æ°å€ãããªç§ã«å€æãããã®ã§ãããããã®æ°å€ã¯ããµã³ãã«æ°ãšã»ãŒåãã§ãªããã°ãªããŸããã</em></p> + +<p><em>Total Cost ã¯ãèšé²ã®éžæãããéšåã®ãµã³ãã«ã®åèšæ°ã«å¯ŸããããŒã»ã³ããŒãžãšããŠã®æ°å€ã§ãã</em></p> + +<p><em>Self Time</em> <em>ã¯ããã®ç¹å®ã®æ©èœã§è²»ããããæé (ãã®åãé€ã) ãšããŠèšç®ãããŸããããã¯ããã£ããã£ãããã¹ã¿ãã¯ããæ¥ãŠããããã®é¢æ°ã¯æãè¿ãé¢æ°ã§ãã</em></p> + +<p><em>Self Cost ã¯ãé²é³ã®éžæãããéšåã®ãµã³ãã«ã®åèšæ°ã«å¯ŸããããŒã»ã³ããŒãžãšããŠã»ã«ãã¿ã€ã ããèšç®ãããŸãã</em></p> + +<p>çŸåšã®ããŒãžã§ã³ã®ã³ãŒã«ããªãŒã§ã¯ãããããæãéèŠãªåã§ãã<em>Self Cost </em>ãæ¯èŒçé«ãé¢æ°ã¯ãå®è¡ã«æéãããããé »ç¹ã«åŒã³åºããããããæé©åã®åè£ãšãªããŸãã</p> + +<div class="note"> +<p><a href="https://developer.mozilla.org/ja/docs/Tools/Performance/Call_Tree$edit#Using_an_inverted_aka_Bottom-Up_Call_Tree">The inverted call tree</a> ã¯ããããã® <em>Self Cost </em>å€ã«éäžããè¯ãæ¹æ³ã§ãã</p> +</div> + +<p>ãã®ã¹ã¯ãªãŒã³ã·ã§ããã¯ãç§ãã¡ããã§ã«ç¥ã£ãŠãããšæããããã®ã瀺ããŠããŸããããã«ãœãŒãã¯éåžžã«éå¹ççãªã¢ã«ãŽãªãºã ã§ãã ããã«ãœãŒãã¯éžæãœãŒãã®çŽ6åãã¯ã€ãã¯ãœãŒãã®13åã§ãã</p> + +<h2 id="Walking_up_the_call_tree" name="Walking_up_the_call_tree">ã³ãŒã«ããªãŒãæž¡ãæ©ã</h2> + +<p>åé¢æ°åã®é£ã«ãå±éçšã®ç¢å°ããããŸããã¯ãªãã¯ãããšããµã³ãã«ãååŸããé¢æ°ããã«ãŒãã«åããŠãã³ãŒã«ããªãŒãæ»ããã¹ã確èªã§ããŸããäŸãã°ã<code>bubbleSort()</code> ã®ãšã³ããªãå±éããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10983/perf-call-tree-expanded-bubblesort.png" style="display: block; height: 512px; margin-left: auto; margin-right: auto; width: 1054px;"></p> + +<p>ã³ãŒã«ã°ã©ãã¯ä»¥äžã®ãšããã§ãããšããããŸã:</p> + +<pre>sortAll() + + -> sort() + + -> bubbleSort()</pre> + +<p>ãã㧠<code>sort()</code> ã®<em>ã³ã¹ã</em> 㯠1.45% ã§ãããããã¯ãªã¹ãã®åŸæ¹ã«ããåå¥ã® <code>sort()</code> ã®å€ãšåãã§ããããšã«æ³šæããŠãã ãããããã¯ãäžéšã®ãµã³ãã«ãåŒã³åºããé¢æ°å
ã§ã¯ãªã <code>sort()</code> èªèº«ã§ååŸãããããšãè¡šããŸãã</p> + +<p>ãããã¬ãã«ãžæ»ããã¹ãè€æ°ååšããããšããããŸãã<code>swap()</code> ã®ãšã³ããªãå±éããŠã¿ãŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10985/perf-call-tree-expanded-sawp.png" style="display: block; height: 636px; margin-left: auto; margin-right: auto; width: 1052px;"></p> + +<p><code>swap()</code> å
㧠253 åã®ãµã³ãã«ãååŸããŸãããããã <code>swap()</code> 㯠2 ã€ã®ç°ãªããã¹ã§å°éããŠããŸãã<code>bubbleSort()</code> ãš <code>selectionSort()</code> ã䜿çšããŠããŸãã<code>swap()</code> ã® 253 ãµã³ãã«ã®ãã¡ 252 å㯠<code>bubbleSort()</code> ã®æã§ããŸã 1 åã ã <code>selectionSort()</code> ã®æã§ååŸããããšãããããŸãã</p> + +<p>ããã¯ãç§ãã¡ãèããŠãã以äžã«ããã«ãœãŒãã®å¹çãäœããšããããšã§ã! èªèº«ä»¥å€ã« 252 ãµã³ãã«ããŸãã¯ç·ã³ã¹ãã®ã»ãŒ 10% ãæ±ããŠããŸãã</p> + +<p>ãã®ãããªæ¢æ±ã«ããã³ãŒã«ã°ã©ãå
šäœããé¢é£ä»ãããããµã³ãã«æ°ãšãšãã«æããã«ã§ããŸã:</p> + +<pre>sortAll() // 8 + + -> sort() // 37 + + -> bubbleSort() // 1345 + + -> swap() // 252 + + -> selectionSort() // 190 + + -> swap() // 1 + + -> quickSort() // 103 + + -> partition() // 12</pre> + +<h2 id="Platform_data" name="Platform_data">ãã©ãããã©ãŒã ã®ããŒã¿</h2> + +<p><em>Gecko</em>ã<em>å
¥åãšã€ãã³ã</em>ãªã©ãšèšèŒãããè¡ãããã€ãããã§ãããããããã¯å
éšã®ãã©ãŠã¶åŒã³åºããè¡šããŸãã</p> + +<p>ãããã圹ã«ç«ã€æ
å ±ã§ããããªãã®ãµã€ãããã©ãŠã¶ãæžåœã«åãããŠããå Žåãããªãã®ã³ãŒãã§ã¯ãµã³ãã«ãèšé²ãããªããããããŸããããåé¡ã¯æ®ãããŠããŸãã</p> + +<p>æ¬èšäºã®äŸã§ã¯ã679 åã®ãµã³ãã«ã <em>Gecko </em> ã«å²ãåœãŠãããŠããã<code>bubbleSort()</code> ã«æ¬¡ã㧠2 çªç®ã«å€§ããã°ã«ãŒãã§ãããããå±éããŠã¿ãŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10987/perf-call-tree-expanded-gecko.png" style="display: block; height: 478px; margin-left: auto; margin-right: auto; width: 1050px;"></p> + +<p>ãã㯠614 åã®ãµã³ãã«ããŸãã¯ç·ã³ã¹ãã®åœ¹ 20% ã <code>sort()</code> ã®åŒã³åºãã«ç±æ¥ããããšãè¡šããŸãã<code>sort()</code> ã®ã³ãŒããèŠããšããã©ãããã©ãŒã ã®ããŒã¿ã®é«ãã³ã¹ãã®çç±ã¯ <code>console.log()</code> ãç¹°ãè¿ãåŒã³åºããŠããããã§ããããšãæçœã§ããã:</p> + +<pre class="brush: js">function sort(unsorted) { + console.log(bubbleSort(unsorted)); + console.log(selectionSort(unsorted)); + console.log(quickSort(unsorted)); +}</pre> + +<p>ããå¹çãããå®è£
æ¹æ³ãæ€èšããããšã¯ãééããªãæçã§ãããã</p> + +<p>ããã§ãããããšãšããŠãã¢ã€ãã«æé㯠<em>Gecko</em> ãšããŠåé¡ãããŸãã®ã§ããããã¡ã€ã«å
㧠JavaScript ãå®è¡ããŠããªãéšå㯠<em>Gecko</em> ã®ãµã³ãã«ãå¢ããŸãããããã¯ãµã€ãã®ããã©ãŒãã³ã¹ãšã¯é¢ä¿ããããŸããã</p> + +<div class="note"> +<p>ããã©ã«ãã§ãã³ãŒã«ããªãŒã¯ãã©ãããã©ãŒã ã®ããŒã¿ãåå¥ã®é¢æ°ã«åå²ããŸãããããã¯å€§éã®ãã€ãºãå ããŠããŸãããšãšãFirefox èªäœã«åãçµãã§ãã人ã
以å€ã«ã¯åœ¹ç«ããªããšæãããããã§ãããããã®è©³çŽ°ã確èªãããå Žåã¯ã<a href="/ja/docs/Tools/Performance/UI_Tour#Toolbar">èšå®</a>㧠"Gecko ãã©ãããã©ãŒã ã®ããŒã¿ã衚瀺" ã«ãã§ãã¯ãå
¥ããŠãã ããã</p> +</div> + +<h2 id="å転ãããããã ã¢ããã³ãŒã«ããªãŒã䜿çšãã">å転ãããããã ã¢ããã³ãŒã«ããªãŒã䜿çšãã</h2> + +<p>å転ãããã³ãŒã«ããªãŒã¯ãã¹ãŠã®ã¹ã¿ãã¯ã®é åºãé転ãããäžçªè¿ãé¢æ°ã³ãŒã«ãäžçªäžã«çœ®ããŸããçŽæ¥çãªçµæã¯ãããã¯é¢æ°ã® Self Time æ
å ±ã«çŠç¹ãåœãŠããã¥ãŒã§ãããšããããšã§ãã ããã¯ã³ãŒãå
ã®ãããã¹ããããèŠã€ããã®ã«éåžžã«äŸ¿å©ãªãã¥ãŒã§ãã</p> + +<p>ãã®ãã¥ãŒã衚瀺ããã«ã¯ã[ããã©ãŒãã³ã¹]ã¿ãã®å³ç«¯ã«ããæ¯è»ã¢ã€ã³ã³ãã¯ãªãã¯ãã<strong>Invert Call Tree</strong> ãéžæããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16093/performance_menu_invert_call_tree.png" style="border-style: solid; border-width: 1px; display: block; height: 201px; margin: 0 auto; width: 492px;"></p> diff --git a/files/ja/tools/performance/examples/index.html b/files/ja/tools/performance/examples/index.html new file mode 100644 index 0000000000..06fadd2aca --- /dev/null +++ b/files/ja/tools/performance/examples/index.html @@ -0,0 +1,12 @@ +--- +title: Examples +slug: Tools/Performance/Examples +tags: + - TopicStub +translation_of: Tools/Performance/Examples +--- +<div>{{ToolsSidebar}}</div> + +<p>ããã©ãŒãã³ã¹ã·ããªãªãšãã¥ãŒããªã¢ã«ã®ãã¢ããŒãžã®ãªã¹ãã§ãã</p> + +<p>{{ ListSubpages ("/ja/docs/Tools/Performance/Examples", 5) }}</p> diff --git a/files/ja/tools/performance/examples/sorting_algorithms_comparison/index.html b/files/ja/tools/performance/examples/sorting_algorithms_comparison/index.html new file mode 100644 index 0000000000..70e8a8f7b5 --- /dev/null +++ b/files/ja/tools/performance/examples/sorting_algorithms_comparison/index.html @@ -0,0 +1,73 @@ +--- +title: ãœãŒãã¢ã«ãŽãªãºã ã®æ¯èŒ +slug: Tools/Performance/Examples/Sorting_algorithms_comparison +translation_of: Tools/Performance/Examples/Sorting_algorithms_comparison +--- +<div>{{ToolsSidebar}}</div> + +<p>ãã®èšäºã§ã¯ã2ã€ã®ããã©ãŒãã³ã¹ã¬ã€ãã§äœ¿çšããç°¡åãªãµã³ãã«ããã°ã©ã ã«ã€ããŠèª¬æããŸãã<a href="/ja/docs/Tools/Performance/Call_Tree">ã³ãŒã«ããªãŒ</a>ã®ã¬ã€ããš<a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ã®ã¬ã€ãã§ãã</p> + +<p>ãã®ããã°ã©ã ã¯ã3ã€ã®ç°ãªããœãŒãã¢ã«ãŽãªãºã ã®ããã©ãŒãã³ã¹ãæ¯èŒããŸãã</p> + +<ul> + <li>ããã«ãœãŒã</li> + <li>éžæãœãŒã</li> + <li>ã¯ã€ãã¯ãœãŒã</li> +</ul> + +<p>ããã¯ä»¥äžã®æ©èœã§æ§æãããŠããŸãã</p> + +<table class="standard-table"> + <tbody> + <tr> + <td><strong><code>sortAll()</code></strong></td> + <td>ãããã¬ãã«ã®é¢æ°ã ïŒ200åïŒå埩çã«é
åãçæãã<code>sort()</code>ãåŒã³åºããŸãã</td> + </tr> + <tr> + <td><strong><code>sort()</code></strong></td> + <td><code>bubbleSort()</code>ã<code>selectionSort()</code>ã<code>quickSort()</code>ãé ã«éžæããçµæãèšé²ããŸãã</td> + </tr> + <tr> + <td><strong><code>bubbleSort()</code></strong></td> + <td>ããã«ãœãŒããå®è£
ãããœãŒããããé
åãè¿ããŸãã</td> + </tr> + <tr> + <td><strong><code>selectionSort()</code></strong></td> + <td>éžæãœãŒããå®è£
ãããœãŒããããé
åãè¿ããŸãã</td> + </tr> + <tr> + <td><strong><code>quickSort()</code></strong></td> + <td>ã¯ã€ãã¯ãœãŒããå®è£
ãããœãŒããããé
åãè¿ããŸãã</td> + </tr> + <tr> + <td><code><strong>swap()</strong></code></td> + <td><code>bubbleSort()</code>ãš<code>selectionSort()</code>ã®ãã«ããŒé¢æ°ã</td> + </tr> + <tr> + <td><code><strong>partition()</strong></code></td> + <td><code>quickSort()</code>ã®ãã«ããŒé¢æ°ã</td> + </tr> + </tbody> +</table> + +<p>ã³ãŒã«ã°ã©ãã¯æ¬¡ã®ããã«ãªããŸãã</p> + +<pre>sortAll() // (generate random array, then call sort) x 200 + + -> sort() // sort with each algorithm, log the result + + -> bubbleSort() + + -> swap() + + -> selectionSort() + + -> swap() + + -> quickSort() + + -> partition()</pre> + +<p>ããã°ã©ã ã®ãœãŒãã¢ã«ãŽãªãºã ã®å®è£
ã¯ã<a href="https://github.com/nzakas/computer-science-in-javascript/">https://github.com/nzakas/computer-science-in-javascript/</a>ããååŸãããMITã©ã€ã»ã³ã¹ã§äœ¿çšãããŸãã</p> + +<p><a href="https://mdn.github.io/performance-scenarios/js-call-tree-1/index.html">ãã</a>ã§ãµã³ãã«ããã°ã©ã ãè©ŠããŠã¿ãŠã<a href="https://github.com/mdn/performance-scenarios">ãã</a>ã§ã³ãŒããã¯ããŒã³ããããšãã§ããŸãïŒgh-pagesãã©ã³ãã確èªããŠãã ããïŒã <a href="https://github.com/mdn/performance-scenarios/tree/gh-pages/js-call-tree-1/profile">ç§ãã¡ãè°è«ããç¹å®ã®ãããã£ãŒã«ãããŠã³ããŒããã</a>ããšãã§ããŸããããªãããã©ããŒãããå Žåã¯ãããã©ãŒãã³ã¹ããŒã«ã«ã€ã³ããŒãããã ãã§ãã ãã¡ãããç¬èªã®ãããã¡ã€ã«ãçæããããšãã§ããŸãããæ°åã¯å°ãç°ãªããŸãã</p> diff --git a/files/ja/tools/performance/flame_chart/index.html b/files/ja/tools/performance/flame_chart/index.html new file mode 100644 index 0000000000..3a2cf0c069 --- /dev/null +++ b/files/ja/tools/performance/flame_chart/index.html @@ -0,0 +1,103 @@ +--- +title: ãã¬ãŒã ãã£ãŒã +slug: Tools/Performance/Flame_Chart +translation_of: Tools/Performance/Flame_Chart +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>ãã¬ãŒã ãã£ãŒãã¯ããã©ãŒãã³ã¹ã®ãããã¡ã€ãªã³ã°ãè¡ã£ãŠããéãããªç§ããšã«ã³ãŒãã® JavaScript ã¹ã¿ãã¯ã®ç¶æ
ã衚瀺ããŸãã</p> + +<p>ããã¯èšé²äžã®ä»»æã®æç¹ã§ã©ã®é¢æ°ãå®éã«å®è¡ããŠãããããŸãã©ãã ãã®æéå®è¡ããããããã«ã©ãããåŒã³åºãããããç¥ãæ段ãæäŸããŸãã</p> +</div> + +<p>åŒã³åºãããªãŒãšãã¬ãŒã ãã£ãŒãã¯ã©ã¡ãããµã€ãã® JavaScript ãåæããããã«äœ¿çšããŸãããŸãã©ã¡ãããèšé²ããŠããéå®æçã«ååŸãã JavaScript ãšã³ãžã³ã®ã¹ã¿ãã¯ã®ãµã³ãã«ãããŒã¿ãšããŠäœ¿çšããŸãã</p> + +<p>ããããåŒã³åºãããªãŒã¯èšé²å
šäœã®åèšã«å¯ŸããŠããã°ã©ã ã®ã©ãã§ãã£ãšãå€ãã®æéãããã£ãŠãããã瀺ãããã«ãããã®ããŒã¿ãç·šæããã®ã«å¯ŸããŠããã¬ãŒã ãã£ãŒãã¯èšé²äžã®ã©ãã§ç¹å®ã®é¢æ°ãå®è¡ããŠãããã瀺ãããã«ãããã®ããŒã¿ã䜿çšããŸããæ¬è³ªçã«ã¯ãèšé²äžã®ä»»æã®äœçœ®ã®ã³ãŒã«ã¹ã¿ãã¯ã®ç¶æ
ã衚瀺ããŸãã</p> + +<p>ãã¡ãã¯ããããã¡ã€ã«ã®äžéšåã®ãã¬ãŒã ãã£ãŒãã瀺ããã¹ã¯ãªãŒã³ã·ã§ããã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10989/perf-flame-chart-overview.png" style="display: block; height: 622px; margin-left: auto; margin-right: auto; width: 1676px;"></p> + +<p>å§ãã«<a href="/ja/docs/Tools/Performance/UI_Tour#Recording_overview">èšé²ã®æŠèŠãã€ã³</a>ã§ããã¬ãŒã ãã£ãŒãã«è¡šç€ºãããèšé²ã®äžéšåãéžæããŠããããšããããã§ãããããã¬ãŒã ãã£ãŒãã¯å€§éã®ããŒã¿ã衚瀺ããŠãããèŠãããçµæãåŸãããã«ã¯éåžžããºãŒã ã€ã³ãå¿
èŠã§ãã</p> + +<p>ãã¬ãŒã ãã£ãŒããã¥ãŒèªäœã¯ãX 軞ã«æ²¿ã£ãŠæéãè¡šããŸããååºã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ã1435ms ãã 1465ms ã®éã衚瀺ããŠããŸããY 軞ã«æ²¿ã£ãŠãã®æç¹ã®ã³ãŒã«ã¹ã¿ãã¯ã«ååšããé¢æ°ããäžã«ãããã¬ãã«ãäžã«èã®é¢æ°ã®é ã«äžŠã¹ãŸããé¢æ°ã¯åºå¥ããããããã«è²åãããŸãã</p> + +<p>ããã¯èšé²äžã®ä»»æã®æç¹ã§ã©ã®é¢æ°ãå®éã«å®è¡ããŠãããããŸãã©ãã ãã®æéå®è¡ããããããã«ã©ãããåŒã³åºãããããç¥ãæ段ãæäŸããŸãã</p> + +<h2 id="Zooming_and_panning" name="Zooming_and_panning">ãºãŒã ãšãã³</h2> + +<p>ãã¬ãŒã ãã£ãŒããå¹æçã«äœ¿çšãããããããã²ãŒã·ã§ã³ã§ããããšãå¿
èŠã§ãããããã¬ãŒã ãã£ãŒãã®ããã²ãŒã·ã§ã³ã«äœ¿çšã§ããäž»èŠãªæäœã 2 ã€ãããŸã:</p> + +<table class="standard-table"> + <tbody> + <tr> + <td><strong>ãºãŒã </strong>: ãããã¡ã€ã«å
šäœã®ãã¡ããã¬ãŒã ãã£ãŒãã«è¡šç€ºããéžæç¯å²ãå¢æžããŸãã</td> + <td> + <p>1) ãã¬ãŒã ãã£ãŒãäžã§ããŠã¹ãã€ãŒã«ãäžäžã«åããŸãã</p> + + <p>2) ãã¬ãŒã ãã£ãŒãäžã§ããã©ãã¯ããã㧠2 æ¬ã®æãäžäžã«åãããŸãã</p> + </td> + </tr> + <tr> + <td><strong>ãã³</strong>: ãããã¡ã€ã«å
šäœå
ã§ãéžæç¯å²ãå·Šå³ã«åãããŸãã</td> + <td> + <p>1) <a href="/ja/docs/Tools/Performance/UI_Tour#Recording_overview">èšé²ã®æŠèŠãã€ã³</a>ã§ãéžæç¯å²ãã¯ãªãã¯ã»ã¢ã³ãã»ãã©ãã°ããŸãã</p> + + <p>2) ãã¬ãŒã ãã£ãŒãã§ã¯ãªãã¯ã»ã¢ã³ãã»ãã©ãã°ããŸãã</p> + </td> + </tr> + </tbody> +</table> + +<p>{{EmbedYouTube("BzfkBRFucp8")}}</p> + +<h2 id="An_example" name="An_example">äŸ</h2> + +<p>ãã¬ãŒã ãã£ãŒããããã°ã©ã ã®åäœãã©ã®ããã«æããã«ã§ããããèŠããããã·ã³ãã«ãªäŸãèŠãŠãããŸãããã<a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒ</a>ã®ããŒãžãšã§äœ¿çšãããã®ãšåããµã³ãã«ã䜿çšããŸããããã¯ã3 çš®é¡ã®ç°ãªããœãŒãã¢ã«ãŽãªãºã ãæ¯èŒãããã®ã§ãããã®ããã°ã©ã ã®æ§é ã®æŠèŠã¯ã<a href="/ja/docs/Tools/Performance/Examples/Sorting_algorithms_comparison">å¥ã®ããŒãž</a>ã§èª¬æããŠããŸãã</p> + +<p>ããã§ã¯ãåŒã³åºãããªãŒã§äœ¿çšãããã®ãšåããããã¡ã€ã«ã®ãã¡ã€ã«ã䜿çšããŸããåŒã³åºãããªãŒã®ããŒãžã§ã¯ãããã¡ã€ã«å
ã®ããã°ã©ã åŒã³åºãã°ã©ããšãé¢é£ä»ãããããµã³ãã«æ°ã以äžã®ããã«æããã«ããŸãã:</p> + +<pre>sortAll() // 8 + + -> sort() // 37 + + -> bubbleSort() // 1345 + + -> swap() // 252 + + -> selectionSort() // 190 + + -> swap() // 1 + + -> quickSort() // 103 + + -> partition() // 12</pre> + +<p>å§ãã«ãã·ãããããã¢ã¯ãã£ãã§ãã£ãéšåã®å
šäœãéžæããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10991/perf-flame-chart-zoomed-out.png" style="display: block; height: 350px; margin-left: auto; margin-right: auto; width: 1212px;"></p> + +<p>æäžæ®µã®çŽ«è²ã®ç®æ㯠<code>sortAll()</code> ã®åŒã³åºãã§ãããããã°ã©ã ã®å§ãããçµããŸã§å®è¡ãããŠããŸãããã®äžã«ãããªãªãŒãã°ãªãŒã³è²ã¯ã<code>sort()</code> ãåŒã³åºããŠããŸããããã«äžã«ããããã®æ¯ã®ãããªãã®ã¯ãããããã®ãœãŒãã¢ã«ãŽãªãºã ãå®è¡ããåŒã³åºãã§ãã</p> + +<p>ãºãŒã ããŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10993/perf-flame-chart-zoom-1.png" style="display: block; height: 350px; margin-left: auto; margin-right: auto; width: 1212px;"></p> + +<p>ãã®éšåã¯çŽ 140 ããªç§éã§ãããŸãã<code>sort()</code> ãåŒã³åºããé¢æ°ããã詳ãã瀺ããŠããŸãã<code>sort()</code> ã®ã³ãŒãã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<pre class="brush: js">function sort(unsorted) { + console.log(bubbleSort(unsorted)); + console.log(selectionSort(unsorted)); + console.log(quickSort(unsorted)); +}</pre> + +<p>"bubb..." ãšèšèŒããããªãªãŒãã°ãªãŒã³è²ã®ããŒã«ãŒã¯ããããã <code>bubbleSort()</code> ã§ããç·è²ã®ããŒã«ãŒã¯ãããããå¥ã®ãœãŒãã¢ã«ãŽãªãºã ã§ããã²ãšç®èŠãã ãã§ãããã«ãœãŒãã®ãããã¯ãä»ã®ã¢ã«ãŽãªãºã ããå¹
ãåºã (åç¶æéãé·ã) ããšãããããŸãã</p> + +<p>ãŸãã<code>bubbleSort()</code> ããåŒã°ããŠããé¢æ° (玫è²) ãããã€ãããããšãããããŸãã</p> + +<p>ããäžåºŠãºãŒã ããŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10995/perf-flame-chart-zoom-2.png" style="display: block; height: 348px; margin-left: auto; margin-right: auto; width: 1212px;"></p> + +<p>ãã®éšåã¯çŽ 20 ããªç§éã§ãã<code>bubbleSort()</code> ã®äžã«ãã玫è²ã®ããŒã«ãŒã¯ã<code>swap()</code> ã®åŒã³åºãã§ããããšãããããŸãããããããã¹ãŠæ°ãããš 253 åããããšããåŒã³åºãããªãŒãã¥ãŒã§ç€ºãããŠããŸãããºãŒã ããç¯å²å
ã§ã¯ãã¹ãŠ <code>bubbleSort()</code> ã®äžã«ãããŸãããåŒã³åºãããªãŒãã¥ãŒã«ããã°ãããã¡ã€ã«å
㧠1 å㯠<code>selectionSort()</code> ã®äžã«ãããŸãã</p> + +<p>ãŸããç·è²ã®ããŒã«ãŒã®ãã¡ 2 å㯠<code>selectionSort()</code> ããã³ <code>quickSort()</code> ã§ããããšããããäžæ¹ã§ããœãŒãé¢æ°ã®åŒã³åºãã®åéã«ãã©ãããã©ãŒã (Gecko) ã®ã³ãŒããåŒã³åºããŠããããšãããããŸããããã¯ã<code>sort()</code> å
㧠<code>console.log()</code> ãåŒã³åºããŠããããšã«ç±æ¥ããå¯èœæ§ãé«ããšèããããŸãã</p> diff --git a/files/ja/tools/performance/frame_rate/index.html b/files/ja/tools/performance/frame_rate/index.html new file mode 100644 index 0000000000..bbd66f03d0 --- /dev/null +++ b/files/ja/tools/performance/frame_rate/index.html @@ -0,0 +1,58 @@ +--- +title: ãã¬ãŒã ã¬ãŒã +slug: Tools/Performance/Frame_rate +translation_of: Tools/Performance/Frame_rate +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>ãã¬ãŒã ã¬ãŒãã¯ãWeb ãµã€ãã®å¿çæ§ã枬å®ãããã®ã§ããäœãããããã¯äžå®å®ãªãã¬ãŒã ã¬ãŒãã«ãããµã€ãã®å¿çæ§ãäœãããããã¯ãžã£ã³ããŒãªç¶æ
ã«ãªãããŠãŒã¶ãšã¯ã¹ããªãšã³ã¹ãæãªããŸãã</p> + +<p><strong>60fps ã®ãã¬ãŒã ã¬ãŒãããªããããªããã©ãŒãã³ã¹ã®ç®æšå€ã§ãããããã€ãã³ãã«å¯ŸããŠå¿
èŠãªãã¹ãŠã®æŽæ°ã«äžããããæé㯠16.7 ããªç§ã§ãã</strong></p> + +<p>ããã©ãŒãã³ã¹ããŒã«ã§ãã¬ãŒã ã¬ãŒãã®ã°ã©ãã¯ãèšé²ããŠããéã®ãã¬ãŒã ã¬ãŒãã衚瀺ããŸãããµã€ãã®ã©ãã«åé¡ããããšæãããããè¿
éã«ç€ºããŠãããæ·±ãåæããããã«ä»ã®ããŒã«ã䜿çšã§ããããã«ããŸãã</p> +</div> + +<h2 id="Frame_rate_and_responsiveness" name="Frame_rate_and_responsiveness">ãã¬ãŒã ã¬ãŒããšå¿çæ§</h2> + +<p>ãã¬ãŒã ã¬ãŒãã¯ããããªããã€ã¹ãçæã§ããç»å (ãŸãã¯ãã¬ãŒã ) ã®ããŒã¹ã§ããããã¯æ ç»ãã²ãŒã ã§ç¹ã«ç¥ãããŠããŸãããçŸåšã¯ Web ãµã€ãã Web ã¢ããªã®ããã©ãŒãã³ã¹æž¬å®ãšããŠåºã䜿çšãããŸãã</p> + +<p>Web ã®ããã©ãŒãã³ã¹ã«ãããŠããã¬ãŒã ã«ã¯ãã©ãŠã¶ãã¹ã¯ãªãŒã³ãæŽæ°ããã³åæç»ããããã«å¿
èŠãªäœæ¥ãå«ãŸããŸãããã¬ãŒã ã¬ãŒãã¯ãã¢ãã¡ãŒã·ã§ã³ã«å¯ŸããŠãã£ãšãæãããªå¹çšããããŸãããã¬ãŒã ã¬ãŒããäœããããšã¢ãã¡ãŒã·ã§ã³ãããã¡ãªãåãã«ãªãããã¬ãŒã ã¬ãŒããé«ããã°ã¹ã ãŒãºã«ãªããŸããäžæ¹ã§ãŠãŒã¶ãšå¯Ÿè©±ããããšããããµã€ãã®å¿çæ§ã®äžè¬çãªææšãšããŠããã¬ãŒã ã¬ãŒãã¯æçšã§ãã</p> + +<p>äŸãã°ããŒãžäžã®ããèŠçŽ ã«ããŠã¹ãã€ã³ã¿ãåãããšèŠçŽ ã®å€èŠãå€ãã JavaScript ãå®è¡ãããŠãªãããŒãåæç»ãçºçããå Žåããã¹ãŠã®äœæ¥ããã¬ãŒã å
ã§å®äºãããããšãå¿
èŠã§ãããã©ãŠã¶ããã¬ãŒã ãåŠçããã®ã«ãããæéãé·ããããšããã©ãŠã¶ãäžæçã«å¿çããªããªã£ã (ãžã£ã³ããŒ) ããã«èŠããã§ãããã</p> + +<p>åæ§ã«ãããŒãžãã¹ã¯ããŒã«ãããšå€ãã®è€éãªããŒãžæŽæ°ãçºçããŠã蚱容ã§ãããã¬ãŒã ã¬ãŒãããã©ãŠã¶ãç¶æã§ããªãå Žåãã¹ã¯ããŒã«ãé
ããªã£ãããšãã©ãããªãŒãºããããã«èŠããããããããããŸããã</p> + +<p>äžè¬çã«é«ãå®å®ãããã¬ãŒã ã¬ãŒãã«ããããŠãŒã¶ãšãµã€ãã®å¯Ÿè©±ã¯ããå¿«é©ãã€é
åçã«ãªãã§ãããã</p> + +<div class="note"> +<p>60fps ã®ãã¬ãŒã ã¬ãŒãããªããããªããã©ãŒãã³ã¹ã®ç®æšå€ãšèããããŠãããããã€ãã³ãã«å¯ŸããŠåæã«å¿
èŠãªãã¹ãŠã®æŽæ°ã«äžããããæé㯠16.7 ããªç§ã§ãã</p> + +<p>ããããå®å®æ§ã¯ç¹ã«éèŠã§ãã60fps ãå®çŸã§ããªãå Žåã¯äœããã¬ãŒã ã¬ãŒããå®å®çã«å®çŸããŠããµã€ãã®ããªãŒãºããããããã¬ãŒã ã¬ãŒãã®æ¥ãªèœã¡èŸŒã¿ãé¿ãããšããã§ãããã</p> +</div> + +<h2 id="Frame_rate_graph" name="Frame_rate_graph">ãã¬ãŒã ã¬ãŒãã®ã°ã©ã</h2> + +<p>ãã¬ãŒã ã¬ãŒãã®ã°ã©ãã¯ãããã©ãŒãã³ã¹ããŒã«ã®<a href="/ja/docs/Tools/Performance/UI_Tour#Recording_overview">èšé²ã®æŠèŠ</a>ã®éšåã«ãããŸããããã¯ãã©ãŠã¶ããã¬ãŒã ã®åŠçãçµãããšãã®ã¿ã€ã ã¹ã¿ã³ããååŸããŠãèšé²ããŠããæéã®ãã¬ãŒã ã¬ãŒãã远跡ããããã«äœ¿çšããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11025/perf-frame-rate.png" style="display: block; height: 66px; margin-left: auto; margin-right: auto; width: 900px;">X 軞ã¯ãããã¡ã€ã«ãæ¡åããæéã®çµéæéã§ãããŸãæ倧ãã¬ãŒã ã¬ãŒããå¹³åãã¬ãŒã ã¬ãŒããæå°ãã¬ãŒã ã¬ãŒãã泚éãšããŠè¡šç€ºããŸãã</p> + +<h2 id="Using_the_frame_rate_graph" name="Using_the_frame_rate_graph">ãã¬ãŒã ã¬ãŒãã®ã°ã©ãã䜿çšãã</h2> + +<p>ãã¬ãŒã ã¬ãŒãã®ã°ã©ãã®å€§ããªäŸ¡å€ã¯ã<a href="/ja/docs/Tools/Web_Console">Web ã³ã³ãœãŒã«</a>ãšåæ§ã«ããµã€ãã®ã©ãã«åé¡ããããšæãããããè¿
éã«ç€ºããŠãããæ·±ãåæããããã«ä»ã®ããŒã«ã䜿çšã§ããããã«ããããšã§ããäŸãã°ã以äžã«ããã©ãŒãã³ã¹ããŒã«ã®ã¹ã¯ãªãŒã³ã·ã§ããã瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11023/perf-fr-waterfall.png" style="display: block; height: 413px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>å¹³åãã¬ãŒã ã¬ãŒãã¯ããããè¯å¥œãªå€ã§ããããã¬ãŒã ã¬ãŒããæ°åããªç§éèœã¡èŸŒããšãã 3 ãæãããŸããããã¯ãã£ãšãããŒãžã§å®è¡ããŠããã¢ãã¡ãŒã·ã§ã³ãç®ç«ã£ãŠããã¡ãªãç¶æ³ãåŒãèµ·ããã§ãããã</p> + +<p>ãã¬ãŒã ã¬ãŒãã®ã°ã©ãã¯ãäžéšã«ãã<a href="/ja/docs/Tools/Performance/UI_Tour#Waterfall_overview">ãŠã©ãŒã¿ãŒãã©ãŒã«ã®æŠèŠ</a>ãšçŽæ¥çã«é¢é£æ§ããããŸãããã¬ãŒã ã¬ãŒããèœã¡èŸŒãã§ããå§ãã® 2 ãæã¯æ©è²ã®ããŒãšé¢é£æ§ãããããã㯠JavaScript ã®å®è¡ã«æéããããŠããããšã瀺ããŸãã</p> + +<p>èœã¡èŸŒãã§ããéšåã®ã²ãšã€ãéžæãããšãäžéšã«ããã¡ã€ã³ã®<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«ãã¥ãŒ</a>ããã®éšåã ãã«æ¡å€§è¡šç€ºããŠãåé¡ãèµ·ãããŠããæ©èœãç¥ãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11027/perf-zoom.png" style="display: block; height: 504px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>click ã€ãã³ãã§å®è¡ããã JavaScript é¢æ°ããã¡ã€ã³ã¹ã¬ããã 170 ããªç§éãããã¯ããŠããŸãã</p> + +<p>ã©ã®é¢æ°ã§ããã? ãã®æç¹ã®ã³ãŒã«ã¹ã¿ãã¯ãèŠãããã<a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ã«åãæ¿ããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11021/perf-fr-flame-chart.png" style="display: block; height: 413px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>åé¡ãèµ·ãããŠããé¢æ°ã¯ <code>doPointlessComputations()</code> ã§ããã"main.js" ã§å®çŸ©ãããŠããŸãããããä¿®æ£ããã«ã¯ãé¢æ°ãåå²ããŠéšåã <code><a href="/ja/docs/Web/API/window/requestAnimationFrame">requestAnimationFrame</a></code> ã§å®è¡ããããé¢æ°å
šäœã <a href="/ja/docs/Web/API/Web_Workers_API/Using_web_workers">Worker</a> ã§å®è¡ããŸãã<a href="/ja/docs/Tools/Performance/Scenarios/Intensive_JavaScript">éçŽç㪠JavaScript</a> ã®èšäºã§ã¯ãé·ãå®è¡ãããåæåŒã® JavaScript ãåŒãèµ·ããå¿çæ§ã®åé¡ã解決ããããã«ãæ¬èšäºã®ãããªæ段ãã©ã®ããã«å©çšã§ãããã説æããŸãã</p> diff --git a/files/ja/tools/performance/how_to/index.html b/files/ja/tools/performance/how_to/index.html new file mode 100644 index 0000000000..ff4d540ffe --- /dev/null +++ b/files/ja/tools/performance/how_to/index.html @@ -0,0 +1,62 @@ +--- +title: æäœæé +slug: Tools/Performance/How_to +translation_of: Tools/Performance/How_to +--- +<div>{{ToolsSidebar}}</div><h2 id="Open_the_Performance_tools" name="Open_the_Performance_tools">ããã©ãŒãã³ã¹ããŒã«ãéã</h2> + +<p>ããã©ãŒãã³ã¹ããŒã«ãéãæ¹æ³ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li>Shift + F5 ãæŒäžãã</li> + <li>Firefox ã¡ãã¥ãŒã® Web éçºãµãã¡ãã¥ãŒ (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã OS X ã§ã¯ããŒã«ã¡ãã¥ãŒ) 㧠"ããã©ãŒãã³ã¹" ãéžæãã</li> + <li>ããŒã«ããŒã« Web éçºããŒã«ãã¿ã³ãããå Žåã¯ããã¿ã³ãæŒã㊠"ããã©ãŒãã³ã¹" ãéžæãã:<img alt="" src="https://mdn.mozillademos.org/files/10997/devtools-button.png" style="height: 76px; width: 728px;"></li> +</ul> + +<h2 id="Record_a_profile" name="Record_a_profile">ãããã¡ã€ã«ãèšé²ãã</h2> + +<p>èšé²ãã€ã³ã§ã¹ããããŠã©ããã®ã¢ã€ã³ã³ãæŒäžãããšãæ°ããèšé²ãéå§ããŸããããäžåºŠæŒäžãããšãèšé²ãçµäºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10999/perf-start-stop-recording.png" style="display: block; height: 311px; margin-left: auto; margin-right: auto; width: 744px;"></p> + +<p><code><a href="/ja/docs/Web/API/Console/profile">console.profile()</a></code> ã <code><a href="/ja/docs/Web/API/Console/profileEnd">console.profileEnd()</a></code> ã䜿çšããŠãWeb ã³ã³ãœãŒã«ããèšé²ãéå§ããã³çµäºããããšãã§ããŸãã</p> + +<h2 id="Save_a_profile" name="Save_a_profile">ãããã¡ã€ã«ãä¿åãã</h2> + +<p>èšé²ãã€ã³ã§ "ä¿å" ãšèšèŒããããªã³ã¯ãã¯ãªãã¯ãããšããããã¡ã€ã«ãä¿åããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11001/perf-howto-save.png" style="display: block; height: 311px; margin-left: auto; margin-right: auto; width: 733px;"></p> + +<h2 id="Load_a_profile" name="Load_a_profile">ãããã¡ã€ã«ãèªã¿èŸŒã</h2> + +<p>"ã€ã³ããŒã..." ãã¯ãªãã¯ããŠãã¡ã€ã«ãéžæãããšããããã¡ã€ã«ãèªã¿èŸŒã¿ãŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11005/perf-import.png" style="display: block; height: 622px; margin-left: auto; margin-right: auto; width: 733px;"></p> + +<h2 id="Clear_all_loaded_profiles" name="Clear_all_loaded_profiles">ãã¹ãŠã®ãããã¡ã€ã«ãæ¶å»ãã</h2> + +<p>"æ¶å»" ãã¯ãªãã¯ãããšããã¹ãŠã®èªã¿èŸŒã¿æžã¿ãããã¡ã€ã«ãæ¶å»ããŸãã</p> + +<div class="note"> +<p>ãããè¡ããšããã¹ãŠã®æªä¿åãããã¡ã€ã«ã倱ããŸãã</p> +</div> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11007/perf-clear.png" style="display: block; height: 311px; margin-left: auto; margin-right: auto; width: 733px;"></p> + +<h2 id="Select_a_tool" name="Select_a_tool">ããŒã«ãéžæãã</h2> + +<p>ããŒã«ããŒã®ãã¿ã³ã䜿çšããŠ<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ã<a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒ</a>ã<a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ãåãæ¿ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11009/perf-switch-tool.png" style="display: block; height: 311px; margin-left: auto; margin-right: auto; width: 733px;"></p> + +<h2 id="Configure_markers_displayed" name="Configure_markers_displayed">衚瀺ããããŒã«ãŒãèšå®ãã</h2> + +<p>ããŒã«ããŒã®ãã¿ã³ã䜿çšããŠã<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ã§ã©ã®ããŒã«ãŒã衚瀺ããããèšå®ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11011/perf-marker-filter.png" style="display: block; height: 311px; margin-left: auto; margin-right: auto; width: 733px;"></p> + +<h2 id="Zoom_in" name="Zoom_in">æ¡å€§</h2> + +<p>èšé²ã®æŠèŠã§äžéšåãéžæãããšããã®éšåãæ¡å€§è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11013/perf-zoom.png" style="display: block; height: 311px; margin-left: auto; margin-right: auto; width: 733px;"></p> diff --git a/files/ja/tools/performance/index.html b/files/ja/tools/performance/index.html new file mode 100644 index 0000000000..8abebb675e --- /dev/null +++ b/files/ja/tools/performance/index.html @@ -0,0 +1,80 @@ +--- +title: ããã©ãŒãã³ã¹ +slug: Tools/Performance +translation_of: Tools/Performance +--- +<div>{{ToolsSidebar}}</div><p>ããã©ãŒãã³ã¹ããŒã«ã¯ããµã€ãã®äžè¬çãªå¿çæ§ãJavaScript ãã¬ã€ã¢ãŠãã®ããã©ãŒãã³ã¹ãç¥ãããšãã§ããããŒã«ã§ããããã©ãŒãã³ã¹ããŒã«ã䜿çšããŠããªãã®ãµã€ãã§ãããæéã®èšé²ããããã¡ã€ã«ãäœæã§ããŸããèšé²åŸã¯ããããã¡ã€ã«å
ã§ãµã€ããã¬ã³ããªã³ã°ããããã«ãã©ãŠã¶ãŒãè¡ã£ãããšã®<a href="/ja/docs/Tools/Performance/UI_Tour#Waterfall_overview">æŠèŠ</a>ãããããã¡ã€ã«å
ã®<a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a>ã衚瀺ããŸãã</p> + +<p>ãããã¡ã€ã«ã®ããŸããŸãªåŽé¢ã詳ãã調æ»ããããã«ã4 ã€ã®ãµãããŒã«ã䜿çšã§ããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Performance/Waterfall">ã¿ã€ã ã©ã€ã³</a>ã¯ã¬ã€ã¢ãŠãã®å®è¡ãJavaScript ã®å®è¡ãåæç»ãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãšãã£ãããã©ãŠã¶ãŒãå®è¡ããããŸããŸãªæäœãæããã«ããŸãã</li> + <li><a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒ</a>ã¯ããã©ãŠã¶ãŒããã£ãšãå€ãã®æéãè²»ããã JavaScript é¢æ°ãæããã«ããŸãã</li> + <li><a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ã¯ãèšé²å
šäœã® JavaScript ã³ãŒã«ã¹ã¿ãã¯ãæããã«ããŸãã</li> + <li><a href="/ja/docs/Tools/Performance/Allocations">ã¡ã¢ãªå²ãåœãŠ</a>ãã¥ãŒã¯ãèšé²ã®äžã§ã³ãŒããå®è¡ããããŒãå²ãåœãŠã衚瀺ããŸãã</li> +</ul> + +<p>{{EmbedYouTube("WBmttwfA_k8")}}</p> + +<hr> +<h2 id="Getting_started" name="Getting_started">ã¯ããã«</h2> + +<div class="column-container"> +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Performance/UI_Tour">UI ãã¢ãŒ</a></dt> + <dd>ããã©ãŒãã³ã¹ããŒã«ã«ã€ããŠã²ãšãšããç解ããããã«ãUI ã®ã¯ã€ãã¯ãã¢ãŒãçšæããŸããã</dd> +</dl> +</div> + +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Performance/How_to">æäœæé </a></dt> + <dd>åºæ¬æäœ: ããŒã«ãéããèšé²ãäœæã»ä¿åã»èªã¿èŸŒã¿ã»èšå®ãã</dd> +</dl> +</div> +</div> + +<hr> +<h2 id="Components_of_the_Performance_tool" name="Components_of_the_Performance_tool">ããã©ãŒãã³ã¹ããŒã«ã®ã³ã³ããŒãã³ã</h2> + +<div class="column-container"> +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a></dt> + <dd>ãµã€ãã®å
šäœçãªå¿çæ§ãç解ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒ</a></dt> + <dd>ãµã€ãã® JavaScript ã®ããã«ããã¯ãçºèŠããŸãã</dd> + <dt><a href="/ja/docs/Tools/Performance/Allocations">ã¡ã¢ãªå²ãåœãŠ</a></dt> + <dd>èšé²ã®äžã§ã³ãŒããå®æœããã¡ã¢ãªå²ãåœãŠã衚瀺ããŸãã</dd> +</dl> +</div> + +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Performance/Waterfall">ã¿ã€ã ã©ã€ã³</a></dt> + <dd>ãµã€ããšã®å¯Ÿè©±ãšããŠããã©ãŠã¶ãŒãå®è¡ããäœæ¥ãç解ããŸãã</dd> + <dt><a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a></dt> + <dd>èšé²å
šäœã§ãã©ã® JavaScript é¢æ°ããã€å®è¡ããããæããã«ããŸãã</dd> +</dl> +</div> +</div> + +<hr> +<h2 id="Scenarios" name="Scenarios">ã·ããªãª</h2> + +<div class="column-container"> +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties">CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³</a></dt> + <dd>ãã©ãŠã¶ãŒãã©ã®ããã«ããŒãžãæŽæ°ããããããã³ããŸããŸãª CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³ãããã©ãŒãã³ã¹ã«ã©ã®ãããªåœ±é¿ãäžãããããã¿ã€ã ã©ã€ã³ã䜿çšããŠç解ããŸãã</dd> +</dl> +</div> + +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Performance/Scenarios/Intensive_JavaScript">éçŽç㪠JavaScript</a></dt> + <dd>é·æéå®è¡ããã JavaScript ã«ãã£ãŠåŒãèµ·ããããããã©ãŒãã³ã¹ã®åé¡ãããã³ãã®ãããªç¶æ³ã§ Worker ãã©ã®ããã«åœ¹ç«ã€ããæããã«ããããã«ããã¬ãŒã ãã£ãŒããšã¿ã€ã ã©ã€ã³ã䜿çšããŸãã</dd> +</dl> +</div> +</div> diff --git a/files/ja/tools/performance/profiler_walkthrough/index.html b/files/ja/tools/performance/profiler_walkthrough/index.html new file mode 100644 index 0000000000..35e36bc3a9 --- /dev/null +++ b/files/ja/tools/performance/profiler_walkthrough/index.html @@ -0,0 +1,113 @@ +--- +title: ãããã¡ã€ã©ã®ãã¥ãŒããªã¢ã« +slug: Tools/Performance/Profiler_walkthrough +translation_of: Tools/Performance/Call_Tree +--- +<div>{{ToolsSidebar}}</div><p>JavaScript ãããã¡ã€ã©ã¯ JavaScript ãšã³ãžã³ã®ç¶æ
ãå®æçã«ãµã³ããªã³ã°ããŠããã®æç¹ã®ã³ãŒãå®è¡ã®ã¹ã¿ãã¯ãèšé²ããŸããçµ±èšçã«ãåã
ã®é¢æ°ãå®è¡ããŠãããšãã«ååŸãããµã³ãã«æ°ã¯ãã©ãŠã¶ãå®è¡ã«ãããæéã«å¯Ÿå¿ããŸãã®ã§ãã³ãŒãå
ã®ããã«ããã¯ãçºèŠã§ããŸãã</p> + +<h2 id="Analysing_profiles" name="Analysing_profiles">ãããã¡ã€ã«ãåæãã</h2> + +<p>ããã©ãŒãã³ã¹ããŒã«ãã©ã®ããã«ãããã¡ã€ã«ãæäŸããããç解ããã«ã¯ãäŸãèŠãŠããããšããã£ãšãç°¡åã§ãã以äžã®ã³ãŒã㯠2 ãã 10,000 ãŸã§ã®æ°å€ã«ã€ããŠçŽ æ°ã§ãããã確èªããŠããã®çµæã衚瀺ããŸããå°ãããããããããããçŽ æ°ã®ç¢ºèªã¯ <code><a href="/ja/docs/Web/API/WindowTimers.setTimeout">setTimeout</a></code> ã®ã³ãŒã«ããã¯ãšããŠå®è¡ããŸã:</p> + +<pre class="brush: js">function isPrime(i) { + for (var c = 2; c <= Math.sqrt(i); ++c) { + if (i % c === 0) { + console.log(i + " is not prime"); + return; + } + } + console.log(i + " is prime"); +} + +function timedIsPrime(i) { + setTimeout(function() { + isPrime(i); + }, 100); +} + +function testPrimes() { + var n = 10000; + for (var i = 2; i != n; ++i) { + timedIsPrime(i); + } +} + +var testPrimesButton = document.getElementById("test-primes"); +testPrimesButton.addEventListener("click", testPrimes, false);</pre> + +<p>ãã®ã³ãŒãã Web ããŒãžã«è²Œãä»ããŠå®è¡ãããšãã³ã³ãœãŒã«ãžä»¥äžã®ããã«åºåããŸã:</p> + +<pre>"2 is prime" +"3 is prime" +"4 is not prime" +"5 is prime" +"6 is not prime"</pre> + +<p>ãã®ã³ãŒãã®ãããã¡ã€ã«ãååŸãããšã以äžã®ããã«è¡šç€ºãããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9511/primality-profile.png" style="display: block; margin-left: auto; margin-right: auto; width: 650px;"></p> + +<p>æåã®è¡ã¯ã<em>é¢æ°</em>åãåžžã« <em>(ã«ãŒã)</em> ã«ãªããŸããããã§ã¯ 2 ã€ã®ããšã瀺ããŠããŸã: ãããã¡ã€ãªã³ã°ã« 1,121.95 ããªç§ããã£ãŠããããŸããã®éã« 78 åã®ãµã³ãã«ãååŸããŸããã<em>(ã«ãŒã)</em> ã®äžã«ããµã³ãã«ã®ååŸäžã«ããã°ã©ã ã§çµç±ãããããŸããŸãªãã¹ã®ããªãŒã衚瀺ããŸãã<em>(ã«ãŒã)</em> ã®çŽäžã«ãã¹ã¿ãã¯ã®åºã«ãããããã¬ãã«ã®é¢æ°ãçŸããŸãããã®äŸã§ã¯ããããã¬ãã«ã®é¢æ°ã 2 ã€ãããŸã:</p> + +<ul> + <li>click ã€ãã³ãã®ãªã¹ãã§ãã <code>testPrimes()</code></li> + <li><code>timedIsPrime()</code> å
ã® <code>setTimeout()</code> ã®åŒæ°ã§æå®ãããç¡åã®ã³ãŒã«ããã¯é¢æ°</li> +</ul> + +<p><code>testPrimes()</code> ã®è¡ãèŠãŠãããŸããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9515/primality-profile-testprimes.png" style="display: block; margin-left: auto; margin-right: auto; width: 650px;"></p> + +<p>ããã§ã¯ã78 åã®ãµã³ãã«ã®ãã¡ 29 åã <code>testPrimes()</code> å
ã§ååŸããããšãããããŸãã<em>åèšã³ã¹ã</em>ã®åã¯ããµã³ãã«æ°ãããŒã»ã³ãå€ã«çœ®ãæãããã®ã§ã: <code>(29/78) * 100</code> =<code> 37.17</code></p> + +<p>ãšããã<em>æé</em>ãš<em>ã³ã¹ã</em>ã¯ããšãã« 0 ã§ããããã¯ããã®ã¹ã¿ãã¯ãã¬ãŒã ã®ã³ãŒããå®è¡ããŠããéã«ååŸãããµã³ãã«ããªãããã§ãããµã³ãã«ã¯ãã¹ãŠãé¢æ°å
ã«ãã¹ãããŠãããããã¯ãŸã㯠<code>testPrimes()</code> ãåŒã³åºããé¢æ°ã®å
éšã§ååŸãããã®ã§ããããã¯æ¬¡ã®è¡ã§ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9517/primality-profile-testprimes-2.png" style="display: block; margin-left: auto; margin-right: auto; width: 650px;"></p> + +<p>ãã®è¡ã <em>testPrimes</em> ãšããå称ã§ãããã㯠19 è¡ç®ããå§ãŸã <code>for</code> ã«ãŒããäœæããã<code>testPrimes()</code> ã®æ°ããªã¹ã¿ãã¯ãã¬ãŒã ãæããŠããŸããåã®ãã¬ãŒã ã®<em>ã³ã¹ã</em>ã 0 ã§ãã£ãããšããäºæ³ããããšããããã®ãã¬ãŒã ã®<em>ãµã³ãã«</em>åã 29 ã§ãã</p> + +<p>ãããã<em>ã³ã¹ã</em>ãš<em>æé</em>㯠0 ã§ã¯ãããŸãããããã¯ããã€ãã®ãµã³ãã«ãããã®ãã¬ãŒã ãå®è¡ããŠãããšãã«ååŸãããããšãè¡šããŸãããããã¡ã€ã«ã§ã¯ãµã³ãã«ãããã€ååŸããããæ瀺ããŠããŸãããã次㮠<em>timedIsPrime</em> ãšããååã®è¡ã§ååŸãããµã³ãã«ã 24 åã§ããããšããã5 åååŸããã¯ãã§ããããã¯ç°¡åã«ç¢ºèªã§ããŸãã<code>(5/78) * 100 = 6.41</code> ã§ããã<em>ã³ã¹ã</em>ã®å€ãšäžèŽããŸãã</p> + +<p>ãã®åå²ã§æ®ã 24 åã®ãµã³ãã« (å
šäœã® 30.76%) 㯠<code>timedIsPrime()</code> ã§ååŸãããŸãããã€ãŸãã<code>setTimeout()</code> (12 è¡ç®) ãåŒã³åºããŠããéšåã§ãã</p> + +<p>ã³ãŒã«ããªãŒã®å¥ã®åå²ã¯ã<code>setTimeout()</code> (13 è¡ç®) ã«æž¡ããç¡åã®ã³ãŒã«ããã¯é¢æ°ããå§ãŸã£ãŠããŸããããã§ã¯ãµã³ãã«ã 1 åååŸããŠãããæ®ã 48 åã®ãµã³ãã« (å
šäœã® 61.53%) ã¯ã³ãŒã«ããã¯ã§åŒã³åºã <code>isPrime()</code> ã§ååŸãããŸããã</p> + +<p>ç·æ¬ãããšããã£ãšãå€ãã®ãµã³ãã«ã <code>isPrime()</code> ã§ååŸããŠãã (å
šäœã® 61.53%)ããã®æ¬¡ã <code>timedIsPrime()</code> (å
šäœã® 30.76%)ãæ®ãã¯åãã«è¶³ããªãéã§ããçµ±èšçã«èšãã°ããããããããã®é¢æ°ãã»ãšãã©ã®æéãæ¶è²»ããŠããŸãã®ã§ãããã°ã©ã ãé«éåãããå Žåã®æåãªæé©ååè£ã«ãªããŸãã</p> + +<h3 id="Total_Time_and_Self_Time" name="Total_Time_and_Self_Time"><em>åèšæé</em>ãš<em>æé</em></h3> + +<p><em>åèšæé</em>ãš<em>æé</em>ã®åã¯<em>åèšã³ã¹ã</em>ãš<em>ã³ã¹ã</em>ããç®åºããŠããŸãããçŽæ¥åæ ãããã®ã§ã¯ãããŸãããèŠåçã«ãµã³ãã«ãååŸããããšããŠããŸããããã®ãšããã«ååŸã§ããªãå ŽåããããŸããé©åãªææã«ãµã³ãã«ãååŸã§ããªãã£ãå Žåã¯ããã®äžèŠåæ§ãè£æ£ããããšããŸãã</p> + +<h3 id="Inverting_the_call_tree" name="Inverting_the_call_tree">åŒã³åºãããªãŒãå転</h3> + +<p>æ¢å®ã§ã¯ããããã¡ã€ã©ã¯äžè¬çãªã³ãŒã«ã¹ã¿ãã¯ãšåæ§ã«ãåŒã³åºãããªãŒãæ ¹ããèã®é ã«è¡šç€ºããŸããã€ãŸãããããã®ãããã¬ãã«é¢æ°ããããã¬ãã«é¢æ°ãåŒã³åºãé¢æ°ããã®é¢æ°ããåŒã³åºãããé¢æ°ããšãã£ãé ã«ãªããŸã:</p> + +<pre>testPrimes + + -> timedIsPrime + + + +(setTimeout callback) + + -> isPrime</pre> + +<p>ããã¯è«ççãã€ã¹ã¿ãã¯ãç©ã¿äžããããæç³»åã«åŸã£ãŠãããã³ãŒã«ã¹ã¿ãã¯ãè¡šçŸããããã®æ
£ç¿çãªæ¹æ³ã§ããããŸããäžæ¹ãæéãããã£ãŠããå ŽæãåŒã³åºãããªãŒã®æ·±éšã«ããããšããããããŸããååºã®äŸã§ããããšãããå
šãµã³ãã«ã® 90% 㯠2 ã€ã®äž»èŠãªåå²ã®çµç«¯ã§çºçããŠããŸãã</p> + +<p>å€ãã®ãµã³ãã«ãèšé²ããã¹ã¿ãã¯ãã¬ãŒã ã«æ³šç®ããããããåŒã³åºãããªãŒãå転ããããªãã·ã§ã³ããããã¡ã€ã©ã«ãããŸãããã®ãªãã·ã§ã³ãéžæãããšããããã¡ã€ã©ã¯ä»¥äžã®ããã«ãªããŸã:</p> + +<ul> + <li><em>ã³ã¹ã</em>ã 0 ãã倧ããã¹ã¿ãã¯ãã¬ãŒã ãã€ãŸãããµã³ãã«ãååŸãããšãå®éã«å®è¡ããŠããã¹ã¿ãã¯ãã¬ãŒã ã®ãªã¹ããäœæããŸãã</li> + <li>ãªã¹ãã¯ãã¹ã¿ãã¯ãã¬ãŒã ã§ååŸãããµã³ãã«æ°ã®é ã«äžŠã¹æ¿ããããŸãã</li> + <li>ãªã¹ãå
ã®åé
ç®ã§ãã³ãŒã«ã¹ã¿ãã¯ããããã¬ãã«é¢æ°ã«åãã£ãŠéåãã«è¡šç€ºããŸãã</li> +</ul> + +<p>äŸãã° testPrimes ã®äŸããæ¢å®ã®è¡šç€ºã§ããäžåºŠç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9511/primality-profile.png" style="display: block; margin-left: auto; margin-right: auto; width: 650px;"></p> + +<p>åŒã³åºãããªãŒãå転ãããšä»¥äžã®ããã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9521/primality-profile-inverted.png" style="display: block; margin-left: auto; margin-right: auto; width: 650px;"></p> + +<p>å転ãã衚瀺ã§ã¯ãããã°ã©ã ã§æéãããã£ãŠããå Žæãå¹æçã«ç®ç«ãããŠããããšããããã§ãããã</p> diff --git a/files/ja/tools/performance/scenarios/animating_css_properties/index.html b/files/ja/tools/performance/scenarios/animating_css_properties/index.html new file mode 100644 index 0000000000..106a08aecc --- /dev/null +++ b/files/ja/tools/performance/scenarios/animating_css_properties/index.html @@ -0,0 +1,156 @@ +--- +title: CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³ +slug: Tools/Performance/Scenarios/Animating_CSS_properties +translation_of: Tools/Performance/Scenarios/Animating_CSS_properties +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³ã«ãããããã©ãŒãã³ã¹ã®ã³ã¹ãã¯ãããããã£ã«ããç°ãªããŸãããŸããé«ã³ã¹ã㪠CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³ã¯ããã©ãŠã¶ãã¹ã ãŒãºãªãã¬ãŒã ã¬ãŒãã確ä¿ããããšåªåããããã« <a href="/ja/docs/Glossary/Jank">jank</a> ãçºçããå ŽåããããŸãã</p> + +<p><a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a>ã<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>㯠CSS ã¢ãã¡ãŒã·ã§ã³ã«ãããŠãã©ãŠã¶ãäœãè¡ã£ãŠããããæããã«ããŠãããã©ãŒãã³ã¹ã®åé¡ã®èšºæãæ¯æŽããŸãã</p> +</div> + +<p><a href="/ja/docs/Web/Guide/CSS/Using_CSS_animations">CSS ã¢ãã¡ãŒã·ã§ã³</a>ã§ã¯è€æ°ã®<a href="/ja/docs/Web/CSS/@keyframes">ããŒãã¬ãŒã </a>ãæå®ããŠãããããã®ããŒãã¬ãŒã ã§ã¯ã¢ãã¡ãŒã·ã§ã³ã®ç¹å®ã®æ®µéã«ãããèŠçŽ ã®å€èŠãå®çŸ©ããããã« CSS ã䜿çšããŸãããã©ãŠã¶ã¯ãããããã®ããŒãã¬ãŒã ãã次ã®ããŒãã¬ãŒã ãžé·ç§»ããããšã§ã¢ãã¡ãŒã·ã§ã³ãäœæããŸãã</p> + +<p>JavaScript ã䜿çšããŠèŠçŽ ã®ã¢ãã¡ãŒã·ã§ã³ãè¡ãã®ã«æ¯ã¹ãŠãCSS ã¢ãã¡ãŒã·ã§ã³ã¯ç°¡åã«äœããŸãããŸããã©ãŠã¶ã¯ãã€ãã¬ãŒã ãæç»ããããããå¶åŸ¡ã§ãããŸãå¿
èŠã«å¿ããŠãã¬ãŒã ãç Žæ£ã§ããŸãã®ã§ãããã©ãŒãã³ã¹ãé«ããªããŸãã</p> + +<p>ããã CSS ããããã£ãå€æŽããããã®ããã©ãŒãã³ã¹ã³ã¹ãã¯ãããããã£ã«ããç°ãªããŸããé«ã³ã¹ã㪠CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³ã¯ããã©ãŠã¶ãã¹ã ãŒãºãªãã¬ãŒã ã¬ãŒãã確ä¿ããããšåªåããããã« <a href="/ja/docs/Glossary/Jank">jank</a> ãçºçããå ŽåããããŸãã</p> + +<h2 id="The_CSS_rendering_waterfall" name="The_CSS_rendering_waterfall">CSS ã¬ã³ããªã³ã°ã®ãŠã©ãŒã¿ãŒãã©ãŒã«</h2> + +<p>CSS ãå€æŽããããšãã«ãã©ãŠã¶ãããŒãžãæŽæ°ããããã®ããã»ã¹ã¯ã以äžã®ã¹ãããã§æ§æããããŠã©ãŒã¿ãŒãã©ãŒã«ã§èª¬æã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10821/css-rendering-waterfall.png" style="display: block; height: 203px; margin-left: auto; margin-right: auto; width: 546px;"></p> + +<ol> + <li><strong>ã¹ã¿ã€ã«ãåèšç®</strong>: èŠçŽ ã® CSS ããããã£ãå€æŽããããã³ã«ããã©ãŠã¶ã¯ç®åºã¹ã¿ã€ã«ãåèšç®ããªããã°ãªããŸããã</li> + <li><strong>ã¬ã€ã¢ãŠã</strong>: ç¶ããŠãèŠçŽ ã®äœçœ®ã圢ç¶ãèšç®ããããã«ç®åºã¹ã¿ã€ã«ã䜿çšããŸãããã®æäœã¯ "ã¬ã€ã¢ãŠã" ãšåä»ããããŠããŸããã"ãªãããŒ" ãšãåŒã°ããŸãã</li> + <li><strong>æç»</strong>: ãããŠããã©ãŠã¶ã¯ã¹ã¯ãªãŒã³ã«èŠçŽ ãåæç»ããªããã°ãªããŸãããæåŸã®ã¹ãããã¯ãã®æµãã§ç€ºããŠããŸãããããŒãžã¯è€æ°ã®ã¬ã€ã€ãŒã«åå²ããããããããç¬ç«ããŠæç»ããåŸã«ã"ã³ã³ããžã·ã§ã³" ãšåŒã°ããããã»ã¹ã§åæãããŸãã</li> +</ol> + +<p>ãã®æµããå®äºããªããã°ã¹ã¯ãªãŒã³ãæŽæ°ã§ããŸããã®ã§ãã²ãšã€ã®ãã¬ãŒã å
ã«äžé£ã®æäœãåããªããã°ãªããŸãããæ¯ç§ 60 ãã¬ãŒã ããã¢ãã¡ãŒã·ã§ã³ãã¹ã ãŒãºã«èŠããã¬ãŒããšããŠåºãåãå
¥ããããŠããŸããæ¯ç§ 60 ãã¬ãŒã ã®ã¬ãŒãã®ããã«ããã©ãŠã¶ãäžé£ã®æäœãå®è¡ããæéãšã㊠16.7 ããªç§ãäžããããŸãã</p> + +<h2 id="CSS_property_cost" name="CSS_property_cost">CSS ããããã£ã®ã³ã¹ã</h2> + +<p>ã¬ã³ããªã³ã°ã®ãŠã©ãŒã¿ãŒãã©ãŒã«ã«ãããŠãäžéšã®ããããã£ã¯ä»ã®ããããã£ã«æ¯ã¹ãŠç¹ã«ã³ã¹ããé«ããªããŸã:</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col">ããããã£ã®çš®é¡</th> + <th scope="col">ã³ã¹ã</th> + <th scope="col">äŸ</th> + </tr> + </thead> + <tbody> + <tr> + <td>èŠçŽ ã®<em>圢ç¶</em>ã<em>äœçœ®</em>ã«åœ±é¿ãäžããããããã£ããããã¯ã¹ã¿ã€ã«ã®åèšç®ãã¬ã€ã¢ãŠããåæç»ãçºçãããã</td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10827/recalculate-style.png" style="height: 26px; width: 123px;"> <img alt="" src="https://mdn.mozillademos.org/files/10825/layout.png" style="height: 26px; width: 123px;"> <img alt="" src="https://mdn.mozillademos.org/files/10823/paint.png" style="height: 26px; width: 123px;"></td> + <td> + <p><code><a href="/ja/docs/Web/CSS/left">left</a></code><br> + <code><a href="/ja/docs/Web/CSS/max-width">max-width</a></code><br> + <code><a href="/ja/docs/Web/CSS/border-width">border-width</a></code><br> + <code><a href="/ja/docs/Web/CSS/margin-left">margin-left</a></code><br> + <code><a href="/ja/docs/Web/CSS/font-size">font-size</a></code></p> + </td> + </tr> + <tr> + <td> + <p>圢ç¶ãäœçœ®ãžã®åœ±é¿ã¯ãªãããåå¥ã®ã¬ã€ã€ãŒã§ã¯æç»ãããªãããããã£ãã¬ã€ã¢ãŠãã¯çºçããªãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10827/recalculate-style.png" style="height: 26px; width: 123px;"> <img alt="" src="https://mdn.mozillademos.org/files/10835/layout-faint.png" style="height: 52px; width: 123px;"> <img alt="" src="https://mdn.mozillademos.org/files/10823/paint.png" style="height: 26px; width: 123px;"></td> + <td> + <p><code><a href="/ja/docs/Web/CSS/color">color</a></code></p> + </td> + </tr> + <tr> + <td>åå¥ã®ã¬ã€ã€ãŒã§æç»ãããããããã£ã¯ãåæç»ãçºçããªããæŽæ°ã¯ã³ã³ããžã·ã§ã³ã§å¶åŸ¡ãããã</td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10827/recalculate-style.png" style="height: 26px; width: 123px;"> <img alt="" src="https://mdn.mozillademos.org/files/10835/layout-faint.png" style="height: 52px; width: 123px;"> <img alt="" src="https://mdn.mozillademos.org/files/10839/paint-faint.png" style="height: 26px; width: 123px;"></td> + <td><code><a href="/ja/docs/Web/CSS/transform">transform</a></code><br> + <code><a href="/ja/docs/Web/CSS/opacity">opacity</a></code></td> + </tr> + </tbody> +</table> + +<div class="note"> +<p><a href="http://csstriggers.com/">CSS Triggers</a> ã® Web ãµã€ãã§ãå CSS ããããã£ã§ã©ãã ãã®ãŠã©ãŒã¿ãŒãã©ãŒã«ãçºçãããããŸãšããŠããŸããWebKit åºæã®æ
å ±ã§ãããã»ãšãã©ã¯ãã¹ãŠã®ææ°ãã©ãŠã¶ã§åãã§ãã</p> +</div> + +<h2 id="An_example.3A_margin_versus_transform" name="An_example.3A_margin_versus_transform">äŸ: margin ãš transform</h2> + +<p>æ¬ç« ã§ã¯ã<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ã <code><a href="/ja/docs/Web/CSS/margin">margin</a></code> ã䜿çšããã¢ãã¡ãŒã·ã§ã³ãš <code><a href="/ja/docs/Web/CSS/transform">transform</a></code> ã䜿çšããã¢ãã¡ãŒã·ã§ã³ã®éãããã©ã®ããã«æããã«ã§ãããã瀺ããŸãã</p> + +<p>ãã®ã·ããªãªã¯ã<code>margin</code> ã䜿çšããã¢ãã¡ãŒã·ã§ã³ã¯äŸå€ãªãæªãã¢ã€ãã¢ã§ãããšçŽåŸãããæå³ã¯ãããŸããããµã€ããæç»ããããã«ãã©ãŠã¶ãäœãè¡ã£ãŠããããããŒã«ãã©ã®ããã«ããŠæããã«ããããããã³ããã©ãŒãã³ã¹ã®åé¡ã®èšºæã解決ã®ããã«ãã®æ
å ±ãã©ã®ããã«é©çšã§ãããã瀺ããã®ã§ãã</p> + +<p>èªèº«ã§ãè©ŠããŠã¿ããå Žåã¯ãã㢠Web ãµã€ãã<a href="http://mdn.github.io/performance-scenarios/animation-transform-margin/index.html">ãã¡ã</a>ã«ãããŸãããµã³ãã«ã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11029/css-animations-demo.png" style="display: block; height: 677px; margin-left: auto; margin-right: auto; width: 1000px;">ããã«ã¯ 2 ã€ã®ã³ã³ãããŒã«ããããŸããã¢ãã¡ãŒã·ã§ã³ãéå§/åæ¢ãããã¿ã³ãšã<code>margin</code> ã®ã¢ãã¡ãŒã·ã§ã³ãŸã㯠<code>transform</code> ã®ã¢ãã¡ãŒã·ã§ã³ãéžæããã©ãžãªãã¿ã³ã§ãã</p> + +<p>ããŒãžäžã«ã¯è€æ°ã®èŠçŽ ã眮ããŠããããããã« <code><a href="/ja/docs/Web/CSS/linear-gradient">linear-gradient</a></code> ã®èæ¯ãš <code><a href="/ja/docs/Web/CSS/box-shadow">box-shadow</a></code> ãè¿œå ããŠããŸããããã¯ãåæ¹ã®ããããã£ã¯æç»ã®ã³ã¹ããæ¯èŒçé«ãããã§ãã</p> + +<p>åç»çã®ãŠã©ãŒã¯ã¹ã«ãŒãçšæããŠããŸã:</p> + +<p>{{EmbedYouTube("Tvu6_j8Qzfk")}}</p> + +<h3 id="Animating_using_margin" name="Animating_using_margin">margin ã䜿çšããã¢ãã¡ãŒã·ã§ã³</h3> + +<p>"Use margin" ãéžæãããŸãŸã§ã¢ãã¡ãŒã·ã§ã³ãéå§ããŠãããã©ãŒãã³ã¹ããŒã«ãéããŠèšé²ãå§ããŸããããèšé²æéã¯æ°ç§ã ãã§ããŸããŸããã</p> + +<p>æåã®èšé²ãéããŸããã©ã®ãããªçµæã«ãªããã¯ãã·ã³ãã·ã¹ãã è² è·ã«å€§ããäŸåããŸããããããã以äžã®ããã«ãªãã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10853/margin-recording.png" style="display: block; height: 237px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ããã§ã¯ 3 ã€ã®èŠç¹ã§ç€ºããŠããŸã: (a) ãŠã©ãŒã¿ãŒãã©ãŒã«ã®æŠèŠã(b) ãã¬ãŒã ã¬ãŒãã(c) ã¿ã€ã ã©ã€ã³ã®è©³çŽ° ã§ãã</p> + +<h4 id="Waterfall_overview" name="Waterfall_overview">ãŠã©ãŒã¿ãŒãã©ãŒã«ã®æŠèŠ</h4> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10857/margin-timeline-overview.png" style="display: block; height: 58px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ããã¯ã<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ãã³ã³ãã¯ãã«è¡šç€ºãããã¥ãŒã§ãã</p> + +<p>ç·è²ãå§åçã«å€ãããšã¯ã<a href="/ja/docs/Tools/Performance/Timeline#timeline-color-coding">æç»ã«å€ãã®æéãè²»ãããŠãã</a>ããšã瀺ããŠããŸãã</p> + +<p> </p> + +<h4 id="Frame_rate" name="Frame_rate">ãã¬ãŒã ã¬ãŒã</h4> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10859/margin-frame-rate.png" style="display: block; height: 64px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ããã¯ã<a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a>ã衚瀺ããŸããããã§ã¯å¹³åãã¬ãŒã ã¬ãŒãã 46.67fps ã§ãããç®æšã® 60fps ãããªãäžåã£ãŠããŸããããã«æªãããšã«ãã¬ãŒã ã¬ãŒããäœåºŠã 10 ãã 20 fps å°ã«äœäžããŠãããã°ã©ããããããã«ãªã£ãŠããŸããç¹ã«ãŠãŒã¶ãšã®å¯Ÿè©±ãå ãããšãã¹ã ãŒãºãªã¢ãã¡ãŒã·ã§ã³ã§ã¯ãªããªãã§ãããã</p> + +<h4 id="Waterfall" name="Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</h4> + +<p>èšé²è¡šç€ºé åã®æ®ãã®éšåã§ããŠã©ãŒã¿ãŒãã©ãŒã«ã衚瀺ããŸãããŠã©ãŒã¿ãŒãã©ãŒã«ãã¹ã¯ããŒã«ãããšã以äžã®ãããªãã¿ãŒã³ãèŠãããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10861/margin-timeline.png" style="display: block; height: 532px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ããã¯<a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties#The_CSS_rendering_waterfall">ã¬ã³ããªã³ã°ã®ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ãè¡šããŸããããããã®ã¢ãã¡ãŒã·ã§ã³ãã¬ãŒã ã§ããã¹ãŠã®èŠçŽ ã®ã¹ã¿ã€ã«ãåèšç®ããŠããã¬ã€ã¢ãŠãåŠçã 1 åå®æœããŠãåæç»ãè¡ããŸãã</p> + +<p>ããã§ã¯ãæç»ãç¹ã«ããã©ãŒãã³ã¹ãžæªåœ±é¿ãäžããŠããããšãããããŸããååºã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯æç»åŠçããã€ã©ã€ãããŠããããã®åŠç㯠13.11 ããªç§ããã£ãŠããããšãå³åŽã®ããã¯ã¹ã§ããããŸãããã¹ãŠã®åŠçã«å²ãåœãŠãããæé㯠16.7 ããªç§ãããããŸããã®ã§ãé«ããã¬ãŒã ã¬ãŒããç¶æã§ããªãã®ã¯é©ãããšã§ã¯ãããŸããã</p> + +<p>ããã§<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS">ã€ã³ã¹ãã¯ã¿ã䜿çšããŠ</a> box-shadow ãåé€ãããšãæç»æéã«ã©ã®ãããªåœ±é¿ãããããå®éšã§ããŸããããã次ã¯ã<code><a href="/ja/docs/Web/CSS/margin">margin</a></code> ã®ä»£ããã« <code><a href="/ja/docs/Web/CSS/transform">transform</a></code> ã䜿çšããŠé«ã³ã¹ããªæç»ãå®å
šã«ãªããæ¹æ³ãèŠãŠãããŸãã</p> + +<h3 id="Animating_using_transform" name="Animating_using_transform">transform ã䜿çšããã¢ãã¡ãŒã·ã§ã³</h3> + +<p>Web ããŒãžã®ã©ãžãªãã¿ã³ã "Use transform" ã«åãæ¿ããŠãæ°ãã«èšé²ããŠã¿ãŸãããããããšã以äžã®ããã«ãªãã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10863/transform-recording.png" style="display: block; height: 234px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<h4 id="Waterfall_overview_2" name="Waterfall_overview_2">ãŠã©ãŒã¿ãŒãã©ãŒã«ã®æŠèŠ</h4> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10869/transform-timeline-overview.png" style="display: block; height: 57px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p><a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties#Waterfall_overview">margin ã䜿çšããå Žå</a>ãšæ¯ã¹ãŠç·è²ããšãŠãå°ãªãããŸãæ¡è²ããšãŠãå€ããªã£ãŠããŸããæ¡è²ã¯<a href="/ja/docs/Tools/Performance/Waterfall#timeline-color-coding">ã¬ã€ã¢ãŠããã¹ã¿ã€ã«ã®åèšç®</a>ã§ãããã</p> + +<h4 id="Frame_rate_2" name="Frame_rate_2">ãã¬ãŒã ã¬ãŒã</h4> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10865/transform-frame-rate.png" style="display: block; height: 62px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p><a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties#Frame_rate">margin ã䜿çšããå Žå</a>ãšæ¯ã¹ãŠãè¯å¥œã§ããããã«èŠããŸããå¹³åå€ã¯ 60fps ã«è¿ãããŸãéå§ä»è¿ã§ 1 åèœã¡èŸŒãã§ããããšãé€ãã°é«ããã¬ãŒã ã¬ãŒããç¶æããŠããŸãã</p> + +<h4 id="Waterfall_2" name="Waterfall_2">ãŠã©ãŒã¿ãŒãã©ãŒã«</h4> + +<p>ã¿ã€ã ã©ã€ã³ãã¥ãŒã§ããã¬ãŒã ã¬ãŒããåäžããçç±ã瀺ãããŠããŸãã<a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties#Waterfall">margin ã䜿çšããå Žå</a>ãšæ¯ã¹ãŠãã¬ã€ã¢ãŠãã (ãã®äŸã§ã¯ããã«éèŠãª) æç»ã«å°ããæéãè²»ãããŠããŸãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10867/transform-timeline.png" style="display: block; height: 384px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ãã®äŸã§ã¯ <code>transform</code> ã䜿çšããããšã§ãµã€ãã®ããã©ãŒãã³ã¹ãèããåäžããŠããããŸãã©ã®ããã«ããã³ãªãåäžãããããããã©ãŒãã³ã¹ããŒã«ã§ç€ºãããšãã§ããŸããã</p> diff --git a/files/ja/tools/performance/scenarios/index.html b/files/ja/tools/performance/scenarios/index.html new file mode 100644 index 0000000000..0b1a33b018 --- /dev/null +++ b/files/ja/tools/performance/scenarios/index.html @@ -0,0 +1,10 @@ +--- +title: ã·ããªãª +slug: Tools/Performance/Scenarios +tags: + - TopicStub +translation_of: Tools/Performance/Scenarios +--- +<div>{{ToolsSidebar}}</div> + +<p>ããã©ãŒãã³ã¹ã·ããªãª</p> diff --git a/files/ja/tools/performance/scenarios/intensive_javascript/index.html b/files/ja/tools/performance/scenarios/intensive_javascript/index.html new file mode 100644 index 0000000000..34cc1db672 --- /dev/null +++ b/files/ja/tools/performance/scenarios/intensive_javascript/index.html @@ -0,0 +1,231 @@ +--- +title: éçŽç㪠JavaScript +slug: Tools/Performance/Scenarios/Intensive_JavaScript +translation_of: Tools/Performance/Scenarios/Intensive_JavaScript +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>ããã©ã«ãã§ãã©ãŠã¶ã¯ã¬ã€ã¢ãŠãããªãããŒãã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã ãã§ãªããããŒãžå
ã®ãã¹ãŠã® JavaScript ãã²ãšã€ã®ã¹ã¬ããã§å®è¡ããŸããããã¯é·ãéå®è¡ãã JavaScript ãã¹ã¬ããããããã¯ããŠãããŒãžã®äžå¿çããŠãŒã¶ãšã¯ã¹ããªãšã³ã¹ã®æªåãæããããããããšããããšã§ãã</p> + +<p><a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a>ããã³<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ããŒã«ã䜿çšããŠãã〠JavaScript ãããã©ãŒãã³ã¹ã®åé¡ãèµ·ãããŠããããç¥ããããã³ç¹ã«æ³šæãå¿
èŠãªé¢æ°ãéžã³åºãããšãã§ããŸãã</p> + +<p>æ¬èšäºã§ã¯é·ãéå®è¡ãã JavaScript ãå¿çæ§ã®åé¡ãèµ·ãããŠãããµã³ãã«ãµã€ãã䜿çšããŠãåé¡ãä¿®æ£ããããã« 2 çš®é¡ã®æ¹æ³ãé©çšããŠãããŸããã²ãšã€ã¯é·ãéå®è¡ãã JavaScript ãè€æ°ã®éšåã«åããŠããããã®ã¹ã±ãžã¥ãŒãªã³ã°ã« <code><a href="/ja/docs/Web/API/window/requestAnimationFrame">requestAnimationFrame</a></code> ã䜿çšããæ¹æ³ãããã²ãšã€ã¯ <a href="/ja/docs/Web/API/Web_Workers_API/Using_web_workers">web worker</a> ã䜿çšããŠé¢æ°å
šäœãå¥ã®ã¹ã¬ããã«åããæ¹æ³ã§ãã</p> +</div> + +<p>èªèº«ã§ãè©ŠããŠã¿ããå Žåã¯ãã㢠Web ãµã€ãã<a class="external external-icon" href="http://mdn.github.io/performance-scenarios/js-worker/index.html">ãã¡ã</a>ã«ãããŸãã</p> + +<p>åç»çã®ãŠã©ãŒã¯ã¹ã«ãŒãçšæããŠããŸã:</p> + +<p>{{EmbedYouTube("Pcc6jQX6JDI")}}</p> + +<p>ã㢠Web ãµã€ãã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11031/js-worker-demo.png" style="display: block; height: 677px; margin-left: auto; margin-right: auto; width: 1000px;">ããã«ã¯ 3 ã€ã®ã³ã³ãããŒã«ããããŸã:</p> + +<ul> + <li>JavaScript ã®å®è¡æ¹æ³ãå¶åŸ¡ããã©ãžãªãã¿ã³ããããã¯ãçºçããã²ãšã€ã®æäœãã¡ã€ã³ã¹ã¬ããã§å®è¡ããã<code>requestAnimationFrame()</code> ã䜿çšããŠå°èŠæš¡ãªæäœã®éãŸããã¡ã€ã³ã¹ã¬ããã§å®è¡ãããWorker ã䜿çšããŠå¥ã®ã¹ã¬ããã§å®è¡ããã</li> + <li>"Do pointless computations!" ãšèšèŒããããJavaScript ãå®è¡ãããã¿ã³ã</li> + <li>CSS ã¢ãã¡ãŒã·ã§ã³ãéå§ã»çµäºãããã¿ã³ãããã¯ãã©ãŠã¶ã«ãããã¯ã°ã©ãŠã³ãã§å®è¡ããã¿ã¹ã¯ãäžããŸãã</li> +</ul> + +<p>ã©ãžãªãã¿ã³ã§ "Use blocking call in main thread" ãéžæããŠãèšé²ãå§ããŸããã:</p> + +<ul> + <li>"Start animations" ãã¿ã³ãæŒããŸãã</li> + <li>ããã©ãŒãã³ã¹ãããã¡ã€ã«ã®èšé²ãå§ããŸãã</li> + <li>"Do pointless computations!" ãã¿ã³ã 2ïœ3 åæŒããŸãã</li> + <li>ãããã¡ã€ã«ã®èšé²ãçµäºããŸãã</li> +</ul> + +<p>ã©ã®ãããªçµæã«ãªããã¯ãã·ã³ã«ããç°ãªããŸããããããã以äžã®ããã«ãªãã§ããã:</p> + +<p><a id="js-blocking-overview" name="js-blocking-overview"><img alt="" src="https://mdn.mozillademos.org/files/10891/perf-js-blocking-overview.png" style="display: block; height: 113px; margin-left: auto; margin-right: auto; width: 800px;"></a></p> + +<p>ãã®ç»åã®äžååã¯<a href="/ja/docs/Tools/Performance/UI_Tour#Waterfall_overview">ãŠã©ãŒã¿ãŒãã©ãŒã«ã®æŠèŠ</a>ã§ããããã¯<a href="/ja/docs/Tools/Performance/Waterfall">ãŠã©ãŒã¿ãŒãã©ãŒã«</a>ãã³ã³ãã¯ãã«è¡šç€ºãããã¥ãŒã§ãããèšé²äžã«ãã©ãŠã¶ãè¡ã£ãåŠçã¯äœãã瀺ããŸãã<a href="/ja/docs/Tools/Performance/Waterfall#Markers">æ¡è²ã¯ã»ãšãã©ã®å Žå CSS ã®åèšç®ãäžéšã¯ãªãããŒã§ã</a>ãããã¯ããããã¡ã€ã«ã§çµå§å®è¡ããŠãã CSS ã¢ãã¡ãŒã·ã§ã³ã§ãããŸãé£ç¶ããã®æ©è²ã®ãããã¯ã 3 ã€ãããŸããããã㯠JavaScript ãå®è¡ããŠããããšãè¡šããŸããããããããã¿ã³ãæŒãããšãã§ãã</p> + +<p>äžååã¯ã¿ã€ã ã©ã€ã³ã®æŠèŠãšæç³»åãåãããããŠããã<a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a>ã瀺ããŠããŸããèšé²äžã®ã»ãšãã©ã¯ãã¬ãŒã ã¬ãŒããè¯å¥œã§ããããã¿ã³ãæŒããã³ã«å€§ããèœã¡èŸŒãã§ããŸãã</p> + +<p>ããã 3 ãæã®ãã¡ã²ãšã€ãéžæããŠãã¡ã€ã³ã®ãŠã©ãŒã¿ãŒãã©ãŒã«ãã¥ãŒã§è©³ããèŠãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10895/perf-js-blocking-waterfall.png" style="display: block; height: 306px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ããã§ã¯ãã¿ã³ãæŒãããšãã«ããã©ãŠã¶ã JavaScript ã®é¢æ°ãã²ãšã€ãŸãã¯é£ç¶çã«å®è¡ããŠãã¡ã€ã³ã¹ã¬ããã 71.73 ããªç§ãèšãæãããšãã¬ãŒã 4 ã€åã®æéãããã¯ããŠããŸãã</p> + +<p>ã©ã®é¢æ°ã§ããã? <a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ãã¥ãŒã«åãæ¿ãããšããããããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10893/perf-js-blocking-flame-chart.png" style="display: block; height: 230px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ããã¯ããã®æç¹ã§å®è¡ããŠãã JS ã®ã³ãŒã«ã¹ã¿ãã¯ã衚瀺ããŸããã¹ã¿ãã¯ã®äžçªäžã¯ <code>calculatePrimes()</code> ãšããé¢æ°ã§ããããã¡ã€ã«åãè¡çªå·ãããããŸãã以äžã«æ²èŒããã³ãŒãã§ãçŽè¿ã®åŒã³åºãå
ãèŠãŠã¿ãŸããã:</p> + +<pre class="brush: js">const iterations = 50; +const multiplier = 1000000000; + +function calculatePrimes(iterations, multiplier) { + var primes = []; + for (var i = 0; i < iterations; i++) { + var candidate = i * (multiplier * Math.random()); + var isPrime = true; + for (var c = 2; c <= Math.sqrt(candidate); ++c) { + if (candidate % c === 0) { + // not prime + isPrime = false; + break; + } + } + if (isPrime) { + primes.push(candidate); + } + } + return primes; +} + +function doPointlessComputationsWithBlocking() { + var primes = calculatePrimes(iterations, multiplier); + pointlessComputationsButton.disabled = false; + console.log(primes); +} +</pre> + +<p>ããã§ã¯ããªã倧ããªæ°ã«å¯ŸããŠã(ãšãŠãéå¹çãª) çŽ æ°ã®å€å®ã 50 åè¡ã£ãŠããŸãã</p> + +<h2 id="Using_requestAnimationFrame" name="Using_requestAnimationFrame">requestAnimationFrame ã䜿çšãã</h2> + +<p>ãã®åé¡ã解決ããããã®æåã®è©Šã¿ãšããŠãé¢æ°ãããã€ãã®èªå·±å
足ããå°ããªé¢æ°ã«åå²ããŠã<code><a href="/ja/docs/Web/API/window/requestAnimationFrame">requestAnimationFrame()</a></code> ã䜿çšããŠããããã¹ã±ãžã¥ãŒãªã³ã°ããŸãã</p> + +<p><code>requestAnimationFrame()</code> ã¯äžããããé¢æ°ããåãã¬ãŒã ã§åæç»ãè¡ãçŽåã«å®è¡ãããããã©ãŠã¶ã«æ瀺ããŸããããããã®é¢æ°ãé©åºŠã«å°ãããã°ããã©ãŠã¶ã¯å®è¡æéãããã¬ãŒã éã«äžããããæéå
ã«åããããšãã§ããã§ãããã</p> + +<p><code>calculatePrimes()</code> ã®åå²ã¯ãšãŠãã·ã³ãã«ã§ããå¥ã®é¢æ°ã§ãããããã®å€ãçŽ æ°ã§ãããã®èšç®ãè¡ããŸã:</p> + +<pre class="brush: js">function doPointlessComputationsWithRequestAnimationFrame() { + + function testCandidate(index) { + // finishing condition + if (index == iterations) { + console.log(primes); + pointlessComputationsButton.disabled = false; + return; + } + // test this number + var candidate = index * (multiplier * Math.random()); + var isPrime = true; + for (var c = 2; c <= Math.sqrt(candidate); ++c) { + if (candidate % c === 0) { + // not prime + isPrime = false; + break; + } + } + if (isPrime) { + primes.push(candidate); + } + // schedule the next + var testFunction = testCandidate.bind(this, index + 1); + window.requestAnimationFrame(testFunction); + } + + var primes = []; + var testFunction = testCandidate.bind(this, 0); + window.requestAnimationFrame(testFunction); +}</pre> + +<p>ãã¡ãã®ããŒãžã§ã³ãè©ŠããŠã¿ãŸãããã"Use requestAnimationFrame" ãšèšèŒãããã©ãžãªãã¿ã³ãéžæããŠãæ°ãã«ãããã¡ã€ã«ãèšé²ããŸãããããšãèšé²ã¯ä»¥äžã®ããã«ãªãã§ããã:</p> + +<p><a id="js-raf-overview" name="js-raf-overview"><img alt="" src="https://mdn.mozillademos.org/files/10897/perf-js-raf-overview.png" style="display: block; height: 112px; margin-left: auto; margin-right: auto; width: 800px;"></a></p> + +<p>ããã¯ãŸãã«ãç§ãã¡ãæåŸ
ããŠãããã®ã§ãã<a href="#js-blocking-overview">äžç¶ãã®æ©è²ã®ãããã¯</a>ã«ä»£ããããã¿ã³ãæŒããã³ã«ãšãŠãçãæ©è²ã®ãããã¯ããããã䞊ãã§ããŸããæ©è²ã®ãããã¯ã¯ 1 åãã€ã®ãã¬ãŒã ã«åãããŠçŸããŠããããŸãããããã®ãããã¯ãã<code>requestAnimationFrame()</code> ããåŒã³åºãããé¢æ° 1 åãè¡šããŠããŸãããªãããã®ãããã¡ã€ã«ã§ã¯ãã¿ã³ã 2 åããæŒããŠããªãããšã«æ³šæããŠãã ããã</p> + +<p>é¢æ°ã®åŒã³åºã㯠CSS ã¢ãã¡ãŒã·ã§ã³ã«ç±æ¥ããæ¡è²ã®ãããã¯ã®éã«æã¿èŸŒãŸããŠããããŸãããããã®é¢æ°ã¯ãå
šäœã®ãã¬ãŒã ã¬ãŒããèœãšãããšãªãåŠçã§ããã»ã©ååã«å°ãããªã£ãŠããŸãã</p> + +<p>ããã§ã¯ <code>requestAnimationFrame</code> ãå¿çæ§ã®åé¡ã®è§£æ±ºçãšããŠæ©èœããŸããããæœåšçãªåé¡ç¹ã 2 ã€ãããŸã:</p> + +<ul> + <li>é·ãéå®è¡ããé¢æ°ããåå¥ã®èªå·±å
足ããé¢æ°ã«åå²ããããšãé£ããå ŽåããããŸããä»åã®ã·ã³ãã«ãªã±ãŒã¹ã§ããããè€éãªã³ãŒãã«ãªããŸããã</li> + <li>åå²ããããŒãžã§ã³ã§ã¯ãå®è¡æéãé·ããªããŸããå®ã¯ãåŠçã«ã©ãã ããããããããªãæ£ç¢ºã«èšãããšãã§ããŸããåŠç㯠50 åç¹°ãè¿ããŠããããŸããã©ãŠã¶ã¯ 1 ç§éã«çŽ 60 åã®ãã¬ãŒã ãçæããŸãããã£ãŠããã¹ãŠã®èšç®ãå®è¡ããããã«ã¯ã»ãŒ 1 ç§ããããããã¯ãŠãŒã¶ãšã¯ã¹ããªãšã³ã¹ããããã¡ã€ã«ããæããã«ãªããŸãã</li> +</ul> + +<h2 id="Using_web_workers" name="Using_web_workers">Web Worker ã䜿çšãã</h2> + +<p>ããã§ã¯ãWeb Worker ã䜿çšããŠåé¡ã解決ããŸããWeb Worker ã䜿çšãããšãå¥ã®ã¹ã¬ãã㧠JavaScript ãå®è¡ã§ããŸããã¡ã€ã³ã¹ã¬ãããš Worker ã¹ã¬ããã¯äºãã«çŽæ¥åŒã³åºãããšã¯ã§ããŸããããéåæã¡ãã»ãŒãž API ã䜿çšããŠéä¿¡ã§ããŸãã</p> + +<p>ã¡ã€ã³ã¹ã¬ããã®ã³ãŒãã¯ä»¥äžã®ããã«ãªããŸã:</p> + +<pre class="brush: js">const iterations = 50; +const multiplier = 1000000000; + +var worker = new Worker("js/calculate.js"); + +function doPointlessComputationsInWorker() { + + function handleWorkerCompletion(message) { + if (message.data.command == "done") { + pointlessComputationsButton.disabled = false; + console.log(message.data.primes); + worker.removeEventListener("message", handleWorkerCompletion); + } + } + + worker.addEventListener("message", handleWorkerCompletion, false); + + worker.postMessage({ + "multiplier": multiplier, + "iterations": iterations + }); +}</pre> + +<p>å
ã®ã³ãŒããšæ¯ã¹ããšãã®äž»ãªéãã¯ã以äžã®ãã®ãå¿
èŠã§ããããšã§ã:</p> + +<ul> + <li>Worker ãäœæãã</li> + <li>èšç®ã®æºåãã§ãããšãã«ãWorker ãžã¡ãã»ãŒãžãéä¿¡ãã</li> + <li>"done" ã¡ãã»ãŒãžããªãã¹ã³ãããããã¯ãWorker ãå®äºããããšã瀺ãã¡ãã»ãŒãžã§ãã</li> +</ul> + +<p>ãŸããæ°ãã« "calculate.js" ãã¡ã€ã«ãå¿
èŠã§ããããã¡ãã¯ä»¥äžã®ããã«ãªããŸã:</p> + +<pre class="brush: js">self.addEventListener("message", go); + +function go(message) { + var iterations = message.data.iterations; + var multiplier = message.data.multiplier; + primes = calculatePrimes(iterations, multiplier); + + self.postMessage({ + "command":"done", + "primes": primes + }); +} + +function calculatePrimes(iterations, multiplier) { + var primes = []; + for (var i = 0; i < iterations; i++) { + var candidate = i * (multiplier * Math.random()); + var isPrime = true; + for (var c = 2; c <= Math.sqrt(candidate); ++c) { + if (candidate % c === 0) { + // not prime + isPrime = false; + break; + } + } + if (isPrime) { + primes.push(candidate); + } + } + return primes; +}</pre> + +<p>Worker ã§ã¯åŠçã®éå§ãæ瀺ããã¡ãã»ãŒãžããªãã¹ã³ãããããã³åŠçãå®äºãããšãã« "done" ã¡ãã»ãŒãžãéãããšãå¿
èŠã§ããå®éã«èšç®ãè¡ã£ãŠããéšåã®ã³ãŒãã¯ãæåã®ããŒãžã§ã³ã®ã³ãŒããšå®å
šã«åãã§ãã</p> + +<p>ãã®ããŒãžã§ã³ã¯ã©ã®ããã«å®è¡ãããã®ã§ããã? ã©ãžãªãã¿ã³ã "Use a worker" ã«åãæ¿ããŠãæ°ãã«ãããã¡ã€ã«ãèšé²ããŠãã ãããçµæã¯ä»¥äžã®ããã«ãªãã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10899/perf-js-worker-overview.png" style="display: block; height: 112px; margin-left: auto; margin-right: auto; width: 800px;"></p> + +<p>ãã®ãããã¡ã€ã«ã§ã¯ããã¿ã³ã 3 åæŒããŠããŸãããŠã©ãŒã¿ãŒãã©ãŒã«ã®æŠèŠã§<a href="#js-blocking-overview">å
ã®ããŒãžã§ã³ãšæ¯ã¹ããš</a>ããã¿ã³ãæŒãããšãã«ã¯ãšãŠãçãæ©è²ã®ããŒã«ãŒã 2 åããããšãããããŸã:</p> + +<ul> + <li>click ã€ãã³ãã®åŠçãš Worker ã®åŠçéå§ãè¡ãã<code>doPointlessComputationsInWorker()</code> é¢æ°</li> + <li>Worker ã "done" ãçºä¿¡ãããšãã«å®è¡ãããã<code>handleWorkerCompletion()</code> é¢æ°</li> +</ul> + +<p>ããã 2 ã€ã®é¢æ°ã®é㧠Worker ã¯çŽ æ°ã®å€å®ãè¡ã£ãŠããŸãããã¡ã€ã³ã¹ã¬ããã®å¿çæ§ã«ã¯å°ãã圱é¿ãäžããŠããªãããã«èŠåããããŸããããã¯ããåŸãªããšæããããããŸããããWorker ã¯å¥ã®ã¹ã¬ããã§å®è¡ããŸãã®ã§ãã«ãã³ã¢ããã»ããµã®å©ç¹ã享åã§ããŸããããã¯ã·ã³ã°ã«ã¹ã¬ããã® Web ãµã€ãã§ã¯åŸãããŸããã</p> + +<p>Web Worker ã®äž»ãªå¶éã¯ãWorker ã§å®è¡ããã³ãŒãã§ã¯ DOM API ã䜿çšã§ããªãããšã§ãã</p> diff --git a/files/ja/tools/performance/ui_tour/index.html b/files/ja/tools/performance/ui_tour/index.html new file mode 100644 index 0000000000..ed58a0c021 --- /dev/null +++ b/files/ja/tools/performance/ui_tour/index.html @@ -0,0 +1,125 @@ +--- +title: UI ãã¢ãŒ +slug: Tools/Performance/UI_Tour +translation_of: Tools/Performance/UI_Tour +--- +<div>{{ToolsSidebar}}</div><p>ããã©ãŒãã³ã¹ããŒã«ã® UI ã¯ã倧ãã 4 ã€ã«åããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13220/perf-tool-pieces.png" style="display: block; height: 351px; margin-left: auto; margin-right: auto; width: 808px;"></p> + +<ul> + <li><a href="/ja/docs/Tools/Performance/UI_Tour#Toolbar">ããŒã«ããŒ</a></li> + <li><a href="/ja/docs/Tools/Performance/UI_Tour#Recordings_pane">èšé²ãã€ã³</a></li> + <li><a href="/ja/docs/Tools/Performance/UI_Tour#Recording_overview">èšé²ã®æŠèŠ</a></li> + <li><a href="/ja/docs/Tools/Performance/UI_Tour#Details_pane">詳现ãã€ã³</a>ãããã¯ä»¥äžã®ãããããå
¥ããŸã: + <ul> + <li><a href="/ja/docs/Tools/Performance/Waterfall">ã¿ã€ã ã©ã€ã³</a></li> + <li><a href="/ja/docs/Tools/Performance/Call_Tree">åŒã³åºãããªãŒ</a></li> + <li><a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a></li> + </ul> + </li> +</ul> + +<h2 id="Toolbar" name="Toolbar">ããŒã«ããŒ</h2> + +<p>ããŒã«ããŒã«ã¯ã以äžã®ãã¿ã³ããããŸã:</p> + +<ul> + <li>èšé²ãéå§ããã³çµäºãã</li> + <li>éå»ã«ä¿åããèšé²ãã€ã³ããŒããã</li> + <li>èšé²ãã€ã³ãæ¶å»ããã<em>ãããè¡ããšãæªä¿åã®èšé²ããã¹ãŠå€±ãã®ã§æ³šæããŠãã ããã</em></li> + <li>ã¿ã€ã ã©ã€ã³ãã¥ãŒã§è¡šç€ºãã<a href="/ja/docs/Tools/Performance/Waterfall#Markers">ããŒã«ãŒ</a>ããã£ã«ã¿ãªã³ã°ãã</li> + <li><a href="/ja/docs/Tools/Performance/UI_Tour#Details_pane">詳现ãã€ã³</a>ã®ããŒã«ãåãæ¿ãã</li> + <li>èšå®çšã®ãããã¢ããã¡ãã¥ãŒãéã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13222/perf-toolbar.png" style="display: block; height: 434px; margin-left: auto; margin-right: auto; width: 836px;"></p> + +<h2 id="Recordings_pane" name="Recordings_pane">èšé²ãã€ã³</h2> + +<p>èšé²ãã€ã³ã§ã¯ãçŸåšã®ã»ãã·ã§ã³ã§ååŸããèšé²ãã€ã³ããŒãããèšé²ãå«ããèªã¿èŸŒã¿æžã¿ã®å
šèšé²ãäžèŠ§è¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10917/perf-recordings-pane.png" style="display: block; height: 337px; margin-left: auto; margin-right: auto; width: 300px;"></p> + +<p>ãã€ã§ãèšé²ãéžæãããšããã®èšé²ã®æ
å ±ãä»ã®ãã€ã³ã«è¡šç€ºããŸããèšé²ãã€ã³ã§å¥ã®é
ç®ãã¯ãªãã¯ãããšããã®èšé²ãéžæã§ããŸãã"ä¿å" ãã¯ãªãã¯ãããšãèšé²ã JSON ãã¡ã€ã«ãšããŠä¿åã§ããŸãã</p> + +<h2 id="Recording_overview" name="Recording_overview">èšé²ã®æŠèŠ</h2> + +<p>ããã§ã¯ãX 軞ãæéãšããŠèšé²å
šäœã®æŠèŠã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10919/perf-overview.png" style="display: block; height: 164px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p>ããã«ã¯ã¿ã€ã ã©ã€ã³ã®æŠèŠãšãã¬ãŒã ã¬ãŒãã®ã°ã©ããšããã2 ã€ã®èŠçŽ ããããŸãã</p> + +<h3 id="Waterfall_overview" name="Waterfall_overview">ã¿ã€ã ã©ã€ã³ã®æŠèŠ</h3> + +<p>ããã§ã¯ã<a href="/ja/docs/Tools/Performance/Waterfall">ã¿ã€ã ã©ã€ã³</a>ãã³ã³ãã¯ãã«è¡šç€ºãããã¥ãŒãæäŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10923/perf-waterfall-overview.png" style="display: block; height: 76px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p>èšé²ããåŠçã¯ã<a href="/ja/docs/Tools/Performance/Waterfall#Markers">ã¿ã€ã ã©ã€ã³ãã¥ãŒãšåãæ¹åŒ</a>ã§è²åããããŸãã</p> + +<h3 id="Frame_rate_graph" name="Frame_rate_graph">ãã¬ãŒã ã¬ãŒãã®ã°ã©ã</h3> + +<p>ãã¬ãŒã ã¬ãŒãã¯ãèšé²ããŠããéã®ãã©ãŠã¶ã®å¿çæ§ãæŠèŠ³ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10921/perf-frame-rate.png" style="display: block; height: 88px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p><a href="/ja/docs/Tools/Performance/Frame_rate">ãã¬ãŒã ã¬ãŒã</a>ã®åå¥èšäºãã芧ãã ããã</p> + +<h3 id="Correlating_events" name="Correlating_events">ã€ãã³ããé¢é£ã¥ãã</h3> + +<p>è€æ°ã®èŠçŽ ãåæããŠãããããããèŠçŽ ã®ã€ãã³ããšå¥ã®èŠçŽ ã®ã€ãã³ãã«é¢é£æ§ãèŠãã ããå ŽåããããŸãã</p> + +<p>äŸãã°ä»¥äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãé·æéã®æç»æäœ (ã¿ã€ã ã©ã€ã³ã®æŠèŠã§ã¯<a href="/ja/docs/Tools/Performance/Waterfall#Markers">ç·è²ã®ããŒã§è¡šç€º</a>) ãšãã¬ãŒã ã¬ãŒãã®èœã¡èŸŒã¿ã«é¢é£æ§ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10925/perf-overview-correlation.png" style="display: block; height: 494px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<h3 id="Zooming_in" name="Zooming_in">æ¡å€§</h3> + +<p>èšé²ã詳ãã調æ»ãããããæŠèŠãã¥ãŒã§èšé²ã®äžéšåãéžæã§ããŸããäžéšåãéžæãããšããã®éšåã ããå«ãããã«ã¡ã€ã³ãã¥ãŒãæŽæ°ããŸãã以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãã¬ãŒã ã¬ãŒããèœã¡èŸŒãã éšåãéžæããŠãé·æéã®æç»æäœã詳ããèŠãŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10927/perf-zoomed.png" style="display: block; height: 416px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<h2 id="Details_pane" name="Details_pane">詳现ãã€ã³</h2> + +<p>詳现ãã€ã³ã§ã¯ãéžæããããŒã«ã®æ
å ±ã衚瀺ããŸããããŒã«ãåãæ¿ããã«ã¯ã<a href="/ja/docs/Tools/Performance/UI_Tour#Toolbar">ããŒã«ããŒ</a>ã®ãã¿ã³ã䜿çšããŠãã ããã</p> + +<h3 id="Waterfall" name="Waterfall">ã¿ã€ã ã©ã€ã³</h3> + +<p>ã¿ã€ã ã©ã€ã³ã§ã¯ãèšé²äžã«ãã©ãŠã¶ãå®è¡ããæäœ (JavaScript ãå®è¡ãCSS ãæŽæ°ãããŒãžã®ã¬ã€ã¢ãŠããæŽæ°ãåæç»ãå®è¡ãªã©) ã衚瀺ããŸããX 軞ã¯æéãè¡šããèšé²ããæäœãæ»ã®ããã«ããŸããã©ãŠã¶ãå®è¡ããæäœã®é£ç¶æ§ãåæ ããããã«é
眮ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10929/perf-waterfall.png" style="display: block; height: 568px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p>ã¿ã€ã ã©ã€ã³ã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Performance/Waterfall">ã¿ã€ã ã©ã€ã³</a>ã®ããŒãžãã芧ãã ããã</p> + +<h3 id="Call_Tree" name="Call_Tree">åŒã³åºãããªãŒ</h3> + +<p>åŒã³åºãããªãŒã¯ãããŒãžã§å®è¡ããŠãã JavaScript ã®ãµã³ããªã³ã°ãããã¡ã€ã©ã§ãããã㯠JavaScript ãšã³ãžã³ã®ç¶æ
ãå®æçã«ãµã³ããªã³ã°ããŠããã®æç¹ã®ã³ãŒãå®è¡ã®ã¹ã¿ãã¯ãèšé²ããŸããçµ±èšçã«ãåã
ã®é¢æ°ãå®è¡ããŠãããšãã«ååŸãããµã³ãã«æ°ã¯ãã©ãŠã¶ãå®è¡ã«ãããæéã«å¯Ÿå¿ããŸãã®ã§ãã³ãŒãå
ã®ããã«ããã¯ãçºèŠã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10949/perf-call-tree.png" style="display: block; height: 384px; margin-left: auto; margin-right: auto; width: 972px;"><br> + åŒã³åºãããªãŒã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Performance/Call_Tree">ã³ãŒã«ããªãŒ</a>ã®ããŒãžãã芧ãã ããã</p> + +<h3 id="Flame_Chart" name="Flame_Chart">ãã¬ãŒã ãã£ãŒã</h3> + +<p>åŒã³åºãããªãŒãèšé²äžã«ãµã€ãã®ã©ã®é¢æ°ã§ããã£ãšãå€ãã®å®è¡æéãããã£ããã瀺ããã®ã§ãããªãããã¬ãŒã ãã£ãŒãã¯å®è¡äžã®ããæç¹ã®ã³ãŒã«ã¹ã¿ãã¯ã瀺ããã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10933/perf-flame-chart.png" style="display: block; height: 504px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p>ãã¬ãŒã ãã£ãŒãã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Performance/Flame_Chart">ãã¬ãŒã ãã£ãŒã</a>ã®ããŒãžãã芧ãã ããã</p> + +<h3 id="Allocations" name="Allocations">ã¡ã¢ãªå²ãåœãŠ</h3> + +<div class="geckoVersionNote"> +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯ãFirefox 46 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯åŒã³åºãããªãŒãã¥ãŒãšäŒŒãŠããŸããããã¡ãã¯ã¡ã¢ãªå²ãåœãŠã«ç¹åãããã¥ãŒã§ãããããã¡ã€ã«ã®äžã§ããŒãžå
ã®ã©ã®é¢æ°ããã£ãšãå€ãã®ã¡ã¢ãªå²ãåœãŠãè¡ã£ããã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12413/allocations-view-1.png" style="display: block; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã¯ããããã¡ã€ã«ãèšé²ããåã«ããã©ãŒãã³ã¹ããŒã«ã®èšå®ã§ "ã¡ã¢ãªå²ãåœãŠãèšé²" ã«ãã§ãã¯ãå
¥ããå Žåã«éã衚瀺ããŸã:</p> + +<p>{{EmbedYouTube("Le9tTo7bqts")}}</p> + +<p>ã¡ã¢ãªå²ãåœãŠãã¥ãŒã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Performance/Allocations">ã¡ã¢ãªå²ãåœãŠãã¥ãŒ</a>ã®ããŒãžãã芧ãã ããã</p> diff --git a/files/ja/tools/performance/waterfall/index.html b/files/ja/tools/performance/waterfall/index.html new file mode 100644 index 0000000000..738de4cd72 --- /dev/null +++ b/files/ja/tools/performance/waterfall/index.html @@ -0,0 +1,478 @@ +--- +title: ã¿ã€ã ã©ã€ã³ +slug: Tools/Performance/Waterfall +translation_of: Tools/Performance/Waterfall +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>ã¿ã€ã ã©ã€ã³ã¯ããµã€ããã¢ããªã®å®è¡ã§ãã©ãŠã¶ãè¡ã£ãããŸããŸãªããšã«ã€ããŠç¥èŠãåŸããã®ã§ããããã¯ããµã€ããå®è¡ãããšãã«ãã©ãŠã¶ãè¡ã£ãããšã¯ããŸããŸãªçš®é¡ (JavaScript ãå®è¡ãã¬ã€ã¢ãŠããæŽæ°ãªã©) ã«åé¡ã§ãããŸãããæç¹ã§ãã©ãŠã¶ã¯ãããã®ãããããè¡ã£ãŠãããšããèãæ¹ã«åºã¥ããŠããŸãã</p> + +<p>ãã£ãŠãäŸãã°ãã¬ãŒã ã¬ãŒããèœã¡èŸŒããªã©ããã©ãŒãã³ã¹ã®åé¡ã®å
åããããšãã¯ã¿ã€ã ã©ã€ã³ãéããŠãèšé²äžã®ããæç¹ã§ãã©ãŠã¶ãäœãè¡ã£ãŠããããç¥ãããšãã§ããŸãã</p> +</div> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10951/perf-waterfall.png" style="display: block; height: 568px; margin-left: auto; margin-right: auto; width: 972px;"></p> + +<p>X 軞ã«æ²¿ã£ãŠæéãè¡šããŸããèšé²ããæäœã¯ããŒã«ãŒãšåŒã³ããã©ãŠã¶ãå®è¡ããæäœã®é£ç¶æ§ãåæ ããæ»ã®ãããªé
眮ã§ãæ°Žå¹³æ¹åã®ããŒãšããŠè¡šç€ºããŸãã</p> + +<p>ããŒã«ãŒãéžæãããšã詳现æ
å ±ãå³åŽã®ãµã€ãããŒã§è¡šç€ºããŸããããã§ã¯ããŒã«ãŒã®é·ããã<a href="/ja/docs/Tools/Performance/Waterfall#Markers">ããŒã«ãŒã®çš®é¡</a>ã«ç¹æã®è©³çŽ°æ
å ±ã衚瀺ããŸãã</p> + +<h2 id="Markers" name="Markers"><a id="timeline-color-coding" name="timeline-color-coding"></a>ããŒã«ãŒ</h2> + +<p>æäœã瀺ãããŒã«ãŒã¯ãè²åãããã³ååä»ããããŠããŸãã以äžã®æäœãèšé²ããŸã:</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col" style="width: 20%;">å称ããã³èª¬æ</th> + <th scope="col">è²</th> + <th scope="col">詳现æ
å ±</th> + </tr> + </thead> + <tbody> + <tr> + <td style="width: 40%;"> + <p><a id="DOM_Event_Marker" name="DOM_Event_Marker"><strong>DOM ã€ãã³ã</strong></a></p> + + <p>DOM ã€ãã³ããžã®å¿çãšããŠå®è¡ãã JavaScript ã³ãŒãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10703/orange.png" style="height: 21px; width: 60px;"></td> + <td style="width: 45%;"> + <dl> + <dt>ã€ãã³ãçš®å¥</dt> + <dd>äŸãã° "click" ã "message" ãªã©ã</dd> + </dl> + + <dl> + <dt>ãã§ãŒãº</dt> + <dd>äŸãã° "ã¿ãŒã²ãã" ã "ãã£ããã£" ãªã©ã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p>ããŒãžå
ã§å®è¡ããã JavaScript é¢æ°ã¯ãé¢æ°ãåŒã³åºãããçç±ã«å¿ããŠååä»ãããŸã:</p> + + <p><strong>Script Tag<br> + setInterval<br> + setTimeout<br> + requestAnimationFrame<br> + Promise Callback<br> + Promise Init<br> + Worker<br> + JavaScript URI<br> + Event Handler</strong></p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10703/orange.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>ã¹ã¿ãã¯</dt> + <dd>é¢æ°ã«ã€ãªããã³ãŒã«ã¹ã¿ãã¯ã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>HTML ããŒã¹</strong></p> + + <p>ããŒãžã® HTML ãããŒã¹ããããã«è²»ãããæéã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10703/orange.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>ã¹ã¿ãã¯</dt> + <dd>é¢æ°ã«ã€ãªããã³ãŒã«ã¹ã¿ãã¯ã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>XML ããŒã¹</strong></p> + + <p>ããŒãžã® XML ãããŒã¹ããããã«è²»ãããæéã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10703/orange.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>ã¹ã¿ãã¯</dt> + <dd>é¢æ°ã«ã€ãªããã³ãŒã«ã¹ã¿ãã¯ã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>CSS åèšç®</strong></p> + + <p>ããŒãžã®èŠçŽ ã«é©çšããç®åºã¹ã¿ã€ã«ãç®åºããã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10707/purple.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>CSS åèšç®ã®ãã³ã</dt> + <dd>ã©ã®ãããªã¹ã¿ã€ã«åé©çšãå¿
èŠãã瀺ãæååã以äžã®ãããããæããããšããŠæ瀺ããŸã:<br> + Self<br> + Subtree<br> + LaterSiblings<br> + CSSTransitions<br> + CSSAnimations<br> + SVGAttrAnimations<br> + StyleAttribute<br> + StyleAttribute_Animations<br> + Force<br> + ForceDescendants</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>ã¬ã€ã¢ãŠã</strong></p> + + <p>ããŒãžã®èŠçŽ ã®äœçœ®ããµã€ãºãèšç®ããããã®æäœã¯ã"ãªãããŒ" ãšåŒã°ããããšããããŸãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10707/purple.png" style="height: 21px; width: 60px;"></td> + <td> </td> + </tr> + <tr> + <td> + <p><strong>æç»</strong></p> + + <p>ã¹ã¯ãªãŒã³ã«ãã¯ã»ã«ãæç»ããã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10705/green.png" style="height: 21px; width: 60px;"></td> + <td> </td> + </tr> + <tr> + <td> + <p><strong>ã¬ããŒãžã³ã¬ã¯ã·ã§ã³</strong></p> + + <p><a href="/ja/docs/Tools/Performance/Waterfall#Garbage_collection">ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã€ãã³ã</a>ããã³ã€ã³ã¯ãªã¡ã³ã¿ã« GC ã€ãã³ãã«ã¯ "(éã€ã³ã¯ãªã¡ã³ã¿ã«)" ãä»å ããã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10709/red.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>çºçæº</dt> + <dd>GC ãå®è¡ããçç±ã瀺ãæååã</dd> + <dt>éã€ã³ã¯ãªã¡ã³ã¿ã« GC ã®çºçæº</dt> + <dd>GC ãã€ã³ã¯ãªã¡ã³ã¿ã«ã§ã¯ãªãå Žåã«ããã³ã€ã³ã¯ãªã¡ã³ã¿ã« GC ãå®è¡ããçç±ã瀺ãæååã衚瀺ã</dd> + </dl> + + <div class="geckoVersionNote"> + <p>Firefox 46 ã®æ°æ©èœ: GC ã€ãã³ããã¡ã¢ãªå²ãåœãŠã®å§åã«ãã£ãŠçºçããå Žåã¯ã"Show Allocation Triggers" ãšãããªã³ã¯ã衚瀺ããŸãããã®ãªã³ã¯ãã¯ãªãã¯ãããšãGC ã€ãã³ãã®åå ã«ãªã£ãã¡ã¢ãªå²ãåœãŠã®ãããã¡ã€ã«ã衚瀺ããŸãã</p> + + <p>詳ããã¯<a href="/ja/docs/Tools/Performance/Allocations#Allocations_and_garbage_collection">ã¡ã¢ãªå²ãåœãŠãšã¬ããŒãžã³ã¬ã¯ã·ã§ã³</a>ãã芧ãã ããã</p> + </div> + </td> + </tr> + <tr> + <td> + <p><strong>ãµã€ã¯ã«ã³ã¬ã¯ã·ã§ã³</strong></p> + + <p>C++ ã®åç
§ã«ãŠã³ããæã€ããŒã¿æ§é ãååããŸãã</p> + + <p>ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ã«äŒŒãŠããŸããããã¡ã㯠C++ ã®ãªããžã§ã¯ãåãã§ãã<a href="http://blog.kylehuey.com/post/27564411715/cycle-collection">Kyle Huey ã®ãµã€ã¯ã«ã³ã¬ã¯ã·ã§ã³ã«é¢ããããã°èšäº</a>ãã芧ãã ããã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10709/red.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>çš®å¥</dt> + <dd>åžžã« "Collect" ã«ãªããŸãã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>CC ã°ã©ãåæž</strong></p> + + <p>ãµã€ã¯ã«ã³ã¬ã¯ã·ã§ã³ã®æºåãäºåã®æé©åã§ãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10709/red.png" style="height: 21px; width: 60px;"></td> + <td> + <dl> + <dt>çš®å¥</dt> + <dd>åžžã« "ForgetSkippable" ã«ãªããŸãã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>ã³ã³ãœãŒã«</strong></p> + + <p><code>console.time()</code> ããã³ <code>console.timeEnd()</code> ãåŒã³åºããéã®æéã«åèŽããã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10955/gray.png" style="height: 54px; width: 60px;"></td> + <td> + <dl> + <dt>ã¿ã€ããŒå</dt> + <dd><code>console</code> ã«æž¡ããåŒæ°ã</dd> + <dt>ã¹ã¿ãã¯éå§</dt> + <dd>é¢æ°ã«ã€ãªããã³ãŒã«ã¹ã¿ã㯠<code>console.time()</code>ã</dd> + <dt>ã¹ã¿ãã¯çµäº</dt> + <dd>(Firefox 41 ã®æ°æ©èœ) <code>console.timeEnd()</code> æç¹ã®ã³ãŒã«ã¹ã¿ãã¯ã<code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></code> ç±æ¥ã®ã³ãŒã«ããã¯å
ã«ããå Žåã¯ã<a href="/ja/docs/Tools/Performance/Waterfall#Async_stack">"Async stack"</a> ãšã衚瀺ããŸãã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>ã¿ã€ã ã¹ã¿ã³ã</strong></p> + + <p><code><a href="/ja/docs/Web/API/Console/timeStamp">console.timeStamp()</a></code> ã 1 ååŒã³åºãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/10953/blue.png" style="height: 54px; width: 60px;"></td> + <td> + <dl> + <dt>Label</dt> + <dd><code>timeStamp()</code> ã«æž¡ããåŒæ°ã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>DOMContentLoaded</strong></p> + + <p>ããã¥ã¡ã³ãã® <code><a href="/ja/docs/Web/Events/DOMContentLoaded">DOMContentLoaded</a></code> ã€ãã³ãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/12191/red.png" style="height: 21px; width: 60px;"></td> + <td> </td> + </tr> + <tr> + <td> + <p><strong>Load</strong></p> + + <p>ããã¥ã¡ã³ãã® <code><a href="/ja/docs/Web/Events/load">load</a></code> ã€ãã³ãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/12193/blue.png" style="height: 21px; width: 60px;"></td> + <td> </td> + </tr> + <tr> + <td> + <p><strong>ã¡ã€ã³ã¹ã¬ããã® Worker ã€ãã³ã</strong></p> + + <p>ã¡ã€ã³ã¹ã¬ããã Worker ã«ã¡ãã»ãŒãžãéä¿¡ãããšãããŸã㯠Worker ããã¡ãã»ãŒãžãåãåã£ããšãã«è¡šç€ºããŸãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/12195/orange2.png" style="height: 21px; width: 60px;"></td> + <td> + <p>以äžã®ãããã:</p> + + <dl> + <dt>ã¡ã€ã³ã¹ã¬ããã§ããŒã¿ãã·ãªã¢ã©ã€ãº</dt> + <dd>ã¡ã€ã³ã¹ã¬ããã¯ãWorker ã«éä¿¡ããã¡ãã»ãŒãžãã·ãªã¢ã©ã€ãºããŸãã</dd> + <dt>ã¡ã€ã³ã¹ã¬ããã§ããŒã¿ããã·ãªã¢ã©ã€ãº</dt> + <dd>ã¡ã€ã³ã¹ã¬ããã¯ãWorker ããåãåã£ãã¡ãã»ãŒãžããã·ãªã¢ã©ã€ãºããŸãã</dd> + </dl> + </td> + </tr> + <tr> + <td> + <p><strong>Worker ã¹ã¬ããã® Worker ã€ãã³ã</strong></p> + + <p>Worker ãã¡ã€ã³ã¹ã¬ããããã¡ãã»ãŒãžãåãåã£ããšãããŸãã¯ã¡ã€ã³ã¹ã¬ããã«ã¡ãã»ãŒãžãéä¿¡ãããšãã«è¡šç€ºããŸãã</p> + </td> + <td><img alt="" src="https://mdn.mozillademos.org/files/12197/orange2-hollow.png" style="height: 21px; width: 60px;"></td> + <td> + <p>以äžã®ãããã:</p> + + <dl> + <dt>Worker ã§ããŒã¿ãã·ãªã¢ã©ã€ãº</dt> + <dd>Worker ã¯ãã¡ã€ã³ã¹ã¬ããã«éä¿¡ããã¡ãã»ãŒãžãã·ãªã¢ã©ã€ãºããŸãã</dd> + <dt>Worker ã§ããŒã¿ããã·ãªã¢ã©ã€ãº</dt> + <dd>Worker ã¯ãã¡ã€ã³ã¹ã¬ããããåãåã£ãã¡ãã»ãŒãžããã·ãªã¢ã©ã€ãºããŸãã</dd> + </dl> + </td> + </tr> + </tbody> +</table> + +<p>ããŒã«ãŒãšãã®è²ã¯ã¿ã€ã ã©ã€ã³ããŒã«ãš<a href="/ja/docs/Tools/Performance/UI_Tour#Waterfall_overview">ã¿ã€ã ã©ã€ã³ã®æŠèŠ</a>ã§åãã§ãããåæ¹ãé¢é£ã¥ããããšã容æã«ãªããŸãã</p> + +<h3 id="Filtering_markers" name="Filtering_markers">ããŒã«ãŒã®ãã£ã«ã¿ãªã³ã°</h3> + +<p><a href="/ja/docs/Tools/Performance/UI_Tour#Toolbar">ããŒã«ããŒ</a>ã®ãã¿ã³ã䜿çšããŠã衚瀺ããããŒã«ãŒãå¶åŸ¡ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13238/perf-markers.png" style="display: block; height: 694px; margin-left: auto; margin-right: auto; width: 799px;"></p> + +<h2 id="Waterfall_patterns" name="Waterfall_patterns">ã¿ã€ã ã©ã€ã³ã®ãã¿ãŒã³</h2> + +<p>ã¿ã€ã ã©ã€ã³ãã©ãèŠãããã¯ããµã€ãã§è¡ã£ãŠããããšã®çš®é¡ã«åŒ·ãäŸåããŸããJavaScript ãå€ã䜿çšãããµã€ãã§ã¯æ©è²ãå€ã衚瀺ãããèŠèŠçã«åçãªãµã€ãã§ã¯çŽ«è²ãç·è²ãå€ããªãã§ããããããã§ãããã©ãŒãã³ã¹ã®åé¡ãããå¯èœæ§ãèŠåãããäžè¬çãªãã¿ãŒã³ããããŸãã</p> + +<h3 id="Rendering_waterfall" name="Rendering_waterfall">ã¿ã€ã ã©ã€ã³ã®æç»</h3> + +<p>ã¿ã€ã ã©ã€ã³ãã¥ãŒã§ããèŠããã¿ãŒã³ã¯ã以äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10711/perf-timeline-waterfall.png" style="display: block; height: 286px; margin-left: auto; margin-right: auto; width: 727px;"></p> + +<p>ããã¯ããã©ãŠã¶ãã€ãã³ããžã®å¿çãšããŠããŒãžã®æŽæ°ãè¡ããšãã®åºæ¬çãªã¢ã«ãŽãªãºã ãèŠèŠããŠããŸã:</p> + +<ol> + <li><strong>JavaScript é¢æ°åŒã³åºã</strong>: DOM ã€ãã³ããªã©ã®ã€ãã³ãããããŒãžå
ã® JavaScript ãå®è¡ããŸããJavaScript ã¯ãããŒãžã® DOM ã CSSOM ãå€æŽããŸãã</li> + <li><strong>ã¹ã¿ã€ã«ãåèšç®</strong>: ããŒãžã®èŠçŽ ã®ç®åºã¹ã¿ã€ã«ãå€åãããšãã©ãŠã¶ãå€æããå Žåã¯ãããããåèšç®ããªããã°ãªããŸããã</li> + <li><strong>ã¬ã€ã¢ãŠã</strong>: ç¶ããŠãèŠçŽ ã®äœçœ®ã圢ç¶ãèšç®ããããã«ç®åºã¹ã¿ã€ã«ã䜿çšããŸãããã®æäœã¯ "ã¬ã€ã¢ãŠã" ãšåä»ããããŠããŸããã"ãªãããŒ" ãšãåŒã°ããŸãã</li> + <li><strong>æç»</strong>: ãããŠããã©ãŠã¶ã¯ã¹ã¯ãªãŒã³ã«èŠçŽ ãåæç»ããªããã°ãªããŸãããæåŸã®ã¹ãããã¯ãã®æµãã§ç€ºããŠããŸãããããŒãžã¯è€æ°ã®ã¬ã€ã€ãŒã«åå²ããããããããç¬ç«ããŠæç»ããåŸã«ã"ã³ã³ããžã·ã§ã³" ãšåŒã°ããããã»ã¹ã§åæãããŸãã</li> +</ol> + +<p>ãã®æµããå®äºããªããã°ã¹ã¯ãªãŒã³ãæŽæ°ã§ããŸããã®ã§ãã²ãšã€ã®ãã¬ãŒã å
ã«äžé£ã®æäœãåããªããã°ãªããŸãããæ¯ç§ 60 ãã¬ãŒã ããã¢ãã¡ãŒã·ã§ã³ãã¹ã ãŒãºã«èŠããã¬ãŒããšããŠåºãåãå
¥ããããŠããŸããæ¯ç§ 60 ãã¬ãŒã ã®ã¬ãŒãã®ããã«ããã©ãŠã¶ãäžé£ã®æäœãå®è¡ããæéãšã㊠16.7 ããªç§ãäžããããŸãã</p> + +<p>å¿çæ§ã®ããã«éèŠãªããšãšããŠããã©ãŠã¶ã¯å¿
ããããã¹ãŠã®ã¹ããããéããªããã°ãªããªãããã§ã¯ãããŸãã:</p> + +<ul> + <li><a href="/ja/docs/Web/Guide/CSS/Using_CSS_animations">CSS ã¢ãã¡ãŒã·ã§ã³</a>㯠JavaScript ãå®è¡ããå¿
èŠãªãããŒãžãæŽæ°ããŸãã</li> + <li>å€æŽããŠããªãããŒãçºçãããªã CSS ããããã£ããããŸãããªããžã§ã¯ãã®åœ¢ç¶ãäœçœ®ãå€æŽã§ããããããã£ãäŸãã° <code><a href="/ja/docs/Web/CSS/width">width</a></code>ã<code><a href="/ja/docs/Web/CSS/display">display</a></code>ã<code><a href="/ja/docs/Web/CSS/font-size">font-size</a></code>ã<code><a href="/ja/docs/Web/CSS/top">top</a></code> ãªã©ãå€æŽãããšããªãããŒãçºçããŸããäžæ¹ã圢ç¶ãäœçœ®ãå€æŽããªãããããã£ãäŸãã° <code><a href="/ja/docs/Web/CSS/color">color</a></code> ã <code><a href="/ja/docs/Web/CSS/opacity">opacity</a></code> ãªã©ãå€æŽããŠããªãããŒã¯çºçããŸããã</li> + <li>å€æŽããŠãåæç»ãçºçãããªã CSS ããããã£ããããŸããç¹ã« <code><a href="/ja/docs/Web/CSS/transform">transform</a></code> ããããã£ã䜿çšããŠèŠçŽ ãã¢ãã¡ãŒã·ã§ã³ãããå Žåããã©ãŠã¶ã¯ãã©ã³ã¹ãã©ãŒã ãè¡ãèŠçŽ ãå¥ã®ã¬ã€ã€ãŒã«åé¢ããŠãèŠçŽ ã移åããŠãåæç»ãè¡ãå¿
èŠããªããªããŸããèŠçŽ ã®æ°ããäœçœ®ã¯ãã³ã³ããžã·ã§ã³ã§å¶åŸ¡ãããŸãã</li> +</ul> + +<p><a href="/ja/docs/Tools/Performance/Scenarios/Animating_CSS_properties">CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³</a>ã®èšäºã§ã¯ãããŸããŸãª CSS ããããã£ã®ã¢ãã¡ãŒã·ã§ã³ã«ããããã©ãŒãã³ã¹ã®éãã瀺ããšãšãã«ãã¿ã€ã ã©ã€ã³ãããããã©ã®ããã«ç¥ããããã説æããŸãã</p> + +<h3 id="Blocking_JavaScript" name="Blocking_JavaScript">劚害ãã JavaScript</h3> + +<p>ããã©ã«ã㧠JavaScript ãå®è¡ããã¹ã¬ããã¯ããã©ãŠã¶ãã¬ã€ã¢ãŠãã®æŽæ°ãåæç»ãDOM ã€ãã³ããªã©ã«äœ¿çšããã¹ã¬ãããšåãã§ããããã¯ãé·ãéå®è¡ãã JavaScript é¢æ°ãäžå¿çæ§ (jank) ãåŒãèµ·ããå¯èœæ§ããããšããããšã§ããã¢ãã¡ãŒã·ã§ã³ãããã¡ãªãããããã¯ãµã€ããããªãŒãºããã§ãããã</p> + +<p>ãã¬ãŒã ã¬ãŒãããŒã«ãšã¿ã€ã ã©ã€ã³ãçµã¿åããããšãé·ãéå®è¡ãã JavaScript ãå¿çæ§ã®åé¡ãåŒãèµ·ãããŠããããšãç°¡åã«ããããŸãã以äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ããã¬ãŒã ã¬ãŒãã®èœã¡èŸŒã¿ãåŒãèµ·ãããŠãã JS é¢æ°ãæ¡å€§è¡šç€ºããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10973/perf-js-blocking-waterfall.png" style="display: block; height: 432px; margin-left: auto; margin-right: auto; width: 1128px;"></p> + +<p><a href="/ja/docs/Tools/Performance/Scenarios/Intensive_JavaScript">éçŽç㪠JavaScript</a> ã®èšäºã§ã¯ãé·å€§ãª JavaScript é¢æ°ã«ãã£ãŠåŒãèµ·ããããå¿çæ§ã®åé¡ãã¿ã€ã ã©ã€ã³ãã©ã®ããã«ç®ç«ããããããŸãã¡ã€ã³ã¹ã¬ããã®å¿çæ§ãç¶æããããã«éåæã¡ãœãããã©ã®ããã«äœ¿çšã§ãããã説æããŸãã</p> + +<h3 id="Expensive_paints" name="Expensive_paints">é«ã³ã¹ããªæç»</h3> + +<p><code><a href="/ja/docs/Web/CSS/box-shadow">box-shadow</a></code> ãªã©è² æ
ã倧ããæç»å¹æããããç¹ã«æ¯ãã¬ãŒã èšç®ãå¿
èŠãªãã©ã³ãžã·ã§ã³ã«é©çšããå Žåã«é¡èã§ããç¹ã«ãã°ã©ãã£ãã¯ãéäžçã«æ±ãæäœã§ãã¬ãŒã ã¬ãŒãã®èœã¡èŸŒã¿ãã¿ãããå Žåã¯ãã¿ã€ã ã©ã€ã³ã§ç·è²ã®ããŒã«ãŒããªãã確èªããŠãã ããã</p> + +<h3 id="Garbage_collection" name="Garbage_collection">ã¬ããŒãžã³ã¬ã¯ã·ã§ã³</h3> + +<p>ã¿ã€ã ã©ã€ã³ã§èµ€è²ã®ããŒã«ãŒã¯ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ (GC) ã®ã€ãã³ããè¡šããŠããããã®ãšã <a href="/ja/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> (Firefox ã® JavaScript ãšã³ãžã³) ã¯å°éäžèœãªã¡ã¢ãªãæ¢ãããã«ããŒãã確èªããŠããã®ãããªã¡ã¢ãªã解æŸããŸããGC ãå®è¡ããŠããé㯠JavaScript ãšã³ãžã³ãäžæåæ¢ããªããã°ãªããªãã®ã§ãããã°ã©ã ãäŒæ¢ããŠå®å
šã«å¿çããªãç¶æ
ã«ãªããããGC ã¯ããã©ãŒãã³ã¹ãšé¢ä¿æ§ããããŸãã</p> + +<p>äžæåæ¢ããæéãççž®ãããããSpiderMonkey ã¯<em>ã€ã³ã¯ãªã¡ã³ã¿ã« GC</em> ãå®è£
ããŠããŸããããã¯ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãå°ããã€å®è¡ã§ããåéã«ããã°ã©ã ãå®è¡ããããšãå¯èœã«ãªããŸããããã§ãæã«ã¯ãã³ã€ã³ã¯ãªã¡ã³ã¿ã«ã¬ããŒãžã³ã¬ã¯ã·ã§ã³ãå¿
èŠã§ããããã®å Žåããã°ã©ã ã¯å®äºãããŸã§åŸ
ããªããã°ãªããŸããã</p> + +<ul> +</ul> + +<p>GC ã€ãã³ããç¹ã«ãã³ã€ã³ã¯ãªã¡ã³ã¿ã« GC ã€ãã³ããé¿ããããšããŠãç¹å®ã® JavaScript ãšã³ãžã³ã®å®è£
ã«æé©åããããšããããšã¯è³¢ããããŸãããSpiderMonkey 㯠GC ããã€å¿
èŠããããã³ç¹ã«ãã³ã€ã³ã¯ãªã¡ã³ã¿ã« GC ããã€å¿
èŠããæ€åºããããã«ãè€éã«çµã¿åãããçºèŠæ¹æ³ã䜿çšããŠããŸãããã ããäžè¬ã«ä»¥äžã®ããšãèšããŸã:</p> + +<ul> + <li>GC ã¯å€ãã®ã¡ã¢ãªãå²ãåœãŠãããŠãããšãã«å¿
èŠã§ãã</li> + <li>ãã³ã€ã³ã¯ãªã¡ã³ã¿ã« GC ã¯éåžžãSpiderMonkey ãã€ã³ã¯ãªã¡ã³ã¿ã« GC ã®å®è¡äžã«ã¡ã¢ãªäžè¶³ã«ãªãå¯èœæ§ãããã»ã©ã¡ã¢ãªäœ¿çšéãé«ããšãã«çºçããŸãã</li> +</ul> + +<p>ã¿ã€ã ã©ã€ã³ã§ GC ããŒã«ãŒãèšé²ãããšãã¯ã以äžã®æ
å ±ã瀺ããŸã:</p> + +<ul> + <li>GC ãã€ã³ã¯ãªã¡ã³ã¿ã«ãåŠã</li> + <li>GC ãå®è¡ããçç±</li> + <li>ãã³ã€ã³ã¯ãªã¡ã³ã¿ã« GC ã§ããå Žåã¯ãã€ã³ã¯ãªã¡ã³ã¿ã«ã§ã¯ãªãçç±</li> + <li>Firefox 46 ãããGC ã€ãã³ããã¡ã¢ãªå²ãåœãŠã®å§åã«ãã£ãŠçºçããå Žåã¯ã"Show Allocation Triggers" ãšãããªã³ã¯ã衚瀺ããŸãããã®ãªã³ã¯ãã¯ãªãã¯ãããšãGC ã€ãã³ãã®åå ã«ãªã£ãã¡ã¢ãªå²ãåœãŠã®ãããã¡ã€ã«ã衚瀺ããŸãã詳ããã¯<a href="/ja/docs/Tools/Performance/Allocations#Allocations_and_garbage_collection">ã¡ã¢ãªå²ãåœãŠãšã¬ããŒãžã³ã¬ã¯ã·ã§ã³</a>ãã芧ãã ããã</li> +</ul> + +<h2 id="Adding_markers_with_the_console_API" name="Adding_markers_with_the_console_API">console API ã§ããŒã«ãŒãè¿œå ãã</h2> + +<p><a href="/ja/docs/Web/API/Console">console API</a> ãåŒã³åºãããšã§çŽæ¥å¶åŸ¡ã§ããããŒã«ãŒã 2 ã€ãããŸãã"ã³ã³ãœãŒã«" ãš "Timestamp" ã§ãã</p> + +<h3 id="Console_markers" name="Console_markers">ã³ã³ãœãŒã«ããŒã«ãŒ</h3> + +<p>ããã¯ãèšé²å
ã®ç¹å®ã®ã»ã¯ã·ã§ã³ã«ããŒã¯ãã€ãããã®ã§ãã</p> + +<p>ã³ã³ãœãŒã«ããŒã«ãŒãäœæããã«ã¯ã»ã¯ã·ã§ã³ã®å§ã㧠<code>console.time()</code> ããã»ã¯ã·ã§ã³ã®çµãã㧠<code>console.timeEnd()</code> ãåŒã³åºããŸãããããã®é¢æ°ã¯ãã»ã¯ã·ã§ã³ã®ååãšããŠäœ¿çšãããåŒæ°ãåããŸãã</p> + +<p>äŸãã°ã以äžã®ãããªã³ãŒãã§èããŠã¿ãŸããã:</p> + +<pre class="brush: js">var iterations = 70; +var multiplier = 1000000000; + +function calculatePrimes() { + + console.time("calculating..."); + + var primes = []; + for (var i = 0; i < iterations; i++) { + var candidate = i * (multiplier * Math.random()); + var isPrime = true; + for (var c = 2; c <= Math.sqrt(candidate); ++c) { + if (candidate % c === 0) { + // not prime + isPrime = false; + break; + } + } + if (isPrime) { + primes.push(candidate); + } + } + + console.timeEnd("calculating..."); + + return primes; +}</pre> + +<p>ã¿ã€ã ã©ã€ã³ã®åºåã¯ã以äžã®ããã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10967/perf-console-time.png" style="display: block; height: 430px; margin-left: auto; margin-right: auto; width: 1192px;"></p> + +<p>ããŒã«ãŒã¯ <code>console.time()</code> ã«æž¡ããåŒæ°ã§åä»ããããŠãããããŒã«ãŒãéžæãããšå³åŽã®ãµã€ãããŒã§ããã°ã©ã ã¹ã¿ãã¯ã確èªã§ããŸãã</p> + +<h4 id="Async_stack" name="Async_stack">Async stack</h4> + +<p class="geckoVersionNote">Firefox 41 ã®æ°æ©èœ</p> + +<p>Firefox 41 ãããå³åŽã®ãµã€ãããŒã«çµäºæç¹ãããªãã¡ <code>console.timeEnd()</code> ãåŒã³åºããæç¹ã®ã¹ã¿ãã¯ã衚瀺ããŸãã<code>console.timeEnd()</code> ã <code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></code> ã®æåã«ãã£ãŠåŒã³åºãããå Žåã¯ã"(éåæ: Promise)" ãšè¡šç€ºããŸãããã㯠"async stack" ãè¡šããã®ã§ããããã®æç¹ã®ã³ãŒã«ã¹ã¿ãã¯ã§ promise ãçæãããŠããŸãã</p> + +<p>äŸãã°ã以äžã®ã³ãŒãã§èããŠã¿ãŸããã:</p> + +<pre class="brush: js">var timerButton = document.getElementById("timer"); +timerButton.addEventListener("click", handleClick, false); + +function handleClick() { + console.time("timer"); + runTimer(1000).then(timerFinished); +} + +function timerFinished() { + console.timeEnd("timer"); + console.log("ready!"); +} + +function runTimer(t) { + return new Promise(function(resolve) { + setTimeout(resolve, t); + }); +}</pre> + +<p>ã¿ã€ã ã©ã€ã³ã§ã¯ <code>time()</code> ãš <code>timeEnd()</code> ã®éãããŒã«ãŒã§è¡šç€ºããŸãããã®ããŒã«ãŒãéžæãããšããµã€ãããŒã« async stack ã衚瀺ãããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11179/async-stack.png" style="display: block; height: 378px; margin-left: auto; margin-right: auto; width: 352px;"></p> + +<h3 id="Timestamp_markers" name="Timestamp_markers">Timestamp ããŒã«ãŒ</h3> + +<p>ã¿ã€ã ã¹ã¿ã³ãã§ãèšé²äžã«ãã®å Žã§ããŒã¯ããããšãã§ããŸãã</p> + +<p>ã¿ã€ã ã¹ã¿ã³ãããŒã«ãŒãäœæããã«ã¯ã<code><a href="/ja/docs/Web/API/Console/timeStamp">console.timeStamp()</a></code> ãåŒã³åºããŸããã¿ã€ã ã¹ã¿ã³ãã®ã©ãã«ãåŒæ°ãšããŠæž¡ãããšãã§ããŸãã</p> + +<p>äŸãã°ååºã®ã³ãŒãã§ç¹°ãè¿ã 10 åããšã«ã¿ã€ã ã¹ã¿ã³ããçæããŠãç¹°ãè¿ãåæ°ãååãšããŠä»å ããŸã:</p> + +<pre class="brush: js">var iterations = 70; +var multiplier = 1000000000; + +function calculatePrimes() { + console.time("calculating..."); + + var primes = []; + for (var i = 0; i < iterations; i++) { + + if (i % 10 == 0) { + console.timeStamp(i.toString()); + } + + var candidate = i * (multiplier * Math.random()); + var isPrime = true; + for (var c = 2; c <= Math.sqrt(candidate); ++c) { + if (candidate % c === 0) { + // not prime + isPrime = false; + break; + } + } + if (isPrime) { + primes.push(candidate); + } + } + console.timeEnd("calculating..."); + return primes; +}</pre> + +<p>ã¿ã€ã ã©ã€ã³ã¯ä»¥äžã®ããã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10971/perf-timestamp.png" style="display: block; height: 530px; margin-left: auto; margin-right: auto; width: 1192px;"></p> diff --git a/files/ja/tools/profiler/index.html b/files/ja/tools/profiler/index.html new file mode 100644 index 0000000000..44135aed3d --- /dev/null +++ b/files/ja/tools/profiler/index.html @@ -0,0 +1,144 @@ +--- +title: JavaScript ãããã¡ã€ã© +slug: Tools/Profiler +tags: + - Debugging + - Firefox + - Guide + - Profiler + - Profiling + - Tools +translation_of: Tools/Performance +--- +<div>{{ToolsSidebar}}</div><p>ãããã¡ã€ã©ããŒã«ã䜿çšããŠãJavaScript ã³ãŒãã®ããã«ããã¯ãèŠã€ããŸãããããããã¡ã€ã©ã¯åšæçã«ããµã³ãã«ã«ã€ããŠçŸåšã® JavaScript ã³ãŒã«ã¹ã¿ãã¯ãã³ã³ãã€ã«ã®çµ±èšæ
å ±ãæœåºããŸãã</p> + +<p>"Web éçº" ã¡ãã¥ãŒãã "ãããã¡ã€ã©" ãéžæããããšã§ããããã¡ã€ã©ãèµ·åã§ããŸãã"Web éçº" ã¡ãã¥ãŒã¯ãLinux ã OS X ã§ã¯ "ããŒã«" ã¡ãã¥ãŒã®é
äžã«ãWindows ã§ã¯ "Firefox" ã¡ãã¥ãŒã®çŽäžã«ãããŸãã</p> + +<p><a href="/ja/docs/Tools/Tools_Toolbox" title="Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a>ãéããŠããããã¡ã€ã©ãéžæãããŸãã</p> + +<h2 id="Sampling_profilers" name="Sampling_profilers"><a name="sampling-profilers">ãµã³ããªã³ã°åãããã¡ã€ã©</a></h2> + +<p>JavaScript ãããã¡ã€ã©ã¯ããµã³ããªã³ã°åã®ãããã¡ã€ã©ã§ãããã㯠JavaScript ãšã³ãžã³ã®ç¶æ
ãå®æçã«ãµã³ããªã³ã°ããŠããã®æç¹ã®ã³ãŒãå®è¡ã®ã¹ã¿ãã¯ãèšé²ããŸããçµ±èšçã«ãåã
ã®é¢æ°ãå®è¡ããŠãããšãã«ååŸãããµã³ãã«æ°ã¯ãã©ãŠã¶ãå®è¡ã«ãããæéã«å¯Ÿå¿ããŸãã®ã§ãã³ãŒãå
ã®ããã«ããã¯ãçºèŠã§ããŸãã<br> + <br> + <a name="profiling-example">äŸãã°ã以äžã®ãããªããã°ã©ã ã«ã€ããŠèããŠã¿ãŸããã:</a></p> + +<pre class="brush: js">function doSomething() { + var x = getTheValue(); + x = x + 1; // -> ãµã³ãã« A + logTheValue(x); +} + +function getTheValue() { + return 5; +} + +function logTheValue(x) { + console.log(x); // -> ãµã³ãã« Bããµã³ãã« C +} + +doSomething();</pre> + +<p>ãããã¡ã€ã©ãã¢ã¯ãã£ãã«ããŠãã®ããã°ã©ã ãå®è¡ããããå®è¡æã«ãããã¡ã€ã©ã¯äžèšã®ã€ã³ã©ã€ã³ã³ã¡ã³ãã§ç€ºããããã« 3 ã€ã®ãµã³ãã«ãååŸããŸãã</p> + +<p>ãããã¯ãã¹ãŠ <code>doSomething()</code> ã®å
éšããååŸãããŸããã2 çªç®ã® 2 ã€ã¯ <code>doSomething()</code> ããåŒã³åºããã <code>logTheValue()</code> é¢æ°ã®å
éšã§ãããã£ãŠãããã¡ã€ã«ã¯ã以äžã®ããã« 3 ã€ã®ã¹ã¿ãã¯ãã¬ãŒã¹ã§æ§æãããŸã:</p> + +<pre>ãµã³ãã« A: doSomething() +ãµã³ãã« B: doSomething() > logTheValue() +ãµã³ãã« C: doSomething() > logTheValue()</pre> + +<p>ããã¯ç§ãã¡ã«äœãäŒããããªãäžååãªããŒã¿ã§ããããšãæããã§ãããããå€ãã®ãµã³ãã«ã«ããã<code>logTheValue()</code> ãã³ãŒãå
ã®ããã«ããã¯ã§ãããšæå®ã§ãããããããŸããã</p> + +<h2 id="Creating_a_profile" name="Creating_a_profile">ãããã¡ã€ã«ã®äœæ</h2> + +<p>ãããã¡ã€ã©ã§<em>ã¹ããããŠã©ãã</em>ã®ãã¿ã³ãã¯ãªãã¯ããŠããµã³ãã«ã®èšé²ãå§ããŸãããããã¡ã€ã©ãèšé²ãè¡ã£ãŠããéã¯ãã¹ããããŠã©ããã®ãã¿ã³ããã€ã©ã€ããããŸãããã¿ã³ãå床æŒããšèšé²ãåæ¢ããŠãæ°ããªãããã¡ã€ã«ãä¿åããŸã:</p> + +<p style="text-align: center;"><img alt="" src="https://mdn.mozillademos.org/files/5977/Screen%20Shot%202013-08-26%20at%2010.35.47%20AM.png"></p> + +<p>"çµäº" ãã¯ãªãã¯ãããšãæ°ãããããã¡ã€ã«ãèªåçã«éããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5981/Screen%20Shot%202013-08-26%20at%2011.07.18%20AM.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãã®ãã€ã³ã¯ 2 ã€ã®ããŒãã«åãããŠããŸã:</p> + +<ul> + <li>å·ŠåŽã¯ååŸãããã¹ãŠã®ãããã¡ã€ã«ãäžèŠ§è¡šç€ºããŠãããããããã®ãããã¡ã€ã«ãèªã¿èŸŒãããšãã§ããŸãããŸãããªã¹ãã®äžã«ãã¿ã³ã 2 ã€ãããŸãã<em>ã¹ããããŠã©ãã</em>ã®ãã¿ã³ã¯æ°ããªãããã¡ã€ã«ã®èšé²ãã<em>ã€ã³ããŒã...</em> ãã¿ã³ã¯ä»¥åã«ä¿åããããŒã¿ã®ã€ã³ããŒããè¡ããŸãããããã¡ã€ã«ãéžæããŠãããšãã¯ã<em>ä¿å</em>ãã¿ã³ãã¯ãªãã¯ãããšããŒã¿ã JSON ãã¡ã€ã«ãšããŠä¿åã§ããŸãã</li> + <li>å³åŽã¯çŸåšèªã¿èŸŒãã§ãããããã¡ã€ã«ã衚瀺ããŸãã</li> +</ul> + +<h2 id="Analyzing_a_profile" name="Analyzing_a_profile">ãããã¡ã€ã«ã®åæ</h2> + +<p>ãããã¡ã€ã«ã¯ 2 ã€ã®ããŒãã«åãããŠããŸã:</p> + +<ul> + <li><a href="#profile-timeline" title="#profile-timeline">ãããã¡ã€ã«ã®ã¿ã€ã ã©ã€ã³</a></li> + <li><a href="#profile-details" title="#profile-details">ãããã¡ã€ã«ã®è©³çŽ°</a></li> +</ul> + +<h3 id="Profile_timeline" name="Profile_timeline"><a name="profile-timeline">ãããã¡ã€ã«ã®ã¿ã€ã ã©ã€ã³</a></h3> + +<p>ãããã¡ã€ã«ã®ã¿ã€ã ã©ã€ã³ã¯ããããã¡ã€ã«è¡šç€ºã®äžéšãå ããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5987/timeline" style="display: block; margin-left: auto; margin-right: auto;">暪軞ã¯æéã瞊軞ã¯ãµã³ãã«ã«ãããã³ãŒã«ã¹ã¿ãã¯ã®ãµã€ãºãè¡šããŸããã³ãŒã«ã¹ã¿ãã¯ã¯ããµã³ãã«ãååŸãããšãã«ã¢ã¯ãã£ãã§ãã£ãé¢æ°ã®éãè¡šããŸãã</p> + +<p>ãã£ãŒãã§èµ€è²ã®ãµã³ãã«ã¯ããã®ãšãã«ãã©ãŠã¶ãå¿çããŠããªãã£ãããšã瀺ããŠããããŠãŒã¶ã¯ã¢ãã¡ãŒã·ã§ã³ãå¿çæ§ãæ¢ãŸã£ãããšã«æ°ã¥ãããããããŸããããããã¡ã€ã«ã«èµ€è²ã®ãµã³ãã«ãããå Žåã¯ããã®ã³ãŒããããã€ãã®ã€ãã³ãã«å解ããããšãæ€èšãããã<a href="/ja/docs/Web/API/window.requestAnimationFrame" title="Web/API/window.requestAnimationFrame">requestAnimationFrame</a> ã <a href="/ja/docs/Web/Guide/Performance/Using_web_workers" title="Web/Guide/Performance/Using_web_workers">Worker</a> ã®äœ¿çšã«ã€ããŠèª¿ã¹ããããŸãããã</p> + +<p>ã¿ã€ã ã©ã€ã³ã§ã¯ãªãã¯ã¢ã³ããã©ãã°ããããšã§ããããã¡ã€ã«å
ã®ç¹å®ã®ç¯å²ã調æ»ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5989/Screen%20Shot%202013-08-26%20at%2011.17.59%20AM.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ã¿ã€ã ã©ã€ã³ã®äžã« "ãµã³ããªã³ã°ç¯å² [AAA, BBB]" ãšããã©ãã«ãã€ãããæ°ããªãã¿ã³ãçŸããŸãããã®ãã¿ã³ãæŒããšãããã¡ã€ã«ããºãŒã ãããŠããã®ã¿ã€ã ã¹ã©ã€ã¹ã®è©³çŽ°ãªãã¥ãŒãäžéšã«è¡šç€ºãããŸã:</p> + +<p><br> + <img alt="" src="https://mdn.mozillademos.org/files/5991/Screen%20Shot%202013-08-26%20at%2011.18.03%20AM.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h3 id="Profile_details" name="Profile_details"><a name="profile-details">ãããã¡ã€ã«ã®è©³çŽ°</a></h3> + +<p>ãããã¡ã€ã«ã®è©³çŽ°ã¯ããããã¡ã€ã«è¡šç€ºã®äžéšãå ããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5993/profiler-details-highligted.png" style="display: block; margin-left: auto; margin-right: auto;">å§ãã«æ°ãããµã³ãã«ãéããšããµã³ãã«ãã€ã³ã«ã¯äžã®ã¹ã¯ãªãŒã³ã·ã§ããã®ããã« "(total)" ãšããååã®è¡ããããŸãã"(total)" ã®é£ã«ããäžè§å°ãã¯ãªãã¯ãããšããµã³ãã«å
ã«ãããã¹ãŠã®ãããã¬ãã«é¢æ°ããªã¹ãã¢ãããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5995/Screen%20Shot%202013-08-26%20at%2011.22.10%20AM.png"></p> + +<p><strong>å®è¡æé</strong>ã¯åœè©²é¢æ°ãçŸãããµã³ãã«ã®ç·æ°ã瀺ã<a href="#footnote-1"><sup>1</sup></a>ããã®åŸãã«ãããã¡ã€ã«å
ã§åœè©²é¢æ°ãçŸããå
šãµã³ãã«ã®ããŒã»ã³ãå€ããããŸããæäžæ®µã®è¡ã¯ãããã¡ã€ã«å
šäœã§ 2021 ã®ãµã³ãã«ãããããšãè¡šãããŸã 2 è¡ç®ã¯ 1914 ãµã³ãã«ããªãã¡å
šäœã® 94.7% ãã<code>detectImage()</code> é¢æ°å
ã«ããããšãè¡šããŸãã</p> + +<p><strong>æ»åš</strong> ã¯åœè©²é¢æ°ãã®ãã®ãå®è¡ããéã«ååŸãããµã³ãã«æ°ã瀺ããŠãããé¢æ°ãåŒã³åºããŠãããšãã§ã¯ãããŸãããååºã®<a href="#profiling-example" title="#profiling-example">ã·ã³ãã«ãªäŸ</a>ã§ã¯ã<code>doSomething()</code> ã¯<strong>å®è¡æé</strong>ã 3 (ãµã³ãã« AãBãC) ã§ããã<strong>æ»åš</strong>ã®å€ã¯ 1 (ãµã³ãã« A) ã«ãªãã§ãããã</p> + +<p>3 åç®ã¯é¢æ°åããã³ãã¡ã€ã«åãšè¡æ° (ããŒã«ã«ã®é¢æ°) ãŸãã¯ããŒã¹ããŒã ãšãã¡ã€ã³åã衚瀺ããŸããç°è²ã®é¢æ°ã¯ãã©ãŠã¶çµã¿èŸŒã¿ã®é¢æ°ã§ããé»è²ã®é¢æ°ãããŒãžã§èªã¿èŸŒãã JavaScript ãè¡šããŸããè¡ã«ããŠã¹ãã€ã³ã¿ãä¹ãããšãé¢æ°ã®èå¥åã®å³åŽã«ç¢å°ãçŸããŸã: ç¢å°ãã¯ãªãã¯ãããšé¢æ°ã®ãœãŒã¹ã衚瀺ããŸãã</p> + +<h3 id="Expanding_the_call_tree" name="Expanding_the_call_tree">ã³ãŒã«ããªãŒã®å±é</h3> + +<p>ããè¡ã§ããã®é¢æ°ããåŒã³åºãããé¢æ°ã«æ»åšããŠããéã®ãµã³ãã«ãååšããå Žå (ããªãã¡ã<strong>å®è¡æé</strong>ããã®è¡ã®<strong>æ»åš</strong>ãã倧ããå Žå) ã¯ãé¢æ°åã®å·ŠåŽã«äžè§å°ã衚瀺ãããã³ãŒã«ããªãŒãå±éã§ããŸãã</p> + +<p>ååºã®<a href="#profiling-example" title="#profiling-example">ã·ã³ãã«ãªäŸ</a>ã§ã¯ãå®å
šã«å±éããã³ãŒã«ããªãŒã¯ä»¥äžã®ããã«ãªããŸã:</p> + +<table class="standard-table" style="height: 100px; width: 378px;"> + <tbody> + <tr> + <td style="text-align: center;"><strong>å®è¡æé</strong></td> + <td style="text-align: center;"><strong>æ»åš</strong></td> + <td style="text-align: center;"> </td> + </tr> + <tr> + <td style="text-align: center;">3       100%</td> + <td style="text-align: center;">1</td> + <td style="text-align: center;">doSomething()</td> + </tr> + <tr> + <td style="text-align: center;">2        67%</td> + <td style="text-align: center;">2</td> + <td style="text-align: center;">logTheValue()</td> + </tr> + </tbody> +</table> + +<p>ããå®éçãªäŸãèŠãŸããã: ååºã®ã¹ã¯ãªãŒã³ã·ã§ããã§ãäžãã 2 è¡ç®ãèŠããš <code>detectImage()</code> é¢æ°ã®å
éšã§ 1914 ãµã³ãã«ããã£ãŠããããšãããããŸãããããããã®ãã¹ãŠã¯ <code>detectImage()</code> ããåŒã³åºãããé¢æ°ã§ããã£ãŠããŸã (<strong>æ»åš</strong> ã»ã«ã 0 ã§ã)ãã³ãŒã«ããªãŒãå±éããŠãã»ãšãã©ã®ãµã³ãã«ãããã£ãŠãããšãå®éã«å®è¡ããŠããé¢æ°ã¯äœããæããã«ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5999/bla.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ããã¯ã<code>detectAtScale()</code> ãå®éã«å®è¡ããŠãããšãã« 6 ãµã³ãã«ã<code>getRect()</code> ã®å®è¡ã« 12 ãµã³ãã«ããã£ãŠããããšãªã©ãè¡šããŸãã</p> + +<h2 id="Footnotes" name="Footnotes">è泚</h2> + +<ol> + <li><a name="footnote-1">é¢æ°ãããŸããŸãªãœãŒã¹ããè€æ°ååŒã³åºãããå Žåããããã¡ã€ã©ã®åºåã«ãè€æ°åçŸããŸãããã£ãŠã<code>forEach</code> ãªã©æ±çšçãªé¢æ°ã¯ã³ãŒã«ããªãŒå
ã«è€æ°åçŸããã§ãããã</a></li> +</ol> diff --git a/files/ja/tools/release_notes/index.html b/files/ja/tools/release_notes/index.html new file mode 100644 index 0000000000..482c5dcf3b --- /dev/null +++ b/files/ja/tools/release_notes/index.html @@ -0,0 +1,415 @@ +--- +title: ãªãªãŒã¹ããŒã +slug: Tools/Release_notes +translation_of: Mozilla/Firefox/Releases +--- +<div>{{ToolsSidebar}}</div><h2 id="Firefox_52" name="Firefox_52">Firefox 52</h2> + +<ul> + <li><a href="/ja/docs/Tools/Responsive_Design_Mode">UA ã®éžæããããã¯ãŒã¯ã®èª¿æŽãªã©ãã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããå
šé¢çã«æ¹è¯ããŸããã</a></li> + <li><a href="/ja/docs/Tools/Debugger">åèšèšãã UI ãªã©ãæ°ãã JavaScript ãããã¬ãŒãæèŒããŸããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã§ãã¿ã€ãã³ã°é¢æ°ã衚瀺ããããã«ãªããŸããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_grid_layouts">ã€ã³ã¹ãã¯ã¿ãŒã« CSS ã°ãªããã®åŒ·èª¿è¡šç€ºæ©èœãæèŒããŸããã</a></li> + <li><a href="/ja/docs/Tools/about:debugging#Service_worker_state">about:debugging 㧠Service Worker ã®ç¶æ
ã衚瀺ããããã«ãªããŸããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#element_rule">ã€ã³ã¹ãã¯ã¿ãŒã§ãéžæããèŠçŽ ãç°¡åã«åŒ·èª¿è¡šç€ºã§ããããã«ãªããŸããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Whitespace-only_text_nodes">ã€ã³ã¹ãã¯ã¿ãŒã§ããã¯ã€ãã¹ããŒã¹ã®ã¿ã®ããã¹ãããŒãã衚瀺ããããã«ãªããŸããã</a></li> +</ul> + +<p><a href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2016-11-14&query_format=advanced&chfield=resolution&chfieldfrom=2016-09-19&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=13333174">Firefox 51 ãã Firefox 52 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_51" name="Firefox_51">Firefox 51</h2> + +<ul> + <li><a href="/ja/docs/Tools/Network_Monitor#Timings">ãããã¯ãŒã¯ã¢ãã¿ãŒã§ããããã¯ãŒã¯èŠæ±ã® "ãããã¯" ç¶æ
ã衚瀺ããããã«ãªããŸããã</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?list_id=13263768&resolution=FIXED&classification=Client%20Software&chfieldto=2016-09-19&query_format=advanced&chfield=resolution&chfieldfrom=2016-08-01&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox">Firefox 50 ãã Firefox 51 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_50" name="Firefox_50">Firefox 50</h2> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#Source_maps">ãŠã§ãã³ã³ãœãŒã«ããœãŒã¹ããããç解ããããã«ãªããŸããã</a></li> + <li><a href="/ja/docs/Tools/Storage_Inspector#IndexedDB">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ãIndexedDB ã®ãªããžã§ã¯ãã¹ãã¢ããã¢ã€ãã ãåé€ã§ããããã«ãªããŸããã</a></li> + <li><a href="/ja/docs/Tools/Memory">ã¡ã¢ãªãŒããŒã«ãããã©ã«ãã§æå¹åããŸããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Computed_view">ããã¯ã¹ã¢ãã«ãã¥ãŒãèšç®æžã¿ãã¥ãŒã«ç§»åããŸããã</a></li> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#Viewing_network_request_details">ãŠã§ãã³ã³ãœãŒã«ã§ãXHR ã Fetch() ã«ãããããã¯ãŒã¯ãªã¯ãšã¹ãã®ã¹ã¿ãã¯ãã¬ãŒã¹ã衚瀺ããŸãã</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?list_id=13263766&chfield=resolution&chfieldfrom=2016-06-06&chfieldvalue=FIXED&resolution=FIXED&classification=Client%20Software&chfieldto=2016-08-01&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox">Firefox 49 ãã Firefox 50 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_49" name="Firefox_49">Firefox 49</h2> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#JS">ã³ã³ãœãŒã«ã«èšé²ãã JavaScript ãšã©ãŒã§ãMDN ã®ãã«ãããŒãžãžã®ãªã³ã¯ãæäŸããŸã</a>ã</li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Further_information_about_animation_compositing">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã§ãããã©ãŒãã³ã¹æ
å ±ãæäŸããŸã</a>ã</li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_context_menu">ã€ã³ã¹ãã¯ã¿ãŒã®ã³ã³ããã¹ãã¡ãã¥ãŒãåç·šããŸãã</a>ã</li> + <li><a href="/ja/docs/Tools/Network_Monitor#Cause_column">ãããã¯ãŒã¯ã€ã³ã¹ãã¯ã¿ãŒã§ããããã¯ãŒã¯èŠæ±ã®çºçæºã衚瀺ããããã«ãªããŸãã</a>ã</li> + <li><a href="/ja/docs/Tools/Storage_Inspector#IndexedDB">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ãIndexedDB ããŒã¿ããŒã¹ãåé€å¯èœã«ãªããŸãã</a>ã</li> + <li><a href="/ja/docs/Tools/about:debugging#Tabs">about:debugging ã«ãéããŠããã¿ãããããã°ããããã® "ã¿ã" ããŒãžãè¿œå ããŸãã</a>ã</li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?list_id=13263762&chfield=resolution&chfieldfrom=2016-04-25&chfieldvalue=FIXED&resolution=FIXED&classification=Client%20Software&chfieldto=2016-06-06&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox">Firefox 48 ãã Firefox 49 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_48" name="Firefox_48">Firefox 48</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Storage_Inspector#Editing_storage_items">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ä¿åæžã¿ã®ã¢ã€ãã ãç·šéãã</a></li> + <li><a href="/ja/docs/Tools/Memory/Tree_Map_view">ã¡ã¢ãªãŒããŒã«ã®ããªãŒããããã¥ãŒ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Reposition_elements_in_the_page">ããŒãžå
ã§èŠçŽ ããã©ãã°ããŠåé
眮ãã</a></li> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#Viewing_network_request_details">ãŠã§ãã³ã³ãœãŒã«ã§ HTTP ãªã¯ãšã¹ãã®è©³çŽ°ã衚瀺ãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Animation_inspector">Web Animations API åãã«ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒãæŽæ°</a></li> + <li><a href="/ja/docs/Tools/Settings#Choose_DevTools_theme">Firebug ã®ããŒã</a></li> + <li><a href="/ja/docs/Tools/DOM_Property_Viewer">DOM ããããã£ãã¥ãŒã¯ãŒ</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?list_id=13263745&resolution=FIXED&classification=Client%20Software&chfieldto=2016-04-25&query_format=advanced&chfield=resolution&chfieldfrom=2016-03-07&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox">Firefox 47 ãã Firefox 48 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_47" name="Firefox_47">Firefox 47</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/about:debugging#Workers">ç»é²æžã¿ã® Service Worker ããããã°</a></li> + <li><a href="/ja/docs/Tools/Storage_Inspector#Cache_Storage">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ãã£ãã·ã¥ã¹ãã¬ãŒãžã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Memory/Dominators_view#Retaining_Paths_panel">ããããŒã¿ãŒãã¥ãŒã§ä¿æãã¹ã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Browser_Toolbox#Debugging_popups">ãã©ãŠã¶ãŒãã¢ããªã³ã®ãããã°ãæ¯æŽãããããããã«ãèªåçã«éããªãããã«ãã</a></li> + <li><a href="/ja/docs/Tools/3D_View">3D ãã¥ãŒ (Tilt) ãåé€</a></li> + <li><a href="/ja/docs/Tools/Responsive_Design_Mode#Responsive_Design_Mode_controls">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã§ã«ã¹ã¿ã ãŠãŒã¶ãŒãšãŒãžã§ã³ãæååãèšå®</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Fonts_view">ãã©ã³ãã€ã³ã¹ãã¯ã¿ãŒãããã©ã«ãã§ç¡å¹å</a></li> + <li><a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter#Entering_expressions">ã³ã³ãœãŒã«ãæªå®äºã®å
¥åãæ€åºããŠãè€æ°è¡å
¥åã¢ãŒãã«åãæ¿ãã</a></li> + <li><a href="/ja/docs/Tools/Contributing/Contribute_on_nightly">Firefox ã®ãªãã«ããªãã§éçºããŒã«ã®ããã¯ãå¯èœã«ãã Devtools Reload</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?list_id=13263761&chfield=resolution&chfieldfrom=2016-01-25&chfieldvalue=FIXED&resolution=FIXED&classification=Client%20Software&chfieldto=2016-03-07&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox">Firefox 46 ãã Firefox 47 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_46" name="Firefox_46">Firefox 46</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Memory/Dominators_view">ã¡ã¢ãªãŒããŒã«ã®ããããŒã¿ãŒãã¥ãŒ</a></li> + <li><a href="/ja/docs/Tools/Performance/Allocations">ããã©ãŒãã³ã¹ããŒã«ã®ã¡ã¢ãªãŒå²ãåœãŠãã¥ãŒ</a></li> + <li><a href="/ja/docs/Tools/Style_Editor#The_media_sidebar">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ <code>@media</code> èŠåã®æ¡ä»¶ãã¯ã³ã¯ãªãã¯ã§é©çš</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?list_id=13263754&resolution=FIXED&classification=Client%20Software&chfieldto=2016-01-25&query_format=advanced&chfield=resolution&chfieldfrom=2015-12-14&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20DOM&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Design%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Shared%20Components&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox">Firefox 45 ãã Firefox 46 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_45" name="Firefox_45">Firefox 45</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Searching">ããŒãžã€ã³ã¹ãã¯ã¿ãŒã®å
šææ€çŽ¢æ©èœ</a></li> + <li><a href="/ja/docs/Tools/Memory#Diffing_heap_snapshots">ã¡ã¢ãªãŒããŒã«ã§ããŒãã®ã¹ãããã·ã§ããã®å·®åã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Timeline">ãããã¯ãŒã¯ã¢ãã¿ãŒã§ DomContentLoaded ããã³ load ã€ãã³ãã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒãæ¹è¯</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&chfield=resolution&chfieldfrom=2015-10-29&chfieldto=2015-12-14&chfieldvalue=FIXED&classification=Client%20Software&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20about%3Adebugging&component=Developer%20Tools%3A%20Animation%20Inspector&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Computed%20Styles%20Inspector&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20CSS%20Rules%20Inspector&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Font%20Inspector&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20JSON%20Viewer&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&resolution=FIXED&list_id=12753878">Firefox 44 ãã Firefox 45 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_44" name="Firefox_44">Firefox 44</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Memory">ã¡ã¢ãªãŒããŒã«</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒãæ¹è¯</a></li> + <li><a href="/ja/docs/Tools/Performance/Waterfall#Markers">ã¿ã€ã ã©ã€ã³ã®æ°ããªããŒã«ãŒ: DomContentLoadedãloadãworker ã¡ãã»ãŒãž</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-11-03&query_format=advanced&chfield=resolution&chfieldfrom=2015-09-19&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=12582678">Firefox 43 ãã Firefox 44 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_43" name="Firefox_43">Firefox 43</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Firefox_43">ã¢ãã¡ãŒã·ã§ã³ã€ã³ã¹ãã¯ã¿ãŒã®æ°ã㪠UI</a></li> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#Server">ãŠã§ãã³ã³ãœãŒã«ã§ãµãŒããŒåŽã®ãã°ãèšé²</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Overridden_declarations">CSS 宣èšããªãŒããŒã©ã€ãããã«ãŒã«ããã°ããèŠã€ãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">ã€ã³ã¹ãã¯ã¿ãŒã®ã³ã³ããã¹ãã¡ãã¥ãŒé
ç® "ã³ã³ãœãŒã«ã§äœ¿ã"</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Strict_search">ã«ãŒã«ãã¥ãŒã§ "å³å¯ã«" ãã£ã«ã¿ãªã³ã°</a></li> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#Network">ã³ã³ãœãŒã«ã®ãããã¯ãŒã¯é
ç®ã«ãããã¯ãŒã¯ã¢ãã¿ãŒãžã®ãªã³ã¯ãè¿œå </a></li> + <li><a href="/ja/docs/Tools/WebIDE">WebIDE ã®æ°ããªãµã€ãã㌠UI</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-09-19&query_format=advanced&chfield=resolution&chfieldfrom=2015-08-10&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=12582678">Firefox 42 ãã Firefox 43 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_42" name="Firefox_42">Firefox 42</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_over_Wifi">Wi-Fi çµç±ã§ Android ç Firefox ã®ãããã°ãè¡ã</a></li> + <li><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Configuring_Simulators">WebIDE 㧠Firefox OS ã·ãã¥ã¬ãŒã¿ãŒã®èšå®ãè¡ã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Edit_CSS_filters#Saving_filter_presets">CSS filter ã®ããªã»ãã</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-08-10&query_format=advanced&chfield=resolution&chfieldfrom=2015-06-29&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=12478437">Firefox 41 ãã Firefox 42 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a>ã</p> + +<h2 id="Firefox_41" name="Firefox_41">Firefox 41</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">DOM ããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãã</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#CopySave_All_As_HAR">HAR ãšããŠã³ããŒ/HAR ãšããŠä¿å</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Add_rules">ã«ãŒã«ãã¥ãŒã® "æ°ããã«ãŒã«ãè¿œå " ãã¿ã³</a></li> + <li><a href="/ja/docs/Tools/View_source">ã¿ãã§ãœãŒã¹ã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Copy_rules">CSS ã«ãŒã«ã®ã³ããŒæ¹æ³ãè¿œå </a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/View_background_images">ã«ãŒã«ãã¥ãŒã§ç»åã data: URI ãšããŠã³ããŒ</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-06-29&query_format=advanced&chfield=resolution&chfieldfrom=2015-05-11&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=12283503">Firefox 40 ãã Firefox 41 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a>ãç¹ã«ããã©ãŒãã³ã¹ããŒã«ã«é¢ä¿ããããããã®ãã°ä¿®æ£ã®å€ã㯠Firefox 40 ã«åæ ãããŸããã</p> + +<h2 id="Firefox_40" name="Firefox_40">Firefox 40</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Firefox_40">ã¢ãã¡ãŒã·ã§ã³ãã¥ãŒãæ¹è¯</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Get_help_for_CSS_properties">CSS ããããã£ã®æ§æã®ãã«ãã MDN ããååŸ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Edit_CSS_filters">ã€ã³ã¹ãã¯ã¿ãŒã§ãã£ã«ã¿ãŒãç·šé</a></li> + <li><a href="/ja/docs/Tools/Web_Console#console_API_messages">Worker ãçºããã¡ãã»ãŒãžããŠã§ãã³ã³ãœãŒã«ã§è¡šç€º</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Filtering_by_URL">ãããã¯ãŒã¯ã¢ãã¿ãŒã§ãèŠæ±ã URL ã§ãã£ã«ã¿ãªã³ã°</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Context_menu">ãããã¯ãŒã¯ã¢ãã¿ãŒã§ãå€ãã®æ°ããªã³ã³ããã¹ãã¡ãã¥ãŒé
ç®ãè¿œå </a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Network_request_fields">ãããã¯ãŒã¯ãªãœãŒã¹ããã©ãŠã¶ãŒã®ãã£ãã·ã¥ããååŸãããããšã瀺ã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Filtering_rules">ããŒãžã€ã³ã¹ãã¯ã¿ãŒã§ãã«ãŒã«ããã£ã«ã¿ãªã³ã°</a></li> +</ul> + +<p>ããã«:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger/How_to/Debug_eval_sources">ç¡åã® eval ãœãŒã¹å
ã§ãdebugger; æ§æã§ãã¬ãŒã¯</a></li> + <li><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ãããã¬ãŒã®ãœãŒã¹ãªã¹ããã€ã³ã§ã[URL ãã³ããŒ] ããã³ [æ°ããã¿ãã§éã] ã³ã³ããã¹ãã¡ãã¥ãŒé
ç®ãè¿œå </a></li> + <li><a href="/ja/docs/Tools/Web_Console#Log_messages">ãŠã§ãã³ã³ãœãŒã«ã§ console.dirxml ããµããŒã</a></li> + <li><a href="/ja/docs/Tools/Style_Editor#The_style_sheet_pane">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ãã¹ã¿ã€ã«ã·ãŒããªã¹ãã®ã³ã³ããã¹ãã¡ãã¥ãŒã« "ãªã³ã¯ãæ°ããã¿ãã§éã" ãè¿œå </a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Searching">ã€ã³ã¹ãã¯ã¿ãŒã®ã»ã¬ã¯ã¿ãŒæ€çŽ¢ã§ãCSS æ¥é èŸãã€ããªããŠã class ã id ãæ€çŽ¢çµæã«è¡šç€º</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model#The_Box_Model_view">ããã¯ã¹ã¢ãã«ãã¥ãŒã®ããŒã«ãããã§ãã©ã® CSS ã«ãŒã«ã«ãã£ãŠå€ã決ãŸã£ããã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Inspect_and_select_colors">ã€ã³ã¹ãã¯ã¿ãŒã§ãShift + ã¯ãªãã¯ã§è²åäœãåãæ¿ã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">ã€ã³ã¹ãã¯ã¿ãŒã§ã"ãã®èŠçŽ ã®äœçœ®ã«ã¹ã¯ããŒã«" ã¡ãã¥ãŒé
ç®ãå®è£
</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">ã€ã³ã¹ãã¯ã¿ãŒã§ãurl/id/resource å±æ§ããªã³ã¯ãšããŠæ±ã</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Network_request_fields">ãããã¯ãŒã¯ã¢ãã¿ãŒã§ãIP ã¢ãã¬ã¹ãããŒã«ãããã§è¡šç€º</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-05-11&query_format=advanced&chfield=resolution&chfieldfrom=2015-03-31&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=12283503">Firefox 39 ãã Firefox 40 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_39" name="Firefox_39">Firefox 39</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Connecting_over_WiFi">WebIDE ã§ãWi-Fi çµç±ã§ Firefox OS ããã€ã¹ã®ãããã°ãå¯èœã«ãªããŸãã</a></li> + <li><a href="/ja/docs/Tools/WebIDE/Working_with_Cordova_apps_in_WebIDE">WebIDE 㧠Cordova ã®ãããžã§ã¯ãããµããŒãããŸãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Firefox_39">ã¢ãã¡ãŒã·ã§ã³ãã¥ãŒã§æ©æ»ããæ©éããç¹å®ã®æéãžã®ãžã£ã³ããå¯èœã«ãªããŸãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Firefox_39">3 次ããžã§æ²ç·ãšãã£ã¿ãŒã«ããªã»ããã 31 åæèŒããŸãã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Drag_and_drop">ã€ã³ã¹ãã¯ã¿ãŒã§èŠçŽ ã®ãã©ãã°ã»ã¢ã³ãã»ãããããå¯èœã«ãªããŸãã</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Command_history">ãŠã§ãã³ã³ãœãŒã«ã®ã³ãã³ãå±¥æŽããã»ãã·ã§ã³ããŸããã§ç¶æãããããã«ãªããŸãã</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Helper_commands">ã³ã³ãœãŒã«ã§æåŸã«è©äŸ¡ãããåŒã®çµæã衚瀺ãã $_ ã³ãã³ã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_the_box_model#Firefox_39">ã€ã³ã©ã€ã³èŠçŽ ã®ããã¯ã¹ã¢ãã«ã®ãã€ã©ã€ãæ©èœãæ¹å</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&query_based_on=devtools_resolved_week&chfieldto=2015-03-31&chfield=resolution&query_format=advanced&chfieldfrom=2015-02-22&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Performance%20Tools%20%28Profiler%2FTimeline%29&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&known_name=devtools_resolved_week&list_id=12157026">Firefox 38 ãã Firefox 39 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_38" name="Firefox_38">Firefox 38</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Audio_Editor#Bypassing_nodes">Web Audio Editor ã§ãªãŒãã£ãªããŒãããã€ãã¹</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Helper_commands">ãŠã§ãã³ã³ãœãŒã«ã® "ã³ããŒ" ã³ãã³ã</a></li> + <li><a href="/ja/docs/Tools/Web_Console#XHR">ãŠã§ãã³ã³ãœãŒã«ã§ XmlHttpRequest ããã€ã©ã€ãããã³ãã£ã«ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Debugger/How_to/Examine,_modify,_and_watch_variables">ãããã¬ãŒã§ãæé©åã«ããåé€ãããå€æ°ã確èª</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Security">ãããã¯ãŒã¯ã¢ãã¿ãŒã§ã»ãã¥ãªãã£ã®èŠåã確èª</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Network_request_fields">ãããã¯ãŒã¯ã¢ãã¿ãŒã§äŒéãµã€ãºã確èª</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations#Animations_view">ããŒãžã®ã¢ãã¡ãŒã·ã§ã³ãåç/åæ¢</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-02-23&query_format=advanced&chfield=resolution&chfieldfrom=2015-01-12&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20Timeline&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=12076303">Firefox 37 ãã Firefox 38 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_37" name="Firefox_37">Firefox 37</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Network_Monitor#Security">ãããã¯ãŒã¯ã¢ãã¿ãŒã®ã»ãã¥ãªãã£ããã«</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Work_with_animations">ã€ã³ã¹ãã¯ã¿ãŒã®ã¢ãã¡ãŒã·ã§ã³ããã«</a></li> + <li><a href="/ja/docs/Tools/WebIDE#Running_a_custom_build_step">WebIDE ã§ã«ã¹ã¿ã ãã«ãã¹ãããã®å®è¡ããµããŒã</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2015-01-12&chfield=resolution&query_format=advanced&chfieldfrom=2014-11-28&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20Timeline&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=11892733">Firefox 36 ãã Firefox 37 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_36" name="Firefox_36">Firefox 36</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Debugger/How_to/Debug_eval_sources">eval ã§è©äŸ¡ããããœãŒã¹ããããã¬ãŒã§è¡šç€º</a></li> + <li><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE">Android ç Firefox ãžã®æ¥ç¶æé ãç°¡çŽ å</a></li> + <li>ãªã¢ãŒãã§ããã¯ã¹ã¢ãã«ã®ãã€ã©ã€ã衚瀺ãåäœ</li> + <li><a href="/ja/docs/Tools/Performance#Inverting_the_call_tree">ãããã¡ã€ã©ãŒã® "åŒã³åºãããªãŒãå転" ãªãã·ã§ã³</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Type-specific_rich_output">ã³ã³ãœãŒã«ã§ DOM Promise ã調æ»</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Element_popup_menu">ã€ã³ã¹ãã¯ã¿ãŒã§ "貌ãä»ã" æ¹æ³ãè¿œå </a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2014-11-28&chfield=resolution&query_format=advanced&chfieldfrom=2014-10-13&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20Timeline&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&product=Firefox&list_id=11736454">Firefox 35 ãã Firefox 36 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_35" name="Firefox_35">Firefox 35</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Page_Inspector#.3A.3Abefore_and_.3A.3Aafter">ã€ã³ã¹ãã¯ã¿ãŒã§ ::before ããã³ ::after ç䌌èŠçŽ ã確èªã§ããããã«ãªããŸãã</a>ã</li> + <li><a href="/ja/docs/Tools/Style_Editor#Source_map_support">CSS ãœãŒã¹ããããããã©ã«ãã§æå¹ã«ãªããŸãã</a>ã</li> + <li><a href="/ja/docs/Tools/Page_Inspector#Element_popup_menu_2">ã€ã³ã¹ãã¯ã¿ãŒãã "DOM ããããã£ã®è¡šç€º" ãå¯èœã«ãªããŸãã</a>ã</li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&chfieldto=2014-10-13&chfield=resolution&query_format=advanced&chfieldfrom=2014-09-02&chfieldvalue=FIXED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20Timeline&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&component=Simulator&product=Firefox&product=Firefox%20OS&list_id=11184176">Firefox 34 ãã Firefox 35 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_34" name="Firefox_34">Firefox 34</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Storage_Inspector">Storage Inspector: ãŠã§ãããŒãžãä¿åããããŒã¿ã確èªã§ããæ°ããŒã«</a></li> + <li><a href="/ja/docs/Tools/Performance">Performance tool: ãããã¡ã€ã©ãŒã® UI ã®æ¹è¯ãšãã¬ãŒã ã¬ãŒãã®ã¿ã€ã ã©ã€ã³</a></li> + <li><a href="/ja/docs/tools/Working_with_iframes">Frame switching: éçºããŒã«ãããŒãžå
ã®ç¹å®ã® iframe ãæãããã«ãã</a></li> + <li><a href="/ja/docs/Web/API/Console.table">console.table ããµããŒã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#Examining_event_listeners">ã€ã³ã¹ãã¯ã¿ãŒã§ jQuery ã®ã€ãã³ãã®ç¢ºèªãå¯èœ</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&chfieldto=2014-09-02&chfield=resolution&query_format=advanced&chfieldfrom=2014-07-21&chfieldvalue=FIXED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Storage%20Inspector&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20Timeline&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20Web%20Audio%20Editor&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&component=Developer%20Tools%3A%20WebIDE&component=Simulator&product=Firefox&product=Firefox%20OS&list_id=11184176">Firefox 33 ãã Firefox 34 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_33" name="Firefox_33">Firefox 33</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/WebIDE">WebIDE</a>: ãŠã§ãã¢ããªã®éçºããããã°ã®ããã®æ°ããªç°å¢</li> + <li>ã¢ãã¡ãŒã·ã§ã³ã® <a href="/ja/docs/Tools/Page_Inspector#Editing_.40keyframes">@keyframes</a> ãš <a href="/ja/docs/Tools/Page_Inspector#Editing_cubic_B.C3.A9zier_curves">ã¿ã€ãã³ã°é¢æ°</a> ã®ç·šéãå¯èœ</li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã§ <a href="/ja/docs/Tools/Page_Inspector#Examining_event_listeners">ã€ãã³ããªã¹ããŒã®ç¢ºèªãå¯èœ</a></li> + <li>ã¹ã¿ã€ã«ãšãã£ã¿ãŒã® <a href="/ja/docs/Tools/Style_Editor#The_media_sidebar">ãµã€ãããŒã§ @media èŠåã衚瀺</a></li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã§ <a href="/ja/docs/Tools/Page_Inspector#Adding_rules">CSS èŠåã®æ°èŠäœæ</a> ãš <a href="/ja/docs/Tools/Page_Inspector#Editing_rules">ã»ã¬ã¯ã¿ãŒã®ç·šé</a> ãå¯èœ</li> + <li><a href="/ja/docs/Tools/GCLI#Commands">éçºããŒã«ããŒã®æ°ã³ãã³ã</a>: folder, highlight, inject</li> +</ul> + +<p>ããã«:</p> + +<ul> + <li><a href="/ja/docs/Tools/Tools_Toolbox#Advanced_settings">ãã£ãã·ã¥ãç¡å¹åããèšå®</a> ããéçºããŒã«ãéãçŽããåŸãç¶ç¶</li> + <li><a href="/ja/docs/Tools/Page_Inspector#transform_visualisation">transform ã®èŠèŠåãããŒã«ãããã§ã¯ãªããããŒãžå
ã§è¡šç€º</a></li> + <li><a href="/ja/docs/Tools/Tools_Toolbox#Editor_Preferences">ãœãŒã¹ãšãã£ã¿ãŒã®èšå®</a> ãéçºããŒã«ã®ãªãã·ã§ã³ã«ç§»å</li> + <li>ã¬ã¹ãã³ã·ããã¶ã€ã³ãã¥ãŒã§ <a href="/ja/docs/Tools/Responsive_Design_View#select-size">ãã¥ãŒããŒãã®ãµã€ãºãçŽæ¥ç·šéå¯èœ</a></li> + <li>ãããã¬ãŒã§ã<a href="/ja/docs/Tools/Debugger#Debugger_settings">æ¡åŒµåã "min.js" ã§ãããœãŒã¹ãã¡ã€ã«ãèªåçã«ãã©ãã¯ããã¯ã¹å</a></li> +</ul> + +<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2014-07-21&chfield=resolution&query_format=advanced&chfieldfrom=2014-06-09&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20App%20Manager&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&product=Firefox">Firefox 32 ãã Firefox 33 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_32" name="Firefox_32">Firefox 32</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Audio_Editor">Web Audio ãšãã£ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Scratchpad#Code_completion_and_inline_documentation">ã¹ã¯ã©ãããããã®ã³ãŒãè£å®ãšã€ã³ã©ã€ã³ããã¥ã¡ã³ã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#Rules_view">ã€ã³ã¹ãã¯ã¿ãŒã®ã«ãŒã«ãã¥ãŒã§ãŠãŒã¶ãŒãšãŒãžã§ã³ãã®ã¹ã¿ã€ã«ã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#Firefox_32_onwards_2">èŠçŽ éžæãã¿ã³ã移å</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#Firefox_32_onwards">ã€ã³ã¹ãã¯ã¿ãŒã®æ
å ±ããŒã«ããŒãã®å¯žæ³ãè¿œå </a></li> + <li><a href="/ja/docs/Tools/Tools_Toolbox#Extra_tools">ããŒãžå
šäœã®ã¹ã¯ãªãŒã³ã·ã§ãããã¿ã³ãè¿œå </a></li> +</ul> + +<p>ããã«:</p> + +<ul> + <li>ããŒã«ã« HiDPI ç»åãè¿œå </li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã§ã<code>display:none</code> ãèšå®ãããŠããããŒããç°ãªãæžåŒã§è¡šç€º</li> +</ul> + +<p><a href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2014-06-09&chfield=resolution&query_format=advanced&chfieldfrom=2014-04-28&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20App%20Manager&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&product=Firefox">Firefox 31 ãã Firefox 32 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_31" name="Firefox_31">Firefox 31</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Eyedropper">ãŠã§ãããŒãžããè²ãéžæããã¹ãã€ãããŒã«</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Error_messages">ã³ã³ãœãŒã«ã®ãšã©ãŒã¡ãã»ãŒãžã§ãã«ã¹ã¿ãã¯ãã¬ãŒã¹ã衚瀺</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#Box_model_view">ããã¯ã¹ã¢ãã«ãã¥ãŒã§ç·šéãå¯èœ</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Styling_messages">ã³ã³ãœãŒã«ã®ã¡ãã»ãŒãžã«ã¹ã¿ã€ã«ãèšå®ãã %c æžåŒ</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Copy_as_cURL">ãããã¯ãŒã¯ã¢ãã¿ãŒã® "cURL ãšããŠã³ããŒ" ã³ãã³ã</a></li> + <li><a href="/ja/docs/tools/Keyboard_shortcuts#Source_editor">ãœãŒã¹ãšãã£ã¿ãŒã§ Sublime Text ã®ããŒãã€ã³ãããµããŒã</a></li> +</ul> + +<p>ããã«:</p> + +<ul> + <li><a href="/ja/docs/Tools/Network_Monitor#Network_request_list">ãããã¯ãŒã¯ã¢ãã¿ãŒã®ãã°ãæ®ãç¶ãããªãã·ã§ã³</a></li> + <li><a href="/ja/docs/Tools/Web_Console#JavaScript_errors_and_warnings">ãŠã§ãã³ã³ãœãŒã«ã§ãJavaScript ã®èŠåãããã©ã«ãã§è¡šç€ºããããã«å€æŽ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#HTML_pane_2">Alt + ã¯ãªãã¯ã§ããŒãã®åå«ããã¹ãŠè¡šç€º</a></li> +</ul> + +<p><a href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2014-04-28&chfield=resolution&query_format=advanced&chfieldfrom=2014-03-17&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20App%20Manager&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&product=Firefox&list_id=10022921">Firefox 30 ãã Firefox 31 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_30" name="Firefox_30">Firefox 30</h2> + +<p>ãã€ã©ã€ã:</p> + +<ul> + <li><a href="https://www.youtube.com/watch?v=y2LcsxE2pR0">ã€ã³ã¹ãã¯ã¿ãŒã®ã¢ãã¡ãŒã·ã§ã³ããã«</a></li> + <li><a href="/ja/docs/Tools/Web_Console#Working_with_iframes">ãã¬ãŒã å
ã§å®è¡ãã JS ããŠã§ãã³ã³ãœãŒã«ã§ãµããŒã</a></li> + <li>ãŠã§ãã³ã³ãœãŒã«ã®è¡šç€ºãæ¹è¯: ã³ãŒãã®ãã€ã©ã€ã衚瀺ã<a href="/ja/docs/Tools/Web_Console#Highlighting_and_inspecting_nodes">ããŒãã®ãã€ã©ã€ã衚瀺ãšèª¿æ»</a></li> + <li>ãããã¯ãŒã¯ã¢ãã¿ãŒã®ããŒããæ¹è¯ã<a href="/ja/docs/Tools/Network_Monitor#Network_request_fields">ç»åã®ãµã ãã€ã«ãšãã¬ãã¥ãŒ</a>ã<a href="/ja/docs/Tools/Network_Monitor#Preview">HTML ã®ãã¬ãã¥ãŒ</a></li> + <li><a href="/ja/docs/Tools/Browser_Console#Browser_Console_command_line">ãã©ãŠã¶ãŒã³ã³ãœãŒã«ã®å
¥åé åã¯ãèšå®ããæå¹åããªããã°ãªããŸãã</a></li> + <li><a href="/ja/docs/Tools_Toolbox#Available_Toolbox_Buttons">ã¹ã¯ã©ããããããªã©ã®ããŒã«ã®ã¢ã€ã³ã³ãããã©ã«ãã§é衚瀺ã«å€æŽ</a></li> +</ul> + +<p>ããã«:</p> + +<ul> + <li><a href="/ja/docs/Web/API/console.count">console.count()</a> ããµããŒã</li> + <li><a href="/ja/docs/Tools/Web_Console#Keyboard_shortcuts">ãŠã§ãã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã«ãã©ãŒã«ã¹ããããã®æ°ããªã·ã§ãŒãã«ããããŒ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#font-family_tooltip">ã€ã³ã¹ãã¯ã¿ãŒã®ããã©ã³ããã¡ããªãŒã®ããŒã«ããã</a></li> + <li><a href="/en-US/Firefox_OS/Debugging/Developer_settings#Developer_HUD">Firefox OS HUD</a> æ©èœ: ã¡ã¢ãªã®ãã©ããã³ã°ãš jank ã¢ãã¿ãŒ</li> +</ul> + +<p><a href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2014-03-17&chfield=resolution&query_format=advanced&chfieldfrom=2014-02-03&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20App%20Manager&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&product=Firefox&list_id=9755315">Firefox 29 ãã Firefox 30 ã®éã«è§£æ±ºããéçºããŒã«é¢é£ã®ãã°äžèŠ§</a></p> + +<h2 id="Firefox_29" name="Firefox_29">Firefox 29</h2> + +<p><a href="https://hacks.mozilla.org/2014/02/css-source-map-support-network-performance-analysis-more-firefox-developer-tools-episode-29/" title="http://www.mozilla.org/en-US/firefox/aurora/">Firefox 29 Hacks ããã°ã®èšäº</a>ããã€ã©ã€ã:</p> + +<ul> + <li>Light ããŒãã®ã¡ãžã£ãŒã¢ããããŒããå«ãã<a href="/ja/docs/Tools_Toolbox#Choose_DevTools_theme">ããŒãã®æ¹å</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor#Performance_analysis">ãããã¯ãŒã¯ã¢ãã¿ãŒã®ããã©ãŒãã³ã¹åæããŒã«</a></li> + <li><a href="/ja/docs/Tools/Style_Editor#Source_map_support">CSS ãœãŒã¹ããã</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector#Selecting_elements">ã€ã³ã¹ãã¯ã¿ãŒã§ããŒãéžææã®åäœãå€æŽ</a></li> + <li>ãããã¬ãŒã§ <a href="/ja/docs/Tools/Debugger#Call_stack_pane">äŒçµ±çãªã³ãŒã«ã¹ã¿ãã¯</a> ããã³ <a href="/ja/docs/Tools/Debugger#Highlight_and_inspect_DOM_nodes">ããŒãã®åŒ·èª¿ããã³èª¿æ»</a> æ©èœãè¿œå </li> + <li><a href="/ja/docs/Tools/Using_the_Source_Editor#See_also">ãœãŒã¹ãšãã£ã¿ãŒã§ Emacs ããã³ Vim ã®ããŒãã€ã³ãããµããŒã</a></li> +</ul> + +<h2 id="Firefox_28" name="Firefox_28">Firefox 28</h2> + +<p><a href="https://hacks.mozilla.org/2013/12/split-console-pretty-print-minified-js-and-more-firefox-developer-tools-episode-28/" title="Aurora Hacks post">Firefox 28 Hacks ããã°èšäº</a>ããã€ã©ã€ã:</p> + +<ul> + <li>ã¢ããªãããŒãžã£ãŒã« <a href="/ja/Firefox_OS/Using_the_App_Manager#ãããã§ã¹ããšãã£ã¿">ãããã§ã¹ããšãã£ã¿ãŒ</a> ãçµ±å</li> + <li>ãŠã§ãã³ã³ãœãŒã«ãšä»ã®éçºããŒã«ã䞊ã¹ãŠäœ¿çšå¯èœã«ããã<a href="/ja/docs/Tools/Web_Console#The_split_console">ã³ã³ãœãŒã«ã®åžžæ衚瀺</a> æ©èœ</li> + <li>ãããã¬ã®ã<a href="/ja/docs/Tools/Debugger#Pretty-print_a_minified_file">ãããã¡ã€ããã JavaScript ãæŽåœ¢ããæ©èœ</a></li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã®ã<a href="/ja/docs/Tools/Page_Inspector#Rules_view">ã«ã©ãŒããã«ãŒã®ããŒã«ããã</a></li> + <li>ãã©ãããã©ãŒã ãã¢ããªã³ã®ã³ãŒãããããã°ããããã® <a href="/ja/docs/Tools/Browser_Toolbox">ãã©ãŠã¶ãŒããŒã«ããã¯ã¹</a></li> +</ul> + +<h2 id="Firefox_27" name="Firefox_27">Firefox 27</h2> + +<p><a href="https://hacks.mozilla.org/2013/11/firefox-developer-tools-episode-27-edit-as-html-codemirror-more/">Firefox 27 Hacks ããã°èšäº</a>ããã€ã©ã€ã:</p> + +<ul> + <li>WebGL ã·ã§ãŒããŒã®è¡šç€ºãç·šéãå¯èœãª <a href="/ja/docs/Tools/Shader_Editor">ã·ã§ãŒããŒãšãã£ã¿ãŒ</a></li> + <li>ãããã¬ãŒã§ããªãã¹ã³ããŠãã <a href="/ja/docs/Tools/Debugger#Break_on_a_DOM_event">DOM ã€ãã³ãã§ãã¬ãŒã¯</a> ãããããã«ãã</li> + <li><a href="/ja/docs/Tools/Page_Inspector#Editing_HTML">ã€ã³ã¹ãã¯ã¿ãŒå
㧠HTML ãç·šé</a></li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã® <a href="/ja/docs/Tools/Page_Inspector#Rules_view">ã«ãŒã«ãã¥ãŒ</a> ã§ãè²èŠæ¬ãšèæ¯ç»åã確èª</li> + <li>ãŠã§ãã³ã³ãœãŒã«ã <a href="/ja/docs/Tools/Web_Console#Reflow_events">ãªãããŒã€ãã³ã</a> ãèšé²</li> + <li>å€ãã®ããŒã«ã§ããœãŒã¹ãšãã£ã¿ãŒãšã㊠CodeMirror ã䜿çš</li> +</ul> diff --git a/files/ja/tools/remote_debugging/chrome_desktop/index.html b/files/ja/tools/remote_debugging/chrome_desktop/index.html new file mode 100644 index 0000000000..6289a985ba --- /dev/null +++ b/files/ja/tools/remote_debugging/chrome_desktop/index.html @@ -0,0 +1,48 @@ +--- +title: ãã¹ã¯ãããç Chrome ã®ãªã¢ãŒããããã° +slug: Tools/Remote_Debugging/Chrome_Desktop +translation_of: Tools/Remote_Debugging/Chrome_Desktop +--- +<div>{{ToolsSidebar}}</div><p>ãã¹ã¯ãããç°å¢ã§å®è¡ããŠãã <a href="/ja/docs/Glossary/Google_Chrome">Google Chrome</a> ã« <a href="/ja/docs/Tools">Firefox éçºããŒã«</a>ãæ¥ç¶ããæ¹æ³ã説æããŸãã</p> + +<div class="note"> +<p>æ¬æ©èœã®ãµããŒãç¶æ³ã¯ãFirefox ã®ãããã°ãããã³ã«ãš Chrome ã®ãããã°ãããã³ã«ã®æ©æž¡ããè¡ã Valence ã¢ããªã³ã«äŸåããŸããValence ã®ãµããŒãç¶æ³ã¯ããŸã åæ段éã§ãã</p> +</div> + +<p>æ¬ã¬ã€ã㯠2 ã€ã®ããŒãã«åããŠããŸã: ããŒã 1 "äºåæºå" ã§ã¯ 1 åã ãå¿
èŠãªäœæ¥ããããŒã 2 "æ¥ç¶" ã§ã¯ããã€ã¹ãžæ¥ç¶ãããã³ã«å¿
èŠãªäœæ¥ãæ±ããŸãã</p> + +<h2 id="Prerequisites" name="Prerequisites">äºåæºå</h2> + +<p>以äžã®ãã®ãå¿
èŠã§ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Valence">Valence</a> ã¢ããªã³ (æ§ Firefox ããŒã«ã¢ããã¿) ãã€ã³ã¹ããŒã«ãããFirefox 35 以éã<a href="/ja/Firefox/Developer_Edition">Firefox Developer Edition</a> ã䜿çšããŠããå Žåã¯ãValence ã¯ã€ã³ã¹ããŒã«æžã¿ã§ããä»ã®ãšãã£ã·ã§ã³ã§ã¯ã<a href="https://ftp.mozilla.org/pub/mozilla.org/labs/fxdt-adapters/">ææ°ããŒãžã§ã³ã® Valence ãããŠã³ããŒã</a>ããŠãXPI ãã¡ã€ã«ã Firefox ã§éããŠã€ã³ã¹ããŒã«ããŠãã ããã</li> + <li>Chrome ããŒãžã§ã³ 37 以éã</li> +</ul> + +<h2 id="Connecting" name="Connecting">æ¥ç¶</h2> + +<p>{{EmbedYouTube("g5p9__OiaMY")}}</p> + +<h3 id="Running_Chrome" name="Running_Chrome">Chrome ãå®è¡ãã</h3> + +<p>ãã¹ã¯ãããç ã以äžã®ç¹å¥ãªãã©ã°ä»ãã§èµ·åããŠããªã¢ãŒããããã°ãæå¹ã«ããŸããéèŠãªãã©ã°ã¯ <code>--remote-debugging-port=9222</code> ã§ãã<a class="external external-icon" href="http://www.chromium.org/developers/how-tos/run-chromium-with-flags">ãããã®ãã©ã°ä»ã㧠Chrome ããã»ã¹ãå®è¡ããæ¹æ³</a>ã®ã¬ã€ããã芧ãã ããã</p> + +<p>ä»ã«ãããã€ã䟿å©ãããããªããã©ã°ããããŸãã<code>--no-first-run</code>ã<code>--no-default-browser-check</code>ã<code>--user-data-dir</code> ä»ãã§å®è¡ããã°ãä»ã® Chrome ãããã¡ã€ã«ãšåæã«å®è¡ã§ããŸãã</p> + +<p>äŸãã° OS X ã§ã¯ä»¥äžã®ã³ãã³ããå®è¡ãããšãä»ã®ã€ã³ã¹ã¿ã³ã¹ãšã¯åé¢ãããããã¡ã§ããããã°å¯èœãª Chrome ãèµ·åã§ããŸã:</p> + +<pre class="language-html"><code class="language-html">/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=$(mktemp -d -t 'chrome-remote_data_dir')</code></pre> + +<h3 id="Connecting_using_WebIDE" name="Connecting_using_WebIDE">WebIDE ã䜿çšããŠæ¥ç¶ãã</h3> + +<p>Firefox 㧠<a href="/ja/docs/Tools/WebIDE#Opening_WebIDE">WebIDE</a>ãéããŸããWebIDE 㧠"ã©ã³ã¿ã€ã ãéžæ" ãã¯ãªãã¯ããŠãããããããŠã³ã¡ãã¥ãŒãã "Chrome Desktop" ãéžæããŠãã ããã</p> + +<p>ãããŠãWebIDE 㧠"ã¢ããªãéã" ãã¯ãªãã¯ããŠãã ãããããã«ãããã€ã¹ã§éããŠãããã¹ãŠã®ã¿ãã衚瀺ããŸããã¿ãåãã¯ãªãã¯ãããšããã®ã¿ãã«éçºããŒã«ãæ¥ç¶ããŸããã»ãšãã©ã® Firefox éçºããŒã«ã䜿çšã§ããŸãããã ãã以äžã®ããŒã«ã¯æªãµããŒãã§ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Performance">ããã©ãŒãã³ã¹</a></li> + <li>ã¿ã€ã ã©ã€ã³</li> + <li><a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯</a></li> + <li><a href="/ja/docs/Tools/Storage_Inspector">ã¹ãã¬ãŒãž</a></li> +</ul> diff --git a/files/ja/tools/remote_debugging/debugging_firefox_desktop/index.html b/files/ja/tools/remote_debugging/debugging_firefox_desktop/index.html new file mode 100644 index 0000000000..adfd3563fb --- /dev/null +++ b/files/ja/tools/remote_debugging/debugging_firefox_desktop/index.html @@ -0,0 +1,82 @@ +--- +title: ãã¹ã¯ãããç Firefox ã®ãããã°ãè¡ã +slug: Tools/Remote_Debugging/Debugging_Firefox_Desktop +tags: + - Debugging + - Guide + - Tools +translation_of: Tools/Remote_Debugging/Debugging_Firefox_Desktop +--- +<div>{{ToolsSidebar}}</div><p>ãã®ã¬ã€ãã§ã¯ãåããã·ã³äžã®å¥ã®ã€ã³ã¹ã¿ã³ã¹ãšããŠå®è¡ããŠãããã¹ã¯ãããç Firefox ã«ãFirefox éçºããŒã«ãæ¥ç¶ããæ¹æ³ã説æããŸããããã§ã¯ããããã°ããã Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã<em>ãããã°å
</em>ããããã°ãè¡ã Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã<em>ãããã°å
</em>ãšåŒã³ãŸãã</p> + +<h2 id="Enable_remote_debugging" name="Enable_remote_debugging">ãªã¢ãŒããããã°ãæå¹åãã</h2> + +<p>å§ãã«ãããã°å
ãšãããã°å
ã® <a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ã§ã"ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã¬ãŒãæå¹" ããã³ "ãªã¢ãŒããããã¬ãŒãæå¹" ãæå¹ã«ããªããã°ãªããŸããã</p> + +<p>ãã®äœæ¥ã¯ 1 åã ãå¿
èŠã§ããèšå®å€ã¯åèµ·ååŸãç¶æãããŸãã</p> + +<h2 id="Start_the_debugger_server" name="Start_the_debugger_server">ãããã¬ãŒãµãŒããéå§ãã</h2> + +<p>次ã«ããããã°å
ã§ãããã¬ãŒãµãŒããŒãéå§ããŸãã</p> + +<h3 id="Before_Firefox_37" name="Before_Firefox_37">Firefox 37 ããåã®ããŒãžã§ã³</h3> + +<p>Firefox 37 ããåã®ããŒãžã§ã³ã§ã¯ã<a href="/ja/docs/Tools/GCLI">éçºããŒã«ããŒ</a> ãéããŠä»¥äžã®ã³ãã³ããå®è¡ããŸã:</p> + +<pre>listen 6000</pre> + +<p>ãã®ã³ãã³ãã¯ãããŒã 6000 çªã§ãããã¬ãŒã¯ã©ã€ã¢ã³ãã®æ¥ç¶ãåŸ
ã¡åãããããããããã°å
ã«æ瀺ããŸãã6000 çªä»¥å€ã䜿çšã§ããŸãã</p> + +<p>ãããã°å
ãåèµ·åããå Žåã¯ãå床ã³ãã³ããå®è¡ããªããã°ãªããŸããã</p> + +<h3 id="Firefox_37_onwards" name="Firefox_37_onwards">Firefox 37 以éã®ããŒãžã§ã³</h3> + +<p>Firefox 37 以éã§ãååºã®æ¹æ³ã䜿çšã§ããŸãããããã²ãšã€æ¹æ³ããããŸãã<code>--start-debugger-server</code> ãªãã·ã§ã³ãæž¡ããŠãã³ãã³ãã©ã€ã³ãããããã°å
ãèµ·åããŸã:</p> + +<pre>/path/to/firefox --start-debugger-server</pre> + +<p>åŒæ°ãæž¡ããªãå Žåã--start-debugger-server ã¯ãããã¬ãŒãµãŒããŒãããŒã 6000 çªã§åŸ
ã¡åããããŸããå¥ã®ããŒãã䜿çšããå Žåã¯ãåžæããããŒãçªå·ãæž¡ããŸã:</p> + +<pre>/path/to/firefox --start-debugger-server 1234</pre> + +<p>泚èš: Windows ã§ã¯ã<code>start-debugger-server</code> ããã€ãã³ 1 åã§åŒã³åºããŸã:</p> + +<pre>firefox.exe -start-debugger-server 1234</pre> + +<div class="note"> +<p><strong>泚èš</strong>: ããã©ã«ãã§ã¯ã»ãã¥ãªãã£äžã®çç±ã§ã<code>devtools.debugger.force-local</code> ãèšå®ããŠããŸããå€éšã®ãã·ã³ãã Firefox ã€ã³ã¹ã¿ã³ã¹ã®ãããã°ãè¡ãããå Žåã¯ãã®èšå®ãå€æŽããŠãããŸããŸããããä¿¡é Œæžã¿ã®ãããã¯ãŒã¯ãŸãã¯ã©ã®ãã·ã³ãã¢ã¯ã»ã¹ã§ããããå³ããå¶åŸ¡ãããã¡ã€ã¢ãŠã©ãŒã«èŠåãèšå®ãããç°å¢ã§ã®ã¿è¡ã£ãŠãã ããã</p> +</div> + +<h2 id="Connect" name="Connect">æ¥ç¶</h2> + +<p>æ¥ç¶æ¹æ³ã¯ 2 çš®é¡ãããŸããæ¥ç¶ç»é¢ã䜿çšããæ¹æ³ãšãWebIDE ã䜿çšããæ¹æ³ã§ãã</p> + +<h3 id="Connect_screen" name="Connect_screen">æ¥ç¶ç»é¢</h3> + +<p>ãããã°å
ã®ããŒã«/ãŠã§ãéçºã¡ãã¥ãŒé
äžã«ã[æ¥ç¶...] ãšããé
ç®ããããŸãããã®é
ç®ãã¯ãªãã¯ãããšã以äžã®ãããªããŒãžãéããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10063/remote-connect-1.png" style="display: block; margin-left: auto; margin-right: auto; width: 640px;"></p> + +<p>ãããã°å
ã«åŸ
ã¡åããããŠããããŒãçªå·ãå
¥åããŠã"æ¥ç¶" ãã¯ãªãã¯ããŸãããããšããããã°å
ã§æ¥ç¶ç¢ºèªãæ±ãããã€ã¢ãã°ã衚瀺ãããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10073/remote-warning.png" style="display: block; height: 193px; margin-left: auto; margin-right: auto; width: 502px;">"OK" ãã¯ãªãã¯ããŠãããã°å
ã«æ»ããšã以äžã®ãããªããŒãžã衚瀺ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10065/remote-connect-2.png" style="display: block; margin-left: auto; margin-right: auto; width: 640px;"></p> + +<ul> + <li>"å©çšå¯èœãªãªã¢ãŒãã®ã¿ã" ã«ããããã°å
ã§éããŠãããã¹ãŠã®ã¿ãã衚瀺ããŸããã¿ãåãã¯ãªãã¯ãããšããã®ã¿ãã«éçºããŒã«ãæ¥ç¶ããŸãã</li> + <li>"å©çšå¯èœãªãªã¢ãŒãã®ã¢ããªã³" ã«ããããã°å
ã«ã€ã³ã¹ããŒã«ããŠãããã¹ãŠã®ã¢ããªã³ã衚瀺ããŸããã¢ããªã³åãã¯ãªãã¯ãããšããã®ã¢ããªã³ã«éçºããŒã«ãæ¥ç¶ããŸãã</li> + <li>"å©çšå¯èœãªãªã¢ãŒãã®ããã»ã¹" ã«ãFirefox ã®ããã»ã¹ã衚瀺ããŸãã"ã¡ã€ã³ããã»ã¹" ãã¯ãªãã¯ãããšããã©ãŠã¶ãŒèªäœã«éçºããŒã«ãæ¥ç¶ããŸãã</li> +</ul> + +<h3 id="WebIDE" name="WebIDE">WebIDE</h3> + +<p>ãããã°å
㧠WebIDE ãéããšã"ã©ã³ã¿ã€ã ãéžæ" ã®äžã« "ãªã¢ãŒãã©ã³ã¿ã€ã " ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10069/remote-webide-1.png" style="display: block; margin-left: auto; margin-right: auto; width: 786px;">ãªã¢ãŒãã©ã³ã¿ã€ã ãéžæãããšããã¹ãåãšããŒãçªå·ãæ±ããããŸãã"localhost:6000"ããŸãã¯ãããã°å
ã§å¥ã®ããŒãçªå·ã§åŸ
ã¡åããããŠããå Žåã¯ããŒãçªå·ãæå®ããŸãã</p> + +<p>ãããšãèŠåãã€ã¢ãã°ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10073/remote-warning.png" style="display: block; height: 193px; margin-left: auto; margin-right: auto; width: 502px;">OK ãã¯ãªãã¯ããŸããWebIDE ããã¡ã€ã³ããã»ã¹ã«éçºããŒã«ãæ¥ç¶ããŸããcontent ã¿ãã«æ¥ç¶ãããå Žåã¯ãå·ŠåŽã®ã¡ãã¥ãŒãéããŠãããã°ãè¡ãããã¿ããéžæããŠãã ããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10071/remote-webide-2.png" style="display: block; height: 626px; margin-left: auto; margin-right: auto; width: 786px;"></p> diff --git a/files/ja/tools/remote_debugging/debugging_firefox_for_android_with_webide_clone/index.html b/files/ja/tools/remote_debugging/debugging_firefox_for_android_with_webide_clone/index.html new file mode 100644 index 0000000000..a2f726cd33 --- /dev/null +++ b/files/ja/tools/remote_debugging/debugging_firefox_for_android_with_webide_clone/index.html @@ -0,0 +1,68 @@ +--- +title: WebIDE ã䜿çšãã Firefox for Android ã®ãããã° +slug: Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE_clone +tags: + - ã¬ã€ã + - ããŒã« + - ãããã° +translation_of: Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE_clone +--- +<div>{{ToolsSidebar}}</div> + +<p>ãã®èšäºã§ã¯ã<a href="/ja/docs/Tools">FirefoxéçºããŒã«</a>ã Firefox 36 以éã® Android çš Firefox ã«æ¥ç¶ããæ¹æ³ã«ã€ããŠèª¬æããŸãã</p> + +<p>é·ãéãFirefox Developer Tools ã Android çš Firefox ã«æ¥ç¶ããŠã¢ãã€ã« Web ãµã€ãããããã°ããããšã¯å¯èœã§ããããããŸã§ã¯ãããªãè€éã§ãšã©ãŒãçºçããããããã»ã¹ã§ãããFirefox 36 ã§ã¯ããã®ããã»ã¹ããã£ãšç°¡åã«ããŸãããç¹ã«ãadb ããŒã«ããŸã£ããçŽæ¥åŠçããå¿
èŠã¯ãããŸããããã㧠WebIDE ã䜿çšããŠæ¥ç¶ããŸããããã¯èå°è£ã§ã® adb ã®èšå®ãæ
åœããŸãã</p> + +<div class="note"> +<p>ãããè¡ãã«ã¯ããã¹ã¯ãããã« Firefox 36 以äžãã¢ãã€ã«ããã€ã¹ã« Firefox 35 ãå¿
èŠã§ãã以åã®ããŒãžã§ã³ã䜿çšããå¿
èŠãããå Žåã¯ã<a href="/ja/docs/Tools/Remote_Debugging/Firefox_for_Android">ããããããŒããŒã«ã Android çš Firefox ã«æ¥ç¶ãã</a>ããã®å€ãæé ãåç
§ããŠãã ããã</p> +</div> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9011/remote-debugging-overview-fx36.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãã®ã¬ã€ãã¯2ã€ã®éšåã«åãããŠããŸããæåã®éšåãåææ¡ä»¶ãã¯ã1åã ãè¡ãå¿
èŠã®ãããã®ãã«ããŒãã2çªç®ã®éšåã®ãæ¥ç¶ãããã¯ãããã€ã¹ãæ¥ç¶ãããã³ã«è¡ãå¿
èŠãããäœæ¥ãã«ããŒããŸãã</p> + +<h2 id="åææ¡ä»¶">åææ¡ä»¶</h2> + +<p>ãŸãã次ã®ãã®ãå¿
èŠã§ãã</p> + +<ul> + <li>Firefox 36 以éãåäœãããã¹ã¯ããããŸãã¯ã©ãããããã³ã³ãã¥ãŒã¿</li> + <li>Android 35 以äžã® Android çš Firefox ãæèŒãã <a href="https://support.mozilla.org/ja/kb/will-firefox-work-my-mobile-device">Android çš Firefox ãå®è¡ã§ãã</a> Android ããã€ã¹</li> + <li>2ã€ã®ããã€ã¹ãæ¥ç¶ãã USB ã±ãŒãã«</li> +</ul> + +<h3 id="ADB_ãã«ããŒ">ADB ãã«ããŒ</h3> + +<p>ãã¹ã¯ãããäžã® Firefox ã«ã¯ãADB ãã«ããŒã¢ããªã³ã®ããŒãžã§ã³ 0.7.1 以äžãå¿
èŠã§ããããã¯ãåã㊠WebIDE ãéããšãã«èªåçã«ã€ã³ã¹ããŒã«ãããŸããããŒãžã§ã³ã確èªããã«ã¯ããã©ãŠã¶ã®ã¢ãã¬ã¹ããŒã« <code>about:addons</code> ãšå
¥åãããšãADB ã衚瀺ãããŸãã</p> + +<p>ADB ãã«ããŒã®ããŒãžã§ã³ã 0.7.1 以äžã§ãªãå Žåã¯ããProjectsãã¡ãã¥ãŒãããExtra Components ã管çããéžæãããšããExtra ComponentsããŠã£ã³ããŠã衚瀺ãããŸãããã®ãŠã£ã³ããŠã«ã¯ ADB ãã«ããŒã®ãšã³ããªãå«ãŸããŠããŸãïŒ</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9021/extra-components.png" style="display: block; margin-left: auto; margin-right: auto;">ãã¢ã³ã€ã³ã¹ããŒã«ããã¯ãªãã¯ãããã€ã³ã¹ããŒã«ããã¯ãªãã¯ãããšãææ°ã®ããŒãžã§ã³ã«ãªããŸãã</p> + +<h3 id="Android_端æ«ã®ã»ããã¢ãã">Android 端æ«ã®ã»ããã¢ãã</h3> + +<p>ãŸãã<a href="http://developer.android.com/guide/developing/device.html#setting-up">ãã®ãªã³ã¯ã®æé 2 ãš 3 ãå®è¡ããŠ</a>ãUSB ãããã°ãæå¹ã«ããŸãã</p> + +<p>次㫠Firefox for Android ã§ãªã¢ãŒããããã°ãæå¹ã«ããŸãããã©ãŠã¶ãéããã¡ãã¥ãŒãéãã[èšå®]ã[ããããããŒããŒã«] ãéžæããŸã (äžéšã® Android æèŒç«¯æ«ã§ã¯ã[詳现] ãéžæã㊠[èšå®] ãªãã·ã§ã³ã衚瀺ããå¿
èŠããããŸã)ã[ãªã¢ãŒããããã°] ãã§ãã¯ããã¯ã¹ããªã³ã«ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5829/remote-debugging-device-enable.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãã©ãŠã¶ã¯ããŒã転éãèšå®ããããšãéç¥ããéç¥ã衚瀺ããããšããããŸãããç¡èŠããããšãã§ããŸãã</p> + +<h2 id="æ¥ç¶ãã">æ¥ç¶ãã</h2> + +<p>Android 端æ«ã USB ã±ãŒãã«ã§ãã¹ã¯ãããã«æ¥ç¶ããWebIDE ãéãããã©ã³ã¿ã€ã ãã¡ãã¥ãŒãéããŸãããUSBããã€ã¹ãã®äžã« Android çš Firefox ããããã°å¯Ÿè±¡ãšããŠè¡šç€ºãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9013/remote-debugging-android-runtime.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãããéžæããŠãã ãããAndroid æèŒç«¯æ«ã§ã¯èŠåã¡ãã»ãŒãžã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9031/incoming-warning.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>[OK] ãã¯ãªãã¯ããŸããWebIDE ã®ãã¢ããªã±ãŒã·ã§ã³ãéããã¡ãã¥ãŒãã¯ãªãã¯ããŸããããã€ã¹äžã«éããŠãããã¹ãŠã®ã¿ãã®ãªã¹ãã衚瀺ãããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9015/remote-debugging-android-open-tabs.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>éçºããŒã«ãæ·»ä»ããã¿ããéžæããïŒ</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9029/remote-debugging-android-attached.png" style="display: block; margin-left: auto; margin-right: auto;">ããã§ãªã¢ãŒããããã°ããµããŒããããã¹ãŠã® Firefox éçºããŒã«ã䜿çšã§ããããã«ãªããŸãã詳现ã«ã€ããŠã¯<a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a>ã®ããŒãžãåç
§ããŠãã ããã</p> diff --git a/files/ja/tools/remote_debugging/firefox_for_android/index.html b/files/ja/tools/remote_debugging/firefox_for_android/index.html new file mode 100644 index 0000000000..af3bdfbb64 --- /dev/null +++ b/files/ja/tools/remote_debugging/firefox_for_android/index.html @@ -0,0 +1,146 @@ +--- +title: Android ç Firefox ã®ãªã¢ãŒããããã° +slug: Tools/Remote_Debugging/Firefox_for_Android +translation_of: Tools/Remote_Debugging/Firefox_for_Android +--- +<div>{{ToolsSidebar}}</div><p>ãã®ã¬ã€ãã§ã¯ã<a href="/ja/docs/Mozilla/Firefox_for_Android">Android ç Firefox</a> ã§å®è¡ããŠããã³ãŒãã USB çµç±ã§èª¿æ»ãããã¯ãããã°ããããã«ã<a href="/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a>ã䜿çšããæ¹æ³ã説æããŸãã</p> + +<div class="note"> +<p>æè¿ãAndroid ç Firefox ã«éçºããŒã«ãæ¥ç¶ããæ¹æ³ã倧å¹
ã«ã·ã³ãã«åããŸããããã¹ã¯ãããç ã® Firefox 36 以éããã³ Android çã® Firefox 35 以éã䜿çšããŠããå Žåã¯ãæ¬èšäºã®ä»£ããã«<a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE">æ°ããæ¹æ³ãã確èªãã ãã</a>ã</p> +</div> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5833/remote-debugging-overview.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>æ¬ã¬ã€ã㯠2 ã€ã®ããŒãã«åããŠããŸã: ããŒã 1 "äºåæºå" ã§ã¯ 1 åã ãè¡ãå¿
èŠãããäœæ¥ããããŒã 2 "æ¥ç¶" ã§ã¯ããã€ã¹ãžæ¥ç¶ãããã³ã«è¡ãå¿
èŠãããäœæ¥ãæ±ããŸãã</p> + +<h2 id="Prerequisites" name="Prerequisites">äºåæºå</h2> + +<p>ãŸãã以äžã®ãã®ãå¿
èŠã§ã:</p> + +<ul> + <li>Firefox 15 以éãå®è¡ãããã¹ã¯ããããŸãã¯ããŒãåã³ã³ãã¥ãŒã¿</li> + <li>Android ç Firefox 15 以éãå®è¡ããŠããã<a href="https://support.mozilla.org/ja/kb/will-firefox-work-my-mobile-device" title="https://support.mozilla.org/ja/kb/will-firefox-work-my-mobile-device">Android ç Firefox ãåäœãã</a> Android ããã€ã¹</li> + <li>2 ã€ã®ããã€ã¹ãæ¥ç¶ãã USB ã±ãŒãã«</li> +</ul> + +<h3 id="ADB_setup" name="ADB_setup">ADB ã®ã»ããã¢ãã</h3> + +<p>次㫠<a href="https://developer.android.com/tools/help/adb.html" title="https://developer.android.com/tools/help/adb.html">adb</a> ã³ãã³ãã©ã€ã³ããŒã«ã䜿çšããŠããã¹ã¯ããããš Android ããã€ã¹ãçžäºã«å¯Ÿè©±ã§ããããã«ããªããã°ãªããŸããã</p> + +<h4 class="note" id="Android_ããã€ã¹ã§è¡ãäœæ¥">Android ããã€ã¹ã§è¡ãäœæ¥</h4> + +<ul> + <li><a href="http://developer.android.com/guide/developing/device.html#setting-up" title="http://developer.android.com/guide/developing/device.html#setting-up">USB ãããã°ã®æå¹å (ãã®ãªã³ã¯ã®ã¹ããã 2 ã®ã¿å®æœ)</a>ã</li> + <li>USB çµç±ã§ Android ããã€ã¹ãšãã¹ã¯ããããæ¥ç¶ããŸãã</li> +</ul> + +<h4 class="note" id="ãã¹ã¯ãããã§è¡ãäœæ¥">ãã¹ã¯ãããã§è¡ãäœæ¥</h4> + +<ul> + <li>ããã€ã¹ã«åãããŒãžã§ã³ã® <a href="http://developer.android.com/sdk/index.html" title="http://developer.android.com/sdk/index.html">Android SDK</a> ãã€ã³ã¹ããŒã«ããŸãã</li> + <li>Android SDK ã䜿çšããŠã<a href="http://developer.android.com/sdk/installing.html#components" title="http://developer.android.com/sdk/installing.html#components">Android Platform Tools</a> ãã€ã³ã¹ããŒã«ããŸãã</li> + <li>Android Platform Tools ããAndroid SDK ãã€ã³ã¹ããŒã«ãããã£ã¬ã¯ããªé
äžã® "platform-tools" ãã£ã¬ã¯ããªå
ã«ãadb ãã€ã³ã¹ããŒã«ããŸãã"platform-tools" ãã£ã¬ã¯ããªã«ãã¹ãéãããã«ããŠãã ããã</li> +</ul> + +<p>åäœç¢ºèªãè¡ãã«ã¯ããã¹ã¯ãããã§ã³ãã³ãã·ã§ã«ãéããŠä»¥äžã®ã³ãã³ããå
¥åããŠãã ãã:</p> + +<pre>adb devices</pre> + +<p>以äžã®ããã«åºåããã§ããã:</p> + +<pre>List of devices attached +51800F220F01564 device +</pre> + +<p>(é·ã 16 é²æååã¯ç°ãªããŸãã)</p> + +<p>ãã㧠<code>adb</code> ãããªãã®ããã€ã¹ãçºèŠã§ããŠããããŸã ADB ã®èšå®ãæåããŸããã</p> + +<h3 id="Enable_remote_debugging" name="Enable_remote_debugging">ãªã¢ãŒããããã°ã®æå¹å</h3> + +<p>次ã«ãAndroid ããã€ã¹ãšãã¹ã¯ãããã®åæ¹ã§ãªã¢ãŒããããã°ãæå¹ã«ããªããã°ãªããŸããã</p> + +<h4 id="Firefox_for_Android_24_and_earlier" name="Firefox_for_Android_24_and_earlier">Android ç 24 以å</h4> + +<p>ããã€ã¹ã§ãªã¢ãŒããããã°ãæå¹ã«ããã«ã¯ãèšå®é
ç® <code>devtools.debugger.remote-enabled</code> ã <code>true</code> ã«ããªããã°ãªããŸããã</p> + +<p>Android ç Firefox 㧠<code>about:config</code> ãéããŠãæ€çŽ¢ããã¯ã¹ã« "devtools" ãšå
¥åããŠæ€çŽ¢ããŒãæŒäžããŠãã ããããããšãéçºããŒã«é¢é£ã®å
šèšå®ã衚瀺ãããŸããèšå® <code>devtools.debugger.remote-enabled</code> ãæ¢ããŠã"åãæ¿ã" ãæŒäžããŠãã ããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5803/remote-debugger-about-config-toggle.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h4 class="note" id="Android_ç_Firefox_25_以é">Android ç Firefox 25 以é</h4> + +<p>Android ç Firefox 25 以éã§ã¯ããªã¢ãŒããããã°ãæå¹åããã¡ãã¥ãŒé
ç®ããããŸããã¡ãã¥ãŒãéã "èšå®" ãéžæããŠã"ããããããŒããŒã«" (äžéšã® Android ããã€ã¹ã§ã¯ã"èšå®" ã衚瀺ããããã« "More" ãéžæããªããã°ãªããªãã§ããã) ãéžæããŠãã ããã"ãªã¢ãŒããããã°" ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5829/remote-debugging-device-enable.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãã©ãŠã¶ããããŒããã©ã¯ãŒãã£ã³ã°ã®èšå®ãå¿ããªãããã«ãšããéç¥ã衚瀺ããŸããããã¯åŸã§è¡ããŸãã</p> + +<h4 id="On_the_desktop_2" name="On_the_desktop_2">ãã¹ã¯ãããã§è¡ãäœæ¥</h4> + +<p>ãã¹ã¯ãããã§ã¯ãããŒã«ããã¯ã¹ã®èšå®ã§ãªã¢ãŒããããã°ãæå¹åããŸãã<a href="/ja/docs/Tools_Toolbox" title="Tools_Toolbox">ããŒã«ããã¯ã¹ãéããŠ</a>ã<a href="/ja/docs/Tools_Toolbox#Toolbar" title="Tools_Toolbox#Toolbar">ããŒã«ããŒ</a>å
ã® "ãªãã·ã§ã³" ãã¿ã³ãã¯ãªãã¯ããŸãããããŠ<a href="/ja/docs/Tools_Toolbox#Settings" title="Tools_Toolbox#Settings">èšå®</a>ã¿ã㧠"ãªã¢ãŒããããã¬ãæå¹" ã«ãã§ãã¯ãå
¥ããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5827/remote-debugger-toolbox-settings.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<div class="note">ããŒãžã§ã³ 27 ããåã® Firefox ã䜿çšããŠããå Žåã¯ãèšå®ãåæ ããããã«ãã©ãŠã¶ã®åèµ·åãå¿
èŠã§ãã</div> + +<p>Web éçºã¡ãã¥ãŒé
äžã«ãæ°ããªé
ç® "æ¥ç¶..." ãçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5811/remote-debugging-connect-menuitem.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h2 id="Connecting" name="Connecting">æ¥ç¶</h2> + +<p>以äžã§ãããã€ã¹ã«ãªã¢ãŒããããã°ããŒã«ãæ¥ç¶ã§ããŸããå§ãã«ãããã€ã¹ãšãã¹ã¯ããããæ¥ç¶ããŠããªãå Žåã¯ãããã€ã¹ãšãã¹ã¯ãããã USB ã±ãŒãã«ã§æ¥ç¶ããŠãã ããã</p> + +<h4 class="note" id="ãã¹ã¯ãããã§è¡ãäœæ¥_2">ãã¹ã¯ãããã§è¡ãäœæ¥</h4> + +<p>Android ç Firefox 35 以éã§ã¯ãã³ãã³ãããã³ãããéããŠä»¥äžã®ããã«å
¥åããŸã:</p> + +<pre>adb forward tcp:6000 localfilesystem:/data/data/org.mozilla.firefox/firefox-debugger-socket</pre> + +<p>ãªãªãŒã¹ç以å€ã®ãã£ã³ãã«ã® Android ç Firefox ã䜿çšããå Žåã¯ã<code>org.mozilla.firefox</code> ã®éšåã以äžã®ããã«å€æŽããŠãã ãã:</p> + +<ul> + <li>Beta 㯠<code>org.mozilla.firefox_beta</code></li> + <li>Aurora 㯠<code>org.mozilla.fennec_aurora</code></li> + <li>Nightly 㯠<code>org.mozilla.fennec</code></li> +</ul> + +<p>Android ç Firefox 34 以åã§ã¯ä»¥äžã®ããã«å
¥åããŸã:</p> + +<pre>adb forward tcp:6000 tcp:6000</pre> + +<p>(Android ããã€ã¹ã䜿çšãããããã°çšããŒãã®å€ãå€æŽããå Žåã¯ããã®ã³ãã³ããé©å®å€æŽããªããã°ãªããŸããã)</p> + +<p>Firefox OS ã§ã¯ä»¥äžã®ã³ãã³ããå
¥åããŸã:</p> + +<pre>adb forward tcp:6000 localfilesystem:/data/local/debugger-socket</pre> + +<p>ãã¹ã¯ããããšããã€ã¹ã USB ã±ãŒãã«ã§ç©ççã«æ¥ç¶ãããã³ã«ããã®ã³ãã³ããå®è¡ããªããã°ãªããŸããã</p> + +<p>ãã㊠Firefox 㧠Web éçºã¡ãã¥ãŒãéããŠã"æ¥ç¶..." ãéžæããŠãã ããã以äžã®ãããªããŒãžã衚瀺ãããã§ããã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5813/remote-debugging-desktop-connect.png" style="display: block; margin-left: auto; margin-right: auto;">ããŒãçªå·ãå€æŽããå Žåãé€ãã6000 ãéžæã㊠"æ¥ç¶" ãã¿ã³ãæŒäžããŠãã ããã</p> + +<h4 class="note" id="Android_ããã€ã¹ã§è¡ãäœæ¥_2">Android ããã€ã¹ã§è¡ãäœæ¥</h4> + +<p>ç¶ããŠãAndroid ããã€ã¹ã§æ¥ç¶ã®ç¢ºèªãåãåããããã€ã¢ãã°ã衚瀺ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5815/remote-debugging-device-connect.png" style="display: block; margin-left: auto; margin-right: auto;">"OK" ãæŒäžããŠãã ããããã¹ã¯ãããåŽã¯ããã®ãã€ã¢ãã°ãèš±å¯ãããŸã§æ°ç§åŸ
ã¡ãŸã: ã¿ã€ã ã¢ãŠããããšãã¯ããã¹ã¯ãããåŽã®ãã€ã¢ãã°ã§å床 "æ¥ç¶" ãæŒäžããŠãã ããã</p> + +<h4 class="note" id="ãã¹ã¯ãããã§è¡ãäœæ¥_3">ãã¹ã¯ãããã§è¡ãäœæ¥</h4> + +<p>ç¶ããŠããã¹ã¯ãããåŽã§ä»¥äžã®ãããªãã€ã¢ãã°ã衚瀺ã衚瀺ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5819/remote-debugging-desktop-select-target.png" style="display: block; margin-left: auto; margin-right: auto;">ããã¯ããã©ãŠã¶ã¿ãã§å®è¡ããŠãã Web ã³ã³ãã³ãã®ãããã°ãè¡ããããããããã¯ãã©ãŠã¶ã³ãŒãèªäœã®ãããã°ãè¡ãããåãåããããã®ã§ãã</p> + +<ul> + <li>"å©çšå¯èœãªãªã¢ãŒãã®ã¿ã" é
äžã¯éããŠããã¿ãããšã« 1 ã€ãã€é
ç®ãããããã®é
ç®ãã¯ãªãã¯ãããšåœè©²ã¿ãã§éããŠãã Web ã³ã³ãã³ãã«ãããã°ããŒã«ãæ¥ç¶ããŸããWeb ã³ã³ãã³ãã®ãããã°ãè¡ãããå Žåã¯ãé©åãªã³ã³ãã³ãã¿ããéžæããŠãã ããã</li> + <li>"å©çšå¯èœãªãªã¢ãŒãã®ããã»ã¹" é
äžã¯ãšã³ããªã 1 ã€ãããŸã: ããã¯ãã©ãŠã¶ã®ããã»ã¹ãã®ãã®ã§ãããã©ãŠã¶èªèº«ã®ã³ãŒãã®ãããã°ãè¡ãããå Žåã¯ããã®é
ç®ãéžæããŠãã ããã</li> +</ul> + +<p>mozilla.org ã® Web ãµã€ãã«æ¥ç¶ããŠã¿ãŸããããããŒã«ããã¯ã¹ãç¬èªã®ãŠã£ã³ããŠã§éããŠãmozilla.org ãéããŠãã Android ç Firefox ã®ã¿ãã«æ¥ç¶ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5821/remote-debugging-console.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ããŒã«ããã¯ã¹ãããŒã«ããã¯ã¹å
ã®ããŒã«ã¯ãããŒã«ã«ã®ã³ã³ãã³ãã«æ¥ç¶ããå Žåãšåæ§ã«åäœããŸãã<img alt="" src="https://mdn.mozillademos.org/files/5823/remote-debugging-debugger.png" style="display: block; margin-left: auto; margin-right: auto;"></p> diff --git a/files/ja/tools/remote_debugging/index.html b/files/ja/tools/remote_debugging/index.html new file mode 100644 index 0000000000..d922cf39b0 --- /dev/null +++ b/files/ja/tools/remote_debugging/index.html @@ -0,0 +1,21 @@ +--- +title: ãªã¢ãŒããããã° +slug: Tools/Remote_Debugging +tags: + - Tools + - 'l10n:priority' +translation_of: Tools/Remote_Debugging +--- +<div>{{ToolsSidebar}}</div> + +<p>ãã¹ã¯ãããçã® <a href="/ja/docs/Tools">Firefox ã®éçºããŒã«</a> ã䜿çšãããšãå¥ã®ãã©ãŠã¶ãŒãã©ã³ã¿ã€ã ã§å®è¡ããŠãããŠã§ããµã€ãããŠã§ãã¢ããªããããã°ã§ããŸããå¥ã®ãã©ãŠã¶ãŒãšã¯ããŒã«ãšåã端æ«äžã®ãã®ã§ãã£ããã USB ã§æ¥ç¶ããé»è©±æ©ãªã©å¥ã®ç«¯æ«äžã®ãã®ã䜿çšãããããããšãã§ããŸãã</p> + +<p>éçºããŒã«ã®è©³çŽ°ãªæ¥ç¶æé ã¯ãã©ã³ã¿ã€ã ã«ããç°ãªããŸãã</p> + +<p>éçºããŒã«ãšæ¥ç¶ã§ããã®ã¯ããã¹ã¯ãããç FirefoxãAndroid ç FirefoxãThunderbird ãªã©ã® Gecko ããŒã¹ã®ã©ã³ã¿ã€ã ã§ãã</p> + +<ul> + <li><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_Desktop">ãã¹ã¯ãããç Firefox</a></li> + <li>Android ç Firefox ã<a href="/docs/Tools/about:debugging">USB çµç±</a>ã§</li> + <li><a href="/ja/docs/Tools/Remote_Debugging/Thunderbird">Thunderbird</a></li> +</ul> diff --git a/files/ja/tools/remote_debugging/thunderbird/index.html b/files/ja/tools/remote_debugging/thunderbird/index.html new file mode 100644 index 0000000000..0f05609669 --- /dev/null +++ b/files/ja/tools/remote_debugging/thunderbird/index.html @@ -0,0 +1,44 @@ +--- +title: Thunderbird ã®ãªã¢ãŒããããã° +slug: Tools/Remote_Debugging/Thunderbird +tags: + - Debug + - Tutorial + - thunderbird +translation_of: Tools/Remote_Debugging/Thunderbird +--- +<div>{{ToolsSidebar}}</div><p>ãã®ã¬ã€ãã§ã¯ã<a href="/ja/docs/Mozilla/Thunderbird">Thunderbird</a> ã§å®è¡ããŠããã³ãŒãã®èª¿æ»ããããã°ã <a href="/ja/docs/Mozilla/Firefox_OS/Firefox_OS_usage_tips/Remote_debugging">ãªã¢ãŒããããã°</a> ããæ¹æ³ã説æããŸãã</p> + +<p>Firefox ã®ãªã¢ãŒãæ¥ç¶æ©èœã䜿çšããŠãããŸããŸãªéçºããŒã«ã Thunderbird ããµããŒãããŸããçŸåšãµããŒãããŠããããŒã«ã»ããã¯ãŠã§ãã³ã³ãœãŒã«ãã€ã³ã¹ãã¯ã¿ãŒããããã¬ãŒãã¹ã¿ã€ã«ãšãã£ã¿ãŒããããã¡ã€ã©ãŒããããã¯ãŒã¯ã¢ãã¿ãŒã§ããä»ã®ããŒã«ã¯ãå°æ¥å©çšå¯èœã«ãªãäºå®ã§ãã</p> + +<h2 id="Setting_up_Thunderbird" name="Setting_up_Thunderbird">Thunderbird ã®èšå®</h2> + +<p>Thunderbird ã§ã¯ããããã¬ãŒãµãŒããŒãæå¹ã«ããããšãå¿
èŠã§ããã¡ãã¥ãŒããŒã® [<code>ããŒã«</code>] ã¡ãã¥ãŒ (alt + ããŒã«) 㧠[<code>ãªã¢ãŒããããã°ãèš±å¯</code>] ãéžæããŠãã ãããããã©ã«ãã§ã¯ããããã¬ãŒãµãŒããŒãããŒã 6000 çªã䜿çšããŠéå§ããŸããè€æ°ã®ãããã¡ã€ã«ããããã°ãããªã©ããããã¬ãŒãµãŒããŒã®ããŒãçªå·ãå€æŽãããå Žåã¯ãé«åºŠãªèšå®ã®ãšãã£ã¿ãŒãéããŠèšå®é
ç® <code>devtools.debugger.remote-port</code> ãå€æŽããŠãã ããã</p> + +<h2 id="Setting_up_Firefox" name="Setting_up_Firefox">Firefox ã®èšå®</h2> + +<p>Firefox ã¯ã¯ã©ã€ã¢ã³ããšããŠåäœããŠãThunderbird çšã®éçºããŒã«ãæäœãããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãæäŸããŸããFirefox ãš Thunderbird ã®ã¡ãžã£ãŒããŒãžã§ã³çªå·ãåããããšãã£ãšãããã®ã§ãããç°ãªãããŒãžã§ã³ã§ãåäœããå ŽåããããŸãã</p> + +<p>Firefox ã®èšå®ãšããŠãããŒã«ããã¯ã¹ã®ãªãã·ã§ã³ã§ãªã¢ãŒããããã°ãæå¹ã«ããŸãã<a href="/ja/docs/Tools_Toolbox" title="Tools_Toolbox">ããŒã«ããã¯ã¹ãéããŠ</a>ã<a href="/ja/docs/Tools_Toolbox#Toolbar" title="Tools_Toolbox#Toolbar">ããŒã«ããŒ</a> å
ã® "ãªãã·ã§ã³" ãã¿ã³ãã¯ãªãã¯ããŸãããã㊠<a href="/ja/docs/Tools_Toolbox#Settings" title="Tools_Toolbox#Settings">èšå®</a> ã¿ã㧠"ãªã¢ãŒããããã¬ãŒãæå¹" ã«ãã§ãã¯ãå
¥ããŠãã ãã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5827/remote-debugger-toolbox-settings.png"></p> + +<p>以äžã§ãFirefox ã®ããŒã«ã¡ãã¥ãŒããæ¥ç¶ããŒãžãéãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5811/remote-debugging-connect-menuitem.png" style="height: 503px; width: 583px;"></p> + +<p>ãã©ãŠã¶ãŒã§æ¥ç¶ããŒãžãéããŸããå¿
èŠã«å¿ããŠãã®ããŒãžãããã¯ããŒã¯ããŒã«ããŒã«è¿œå ã§ããŸãããªã¢ãŒãããŒãçªå·ãå€æŽããŠããªããã°ããã£ãŒã«ãã«ã¯ãã§ã«é©åãªå€ãå
¥ã£ãŠããŸããæ¥ç¶ãã¿ã³ãã¯ãªãã¯ãããšãéçºããŒã«ã®ãªã¢ãŒãæ¥ç¶ãéå§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5813/remote-debugging-desktop-connect.png" style="height: 686px; width: 732px;"></p> + +<p>æ¥ç¶ãããšããªã¢ãŒãã®ã¿ããããã»ã¹ã®äžèŠ§ãæ瀺ãããŸããThunderbird ãš Firefox ã§ã¯ã¿ãã®æŠå¿µãç°ãªã£ãŠããããªã¢ãŒãã®ã¿ãã®äžèŠ§ã« Thunderbird ã®ãã¹ãŠã® xul:browser èŠçŽ ã衚瀺ããŸããããã¯ã³ã³ãã³ãã¿ããŸãã¯ã¡ãã»ãŒãžãªãŒããŒã«ãªããŸããã»ãšãã©ã®å ŽåãThunderbird èªäœã®ã³ãŒãããããã°ããããã« "ã¡ã€ã³ããã»ã¹" ãéžæããã§ããããéçºããŒã«ã®ã»ãããå«ãæ°ãããŠã£ã³ããŠãéããŠãThunderbird ã®ã€ã³ã¹ã¿ã³ã¹ã«å¯ŸããŠäœ¿çšã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5819/remote-debugging-desktop-select-target.png"></p> + +<h2 id="Using_the_Developer_Tools" name="Using_the_Developer_Tools">éçºããŒã«ã䜿çšãã</h2> + +<p>ããŒã«ã®äœ¿çšæ¹æ³ã¯ãã»ãŒäžç®çç¶ã§ãããããªãããã®ããŒã«ã§åé¡ãçºçããå Žåã¯ã<a href="/ja/docs/Tools/Remote_Debugging">éçºããŒã«ã®ããã¥ã¡ã³ã</a> ãã芧ãã ããããªã¢ãŒãæ¥ç¶ã䜿çšãããããè¥å¹²ã®å·®ç°ãçºçããå¯èœæ§ããããŸããäžéšã®ããŒã«ã¯äœ¿çšã§ããããŸãããŒã«ã«ãšåçã®ããã©ãŒãã³ã¹ãå®çŸã§ããªãå¯èœæ§ããããŸããäŸãã°ãªã¢ãŒããããã¬ãŒããŒã«ã䜿çšãããšãå
éšã®ãããã¯ãŒã¯æ¥ç¶ã䜿çšããŠãã¡ã€ã«ã転éããªããã°ãªããªããããããªãæéãããããŸãã</p> + +<h2 id="Troubleshooting" name="Troubleshooting">ãã©ãã«ã·ã¥ãŒãã£ã³ã°</h2> + +<p>ãšã©ãŒãçºçããå Žåã¯ããŸãã¯ããŒãžã§ã³çªå·ãäžèŽããŠãããã確èªããŠãã ãããThunderbird 24 ã䜿çšããŠããå Žåã¯ãFirefox ãããŒãžã§ã³ 24 ã䜿çšããŠæ¥ç¶ããŠãã ããã次ã«ãFirefox ã®éçºããŒã«ã®åé¡ã§ããããããã㯠Thunderbird ã®ãªã¢ãŒãæ¥ç¶æ©èœã®åé¡ã§ããããæããã«ããããšãéèŠã§ããããã確èªããã«ã¯ãFirefox ã ãã䜿çšããŠåé¡ãåçŸããããè©ŠããŠãã ãããäŸãã°ã€ã³ã¹ãã¯ã¿ãŒããŒã«ã§å±æ§ã®å€ãèšå®ã§ããªãå Žåã¯ãFirefox ã®ãã©ãŠã¶ãŒãããã¬ãŒã§å±æ§ã®å€ãå€æŽããŠã¿ãŠãã ããããã©ãŠã¶ãŒãããã¬ãŒã§åçŸããªãå Žåã¯ãThunderbird ã®ãã°ãšããŠå ±åããŠãã ãããåçŸããå Žåã¯ãFirefox/éçºããŒã«ã®ãã°ãšããŠå ±åããŠãã ããã</p> diff --git a/files/ja/tools/responsive_design_mode/index.html b/files/ja/tools/responsive_design_mode/index.html new file mode 100644 index 0000000000..f5d713a53d --- /dev/null +++ b/files/ja/tools/responsive_design_mode/index.html @@ -0,0 +1,222 @@ +--- +title: ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã +slug: Tools/Responsive_Design_Mode +tags: + - Design + - Dev Tools + - Firefox + - Guide + - Responsive Design + - Tools + - Web Development + - 'l10n:priority' +translation_of: Tools/Responsive_Design_Mode +--- +<p>{{ToolsSidebar}}</p> + +<p><a href="/ja/Apps/Progressive/Responsive">ã¬ã¹ãã³ã·ããã¶ã€ã³</a> ã¯ãããŸããŸãªç«¯æ«ãç¹ã«ãã¹ã¯ããããã©ãããããã ãã§ãªãæºåž¯é»è©±ãã¿ãã¬ããã§ãé©åã«è¡šç€ºããã³åäœãããŠã§ããµã€ããèšèšããããšã§ãã</p> + +<p>ãã£ãšãæãããªèŠçŽ ã¯ç»é¢ã®ãµã€ãºã§ãããã»ãã«ããã£ã¹ãã¬ã€ã®ç»çŽ å¯åºŠãã¿ããããµããŒãããããšãã£ãèŠçŽ ããããŸããã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã¯ãããŸããŸãªç«¯æ«ã§ãŠã§ããµã€ããã©ã®ããã«è¡šç€ºããã³åäœãããã確èªããããã«ããããã®èŠçŽ ãã·ãã¥ã¬ãŒã·ã§ã³ããæ段ãæäŸããŸãã</p> + +<h2 id="Toggling_Responsive_Design_Mode" name="Toggling_Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããåãæ¿ãã</h2> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããåãæ¿ããæ¹æ³ã¯ 3 ã€ãããŸã:</p> + +<ul> + <li>Firefox ã¡ãã¥ãŒ (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã macOS ã§ã¯ [ããŒã«] ã¡ãã¥ãŒ) ã® [ãŠã§ãéçº] ãµãã¡ãã¥ãŒã§ [ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã] ãéžæããŸãã</li> + <li>éçºããŒã«ã®ããŒã«ããã¯ã¹ã§ã<a href="/ja/docs/Tools/Tools_Toolbox#Toolbar" title="Tools_Toolbox#Toolbar">ããŒã«ããŒ</a> ã® [ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã] ãã¿ã³ãæŒããŸãã<img alt="" src="https://mdn.mozillademos.org/files/16318/RDM_button.png" style="display: block; height: 664px; margin-left: auto; margin-right: auto; width: 852px;"></li> + <li>ããŒããŒã㧠Ctrl + Shift + M (OS X ã§ã¯ Cmd + Opt + M) ãæŒäžããŸãã</li> +</ul> + +<h2 id="Using_Responsive_Design_Mode" name="Using_Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã䜿çšãã</h2> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããæå¹ã«ãããšããŠã§ãããŒãžã®ã³ã³ãã³ãé åãç¹å®ã®ç«¯æ«ã®ç»é¢ã®ãµã€ãºã«èšå®ãããŸããåæç¶æ
㯠320 x 480 ãã¯ã»ã«ã§ã:</p> + +<div class="note"> +<p><strong>ã¡ã¢:</strong> ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã§éžæããããã€ã¹ã¯ãã»ãã·ã§ã³éã§ä¿åãããŸãã</p> +</div> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16319/RDM.png" style="display: block; height: 805px; margin-left: auto; margin-right: auto; width: 852px;"></p> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãèªäœã®åãæ¿ããšã¯å¥ã«ãéçºããŒã«ã®ããŒã«ããã¯ã¹ã衚瀺ãŸãã¯é衚瀺ã«ããããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16320/RDMdevtools.png" style="display: block; height: 799px; margin-left: auto; margin-right: auto; width: 852px;"></p> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããæå¹ã«ããç¶æ
ã§ãã³ã³ãã³ãé åããªãµã€ãºããããŸãŸéåžžã©ããã«ãã©ãŠãžã³ã°ãç¶ããããšãã§ããŸãã</p> + +<h2 id="Device_selection" name="Device_selection">端æ«éžæ</h2> + +<p>ãã¥ãŒããŒãã®äžã« [端æ«ãéžæãããŠããŸãã] ãšè¡šç€ºãããŠããŸãããããã¯ãªãã¯ãããšã端æ«åã®äžèŠ§ãéããŸãã端æ«ãéžæãããšãã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã¯ä»¥äžã®ç¹å®ãããã®ç«¯æ«ã«åãããŠèšå®ããŸã:</p> + +<ul> + <li>ç»é¢ã®ãµã€ãº</li> + <li>端æ«ã®ç»çŽ å¯åºŠ (端æ«ã®ç©çãã¯ã»ã«ãšç«¯æ«ã«äŸåããªããã¯ã»ã«ã®æ¯ç)</li> + <li>ã¿ããã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³</li> +</ul> + +<p>ããã« Firefox 㯠<a href="/ja/docs/Web/HTTP/Headers/User-Agent">User-Agent</a> HTTP ãªã¯ãšã¹ãããããŒããéžæãã端æ«ã®æ¢å®ã®ãã©ãŠã¶ãŒã§ãããšåä¹ãããã«èšå®ããŸããäŸãã° iPhone ãéžæãããšãFirefox ã¯èªèº«ã Safari ã§ãããšåä¹ããŸãã<code><a href="/ja/docs/Web/API/NavigatorID/userAgent">navigator.userAgent</a></code> ããããã£ãåãå€ãèšå®ããŸãã</p> + +<p>{{EmbedYouTube("JNAyKemudv0")}}</p> + +<p>ããããããŠã³ãªã¹ãã«ãã端æ«ã¯ãéžæå¯èœãªç«¯æ«ã®ãµãã»ããã§ããããããããŠã³ãªã¹ãã®æ«å°Ÿã« [ãªã¹ããç·šé...] ãšããé
ç®ããããŸãããããéžæãããšãã¹ãŠã®éžæè¢ãå«ãããã«ãè¡šããŠãããããããŠã³ãªã¹ãã«è¡šç€ºããã端æ«ãéžæã§ããŸãã端æ«äžåŒãå端æ«ã«é¢é£ä»ããããŠããå€ã¯ã<span class="im"><a href="https://github.com/mozilla/simulated-devices">https://github.com/mozilla/simulated-devices</a></span> ããååŸã§ããŸãã</p> + +<h3 id="Saving_custom_devices" name="Saving_custom_devices">ã«ã¹ã¿ã 端æ«ãä¿åãã</h3> + +<p>Firefox 54 ãããã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã§ã«ã¹ã¿ã 端æ«ãä¿åã§ããŸããããããã®ç«¯æ«ã§ä»¥äžã®ç¹æ§ãæã€ããšãã§ããŸã:</p> + +<ul> + <li>ãµã€ãº</li> + <li>端æ«ã®ç»çŽ å¯åºŠ (devicePixelRatio)</li> + <li>ãŠãŒã¶ãŒãšãŒãžã§ã³ã</li> + <li>ã¿ããã®ãµããŒã</li> +</ul> + +<p>ãŸãã端æ«ã¢ãã«åã«ããŠã¹ãã€ã³ã¿ãŒãä¹ãããšãæ¢åã®ç«¯æ«ã®ç¹æ§ãããŒã«ãããã§ãã¬ãã¥ãŒã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14797/RDM%20Custom%20Device.gif" style="display: block; height: 800px; margin: 0px auto; width: 800px;"></p> + +<h2 id="Device_controls" name="Device_controls">端æ«ã®å¶åŸ¡</h2> + +<p>ã»ãšãã©ã®ç«¯æ«ã®ç¹æ§ã«ã€ããŠãç¹å¥ãªå€ãäžããããšãã§ããŸãã</p> + +<h3 id="Setting_screen_size" name="Setting_screen_size">ç»é¢ã®ãµã€ãºãèšå®ãã</h3> + +<p>ç»é¢ã®ãµã€ãºãèšå®ããã«ã¯ããã¥ãŒããŒãã®äžã«ããå€ãã¯ãªãã¯ããŠç·šéããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14939/rdm-set-size-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 948px;"></p> + +<p>ãã¥ãŒããŒãã®å³äžã®è§ããã©ãã°ããŠããµã€ãºãå€æŽããããšãã§ããŸãã</p> + +<p>ãŸã Firefox 59 ãããããŒããŒãã§ç»é¢ã®ãµã€ãºãç·šéã§ããŸãã2 ã€ã®å¯žæ³ã®å€ã®ããããã«ãã©ãŒã«ã¹ããã (ãŸãã¯ã«ãŒãœã«ããã) ãšãã«äžäžã®ã«ãŒãœã«ããŒãæŒããæŒãç¶ããŠã寞æ³ã 1 ãã¯ã»ã«ãã€å¢æžã§ããŸãã</p> + +<p>ããæ©ã寞æ³ãå€ãããå Žåã¯ãShift ããŒãæŒããªããäžäžã«ãŒãœã«ããŒãæŒããæŒãç¶ãããšã寞æ³ã 10 ãã¯ã»ã«ãã€å¢æžã§ããŸãã</p> + +<h3 id="Setting_device_pixel_ratio" name="Setting_device_pixel_ratio">端æ«ã®ç»çŽ å¯åºŠãèšå®ãã</h3> + +<p>端æ«ã®ç»çŽ å¯åºŠãèšå®ããã«ã¯ã[DPR] ã®ãªã¹ãããã¯ã¹ãã¯ãªãã¯ããŠåžæããå€ãéžæããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14941/rdm-set-dpr-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 948px;"></p> + +<h3 id="Toggling_touch_event_simulation" name="Toggling_touch_event_simulation">ã¿ããã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³ãåãæ¿ãã</h3> + +<p>ã¿ããã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³ãæå¹å/ç¡å¹åããã«ã¯ã人差ãæãç«ãŠãŠããæã®ã¢ã€ã³ã³ãã¯ãªãã¯ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14935/rdm-toggle-touch-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 948px;"></p> + +<p>ã¿ããã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³ãæå¹åãããšãããŠã¹ã€ãã³ãã <a href="/ja/docs/Web/Guide/API/DOM/Events/Touch_events">ã¿ããã€ãã³ã</a> ã«å€æããŸãã</p> + +<h3 id="Controlling_page_reload_behavior" name="Controlling_page_reload_behavior">ããŒãžåèªã¿èŸŒã¿ã®åäœãå¶åŸ¡ãã</h3> + +<p><em>èªååèªã¿èŸŒã¿</em> ããããããŠã³ã¡ãã¥ãŒã¯ãFirefox 60 ã®æ°æ©èœã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15841/reload-behavior-controls.png" style="display: block; margin: 0 auto;"></p> + +<p>ã¡ãã¥ãŒãã¯ãªãã¯ãããš 2 ã€ã®é
ç®ããããã©ã¡ããããã©ã«ãã§è¡šç€ºãããŸã:</p> + +<ul> + <li>ã¿ããã·ãã¥ã¬ãŒã·ã§ã³ãå€æŽããããšãã«åèªã¿èŸŒã¿: ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ãããšãã¿ããã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³ãæå¹åãããšèªåçã«ããŒãžãåèªã¿èŸŒã¿ããŸãã</li> + <li>ãŠãŒã¶ãŒãšãŒãžã§ã³ããå€æŽããããšãã«åèªã¿èŸŒã¿: ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå
¥ãããšããŠãŒã¶ãŒãšãŒãžã§ã³ããå€æŽãããšèªåçã«ããŒãžãåèªã¿èŸŒã¿ããŸãã</li> +</ul> + +<p>Firefox 60 ããåã®ããŒãžã§ã³ã§ã¯ãèªåçã«åèªã¿èŸŒã¿ããŠããŸãããããã¯ãåèªã¿èŸŒã¿ããªããã°é©çšãããªãããŒãžãããããã§ããäŸãã°ãå€ãã®ããŒãžãèªã¿èŸŒã¿æã«ã¿ããã®ãµããŒãã確èªããŠããµããŒããããŠããå Žåã«éãã€ãã³ããã³ãã©ãŒãè¿œå ããããç¹å®ã®ãã©ãŠã¶ãŒã§ã®ã¿ç¹å®ã®æ©èœãæå¹åãããããŠããŸãã</p> + +<p>ãããããã®ãããªæ©èœãå®è¡ããããšã«èå³ããªãå Žå (ããŸããŸãªãµã€ãºã§å
šäœã®ã¬ã€ã¢ãŠãã確èªãããªã©) ã¯ãåèªã¿èŸŒã¿ã§æéã浪費ããŠããä»äºãã§ããªããªããããããŸããã®ã§ãåèªã¿èŸŒã¿ãå¶åŸ¡ã§ãããšåœ¹ã«ç«ã¡ãŸãã</p> + +<p>ã¯ãããŠãã®èšå®ãå€æŽãããšãã«åèªã¿èŸŒã¿ãèªåçã«è¡ããªãããšãšãèªåçã«åèªã¿èŸŒã¿ã§ããããã«ããæ¹æ³ã瀺ãèŠåã¡ãã»ãŒãžã衚瀺ããŸããäŸãã°:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15840/page-reload-warning.png" style="display: block; margin: 0 auto;"></p> + +<h3 id="Toggling_orientation" name="Toggling_orientation">åããåãæ¿ãã</h3> + +<p>ç»é¢ã®åããããŒãã¬ãŒããŸãã¯ã©ã³ãã¹ã±ãŒãã«åãæ¿ããã«ã¯ã端æ«éžæã®é£ã«ããã¢ã€ã³ã³ãã¯ãªãã¯ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14937/rdm-toggle-orientation-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 948px;"></p> + +<h2 id="Network_throttling" name="Network_throttling">ãããã¯ãŒã¯ã調æŽãã</h2> + +<p>ãšãŠãé«éãªãããã¯ãŒã¯æ¥ç¶ã䜿çšããŠãã¹ãŠã®éçºããã¹ããè¡ã£ãŠããå Žåã¯ãäœéãªæ¥ç¶ã䜿çšããŠã¢ã¯ã»ã¹ãããšãã«ãµã€ãã§åé¡ãçºçãããããããŸãããã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã§ãããŸããŸãªçš®é¡ã®ãããã¯ãŒã¯ã®ç¹åŸŽãã»ãŒãšãã¥ã¬ãŒããããããã©ãŠã¶ã«æ瀺ã§ããŸãã</p> + +<p>以äžã®ç¹åŸŽããšãã¥ã¬ãŒãããŸã:</p> + +<ul> + <li>ããŠã³ããŒãé床</li> + <li>ã¢ããããŒãé床</li> + <li>æå°ã®é
延</li> +</ul> + +<p>以äžã®è¡šã§åãããã¯ãŒã¯ã«é¢é£ä»ããããå€ã瀺ããŸãããæ£ç¢ºãªããã©ãŒãã³ã¹ã枬å®ããããã«ãã®æ©èœãé Œããªãããã«ããŠãã ãããããã¯ãããŸããŸãªç¶æ³ã«ããããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®ãããŸããªèŠè§£ã瀺ãããšãããã®ã§ãã</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col">éžæè¢</th> + <th scope="col">ããŠã³ããŒãé床</th> + <th scope="col">ã¢ããããŒãé床</th> + <th scope="col">æå°ã®é
延 (ms)</th> + </tr> + </thead> + <tbody> + <tr> + <td>GPRS</td> + <td>50 Kb/s</td> + <td>20 Kb/s</td> + <td>500</td> + </tr> + <tr> + <td>Regular 2G</td> + <td>250 Kb/s</td> + <td>50 Kb/s</td> + <td>300</td> + </tr> + <tr> + <td>Good 2G</td> + <td>450 Kb/s</td> + <td>150 Kb/s</td> + <td>150</td> + </tr> + <tr> + <td>Regular 3G</td> + <td>750 Kb/s</td> + <td>250 Kb/s</td> + <td>100</td> + </tr> + <tr> + <td>Good 3G</td> + <td>1.5 Mb/s</td> + <td>750 Kb/s</td> + <td>40</td> + </tr> + <tr> + <td>Regular 4G/LTE</td> + <td>4 Mb/s</td> + <td>3 Mb/s</td> + <td>20</td> + </tr> + <tr> + <td>DSL</td> + <td>2 Mb/s</td> + <td>1 Mb/s</td> + <td>5</td> + </tr> + <tr> + <td>Wi-Fi</td> + <td>30 Mb/s</td> + <td>15 Mb/s</td> + <td>2</td> + </tr> + </tbody> +</table> + +<p>ãããã¯ãŒã¯ãéžæããã«ã¯ãåæå€ãšã㊠[No throttling] ãšè¡šç€ºãããŠãããªã¹ããã¯ãªãã¯ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14945/rdm-network-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 948px;"></p> + +<h2 id="Taking_a_screenshot" name="Taking_a_screenshot">ã¹ã¯ãªãŒã³ã·ã§ãããååŸãã</h2> + +<p>ã«ã¡ã©ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã¥ãŒããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããååŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14943/rdm-screenshot-2.png" style="display: block; height: 758px; margin-left: auto; margin-right: auto; width: 948px;"></p> + +<p>ã¹ã¯ãªãŒã³ã·ã§ããã¯ãFirefox ã®æ¢å®ã®ããŠã³ããŒãå
ã«ä¿åããŸãã</p> + +<p>Firefox 53 ãããéçºããŒã«ã® <a href="/ja/docs/Tools/Settings">ãªãã·ã§ã³</a> ããŒãžã§ "Screenshot to clipboard" ã«ãã§ãã¯ãå
¥ãããšãã¹ã¯ãªãŒã³ã·ã§ãããã·ã¹ãã ã®ã¯ãªããããŒãã«ãã³ããŒããŸãã</p> diff --git a/files/ja/tools/responsive_design_mode_(before_firefox_52)/index.html b/files/ja/tools/responsive_design_mode_(before_firefox_52)/index.html new file mode 100644 index 0000000000..4e7ccec365 --- /dev/null +++ b/files/ja/tools/responsive_design_mode_(before_firefox_52)/index.html @@ -0,0 +1,70 @@ +--- +title: ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã (Firefox 52 ããå) +slug: Tools/Responsive_Design_Mode_(before_Firefox_52) +translation_of: Tools/Responsive_Design_Mode +--- +<div>{{ToolsSidebar}}</div><div class="note"> +<p>ãã®ããŒãžã§ã¯ãFirefox 52 ããåã®ããŒãžã§ã³ã®ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã«ã€ããŠèª¬æããŸããFirefox 52 以éã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã</a> ãã芧ãã ããã</p> +</div> + +<p><a href="/ja/docs/Web_Development/Responsive_Web_design">ã¬ã¹ãã³ã·ããã¶ã€ã³</a> ã¯ãæºåž¯é»è©±ãã¿ãã¬ããã®ãããªããŸããŸãªããã€ã¹ã«é©ããäœè£ãæäŸãããããããŸããŸãªã¹ã¯ãªãŒã³ãµã€ãºã«é©å¿ããŸããã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã¯ããŠã§ããµã€ãããŠã§ãã¢ããªãããŸããŸãªã¹ã¯ãªãŒã³ãµã€ãºã§ã©ã®ããã«èŠãããã®ç¢ºèªã容æã«ããŸãã</p> + +<p>以äžã®ã¹ã¯ãªãŒã³ã·ã§ãã㯠Wikipedia ã®ã¢ãã€ã«çããã³ã³ãã³ããšãªã¢ã®ãµã€ãºã 320x480 ã®ç¶æ
ã§è¡šç€ºããäŸã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12738/responsive-design-mode.png" style="height: 788px; width: 735px;"></p> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã¯ãã³ã³ãã³ããšãªã¢ã®ãµã€ãºããã°ãããã€æ£ç¢ºã«å€æŽã§ããã®ã§äŸ¿å©ã§ãã</p> + +<p>ãã¡ããããã©ãŠã¶ãŒã®ãŠã£ã³ããŠãµã€ãºãå€ããããšãã§ããã§ããããããããã©ãŠã¶ãŒã®ãŠã£ã³ããŠãå°ãããããšã»ãã®ã¿ãããã¹ãŠå°ãããªã£ãŠããŸãããã©ãŠã¶ãŒã®ã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšãã¥ãããªããŸãã</p> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããæå¹ã«ããç¶æ
ã§ãã³ã³ãã³ããšãªã¢ããªãµã€ãºããããŸãŸéåžžã©ããã«ãã©ãŠãžã³ã°ãç¶ããããšãã§ããŸãã</p> + +<h2 id="Enabling_and_disabling" name="Enabling_and_disabling">æå¹åãšç¡å¹å</h2> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã®æå¹åæ¹æ³ã¯ 3 ã€ãããŸã:</p> + +<ul> + <li>Firefox ã¡ãã¥ãŒ (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã OS X ã§ã¯ããŒã«ã¡ãã¥ãŒ) ã®ãŠã§ãéçºãµãã¡ãã¥ãŒã§ [ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã] ãéžæãã</li> + <li><a href="/ja/docs/Tools_Toolbox#Toolbar" title="Tools_Toolbox#Toolbar">ããŒã«ããã¯ã¹ã®ããŒã«ããŒ</a> 㧠[ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã] ãã¿ã³ãæŒã</li> + <li>Ctrl + Shift + M ãæŒäžãã (OS X ã§ã¯ Cmd + Opt + M)</li> +</ul> + +<p>ãŸããã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããç¡å¹åããæ¹æ³ã 3 ã€ãããŸã:</p> + +<ul> + <li>[ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã] ã¡ãã¥ãŒé
ç®ãå床éžæãã</li> + <li>ãŠã£ã³ããŠã®å·Šäžé
ã«ãã [çµäº] ãã¿ã³ãã¯ãªãã¯ãã</li> + <li>Ctrl + Shift + M ãæŒäžãã (OS X ã§ã¯ Cmd + Opt + M)ãFirefox 34 ããåã§ã¯ãEsc ããŒã§ãã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããéããŸããã</li> +</ul> + +<h2 id="Resizing" name="Resizing">ãªãµã€ãº</h2> + +<p>ã³ã³ãã³ããšãªã¢ã®ãµã€ãºãå€æŽããæ¹æ³ã¯ 2 ã€ãããŸã:</p> + +<ul> + <li><a href="#select-size">[ãµã€ãºéžæ] ã³ã³ãããŒã«</a> ã䜿çšãã</li> + <li>ã³ã³ãã³ããšãªã¢ã®å³ç«¯ãšäžç«¯ãããã³å³äžé
ã«ããã³ã³ãããŒã«ãã¯ãªãã¯ã¢ã³ããã©ãã°ãã</li> +</ul> + +<p>ã¯ãªãã¯ã¢ã³ããã©ãã°ã§ãªãµã€ãºããå ŽåãControl ã㌠(Mac OS X ã§ã¯ Cmd ããŒ) ãæŒããªããæäœãããšãªãµã€ãºæã®ç§»åé床ãé
ããªããŸããããã«ããã粟å¯ãªãµã€ãºèšå®ã容æã«ãªããŸãã</p> + +<h2 id="Responsive_Design_Mode_controls" name="Responsive_Design_Mode_controls">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã®æäœ</h2> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12736/responsive-design-mode-controls.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã§ããŒãžã衚瀺ããŠãããšãã¯ããŠã£ã³ããŠã®äžéšã« 5 åã®ã³ã³ãããŒã«ããããŸã:</p> + +<dl> + <dt>çµäº</dt> + <dd>ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒããçµäºããŠãéåžžã®ãã©ãŠãžã³ã°ã«æ»ããŸãã</dd> + <dt>ãµã€ãºéžæ</dt> + <dd>ããã€ãã®å¹
ãšé«ãã®ããªã»ããããŸãã¯ç¬èªã«å®çŸ©ãããµã€ãºããéžæããŸãã</dd> + <dt>é«ããšå¹
ãå
¥ãæ¿ã</dt> + <dd>ã¹ã¯ãªãŒã³ã®åãã®ããŒãã¬ãŒããšã©ã³ãã¹ã±ãŒããåãæ¿ããŸãã</dd> + <dt>ã¿ããã€ãã³ããã·ãã¥ã¬ãŒã</dt> + <dd>touch ã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³ãæå¹å/ç¡å¹åããŸããtouch ã€ãã³ãã®ã·ãã¥ã¬ãŒã·ã§ã³ãæå¹åãããšãmouse ã€ãã³ãã <a href="/ja/docs/Web/Guide/API/DOM/Events/Touch_events">touch ã€ãã³ã</a> ã«å€æããŸãã</dd> + <dt>ã¹ã¯ãªãŒã³ã·ã§ãã</dt> + <dd>ã³ã³ãã³ããšãªã¢ã®ã¹ã¯ãªãŒã³ã·ã§ãããååŸããŸããã¹ã¯ãªãŒã³ã·ã§ããã¯ãFirefox ã®æ¢å®ã®ããŠã³ããŒãå
ã«ä¿åããŸãã</dd> + <dt>Custom User Agent ãèšå®</dt> + <dd><em>Firefox 47 ã®æ°æ©èœ</em>ããŠãŒã¶ãŒãšãŒãžã§ã³ãæååãå
¥åããŠãå
¥åããã¯ã¹ãããã©ãŒã«ã¹ãå€ããŸããå
¥åããã¯ã¹ãéè²ã§ãã€ã©ã€ã衚瀺ããŠãå
¥åãã UA æååã䜿çšããŠããããšã瀺ããŸããFirefox ã¯ã«ã¬ã³ãã¿ãããå®è¡ãããªã¯ãšã¹ãã«éããæå®ãã UA æååãå«ããŸããããã¯ã<a href="/ja/docs/Browser_detection_using_the_user_agent">UA ã¹ãããã£ã³ã°</a> ã«ãã£ãŠãã©ãŠã¶ãŒããšã«ç°ãªãã³ã³ãã³ããæäŸãããµã€ãã§åœ¹ã«ç«ã¡ãŸããæååãéžæããã³åé€ãããšãéåžžã® UA æååã«æ»ããŸãã</dd> +</dl> diff --git a/files/ja/tools/rulers/index.html b/files/ja/tools/rulers/index.html new file mode 100644 index 0000000000..1e5c8eae3e --- /dev/null +++ b/files/ja/tools/rulers/index.html @@ -0,0 +1,31 @@ +--- +title: å®èŠ +slug: Tools/Rulers +tags: + - DevTools + - Firefox + - Rulers + - Tools +translation_of: Tools/Rulers +--- +<div>{{ToolsSidebar}}</div><p class="geckoVersionNote">Firefox 40 ã®æ°æ©èœ</p> + +<p>Firefox 40 以éã§ã¯ãããŒãžã«å¯ŸããŠæ°Žå¹³æ¹åãšåçŽæ¹åã«å®èŠã衚瀺ã§ããããã«ãªããŸããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15783/rulers-display.png" style="display: block; margin-left: auto; margin-right: auto;">å®èŠã§è¡šç€ºãããŠããæ°å€ã®åäœã¯ãã¯ã»ã«ãšãªããŸãã</p> + +<p>Firefox 59 ãããã¥ãŒããŒãã®å³äžä»è¿ã«ããã¥ãŒããŒãã®å¯žæ³ã衚瀺ããŸãã</p> + +<p>次ã®ã©ã¡ããã§ãå®èŠã衚瀺ã§ããŸã:</p> + +<ul> + <li>éçºè
ããŒã«ã㌠(Shift + F2) 㧠<code>rulers</code> ã³ãã³ããå®è¡ãã</li> + <li>éçºè
ããŒã«ã®å®èŠã®è¡šç€ºåæ¿ãã¿ã³ãå©çšããããã®ãã¿ã³ã¯æšæºã§ã¯è¡šç€ºãããŠããŸããã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">èšå®</a> ã®ãå©çšå¯èœãªããŒã«ããã¯ã¹ã®ãã¿ã³ãã§ãã§ãã¯ãå
¥ããããšã§ããã¿ã³ã衚瀺ãããããã«ãªããŸãããã§ãã¯ãå
¥ãããšãããŒã«ããã¯ã¹ã®å³äžã®ãªãã·ã§ã³ãã¿ã³ãšåãå Žæã«ã"ããŒãžã«å®èŠã衚瀺ããŸã" ãã¿ã³ãçŸããŸãã<img alt="" src="https://mdn.mozillademos.org/files/15784/rulers-button.png" style="display: block; height: 216px; margin-left: auto; margin-right: auto; width: 328px;"></li> +</ul> + +<p>å®èŠã䜿çšãããšãã¯ã以äžã®åäœã«çæããŠãã ããã</p> + +<ul> + <li><strong>æ°ããã¿ã</strong>ãéããã<strong>ããŒãžã®åèªã¿èŸŒã¿</strong>ãè¡ã£ãå Žåã¯ãrulers ã³ãã³ããåå®è¡ããªããã°ãªããŸããã</li> + <li>ãã®ã³ãã³ãã®å¹æã¯æ°žç¶çã§ã¯ãããŸããã</li> +</ul> diff --git a/files/ja/tools/scratchpad/index.html b/files/ja/tools/scratchpad/index.html new file mode 100644 index 0000000000..a741bb2517 --- /dev/null +++ b/files/ja/tools/scratchpad/index.html @@ -0,0 +1,117 @@ +--- +title: ã¹ã¯ã©ããããã +slug: Tools/Scratchpad +tags: + - Tools + - Web Development + - 'Web Development:Tools' + - 'l10n:priority' +translation_of: Archive/Tools/Scratchpad +--- +<p>{{ToolsSidebar}}</p> + +<p>ã¹ã¯ã©ãããããã¯ãJavaScript ã®å®éšç°å¢ãæäŸããŸãããŠã§ãããŒãžãšå¯Ÿè©±ããã³ãŒãã®èšè¿°ãå®è¡ãçµæã®ç¢ºèªãã§ããŸãã</p> + +<p>äžåºŠã« 1 è¡ã®ã³ãŒããå®è¡ããããèšèšãããŠãã <a href="/ja/docs/Tools/Web_Console" title="Using the Web Console">Web ã³ã³ãœãŒã« </a>ãšã¯ç°ãªããã¹ã¯ã©ãããããã¯ãã倧ã㪠JavaScript ã³ãŒãã®ãããŸããç·šéã§ãããããŠåºåçµæã®çšéã«å¿ããããŸããŸãªæ¹æ³ã§ã³ãŒããå®è¡ããããšãã§ããŸãã</p> + +<p>{{EmbedYouTube("Pt7DZACyClM")}}</p> + +<h2 id="Usage" name="Usage">䜿çšæ¹æ³</h2> + +<h3 id="Opening_Scratchpad_in_its_own_window" name="Opening_Scratchpad_in_its_own_window">åå¥ã®ãŠã£ã³ããŠã§ã¹ã¯ã©ããããããéã</h3> + +<p>åå¥ã®ãŠã£ã³ããŠã§ã¹ã¯ã©ããããããéãæ¹æ³ãããã€ããããŸã:</p> + +<ul> + <li><kbd>Shift</kbd> + <kbd>F4</kbd> ãæŒäžããããWeb éçºã¡ãã¥ãŒ (macOS ã Linux ã§ã¯ããŒã«ã¡ãã¥ãŒã®ãµãã¡ãã¥ãŒãšããŠååšããŸã) ã§ã¹ã¯ã©ããããããéžæããŸãã</li> + <li>ã¡ã€ã³ããŒã«ããŒãŸãã¯ãã³ããŒã¬ãŒã¡ãã¥ãŒ (<img alt="" src="https://mdn.mozillademos.org/files/12712/hamburger.png" style="height: 20px; width: 22px;">) ã®äžã«ããã¬ã³ãã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/12710/wrench-icon.png" style="height: 21px; width: 21px;">) ãã¯ãªãã¯ããŠã"ã¹ã¯ã©ããããã" ãéžæããŸãã</li> +</ul> + +<p>åå¥ã®ãŠã£ã³ããŠã§ã¹ã¯ã©ããããããéããŸãã</p> + +<h3 id="Opening_Scratchpad_in_the_Toolbox" name="Opening_Scratchpad_in_the_Toolbox">ããŒã«ããã¯ã¹å
ã«ã¹ã¯ã©ããããããéã</h3> + +<div class="blockIndicator geckoVersionNote">Firefox 47 ã®æ°æ©èœ</div> + +<p>Firefox 47 ããã<a href="/ja/docs/Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a> ã®å
éšã«ã¹ã¯ã©ããããããéãããšãã§ããŸããå§ãã«ã<a href="/ja/docs/Tools/Tools_Toolbox#Settings_2">ãªãã·ã§ã³ </a>ããŒãžã§ "æšæºã® Firefox éçºããŒã«" ã® "ã¹ã¯ã©ããããã" ã«ãã§ãã¯ãå
¥ããªããã°ãªããŸããã</p> + +<p>以äžã§ã¹ã¯ã©ãããããããããŒãžã€ã³ã¹ãã¯ã¿ãŒã Web ã³ã³ãœãŒã«ãªã©ä»ã®ããŒã«ãšäžŠãã§ãããŒã«ããã¯ã¹å
ã§äœ¿çšã§ããŸããããã¯ã<a href="/ja/docs/Tools/Web_Console/Split_console">ã³ã³ãœãŒã«ã®åžžæ衚瀺</a> ã§ç¹ã«åœ¹ç«ã¡ãŸããã¹ã¯ã©ããããããæç¶çãªãã«ãã©ã³ãšãã£ã¿ãŒãšããŠããŸãã³ã³ãœãŒã«ãããŒãžãšå¯Ÿè©±ããããŒã«ãšããŠäœ¿çšã§ããŸãã</p> + +<h3 id="Editing" name="Editing">ç·šé</h3> + +<p>ã¹ã¯ã©ãããããã®ãŠã£ã³ããŠã¯ä»¥äžã®ãããªå€èŠã§ã (macOS ã§ã¯ç»é¢äžéšã«ã¡ãã¥ãŒããŒã衚瀺ãããŸã):</p> + +<p><img alt="A screenshot of the Scratchpad" src="https://mdn.mozillademos.org/files/5983/scratchpad.png"></p> + +<p>ãã¡ã€ã«ã¡ãã¥ãŒã§ã¯ JavaScript ã³ãŒãã®ä¿åãèªã¿èŸŒã¿ãè¡ãããšãã§ããŸãã®ã§ãåŸã§ã³ãŒããåå©çšããããšãã§ããŸãã</p> + +<h4 id="Code_completion" name="Code_completion">ã³ãŒãè£å®</h4> + +<p>ã¹ã¯ã©ãããããã« <a href="http://ternjs.net/">tern ã³ãŒã解æãšã³ãžã³</a> ãçµ±åããŠããªãŒãã³ã³ããªãŒãã®åè£ãã«ã¬ã³ãã·ã³ãã«ã«é¢ããæ
å ±ã衚瀺ãããããã¢ãããæäŸããããã«äœ¿çšããŠããŸãã<kbd>Ctrl</kbd> + <kbd>Space</kbd> ãæŒäžãããšããªãŒãã³ã³ããªãŒãåè£ã衚瀺ããŸãã</p> + +<p>äŸãã°ã<kbd>d</kbd> ãšå
¥åã㊠<kbd>Ctrl</kbd> + <kbd>Space</kbd> ãæŒäžããŠã¿ãŸãããã以äžã®ããã«ããªãŒãã³ã³ããªãŒãããã¯ã¹ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7933/scratchpad-autocomplete.png" style="display: block; margin-left: auto; margin-right: auto;">ååè£ã®é£ã«ããã¢ã€ã³ã³ã¯ãåã瀺ããŸãããŸããã€ã©ã€ãäžã®åè£ã«ã€ããŠã詳现æ
å ±ããããã¢ããã§è¡šç€ºããŸãã<kbd>â</kbd> ããã³ <kbd>â</kbd> ããŒã§åè£ãè¡ãæ¥ã§ãã<kbd>Enter</kbd> ãŸã㯠<kbd>Tab</kbd> ã§ãã€ã©ã€ãäžã®åè£ãéžæããŸãã</p> + +<h4 id="Inline_documentation" name="Inline_documentation">ã€ã³ã©ã€ã³ããã¥ã¡ã³ã</h4> + +<p>èå¥åã«ã«ãŒãœã«ããããšãã« <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd> ãæŒäžãããšãã€ã³ã©ã€ã³ããã¥ã¡ã³ãããããã¢ãã衚瀺ããŸããäŸãã° <code>document</code>.<code>addEventListener</code> ãšå
¥åã㊠<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Space</kbd> ãæŒäžãããšãé¢æ°ã®æ§æãç°¡åãªèª¬æãšãã£ãæŠèŠãèšèŒãããããã¢ããã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7935/scratchpad-symbolinfo.png" style="display: block; margin-left: auto; margin-right: auto;">"[docs]" ã¯ããã®ã·ã³ãã«ã«é¢ãã MDN ã®ããã¥ã¡ã³ããžã®ãªã³ã¯ã§ãã</p> + +<h3 id="Executing" name="Executing">å®è¡</h3> + +<p class="note">ã³ãŒããèšè¿°ããããå®è¡ãããã³ãŒããéžæããŠãã ãããäœãéžæããªãå Žåã¯ããŠã£ã³ããŠå
ã®ã³ãŒããã¹ãŠãå®è¡ããŸãããããŠãã³ãŒãã®å®è¡æ¹æ³ãäžéšã®ãã¿ã³ãå®è¡ã¡ãã¥ãŒããŸãã¯ã³ã³ããã¹ãã¡ãã¥ãŒã§éžæããŠãã ãããã³ãŒãã¯çŸåšéžæããŠããã¿ãã®ã¹ã³ãŒãã§å®è¡ããŸããé¢æ°ã®å€éšã§å®£èšããå€æ°ã¯ããã®ã¿ãã®ã°ããŒãã«ãªããžã§ã¯ãã«è¿œå ãããŸãã</p> + +<p>å®è¡æ¹æ³ã¯ 4 çš®é¡ãããŸãã</p> + +<h4 id="Run" name="Run">å®è¡</h4> + +<p>å®è¡ãéžæãããšãéžæããã³ãŒããå®è¡ãããŸããããã¯çµæã確èªããå¿
èŠæ§ããªããããŒãžã®ã³ã³ãã³ããæäœããé¢æ°ãä»ã®ã³ãŒããå®è¡ãããã®ã§ãã</p> + +<h4 id="Inspect" name="Inspect">調æ»</h4> + +<p>調æ»ã¯ãã³ãŒããå®è¡ãªãã·ã§ã³ã®ããã«å®è¡ããŸãããã ããå®è¡åŸã«æ»ãå€ã®æ€èšŒãè¡ãããšãã§ãããªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒãéããŸãã</p> + +<p>äŸãã°ã以äžã®ã³ãŒããå
¥åããŸã:</p> + +<pre class="brush: js">window +</pre> + +<p>ãããŠèª¿æ»ãéžæãããšã以äžã®ãããªãªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒã衚瀺ãããŸã:</p> + +<p><img alt="Inspecting an object in the Scratchpad" src="https://mdn.mozillademos.org/files/5985/scratchpad-inspect.png"></p> + +<h4 id="Display" name="Display">衚瀺</h4> + +<p>衚瀺ã¯éžæãããã³ãŒããå®è¡ããŠããã®çµæãã¹ã¯ã©ãããããã®ãšãã£ã¿ãŒå
ã«ã³ã¡ã³ããšããŠæ¿å
¥ããŸãã®ã§ã<a href="http://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop">REPL</a> ãšããŠäœ¿çšã§ããŸãã</p> + +<h4 id="Reload_And_Run" name="Reload_And_Run">åèªã¿èŸŒã¿ããŠå®è¡</h4> + +<p>åèªã¿èŸŒã¿ããŠå®è¡ã¯ãå®è¡ã¡ãã¥ãŒããã®ã¿äœ¿çšã§ããŸããå§ãã«ããŒãžãåèªã¿èŸŒã¿ããŠãããŒãžã® "load" ã€ãã³ããçºçãããšãã®ã³ãŒããå®è¡ããŸããããã¯ãã¯ãªãŒã³ãªç°å¢ã§ã³ãŒããå®è¡ããã®ã«åœ¹ç«ã¡ãŸãã</p> + +<h2 id="Running_Scratchpad_in_the_browser_context" name="Running_Scratchpad_in_the_browser_context">ãã©ãŠã¶ãŒã³ã³ããã¹ãã§ã¹ã¯ã©ããããããå®è¡ãã</h2> + +<p>ã¹ã¯ã©ãããããã¯ç¹å®ã®ãŠã§ãããŒãžã ãã§ãªãããã©ãŠã¶ãŒå
šäœã®ã³ã³ããã¹ãã§ãå®è¡ã§ããŸãããã㯠Firefox èªäœã§ã®äœæ¥ãã¢ããªã³ã®éçºã§åœ¹ç«ã¡ãŸãããããè¡ãã«ã¯ã<a href="/ja/docs/Tools/Tools_Toolbox#Settings_2">éçºããŒã«ã®ãªãã·ã§ã³</a> 㧠"ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã¬ãŒãæå¹" ã«ãã§ãã¯ãå
¥ããŠãã ããããããšãå®è¡ç°å¢ã¡ãã¥ãŒã«ãã©ãŠã¶ãŒãšããéžæè¢ãå ãããŸãããããéžæãããšãããã€ãã®ã°ããŒãã«ãªããžã§ã¯ãã調æ»ãããšããããšãããã¹ã³ãŒããããŒãžã®ã³ã³ãã³ãã§ã¯ãªããã©ãŠã¶ãŒå
šäœã«ãªããŸã:</p> + +<pre class="brush: js">window +/* +[object ChromeWindow] +*/ + +gBrowser +/* +[object XULElement] +*/</pre> + +<p>ã¹ãããããã¡ã€ã«ã®å
é è¡ã«<br> + <code>// -sp-context: browser</code><br> + ãšèšå
¥ããå Žåã¯ãã¹ã¯ã©ãããããã®å®è¡ã³ã³ããã¹ãããã©ãŠã¶ãŒã«èšå®ãããŸãã</p> + +<h2 id="Keyboard_shortcuts" name="Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</h2> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "scratchpad")}}</p> + +<h3 id="Source_editor_shortcuts" name="Source_editor_shortcuts">ãœãŒã¹ãšãã£ã¿ã®ã·ã§ãŒãã«ãã</h3> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "source-editor")}}</p> diff --git a/files/ja/tools/settings/index.html b/files/ja/tools/settings/index.html new file mode 100644 index 0000000000..dd567a77a4 --- /dev/null +++ b/files/ja/tools/settings/index.html @@ -0,0 +1,180 @@ +--- +title: èšå® +slug: Tools/Settings +translation_of: Tools/Settings +--- +<div>{{ToolsSidebar}}</div> + +<h2 id="Opening_Settings" name="Opening_Settings">ãªãã·ã§ã³ãéã</h2> + +<p>Firefox 62 ãããéçºè
ããŒã«ã®èšå®ãéãããã®ã¢ã€ã³ã³ãã¿ãã®å³åŽã«ãã ...(ãšãªãã·ã¹) ãã¯ãªãã¯ãããã¯ã¿ããããããšã§ã¢ã¯ã»ã¹ããã¡ãã¥ãŒã«ç§»åããŸããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16085/DevTools_LayoutMenu.png" style="height: 290px; width: 225px;"></p> + +<p>ã¡ãã¥ãŒã«ã¯ãéçºè
ããŒã«ã®å Žæãå¶åŸ¡ããèšå®ãå«ãŸããŠããŸãã ãŠã£ã³ããŠã®äžéšã«ããæ¢å®ã®èšå®ãéžæããããããŒã«ãç»é¢ã®å·ŠåŽãŸãã¯å³åŽã«ç§»åããããšãã§ããŸãããããã®èšå®ã¯ã¯ã€ãã¹ã¯ãªãŒã³ã¢ãã¿ãŒã䜿çšããŠããå Žåã«ç¹ã«äŸ¿å©ã§ããå¥ã®ãŠã£ã³ããŠã§ããŒã«ãéãããšãã§ããŸãã</p> + +<p><strong>Show split console</strong> ã¯ãã³ã³ãœãŒã«ã瀺ãããŒã«ã®äžçªäžã«ã»ã¯ã·ã§ã³ãè¿œå ããŸããã³ãã³ãã©ã€ã³ãšã³ã³ãœãŒã«åºåã®1è¡ãŸãã¯2è¡ã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16086/split_console.png" style="height: 352px; width: 902px;"></p> + +<p>ãã®ä»ã®èšå®ã¯ãéçºè
ããŒã«èšå®ãŠã£ã³ããŠã«ãããŸããèšå®ã衚瀺ããã«ã¯ãéçºè
ããŒã«ãéãã次ã®æäœãè¡ããŸãã</p> + +<ul> + <li>ã¡ãã¥ãŒã® [èšå®] ã³ãã³ããã¯ãªãã¯ããŸãã<img alt="" src="https://mdn.mozillademos.org/files/16082/DevTools_Menu.png" style="border: 1px solid #cccccc; display: block; height: 430px; margin-left: auto; margin-right: auto; width: 1920px;"></li> + <li>ããã㯠<kbd>F1</kbd> ãæŒããŠã¢ã¯ãã£ããªããŒã«ãšèšå®ãã€ã³ãåãæ¿ããŸã</li> +</ul> + +<p>èšå®ãã€ã³ã¯æ¬¡ã®ããã«ãªããŸãã</p> + +<p><img alt="Depicts the Toolbox options" src="https://mdn.mozillademos.org/files/16081/dev_tools_settings.png"></p> + +<h2 id="Categories" name="Categories">ã«ããŽãªãŒ</h2> + +<h3 id="Default_Firefox_Developer_Tools" name="Default_Firefox_Developer_Tools">ããã©ã«ãã® Firefox éçºããŒã«</h3> + +<p>ãã®ãã§ãã¯ããã¯ã¹ã®ã°ã«ãŒãã§ã¯ãããŒã«ããã¯ã¹ã§æå¹ã«ããããŒã«ã決å®ããŸããæ°ããããŒã«ã¯ãFirefox ã«æèŒãããŠããŠãããã©ã«ãã§ç¡å¹ã«ãªã£ãŠããããšããããŸãã</p> + +<h3 id="Available_Toolbox_Buttons" name="Available_Toolbox_Buttons">å©çšå¯èœãªããŒã«ããã¯ã¹ã®ãã¿ã³</h3> + +<p>ãã®ãã§ãã¯ããã¯ã¹ã®ã°ã«ãŒãã§ã¯ãã©ã®ããŒã«ã <a href="/ja/docs/Tools/Tools_Toolbox#Extra_tools">ããŒã«ããã¯ã¹ã®ããŒã«ããŒã¢ã€ã³ã³ãšããŠè¡šç€ºããã</a> ã決å®ããŸãã</p> + +<p>Firefox 62 以éããçŸåšã®å¯Ÿè±¡ããã¥ã¡ã³ããšããŠiframeãéžæããªãã·ã§ã³ããã§ãã¯ãããŠããå ŽåãçŸåšã®ããŒãžã« iframe ãå«ãŸããŠããªããŠããèšå®ã¿ãã衚瀺ãããŠããéãããŒã«ããŒã«ã¢ã€ã³ã³ã衚瀺ãããŸãã</p> + +<p>Firefox 52 ã§ã¯ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Select_element_button">"èŠçŽ ãéžæ" ãã¿ã³</a> ãåãæ¿ãããã§ãã¯ããã¯ã¹ãåé€ããŸããã"èŠçŽ ãéžæ" ãã¿ã³ã¯åžžã«è¡šç€ºããŸãã</p> + +<h3 id="Themes" name="Themes">ããŒã</h3> + +<p> </p> + +<p>ããã«ããã2ã€ã®ããŒãã®ãããããéžæã§ããŸãã</p> + +<ul> + <li> + <p>ããã©ã«ãã¯æããããŒãã§ãïŒ</p> + + <p><img alt="Light theme for DevTools" src="https://mdn.mozillademos.org/files/16083/theme-light.png" style="border: 1px solid #cccccc; display: block; height: 430px; margin-left: auto; margin-right: auto; width: 1920px;"></p> + </li> + <li> + <p>æãããŒã (<a href="/ja/docs/Mozilla/Firefox/Developer_Edition">Firefox Developer Edition</a> ã®ããã©ã«ã)ïŒ</p> + + <p><img alt="Dark theme for DevTools" src="https://mdn.mozillademos.org/files/16084/theme-dark.png" style="border: 1px solid #cccccc; display: block; height: 430px; margin-left: auto; margin-right: auto; width: 1920px;"></p> + </li> +</ul> + +<p> </p> + +<h3 id="Common_preferences" name="Common_preferences">å
±éèšå®</h3> + +<p>è€æ°ã®ããŒã«ã«é©çšããèšå®ã§ããã²ãšã€ã ããããŸã:</p> + +<dl> + <dt><em>ãã°åºåãæ®ã</em></dt> + <dd>ãŠã§ãã³ã³ãœãŒã«ããã³ãããã¯ãŒã¯ã¢ãã¿ãŒã§ãå¥ã®ããŒãžãžç§»åãããšãã«åºåå
容ãæ¶å»ããããèšå®ããŸãã</dd> +</dl> + +<div class="note"> +<p>å
±éèšå®ãèšå®ã«å«ãŸããŠããªãå Žåããã©ãŠã¶ã®ã¢ãã¬ã¹ããŒã«ãã 'about:config' URLã䜿çšããŠã'devtools.webconsole.persistlog' ãæ€çŽ¢ããŠãã®å€ã true ã«åãæ¿ããããšã§ãWeb ã³ã³ãœãŒã«ãã°ãæ°žç¶åã§ããŸã</p> +</div> + +<h3 id="Inspector" name="Inspector">調æ»</h3> + +<dl> + <dt><em>ãã©ãŠã¶ãŒ CSS ã衚瀺</em></dt> + <dd>ãã©ãŠã¶ãŒãé©çšããã¹ã¿ã€ã« (<a href="/ja/docs/Web/CSS/Cascade">ãŠãŒã¶ãŒãšãŒãžã§ã³ãã¹ã¿ã€ã«</a>) ãã€ã³ã¹ãã¯ã¿ãŒã® <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_CSS_rules">ã«ãŒã«ãã¥ãŒ</a> ã«è¡šç€ºããããèšå®ããŸãããã®èšå®ã¯ã€ã³ã¹ãã¯ã¿ãŒã® <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_computed_CSS">èšç®æžã¿ãã¥ãŒ</a> ã«ãã "ãã©ãŠã¶ãŒ CSS" ãã§ãã¯ããã¯ã¹ãšã¯ç¡é¢ä¿ã§ããããšã«æ³šæããŠãã ããã</dd> + <dt><em>DOM å±æ§å€ãçç¥</em></dt> + <dd>ããã©ã«ãã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒã¯ 120 æåãè¶
ãã DOM å±æ§ãåãè©°ããŠè¡šç€ºããŸãããã§ãã¯ããã¯ã¹ã®ãã§ãã¯ãå€ããšããã®åäœãè¡ããŸããããã®èšå®ã¯ãabout:config ã® "devtools.markup.collapseAttributes" ãåãæ¿ããŸããå±æ§ãåãè©°ããæåæ°ã®ãããå€ãå€æŽããã«ã¯ãabout:config 㧠"devtools.markup.collapseAttributeLength" ãç·šéããŠãã ããã</dd> + <dt><em>æ¢å®ã®è²åäœ</em></dt> + <dd>調æ»æã«è²ãã©ã®ããã«è¡šçŸãããã®èšå®ã§ã: + <ul> + <li>16 é²æ°</li> + <li>HSL(A)</li> + <li>RGB(A)</li> + <li>è²ã®åå</li> + <li>èšè¿°éãã®åäœ</li> + </ul> + </dd> + <dt><em>ã¬ã€ã¢ãŠãããã«ãæå¹å</em></dt> + <dd>å®éšçãªã¬ã€ã¢ãŠãããã«ãæå¹åããŸãããã®èšå®ã¯ Firefox Nightly ã«ã®ã¿ååšããŸãã</dd> +</dl> + +<h3 id="Web_Console" name="Web_Console">ãŠã§ãã³ã³ãœãŒã«</h3> + +<dl> + <dt><em>ã¿ã€ã ã¹ã¿ã³ãã衚瀺</em></dt> + <dd>ãŠã§ãã³ã³ãœãŒã«ã§ã¿ã€ã ã¹ã¿ã³ãã衚瀺ãããã®èšå®ã§ããããã©ã«ãã§ãŠã§ãã³ã³ãœãŒã«ã¯ã¿ã€ã ã¹ã¿ã³ãã衚瀺ããŸããã</dd> + <dt><em>æ°ããã³ã³ãœãŒã«ããã³ããšã³ããæå¹å</em></dt> + <dd>å®éšçãªæ°ããã³ã³ãœãŒã«ã«åãæ¿ããŸãããã®èšå®ã¯ Firefox Nightly ã«ã®ã¿ååšããŸãã</dd> +</dl> + +<h3 id="Debugger" name="Debugger">ãããã¬ãŒ</h3> + +<dl> + <dt><em>ãœãŒã¹ããããæå¹å</em></dt> + <dd>ãããã¬ãŒã§ <a href="/ja/docs/Tools/Debugger/How_to/Use_a_source_map">ãœãŒã¹ãããã®ãµããŒã</a> ãæå¹åããŸãã</dd> + <dt><em>æ°ãããããã¬ãŒããã³ããšã³ããæå¹å</em></dt> + <dd>æ°ãããããã¬ãŒãæå¹åããŸãããã®èšå®ã¯ Firefox Nightly ã«ã®ã¿ååšããŸãã</dd> +</dl> + +<h3 id="Style_Editor" name="Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</h3> + +<dl> + <dt><em>å
ã®ãœãŒã¹ã衚瀺</em></dt> + <dd>ãã®èšå®ãæå¹ã«ãããšããœãŒã¹ãããããµããŒããã CSS ããªããã»ããµãŒã䜿çšããŠããå Žåã«ã¹ã¿ã€ã«ãšãã£ã¿ãŒããçæããã CSS ã§ã¯ãªãå
ã®ããªããã»ããµãŒã®ãœãŒã¹ã衚瀺ã§ããŸãã<a href="/ja/docs/Tools/Style_Editor#Source_map_support">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã® CSS ãœãŒã¹ãããã®ãµããŒãã«ã€ããŠç¢ºèªããŠãã ãã</a>ããã®èšå®ãæå¹ã«ãããšã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Link_to_CSS_file">ããŒãžã€ã³ã¹ãã¯ã¿ãŒã®ã«ãŒã«ãã¥ãŒã§ãå
ã®ãœãŒã¹ãžãªã³ã¯ããããã«ãªããŸã</a>ã</dd> + <dt><em>CSS èªåè£å®</em></dt> + <dd>ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§åè£ã®èªåè£å®ãå¯èœã«ãªããŸãã</dd> +</dl> + +<h3 id="Screenshot_Behavior" name="Screenshot_Behavior">ã¹ã¯ãªãŒã³ã·ã§ããã®åäœ</h3> + +<dl> + <dt><em>ã¹ã¯ãªãŒã³ã·ã§ãããã¯ãªããããŒããžã³ããŒ</em></dt> + <dd><a href="/ja/docs/Tools/Screenshot_tool">ã¹ã¯ãªãŒã³ã·ã§ããããŒã«</a> ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã¹ã¯ãªãŒã³ã·ã§ããã®ç»åãã¯ãªããããŒãã«ã³ããŒããŸã (ããŠã³ããŒããã£ã¬ã¯ããªãŒãžã®ä¿åãè¡ããŸã)ãFirefox 53 ã®æ°æ©èœã§ãã</dd> + <dt><em>ã«ã¡ã©ã®ã·ã£ãã¿ãŒé³ãåç</em></dt> + <dd><a href="/ja/docs/Tools/Screenshot_tool">ã¹ã¯ãªãŒã³ã·ã§ããããŒã«</a> ã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã·ã£ãã¿ãŒã®é³ã鳎ãããŸããFirefox 53 ã®æ°æ©èœã§ãã</dd> +</dl> + +<h3 id="Editor_Preferences" name="Editor_Preferences">ãšãã£ã¿ãŒèšå®</h3> + +<p>ãã㯠<a href="http://codemirror.net/">CodeMirror</a> ãœãŒã¹ãšãã£ã¿ãŒã®èšå®ã§ãããã®ãšãã£ã¿ãŒã¯ Firefox ã«å
èµãããŠããã<a href="/ja/docs/Tools/Scratchpad">ã¹ã¯ã©ããããã</a> ã <a href="/ja/docs/Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a> ãªã©ãããã€ãã®éçºããŒã«ã§äœ¿çšããŠããŸãã</p> + +<dl> + <dt><em>ã€ã³ãã³ããæ€ç¥</em></dt> + <dd>ã«ãŒãœã«ãããè¡ã®ã€ã³ãã³ãç¶æ
ã«åºã¥ããŠãæ°ããè¡ãèªåçã«ã€ã³ãã³ãããŸãã</dd> + <dt><em>éãæ¬åŒ§èªåå
¥å</em></dt> + <dt> </dt> + <dt><em>ã€ã³ãã³ãã«ã¹ããŒã¹æåã䜿ã</em></dt> + <dt> </dt> + <dt><em>ã¿ãå¹
</em></dt> + <dt> </dt> + <dt><em>ããŒå²ãåœãŠ</em></dt> + <dd>æ¢å®ã® CodeMirror ã®ããŒå²ãåœãŠããŸãã¯ããã€ãã®èåãªãšãã£ã¿ãŒã®ããŒå²ãåœãŠããéžæããŸã: + <ul> + <li>Vim</li> + <li>Emacs</li> + <li>Sublime Text</li> + </ul> + </dd> +</dl> + +<h3 id="Advanced_settings" name="Advanced_settings">詳现èšå®</h3> + +<dl> + <dt><em>Gecko ãã©ãããã©ãŒã ã®ããŒã¿ã衚瀺</em></dt> + <dd>ãããã¡ã€ã«ã« Gecko ãã©ãããã©ãŒã ã®ã·ã³ãã«ãå«ããããèšå®ããŸãã</dd> + <dt><em>HTTP ãã£ãã·ã¥ãç¡å¹å (ããŒã«ããã¯ã¹ãéããŠãããšã)</em></dt> + <dd>ããŒã«ããã¯ã¹ãéããŠãããã¹ãŠã®ã¿ãã§ãæåã«èªã¿èŸŒãå Žåã®ããã©ãŒãã³ã¹ãã·ãã¥ã¬ãŒã·ã§ã³ããããããã©ãŠã¶ãŒã® HTTP ãã£ãã·ã¥ãç¡å¹ã«ããŸãããã®èšå®ã¯æç¶çã§ãã®ã§ãèšå®ãè¡ã£ãåŸã«ããŒã«ããã¯ã¹ãéãçŽããŠãããã£ãã·ã¥ã¯ç¡å¹åããããŸãŸã«ãªããŸããéçºããŒã«ãéããç¶æ
ã§ã¯ããã£ãã·ã¥ãæå¹ã«ãªããŸãããªããService Workers ã¯ãã®èšå®ã®åœ±é¿ãåããŸããã + <div class="note">ããŒãžã§ã³ 49 ããåã® Firefox ã§ã¯ãã®ãªãã·ã§ã³ã®å称ã [ãã£ãã·ã¥ãç¡å¹] ã§ããããHTTP ãã£ãã·ã¥ã«åœ±é¿ããã£ãŠ <a href="/ja/docs/Web/API/Service_Worker_API">Service Workers</a> ã <a href="/ja/docs/Web/API/Cache">Cache API</a> ã«ã¯åœ±é¿ããªãããšãæ確ã«ããããæ¹åããŸããã</div> + </dd> + <dt><em>JavaScript ãç¡å¹å</em></dt> + <dd>JavaScript ãç¡å¹ãªç¶æ
ã§ã¿ãããªããŒãããŸãã</dd> + <dt><em>HTTP ã«ãã Service Workers ãæå¹å (ããŒã«ããã¯ã¹ãéãããšã)</em></dt> + <dd>å®å
šã§ã¯ãªããŠã§ããµã€ããã Service Worker ãç»é²å¯èœã«ããŸã</dd> + <dt><em>ãã©ãŠã¶ãŒãšã¢ããªã³ã®ãããã¬ãŒãæå¹å</em></dt> + <dd>ãŠã§ãã³ã³ãã³ãã ãã§ã¯ãªãããã©ãŠã¶ãŒèªäœã®ã³ã³ããã¹ãã§éçºããŒã«ã䜿çšã§ããŸãã</dd> + <dt><em>ãªã¢ãŒããããã¬ãŒãæå¹å</em></dt> + <dd>éçºããŒã«ã§ <a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒãã® Firefox ã€ã³ã¹ã¿ã³ã¹ã®ãããã°</a> ãå¯èœã«ããŸãã</dd> + <dt><em>Worker ã®ãããã°ãæå¹å (éçºããŒã«)</em></dt> + <dd>ãããã¬ãŒã§ãWorker ããããã°ããããã®ããã«ãæå¹åããŸãã + <p class="note">泚èš: Firefox 56 ãã <a href="/ja/docs/Tools/Debugger">æ°ãããããã¬ãŒã®UI</a> ãæèŒããããããã®ãªãã·ã§ã³ã UI ããåé€ããŸããããã ããèšå®é
ç® <code>devtools.debugger.workers</code> ã <code>true</code> ã«èšå®ãããšãå€ã UI ãæå¹åã§ããŸãã</p> + </dd> +</dl> diff --git a/files/ja/tools/shader_editor/index.html b/files/ja/tools/shader_editor/index.html new file mode 100644 index 0000000000..43b1f5035b --- /dev/null +++ b/files/ja/tools/shader_editor/index.html @@ -0,0 +1,60 @@ +--- +title: ã·ã§ãŒããŒãšãã£ã¿ãŒ +slug: Tools/Shader_Editor +translation_of: Tools/Shader_Editor +--- +<div>{{ToolsSidebar}}</div><p>ã·ã§ãŒããŒãšãã£ã¿ãŒã§ã<a href="/ja/docs/Web/WebGL">WebGL</a> ã§äœ¿çšããããŒããã¯ã¹ã·ã§ãŒããŒããã³ãã©ã°ã¡ã³ãã·ã§ãŒããŒã®åç
§ãç·šéãã§ããŸãã</p> + +<p>{{EmbedYouTube("hnoKqFuJhu0")}}</p> + +<p>WebGL ã¯ããã©ã°ã€ã³ã䜿çšããã«ãã©ãŠã¶ãŒã§ã€ã³ã¿ã©ã¯ãã£ã㪠3D ã°ã©ãã£ãã¯ã¹ã 2D ã°ã©ãã£ãã¯ã¹ãã¬ã³ããªã³ã°ããããã® JavaScript API ã§ããWebGL ã§ã¯ã<a href="https://www.opengl.org/wiki/Rendering_Pipeline_Overview">OpenGL ã¬ã³ããªã³ã°ãã€ãã©ã€ã³</a> ã®é©åãªã¹ããŒãžã§åä»ããããŠããã"ã·ã§ãŒããŒ" ãšããããã°ã©ã ã 2 ã€æäŸããŸããã²ãšã€ã¯ <a href="https://www.opengl.org/wiki/Vertex_Shader">ããŒããã¯ã¹ã·ã§ãŒããŒ</a> ã§ãããããã¯æç»ããåé ç¹ã®åº§æšãæäŸããŸããããã²ãšã€ã¯ <a href="https://www.opengl.org/wiki/Fragment_Shader">ãã©ã°ã¡ã³ãã·ã§ãŒããŒ</a> ã§ããããã¡ãã¯æç»ããåãã¯ã»ã«ã®è²ãæäŸããŸãã</p> + +<p>ãããã®ã·ã§ãŒããŒã¯ OpenGL Shading Languageãå¥å <a href="https://www.opengl.org/documentation/glsl/">GLSL</a> ã§èšè¿°ããŸããWebGL ã§ã¯ãããããããŸããŸãªæ¹æ³ã§ããŒãžã«å«ããããšãã§ããŸããJavaScript ã®ãœãŒã¹å
ã«ããŒãã³ãŒãããã<script> ã¿ã°ã§ã€ã³ã¯ã«ãŒãããå¥ãã¡ã€ã«ã«æžã蟌ãããã¬ãŒã³ããã¹ããšããŠãµãŒããŒããååŸããããšãã£ãæ¹æ³ããããŸãããããã¯ããŒãžã§å®è¡ãã JavaScript ã³ãŒãã«ãã£ãŠãã³ã³ãã€ã«ã®ããã« WebGL API ã䜿çšããŠéåºããããããŠããã€ã¹ã® GPU ã§å®è¡ãããŸãã</p> + +<p>ã·ã§ãŒããŒãšãã£ã¿ãŒã§ã¯ãããŒããã¯ã¹ã·ã§ãŒããŒããã³ãã©ã°ã¡ã³ãã·ã§ãŒããŒã®ãœãŒã¹ã調æ»ããã³ç·šéã§ããŸãã</p> + +<p>ãã¡ãã¯è€éãªã¢ããªã±ãŒã·ã§ã³ (<a href="http://www.unrealengine.com/html5/">Unreal Engine</a> ã®ãã¢) ã§ã·ã§ãŒããŒãšãã£ã¿ãŒãã©ã®ããã«äœ¿çšã§ãããã瀺ããã¹ã¯ãªãŒã³ãã£ã¹ãã§ã:</p> + +<p>{{EmbedYouTube("YBErisxQkPQ")}}</p> + +<h2 id="Opening_the_Shader_Editor" name="Opening_the_Shader_Editor">ã·ã§ãŒããŒãšãã£ã¿ãŒãéã</h2> + +<p>ã·ã§ãŒããŒãšãã£ã¿ãŒã¯ããã©ã«ãã§ç¡å¹ã§ããæå¹ã«ããã«ã¯ <a href="/ja/docs/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ãéããŠã[æšæºã® Firefox éçºããŒã«] 㧠[ã·ã§ãŒããŒãšãã£ã¿ãŒ] ã«ãã§ãã¯ãå
¥ããŠãã ãããããã§ãããŒã«ããŒã« [ã·ã§ãŒããŒãšãã£ã¿ãŒ] ãçŸããŸãããããã¯ãªãã¯ãããšãã·ã§ãŒããŒãšãã£ã¿ãŒãéããŸãã</p> + +<p>å§ãã¯ããŒãžã®åèªã¿èŸŒã¿ãæ±ãããã¿ã³ã衚瀺ãããããã©ã³ã¯ã®ãŠã£ã³ããŠãçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6421/shader-editor-open.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>äœæ¥ãå§ããã«ã¯ãWebGL ã³ã³ããã¹ããçæããããŒãžããã³ããã°ã©ã ãèªã¿èŸŒã¿ãŸãã以éã®ã¹ã¯ãªãŒã³ã·ã§ããã¯ã<a href="http://www.unrealengine.com/html5/">Unreal Engine</a> ã®ãã¢ã䜿çšããŠååŸããŸããã</p> + +<p>3 ã€ã®ãã€ã³ã«åå²ããããŠã£ã³ããŠãçŸããŸããå·ŠåŽã¯ãã¹ãŠã® GLSL ããã°ã©ã ã®ãªã¹ããäžå€®ã¯éžæããããã°ã©ã ã®ããŒããã¯ã¹ã·ã§ãŒããŒãå³åŽã¯éžæããããã°ã©ã ã®ãã©ã°ã¡ã³ãã·ã§ãŒããŒã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6431/shader-editor-loaded.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h2 id="Managing_programs" name="Managing_programs">ããã°ã©ã ã®å¶åŸ¡</h2> + +<p>å·ŠåŽã®ãã€ã³ã§ã¯ãçŸåšã® WebGL ã³ã³ããã¹ãã§äœ¿çšããŠãããã¹ãŠã®ããã°ã©ã ãäžèŠ§è¡šç€ºããŸãããªã¹ãã®é
ç®ã«ããŠã¹ãã€ã³ã¿ãèŒãããšããã®ããã°ã©ã ã§æç»ãããžãªã¡ããªãŒãèµ€è²ã§ãã€ã©ã€ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6427/shader-editor-highlight.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ããã°ã©ã é
ç®ã®å·ŠåŽã«ããç®çã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã®ããã°ã©ã ãç¡å¹åããŸããããã¯ç¹å®ã®ã·ã§ãŒããŒã«æ³šç®ããããéãªã£ãŠãããžãªã¡ããªãŒãé ãããããã®ã«åœ¹ç«ã¡ãŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6429/shader-editor-disable.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>é
ç®ãã¯ãªãã¯ãããšããã®ããŒããã¯ã¹ã·ã§ãŒããŒãšãã©ã°ã¡ã³ãã·ã§ãŒããŒãä»ã® 2 ã€ã®ãã€ã³ã«è¡šç€ºãããç·šéãã§ããŸãã</p> + +<h2 id="Editing_shaders" name="Editing_shaders">ã·ã§ãŒããŒã®ç·šé</h2> + +<p>äžå€®ããã³å³åŽã®ãã€ã³ã§ã¯ãéžæããããã°ã©ã ã®ããŒããã¯ã¹ã·ã§ãŒããŒããã³ãã©ã°ã¡ã³ãã·ã§ãŒããŒã衚瀺ããŸãã</p> + +<p>ãããã®ããã°ã©ã ã¯ç·šéããããšãå¯èœã§ãããç·šéçµæã¯æ¬¡ã« WebGL ã³ã³ããã¹ããåæç»ããããšã (äŸãã°æ¬¡ã®ã¢ãã¡ãŒã·ã§ã³ãã¬ãŒã ) ã§ç¢ºèªã§ããŸããäŸãã°ãè²ãå€æŽã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6433/shader-editor-edit-color.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãšãã£ã¿ãŒã¯ãã³ãŒãäžã®æ§æãšã©ãŒããã€ã©ã€ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6435/shader-editor-error.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãšã©ãŒãããè¡ã®æšªã«è¡šç€ºãããÃå°ã«ããŠã¹ãã€ã³ã¿ãèŒãããšã詳ããåé¡ç¹ã確èªã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6437/shader-editor-error-info.png" style="display: block; margin-left: auto; margin-right: auto;"></p> diff --git a/files/ja/tools/storage_inspector/index.html b/files/ja/tools/storage_inspector/index.html new file mode 100644 index 0000000000..ca4b762a17 --- /dev/null +++ b/files/ja/tools/storage_inspector/index.html @@ -0,0 +1,206 @@ +--- +title: ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ +slug: Tools/Storage_Inspector +tags: + - Cookies + - Dev Tools + - Firefox + - Guide + - IndexedDB + - Local Storage + - Session Storage + - Storage + - Tools +translation_of: Tools/Storage_Inspector +--- +<p>{{ToolsSidebar}}</p> + +<div class="geckoVersionNote"> +<p>ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã¯ããã©ã«ãã§ç¡å¹ã§ãã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ã§æå¹åã§ããŸãã</p> +</div> + +<p>ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§ããŠã§ãããŒãžã䜿çšã§ããããŸããŸãªçš®é¡ã®ã¹ãã¬ãŒãžã調æ»ã§ããŸããçŸåšã¯ã以äžã®çš®é¡ã®ã¹ãã¬ãŒãžã®èª¿æ»ã«äœ¿çšã§ããŸã:</p> + +<ul> + <li><em>ãã£ãã·ã¥ã¹ãã¬ãŒãž</em> - <a href="/ja/docs/Web/API/Cache">Cache API</a> ã䜿çšããŠäœæãã DOM ãã£ãã·ã¥</li> + <li><em>Cookie</em> - ããŒãžèªèº«ããã³ããŒãžå
ã® iframe ãäœæãããã¹ãŠã® <a href="/ja/docs/Web/API/Document/cookie">Cookie</a> ã確èªã§ããŸãããããã¯ãŒã¯åŒã³åºãã®å¿çã®äžéšãšããŠäœæããã Cookie ã衚瀺ããŸãããããŒã«ãéããŠããéã«çºçããåŒã³åºãã«ãããã®ã ãã察象ã§ãã</li> + <li><em>IndexedDB</em> - ããŒãžèªèº«ããã³ããŒãžå
ã® iframe ãäœæãããã¹ãŠã® <a href="/ja/docs/Web/API/IndexedDB_API">IndexedDB</a> ããŒã¿ããŒã¹ã§ãããŒã¿ããŒã¹ã®ãªããžã§ã¯ãã¹ãã¢ããã³ãªããžã§ã¯ãã¹ãã¢å
ã«ä¿åããŠããã¢ã€ãã ã確èªã§ããŸãã</li> + <li><em>ããŒã«ã«ã¹ãã¬ãŒãž</em> - ããŒãžèªèº«ããã³ããŒãžå
ã® iframe ãäœæãããã¹ãŠã® <a href="/ja/docs/Web/API/Window/localStorage">ããŒã«ã«ã¹ãã¬ãŒãž</a> ã¢ã€ãã ã確èªã§ããŸãã</li> + <li><em>ã»ãã·ã§ã³ã¹ãã¬ãŒãž</em> - ããŒãžèªèº«ããã³ããŒãžå
ã® iframe ãäœæãããã¹ãŠã® <a href="/ja/docs/Web/API/Window/sessionStorage">ã»ãã·ã§ã³ã¹ãã¬ãŒãž</a> ã¢ã€ãã ã確èªã§ããŸãã</li> +</ul> + +<p>ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã¯åœåã®éãèªã¿åãå°çšã®ãã¥ãŒã®ã¿ã§ã¹ãã¬ãŒãžã衚瀺ããŸããå°æ¥ã®ãªãªãŒã¹ã§ã¹ãã¬ãŒãžã³ã³ãã³ãã®ç·šéãå¯èœã«ãããããäœæ¥ããŠããŸãã</p> + +<h2 id="Opening_the_Storage_Inspector" name="Opening_the_Storage_Inspector">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒãéã</h2> + +<p>ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒãæå¹åãããšãFirefox ã¡ãã¥ãŒããã« (ã¡ãã¥ãŒããŒã衚瀺ããŠããå Žåã Mac OS X ã§ã¯ [ããŒã«] ã¡ãã¥ãŒ) å
ã® [ãŠã§ãéçº] ãµãã¡ãã¥ãŒã§ [ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ] ãéžæããŠéãããšãã§ããŸãããŸãã¯ãããŒããŒãã·ã§ãŒãã«ãã Shift + F9 ã䜿çšã§ããŸãã</p> + +<p>ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒãã¢ã¯ãã£ããªç¶æ
ã§ã<a href="/ja/docs/Tools/Tools_Toolbox" title="Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a> ããã©ãŠã¶ãŠã£ã³ããŠã®äžéšã«çŸããŸããéçºããŒã«ããã¯ã¹ã§ã¯ "ã¹ãã¬ãŒãž" ãšããå称ã§ãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14247/1-storage-inspector-open.png" style="display: block; height: 846px; margin-left: auto; margin-right: auto; width: 1311px;"></p> + +<h2 id="Storage_Inspector_User_Interface" name="Storage_Inspector_User_Interface">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹</h2> + +<p>ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã® UI 㯠3 ã€ã®äž»èŠã³ã³ããŒãã³ãã«åãããŸã:</p> + +<ul> + <li><a href="#storage-tree">ã¹ãã¬ãŒãžããªãŒ</a></li> + <li><a href="#table-widget">ããŒãã«ãŠã£ãžã§ãã</a></li> + <li><a href="#sidebar">ãµã€ãããŒ</a></li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14249/2-storage-inspector-annotated.png" style="display: block; height: 858px; margin-left: auto; margin-right: auto; width: 1323px;"></p> + +<h3 id="Storage_tree" name="Storage_tree"><a name="storage-tree">ã¹ãã¬ãŒãžããªãŒ</a></h3> + +<p>ã¹ãã¬ãŒãžããªãŒã¯ãã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã調æ»å¯èœãªãã¹ãŠã®ã¹ãã¬ãŒãžã¿ã€ããäžèŠ§è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14251/3-storage-types.png" style="display: block; height: 166px; margin-left: auto; margin-right: auto; width: 386px;"></p> + +<p>ã¹ãã¬ãŒãžã®çš®é¡ã®é
äžã§ããªããžã§ã¯ãã¯çæå
ã§åé¡ããŸããCookie ã§ã¯ãçæå
ã®åºå¥ã«ãããã³ã«ã䜿çšããŸãããIndexedDB ãããŒã«ã«ã¹ãã¬ãŒãžã§ã¯ãçæå
ããããã³ã«ãšãã¹ãåã®çµã¿åããã«ãªããŸããäŸãã° "http://mozilla.org" ãš "https://mozilla.org" ã¯ç°ãªã 2 ã€ã®çæå
ã«ãªããŸãã®ã§ãããŒã«ã«ã¹ãã¬ãŒãžã®ã¢ã€ãã ã¯åæ¹ã§å
±æã§ããŸããã</p> + +<p>"ãã£ãã·ã¥ã¹ãã¬ãŒãž" ã§ã¯ããªããžã§ã¯ããçæå
ãšãã£ãã·ã¥åã§åé¡ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14253/4-cachestorage.png" style="display: block; height: 210px; margin-left: auto; margin-right: auto; width: 350px;"></p> + +<p>IndexedDB ã®ãªããžã§ã¯ãã¯çæå
ãããŒã¿ããŒã¹åãããã«ãªããžã§ã¯ãã¹ãã¢åã§åé¡ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14255/5-indexeddb.png" style="display: block; height: 360px; margin-left: auto; margin-right: auto; width: 350px;"></p> + +<p>CookieãããŒã«ã«ã¹ãã¬ãŒãžãã»ãã·ã§ã³ã¹ãã¬ãŒãžã¯éå±€ã 1 ã€ã ãã§ãããä¿åãããŠããã¢ã€ãã ã¯åçæå
ã®çŽäžã«è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14257/6-cookies.png" style="display: block; height: 598px; margin-left: auto; margin-right: auto; width: 350px;"></p> + +<p>ããªãŒå
ã®åé
ç®ãã¯ãªãã¯ãããšãåé
ç®ãå±éãŸãã¯æãããã¿ã§ããŸããããªãŒã¯ææ°ã®ç¶æ³ã衚瀺ããŸãã®ã§ãæ°ããªçæå
ãè¿œå ããã (äŸãã° iframe ãè¿œå ãããªã©) ãšãèªåçã«åã¹ãã¬ãŒãžã¿ã€ãã«è¿œå ãããŸãã</p> + +<p>ããªãŒã§ã¢ã€ãã ãã¯ãªãã¯ãããšãã¢ã€ãã ã®è©³çŽ°æ
å ±ã衚圢åŒã§å³åŽã«è¡šç€ºããŸããäŸãã°ã¹ãã¬ãŒãžã¿ã€ã Cookie é
äžã®çæå
ãã¯ãªãã¯ãããšããã®ãã¡ã€ã³ã«å±ãããã¹ãŠã® Cookie ã衚瀺ããŸãã</p> + +<h3 id="Table_Widget" name="Table_Widget"><a name="table-widget">ããŒãã«ãŠã£ãžã§ãã</a></h3> + +<p>ããŒãã«ãŠã£ãžã§ããã¯ãéžæããããªãŒé
ç® (çæå
ãããŒã¿ããŒã¹) ã«é¢ãããã¹ãŠã®ã¢ã€ãã ã衚瀺ããå Žæã§ããã¹ãã¬ãŒãžã¿ã€ããããªãŒé
ç®ã«å¿ããŠãããŒãã«ã®åã®æ°ãå€ãããŸãã</p> + +<p>ããŒãã«ã®ãã¹ãŠã®åããªãµã€ãºå¯èœã§ããããŒãã«ã®ããããŒãã³ã³ããã¹ãã¯ãªãã¯ããŠååãéžæãããšãåãé ããã衚瀺ãããããããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14259/7-col-selection.png" style="display: block; height: 594px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h3 id="Search" name="Search">æ€çŽ¢</h3> + +<p>ããŒãã«ãŠã£ãžã§ããã®äžéšã«æ€çŽ¢ããã¯ã¹ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14261/8-search.png" style="display: block; height: 646px; margin-left: auto; margin-right: auto; width: 912px;"></p> + +<p>ããã¯ãæ€çŽ¢æååã«ãããããã¢ã€ãã ã®ã¿ããŒãã«ã«è¡šç€ºãããããã£ã«ã¿ãªã³ã°ããŸããæ€çŽ¢æååã«ãããããã¢ã€ãã ã¯ãããããã®ãã£ãŒã«ã (åãé衚瀺ã«ããŠãããã£ãŒã«ããå«ã) ã«æ€çŽ¢æååãå«ãã¢ã€ãã ã§ãã</p> + +<p>Firefox 50 ããã<kbd>Ctrl</kbd> + <kbd>F</kbd> (Mac ã§ã¯ <kbd>Cmd</kbd> + <kbd>F</kbd>) ã䜿çšããŠæ€çŽ¢ããã¯ã¹ã«ãã©ãŒã«ã¹ãåœãŠãããšãã§ããŸãã</p> + +<h3 id="Add_and_refresh_storage" name="Add_and_refresh_storage">ã¹ãã¬ãŒãžã®è¿œå ãšæŽæ°</h3> + +<p>æ°ããããŒãžã§ã³ã® Firefox ã§ã¯ãçŸåšè¡šç€ºããŠããã¹ãã¬ãŒãžçš®å¥ã®ãã¥ãŒãææ°ã®æ
å ±ã«æŽæ°ãããã¿ã³ãšãå¯èœã§ããã°æ°ããã¹ãã¬ãŒãžã¢ã€ãã ãè¿œå ãããã¿ã³ããããŸã (IndexedDB ã ãã£ãã·ã¥ã¹ãã¬ãŒãžã§ã¯æ°ããã¢ã€ãã ãè¿œå ã§ããŸãã):</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/15812/add-refresh-storage.png" style="display: block; margin: 0 auto;"></p> + +<h3 id="Sidebar" name="Sidebar"><a name="sidebar">ãµã€ãããŒ</a></h3> + +<p>ããŒãã«ãŠã£ãžã§ããã§ä»»æã®è¡ãéžæãããšããã®è¡ã®è©³çŽ°æ
å ±ã衚瀺ãããµã€ãããŒãéããŸããCookie ãéžæãããšããã® Cookie ã«é¢ãããã¹ãŠã®è©³çŽ°æ
å ±ã衚瀺ããŸãã</p> + +<p>ãµã€ãããŒã§ã¯ CookieãããŒã«ã«ã¹ãã¬ãŒãžãIndexedDB ã®ã¢ã€ãã ã®å€ã解æããŠãåãªãæååãææ矩ãªãã®ã«å€æããŸããäŸãã°:</p> + +<ul> + <li><code>'{"foo": "bar"}'</code> ã®ããã« stringify åŠçãæœããã JSON ãã<code>{foo: "bar"}</code> ã®ããã«å
ã® JSON ãšããŠè¡šç€ºããŸãã</li> + <li><code>"1~2~3~4"</code> ã <code>"1=2=3=4"</code> ã®ããã«ããŒã§åºåãããå€ãã<code>[1, 2, 3, 4]</code> ã®ããã«é
åãšããŠè¡šç€ºããŸãã</li> + <li><code>"ID=1234:foo=bar"</code> ã®ããã«ããŒãšå€ã®ãã¢ãå«ãæååãã<code>{ID:1234, foo: "bar"}</code> ã®ããã« JSON ãšããŠè¡šç€ºããŸãã</li> +</ul> + +<p>ãµã€ãããŒã®äžéšã«ããæ€çŽ¢ããã¯ã¹ã䜿çšããŠã衚瀺ãããå€ããã£ã«ã¿ãªã³ã°ããããšãã§ããŸãã</p> + +<h2 id="Cache_Storage" name="Cache_Storage">ãã£ãã·ã¥ã¹ãã¬ãŒãž</h2> + +<p>ãã£ãã·ã¥ã¹ãã¬ãŒãžã®é
äžã§ã<a href="/ja/docs/Web/API/Cache">Cache API</a> ã䜿çšããŠäœæãã DOM ãã£ãã·ã¥ã®å
容ã確èªã§ããŸãããã£ãã·ã¥ãéžæãããšããã£ãã·ã¥ã«å«ãŸããŠãããªãœãŒã¹ã®äžèŠ§ã衚瀺ããŸããåãªãœãŒã¹ã«ã€ããŠã以äžã®æ
å ±ã衚瀺ããŸã:</p> + +<ul> + <li>ãªãœãŒã¹ã® URL</li> + <li>ãªãœãŒã¹ãåãåºãããªã¯ãšã¹ãã«å¯Ÿããã¹ããŒã¿ã¹ã³ãŒã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14263/9-cachedstorage-details.png" style="display: block; height: 213px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h2 id="Cookies" name="Cookies">Cookie</h2> + +<p>ã¹ãã¬ãŒãžããªãŒã§ Cookie ã¹ãã¬ãŒãžå
ã®çæå
ãéžæãããšããã®çæå
åãã® Cookie ãããŒãã«ãŠã£ãžã§ããã«è¡šç€ºããŸããCookie ã®ããŒãã«ã«ã¯ä»¥äžã®åããããŸã:</p> + +<ul> + <li><em>åå</em> - Cookie ã®å称</li> + <li><em>ãã¹</em> - Cookie ã® path ããããã£</li> + <li><em>ãã¡ã€ã³</em> - Cookie ã®ãã¡ã€ã³</li> + <li><em>æå¹æé</em> - Cookie ã®æå¹æéãã»ãã·ã§ã³ Cookie ã§ããå Žåã¯ããã®å€ã¯ "ã»ãã·ã§ã³" ã«ãªããŸãã</li> + <li><em>ã¢ã¯ã»ã¹æ¥æ</em> - Cookie ãæåŸã«èªã¿åãããæ¥æ</li> + <li><em>äœææ¥æ</em> â Cookie ãäœæãããæ¥æ</li> + <li><em>å€</em> - Cookie ã®å€</li> + <li><em>HostOnly</em> - ãã¡ã€ã³ Cookie ã§ãããããã¡ã€ã³ Cookie ã§ããå Žåã¯ããã¡ã€ã³ã®å€ã "." ããå§ãŸããŸãã</li> + <li><em>Secure</em> - ã»ãã¥ã¢ Cookie ã§ããã</li> + <li><em>HttpOnly</em> - HTTP Only ã® Cookie ã§ããã</li> + <li><em>sameSite</em> â same-site Cookie ã§ãããsame-site Cookie ã¯ãåäžã® registrable domain ã«ãã£ãŠéå§ããããªã¯ãšã¹ãã«äŒŽãå Žåã«éã£ãŠç¹å®ã® Cookie ãéä¿¡ããã¹ãã§ãããšå®£èšããããšã«ãã£ãŠãCSRF ãæ
å ±æŒããæ»æã®å±éºæ§ãç·©åã§ããŸãã</li> +</ul> + +<div class="note"> +<p><strong>泚èš</strong>: äžéšã®åã¯ãããã©ã«ãã§è¡šç€ºãããŠããŸããã衚瀺ããåãå€æŽããã«ã¯ã衚瀺äžã®ããŒãã«ã®èŠåºããå³ã¯ãªãã¯ãŸã㯠<kbd>Ctrl</kbd> ãæŒããªããã¯ãªãã¯ããŠãã³ã³ããã¹ãã¡ãã¥ãŒã§è¡šç€ºã»é衚瀺ãéžæããŸãã</p> +</div> + +<div class="note"> +<p><strong>泚èš:</strong> Firefox 51 ããåã®ããŒãžã§ã³ã§ã¯ <em>HostOnly</em>ã<em>Secure</em>ã<em>HttpOnly</em> ã®åããããã <em>isDomain</em>ã<em>isSecure</em>ã<em>isHttpOnly</em> ãšããå称ã§ããã</p> +</div> + +<p><a href="/ja/docs/Tools/Storage_Inspector#Table_Widget">ããŒãã«ãŠã£ãžã§ãã</a> å
ã®ã»ã«ãããã«ã¯ãªãã¯ããŠå€ãç·šéããããšã§ãCookie ãç·šéã§ããŸãããŸãã"ãã©ã¹" (+) ãã¿ã³ãã¯ãªãã¯ããŠè¿œå ãããè¡ã®å€ãåžæããå€ã«å€æŽããããšã§ãæ°ãã Cookie ãè¿œå ã§ããŸã:</p> + +<p>ããããã®è¡ã®ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠãCookie ãåé€ããããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14273/delete-cookies.png" style="display: block; height: 208px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<h2 id="Local_storage_Session_storage" name="Local_storage_Session_storage">ããŒã«ã«ã¹ãã¬ãŒãž / ã»ãã·ã§ã³ã¹ãã¬ãŒãž</h2> + +<p>ããŒã«ã«ã¹ãã¬ãŒãžããã³ã»ãã·ã§ã³ã¹ãã¬ãŒãžã®çæå
ãéžæãããšãããŒã«ã«ã¹ãã¬ãŒãžããã³ã»ãã·ã§ã³ã¹ãã¬ãŒãžã«é¢ãããã¹ãŠã®ã¢ã€ãã ã®å称ãšå€ãããŒãã«ã«è¡šç€ºããŸãã</p> + +<p><a href="/ja/docs/Tools/Storage_Inspector#Table_Widget">ããŒãã«ãŠã£ãžã§ãã</a>å
ã®ã»ã«ãããã«ã¯ãªãã¯ããŠå€ãç·šéããããšã§ãããŒã«ã«ã¹ãã¬ãŒãžãã»ãã·ã§ã³ã¹ãã¬ãŒãžã®ã¢ã€ãã ãç·šéã§ããŸã:</p> + +<p>{{EmbedYouTube("oeQzhpoMByw")}}</p> + +<p>ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠãããŒã«ã«ã¹ãã¬ãŒãžãã»ãã·ã§ã³ã¹ãã¬ãŒãžã®é
ç®ãåé€ããããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14275/14-delete-localstorage.png" style="display: block; height: 444px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ãŸãã"ãã©ã¹" (+) ãã¿ã³ãã¯ãªãã¯ããŠè¿œå ãããè¡ã®å€ãåžæããå€ã«å€æŽããããšã§ãæ°ããã¹ãã¬ãŒãžã¢ã€ãã ãè¿œå ã§ããŸãã</p> + +<h2 id="IndexedDB" name="IndexedDB">IndexedDB</h2> + +<p>ã¹ãã¬ãŒãžããªãŒã§ IndexedDB ã¹ãã¬ãŒãžå
ã®çæå
ãéžæãããšããã®çæå
åãã®ãã¹ãŠã®ããŒã¿ããŒã¹ã®è©³çŽ°æ
å ±ãããŒãã«ã«è¡šç€ºããŸããããŒã¿ããŒã¹ã®è©³çŽ°æ
å ±ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li><em>ããŒã¿ããŒã¹å</em> - ããŒã¿ããŒã¹ã®å称</li> + <li><em>Storage</em> - ããŒã¿ããŒã¹ã«å¯ŸããŠæå®ããã<a href="/ja/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria#Different_types_of_data_storage">ã¹ãã¬ãŒãžã®çš®é¡</a> (Firefox 53 ã®æ°æ©èœ)</li> + <li><em>ãªãªãžã³</em> - ããŒã¿ããŒã¹ã®çæå
</li> + <li><em>ããŒãžã§ã³</em> - ããŒã¿ããŒã¹ã®ããŒãžã§ã³</li> + <li><em>ãªããžã§ã¯ãã¹ãã¢</em> - ããŒã¿ããŒã¹å
ã«ãããªããžã§ã¯ãã¹ãã¢ã®æ°</li> +</ul> + +<p>ã¹ãã¬ãŒãžããªãŒã§ IndexedDB ã®ããŒã¿ããŒã¹ãéžæãããšãä¿åãããŠãããã¹ãŠã®ãªããžã§ã¯ãã¹ãã¢ã®è©³çŽ°æ
å ±ãããŒãã«ã«è¡šç€ºããŸãããªããžã§ã¯ãã¹ãã¢ã®è©³çŽ°æ
å ±ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li><em>ãªããžã§ã¯ãã¹ãã¢å</em> - ãªããžã§ã¯ãã¹ãã¢ã®å称</li> + <li><em>ããŒ</em> - ãªããžã§ã¯ãã¹ãã¢ã® keyPath ããããã£</li> + <li><em>èªåã€ã³ã¯ãªã¡ã³ã</em> - èªåã€ã³ã¯ãªã¡ã³ããæå¹ã§ããã</li> + <li><em>ã€ã³ããã¯ã¹</em> - ãªããžã§ã¯ãã¹ãã¢ã®ã€ã³ããã¯ã¹ã®é
åãäžå³ã®ããã«è¡šç€ºãã</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14265/10-indexeddb-details.png" style="display: block; height: 205px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ã¹ãã¬ãŒãžããªãŒã§ãªããžã§ã¯ãã¹ãã¢ãéžæãããšããªããžã§ã¯ãã¹ãã¢å
ã®ãã¹ãŠã®ã¢ã€ãã ãããŒãã«ã«è¡šç€ºããŸãããã¹ãŠã®ã¢ã€ãã ã¯ãããŒãšããŒã«é¢é£ã¥ããããå€ããããŸãã</p> + +<p>Firefox 49 ããã¹ãã¬ãŒãžããªãŒãã¥ãŒã®ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠãIndexedDB ããŒã¿ããŒã¹ãåé€ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14277/15-delete-database.png" style="display: block; height: 194px; margin-left: auto; margin-right: auto; width: 900px;"></p> + +<p>ããŒã¿ããŒã¹ãåé€ã§ããªã (ãã£ãšãå€ãçç±ã¯ãããŒã¿ããŒã¹ãžã®ã¢ã¯ãã£ããªæ¥ç¶ãååšãããã) å Žåã¯ãã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒã§èŠåã¡ãã»ãŒãžã衚瀺ããŸã:<img alt="" src="https://mdn.mozillademos.org/files/14267/11-indexeddb-delete-warning.png" style="display: block; height: 255px; margin: 0px auto; width: 900px;"></p> + +<p>Firefox 50 ããããŒãã«ãŠã£ãžã§ããã®ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠããªããžã§ã¯ãã¹ãã¢å
ã®ãã¹ãŠã®ã¢ã€ãã ãããã¯ç¹å®ã®ã¢ã€ãã ãåé€ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/14279/16-delete-database-entries.png" style="display: block; height: 195px; margin-left: auto; margin-right: auto; width: 900px;"></p> diff --git a/files/ja/tools/style_editor/index.html b/files/ja/tools/style_editor/index.html new file mode 100644 index 0000000000..b80ce442a0 --- /dev/null +++ b/files/ja/tools/style_editor/index.html @@ -0,0 +1,109 @@ +--- +title: ã¹ã¿ã€ã«ãšãã£ã¿ãŒ +slug: Tools/Style_Editor +tags: + - CSS + - Stylesheets + - Tools + - Web Development + - 'Web Development:Tools' +translation_of: Tools/Style_Editor +--- +<div>{{ToolsSidebar}}</div><p>ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ã§ããããš:</p> + +<ul> + <li>ããŒãžã«é¢é£ã¥ããããŠãããã¹ãŠã®ã¹ã¿ã€ã«ã·ãŒãã®é²èŠ§ãšç·šé</li> + <li>ããã ã¹ã¯ã©ããã§æ°ããªã¹ã¿ã€ã«ã·ãŒããäœæããŠãããŒãžã«é©çšãã</li> + <li>æ¢åã®ã¹ã¿ã€ã«ã·ãŒããã€ã³ããŒãããŠãããŒãžã«é©çšãã</li> +</ul> + +<p>{{EmbedYouTube("7839qc55r7o")}}</p> + +<p>ã¹ã¿ã€ã«ãšãã£ã¿ãŒãéãã«ã¯ã[ãŠã§ãéçº] ã¡ãã¥ãŒ (Mac ã§ã¯ã[ããŒã«] ã¡ãã¥ãŒã®ãµãã¡ãã¥ãŒã§ã) ã§ã[ã¹ã¿ã€ã«ãšãã£ã¿ãŒ] ãéžæããŸããã¹ã¿ã€ã«ãšãã£ã¿ãŒãã¢ã¯ãã£ãã«ããŠããã©ãŠã¶ãŒãŠã£ã³ããŠã®äžéšã« <a href="/ja/docs/Tools/Tools_Toolbox" title="Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a> ãçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6941/style-editor.png" style="display: block; height: 238px; margin-left: auto; margin-right: auto; width: 816px;"></p> + +<p>ã¹ã¿ã€ã«ãšãã£ã¿ãŒã¯ 3 ã€ã®äž»èŠãªã»ã¯ã·ã§ã³ã«åãããŠããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Style_Editor#The_style_sheet_pane">å·ŠåŽã®ã¹ã¿ã€ã«ã·ãŒããã€ã³</a></li> + <li><a href="/ja/docs/Tools/Style_Editor#The_editor_pane">å³åŽã®ãšãã£ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Style_Editor#The_media_sidebar">ã¡ãã£ã¢ãµã€ãããŒ</a></li> +</ul> + +<h2 id="The_style_sheet_pane" name="The_style_sheet_pane">ã¹ã¿ã€ã«ã·ãŒããã€ã³</h2> + +<p>ãŠã£ã³ããŠå·ŠåŽã®ã¹ã¿ã€ã«ã·ãŒããã€ã³ã«ã¯ãçŸåšã®ããã¥ã¡ã³ãã§äœ¿çšããŠãããã¹ãŠã®ã¹ã¿ã€ã«ã·ãŒãã®äžèŠ§ã衚瀺ããŸããã¹ã¿ã€ã«ã·ãŒãåã®å·Šã«ããç®çã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã®ã¹ã¿ã€ã«ã·ãŒãã®æå¹/ç¡å¹ããã°ããåãæ¿ããããšãã§ããŸããäžèŠ§ã®åã·ãŒãé
ç®ã®å³äžã«ããä¿åãã¿ã³ãã¯ãªãã¯ãããšãã¹ã¿ã€ã«ã·ãŒãã®å€æŽå
容ãããŒã«ã«ã³ã³ãã¥ãŒã¿ãŒã«ä¿åããããšãã§ããŸãã</p> + +<p>Firefox 40 ãããéžæããã¹ã¿ã€ã«ã·ãŒããæ°ããã¿ãã§éãããšãã§ããã³ã³ããã¹ãã¡ãã¥ãŒããã¹ã¿ã€ã«ã·ãŒããã€ã³ã«ãããŸãã</p> + +<h2 id="The_editor_pane" name="The_editor_pane">ãšãã£ã¿ãŒãã€ã³</h2> + +<p>å³åŽã¯ãšãã£ã¿ãŒãã€ã³ã§ããããã§ã¯éžæããã¹ã¿ã€ã«ã·ãŒãã®ãœãŒã¹ã®é²èŠ§ãç·šéãå¯èœã§ããå€æŽããå
容ã¯ãããŒãžãžçŽã¡ã«åæ ãããŸããããã«ãããå®éšã»ä¿®æ£ã»ç¢ºèªããšãŠãç°¡åã«ã§ããŸããå€æŽå
容ã«æºè¶³ããããã¹ã¿ã€ã«ã·ãŒããã€ã³ã®é
ç®ã«ããä¿åãã¿ã³ãã¯ãªãã¯ããŠãã¹ã¿ã€ã«ã·ãŒãã®ã³ããŒãããŒã«ã«ã«ä¿åã§ããŸãã</p> + +<p>CSS ãèªã¿ãããããããã«ããšãã£ã¿ãŒã«ã¯è¡çªå·ã®è¡šç€ºãææ³ã®ãã€ã©ã€ãæ©èœããããŸãããŸããããã€ãã® <a href="/ja/docs/Tools/Style_Editor#Source_editor_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a> ããµããŒãããŠããŸãã</p> + +<p>æå°åãããã¹ã¿ã€ã«ã·ãŒããæ€åºãããšãå
ã®ã·ãŒãã«åœ±é¿ããªã圢ã§èªåçã«æå°åã解é€ããŸããããã¯ãæé©åæžã¿ã®ããŒãžã§è¡ãäœæ¥ããã容æã«ããŸãã</p> + +<p>ã¹ã¿ã€ã«ãšãã£ã¿ãŒã¯ãªãŒãã³ã³ããªãŒãããµããŒãããŠããŸããå
¥åãå§ãããšãåè£ã®ãªã¹ããæäŸããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6943/style-editor-autocomplete.png" style="display: block; margin-left: auto; margin-right: auto;"><a href="/ja/docs/Tools/Tools_Toolbox#Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã®èšå®</a> ã§ãªãŒãã³ã³ããªãŒããç¡å¹ã«ã§ããŸãã</p> + +<h2 id="The_media_sidebar" name="The_media_sidebar">ã¡ãã£ã¢ãµã€ãããŒ</h2> + +<p>éžæäžã®ã¹ã¿ã€ã«ã·ãŒãã« <a href="/ja/docs/Web/Guide/CSS/Media_queries"><code>@media</code> èŠå</a> ãå«ãŸããŠããå Žåã«ãã¹ã¿ã€ã«ãšãã£ã¿ãŒã®å³åŽã«ãµã€ãããŒã衚瀺ããŸãããã®ãµã€ãããŒã¯èŠåãäžèŠ§è¡šç€ºããŠãã¹ã¿ã€ã«ã·ãŒãã§èŠåãå®çŸ©ãããŠããè¡ãžã®ãªã³ã¯ãæäŸããŸããé
ç®ãã¯ãªãã¯ãããšãã¹ã¿ã€ã«ã·ãŒãå
ã§èŠåãååšããå Žæã«ãžã£ã³ãããŸããçŸåšé©çšããŠããªãã¡ãã£ã¢ã¯ãšãªãŒèŠåã®æ¡ä»¶æã¯ãã°ã¬ãŒã¢ãŠã衚瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/8365/style-editor-media-sidebar-detail.png" style="display: block; margin-left: auto; margin-right: auto;">ã¡ãã£ã¢ãµã€ãããŒã¯ã¬ã¹ãã³ã·ãã¬ã€ã¢ãŠãã®äœæããããã°ã«ãããŠã<a href="/ja/docs/Tools/Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã</a> ãšçµã¿åãããããšã§ç¹ã«åœ¹ç«ã¡ãŸã:</p> + +<p>{{EmbedYouTube("aVUXmvLSwoM")}}</p> + +<p>Firefox 46 ããã<code>@media</code> èŠåã«ã¹ã¯ãªãŒã³ãµã€ãºã®æ¡ä»¶ãå«ãŸããŠããå Žåã«ãæ¡ä»¶ãã¯ãªãã¯ã§ããŸããã¯ãªãã¯ãããšã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒãã䜿çšããŠãæ¡ä»¶ã«åãããã«ã¹ã¯ãªãŒã³ããªãµã€ãºããŸã:</p> + +<p>{{EmbedYouTube("XeocxoW2NYY")}}</p> + +<h2 id="Creating_and_importing_style_sheets" name="Creating_and_importing_style_sheets">ã¹ã¿ã€ã«ã·ãŒãã®äœæãšã€ã³ããŒã</h2> + +<p>ããŒã«ããŒã®æ°èŠäœæãã¿ã³ãã¯ãªãã¯ãããšãæ°ããã¹ã¿ã€ã«ã·ãŒããäœæã§ããŸãããããŠãæ°ãããšãã£ã¿ãŒã« CSS ã®å
¥åãå§ããŠãä»ã®ã·ãŒãã«å¯Ÿããå€æŽãšåæ§ã«ããŒãžãžãªã¢ã«ã¿ã€ã ã«é©çšãããçµæã確èªã§ããŸãã</p> + +<p>ã€ã³ããŒããã¿ã³ãã¯ãªãã¯ãããšãã¹ã¿ã€ã«ã·ãŒãããã£ã¹ã¯ããèªã¿èŸŒãã§ããŒãžã«é©çšã§ããŸãã</p> + +<h2 id="Source_map_support" name="Source_map_support">ãœãŒã¹ãããã®ãµããŒã</h2> + +<p>{{EmbedYouTube("zu2eZbYtEUQ")}}</p> + +<p>ãŠã§ãéçºè
㯠<a href="http://sass-lang.com/">Sass</a>ã<a href="http://lesscss.org/">Less</a>ã<a href="http://learnboost.github.io/stylus/">Stylus</a> ãšãã£ãããªããã»ããµãŒã䜿çšã㊠CSS ãã¡ã€ã«ãäœæããããšããããããŸãããããã®ããŒã«ã¯ããªãããã€è¡šçŸæ§ã®é«ãæ§æãã CSS ãã¡ã€ã«ãçæããŸãããããè¡ããšã¡ã³ããã³ã¹ãããã®ããçæããã CSS ã§ã¯ãªãããªããã»ããµãŒã®æ§æã«ãªããŸãã®ã§ãçæããã CSS ã®é²èŠ§ãç·šéãå¯èœã§ãããŸã圹ã«ç«ã¡ãŸããããã£ãŠçæããã CSS ãç·šéããŠãããå
ã®ãœãŒã¹ãžã©ã®ããã«ããŠåé©çšããããæäœæ¥ã§èããªããã°ãªããŸããã</p> + +<p>ãœãŒã¹ãããã«ãããçæããã CSS ããå
ã®æ§æãžã®å¯Ÿå¿ã¥ããããŒã«ãè¡ããããã«ãªããŸãã®ã§ãå
ã®æ§æã衚瀺ããŠç·šéããã³ä¿åãå¯èœã«ãªããŸããFirefox 29 ãããã¹ã¿ã€ã«ãšãã£ã¿ãŒã CSS ãœãŒã¹ããããç解ããŸãã</p> + +<p>äŸãã° Sass ã䜿çšãããšãã¹ã¿ã€ã«ãšãã£ã¿ãŒã¯ Sass ãã¡ã€ã«ããçæããã CSS ã§ã¯ãªããSass ãã¡ã€ã«ã衚瀺ããŠç·šéããããšãå¯èœã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6939/style-editor-sourcemap-820.png" style="display: block; margin-left: auto; margin-right: auto;">ãœãŒã¹ããããåäœããããã®å¿
èŠæ¡ä»¶ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li><a href="https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit">Source Map Revision 3 proposal</a> ãç解ãã CSS ããªããã»ããµãŒã䜿çšãããçŸåšã¯ <a href="http://sass-lang.com/">Sass</a> 3.3.0 以äžãŸã㯠<a href="http://roots.io/using-less-source-maps/">Less ã®ããŒãžã§ã³ 1.5.0</a> ã該åœããŸããä»ã®ããªããã»ããµãŒã¯ãµããŒãããããã«äœæ¥äžããŸãã¯ãµããŒããæ€èšäžã§ãã</li> + <li>ããªããã»ããµãŒã«ãœãŒã¹ããããçæããããæ瀺ãããäŸãã° Sass ã³ãã³ãã©ã€ã³ããŒã«ã§ã¯ <code>--sourcemap</code> ãã©ã¡ãŒã¿ãŒãäžããŸãã</li> +</ul> + +<h3 id="Viewing_original_sources" name="Viewing_original_sources">å
ã®ãœãŒã¹ã衚瀺</h3> + +<p><a href="/ja/docs/Tools/Tools_Toolbox#Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒã®èšå®</a> 㧠[å
ã®ãœãŒã¹ã衚瀺] ã«ãã§ãã¯ãå
¥ãããšã<a href="/ja/docs/Tools/Page_Inspector#Rules_view">ã«ãŒã«ãã¥ãŒ</a> 㧠CSS èŠåã®é£ã«ãããªã³ã¯ããã¹ã¿ã€ã«ãšãã£ã¿ãŒå
ã«ããå
ã®ãœãŒã¹ãžã®ãªã³ã¯ã«ãªããŸãã</p> + +<p>Firefox 35 ãããããã©ã«ãã§å
ã®ãœãŒã¹ã衚瀺ããŸãã</p> + +<h3 id="Editing_original_sources" name="Editing_original_sources">å
ã®ãœãŒã¹ãç·šé</h3> + +<p>ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§å
ã®ãœãŒã¹ãç·šéããããšãããããããŒãžãžçŽã¡ã«é©çšãããçµæãèŠãããšãå¯èœã§ãããããå®çŸããããã®è¿œå äœæ¥ã 2 ã€ãããŸãã</p> + +<p>ãŸãããªããã»ããµãŒãå
ã®ãœãŒã¹ãç£èŠããŠããœãŒã¹ãå€æŽãããéã¯èªåçã« CSS ãåçæããããã«ã»ããã¢ããããŸããSass ã§ã¯ <code>--watch</code> ãªãã·ã§ã³ãæž¡ãããšã§å¯èœã«ãªããŸã:</p> + +<pre>sass index.scss:index.css --sourcemap --watch</pre> + +<p>次ã«ã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ããã¡ã€ã«åã®é£ã«ãã [ä¿å] ãã¿ã³ãã¯ãªãã¯ããŠå
ã®ãã¡ã€ã«ãäžæžãä¿åããŸãã</p> + +<p>ããã§ãã¹ã¿ã€ã«ãšãã£ã¿ãŒã§ãœãŒã¹ãã¡ã€ã«ãå€æŽãããšãã« CSS ãåçæãããå€æŽçµæãããã«ç¢ºèªã§ããŸãã</p> + +<h2 id="Keyboard_shortcuts" name="Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</h2> + +<h3 id="Source_editor_shortcuts" name="Source_editor_shortcuts">ãœãŒã¹ãšãã£ã¿ãŒã®ã·ã§ãŒãã«ãã</h3> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "source-editor")}}</p> diff --git a/files/ja/tools/taking_screenshots/index.html b/files/ja/tools/taking_screenshots/index.html new file mode 100644 index 0000000000..41c1b1a30c --- /dev/null +++ b/files/ja/tools/taking_screenshots/index.html @@ -0,0 +1,52 @@ +--- +title: ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãã +slug: Tools/Taking_screenshots +tags: + - Tools +translation_of: Tools/Taking_screenshots +--- +<div>{{ToolsSidebar}}</div> + +<p>éçºããŒã«ã䜿çšããŠãããŒãžå
šäœãŸãã¯ããŒãžå
ã®ã²ãšã€ã®èŠçŽ ã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ã§ããŸãã</p> + +<h2 id="Taking_a_screenshot_of_the_page" name="Taking_a_screenshot_of_the_page">ããŒãžã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãã</h2> + +<p>çŸåšã®ããŒãžå
šäœã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããã«ã¯ãã¹ã¯ãªãŒã³ã·ã§ããã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14713/camera-icon.png" style="height: 16px; margin-bottom: -4px; width: 18px;">) ã䜿çšããŸãã</p> + +<p>ããã©ã«ãã§ã¯ãã¹ã¯ãªãŒã³ã·ã§ããã®ã¢ã€ã³ã³ãæå¹åãããŠããŸãããæå¹ã«ããæ¹æ³ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Settings">ãªãã·ã§ã³</a> ããŒãžãéããŸãã</li> + <li>"å©çšå¯èœãªããŒã«ããã¯ã¹ã®ãã¿ã³" ã®ã»ã¯ã·ã§ã³ãæ¢ããŸãã</li> + <li>"ããŒãžå
šäœã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããŸã" ã«ãã§ãã¯ãå
¥ããŸãã</li> +</ul> + +<p>以äžã§ãããŒã«ããŒã«ã¢ã€ã³ã³ã衚瀺ãããŸã:</p> + +<p>{{EmbedYouTube("KB5V9uJgcS4")}}</p> + +<p>ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãçŸåšã®ããŒãžã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããŸããã¹ã¯ãªãŒã³ã·ã§ããã¯ããã©ãŠã¶ãŒã® "ããŠã³ããŒã" ãã£ã¬ã¯ããªãŒã«ä¿åããŸã:</p> + +<p>{{EmbedYouTube("HKS6MofdXVE")}}</p> + +<h2 id="Taking_a_screenshot_of_an_element" name="Taking_a_screenshot_of_an_element">èŠçŽ ã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãã</h2> + +<p>ããŒãžå
ã®ã²ãšã€ã®èŠçŽ ã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããã«ã¯ã<a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">ã€ã³ã¹ãã¯ã¿ãŒã® HTML ãã€ã³</a> ã§ãã®èŠçŽ ã®ã³ã³ããã¹ãã¡ãã¥ãŒãéããŠã"ããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±" ãéžæããŸããã¹ã¯ãªãŒã³ã·ã§ããã¯ããã©ãŠã¶ãŒã® "ããŠã³ããŒã" ãã£ã¬ã¯ããªãŒã«ä¿åããŸã:</p> + +<p>{{EmbedYouTube("p2pjF_BrE1o")}}</p> + +<h2 id="Copying_screenshots_to_the_clipboard" name="Copying_screenshots_to_the_clipboard">ã¹ã¯ãªãŒã³ã·ã§ãããã¯ãªããããŒãã«ã³ããŒãã</h2> + +<p>Firefox 53 ãããã¹ã¯ãªãŒã³ã·ã§ãããã¯ãªããããŒãã«ã³ããŒããããšãã§ããŸããéçºããŒã«ã®ãªãã·ã§ã³ã§ "Screenshot to clipboard" ã«ãã§ãã¯ãå
¥ããŠãã ãã:</p> + +<p>{{EmbedYouTube("AZedFGh6F78")}}</p> + +<p>ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãããšãã¯ãªããããŒããžã®ã³ããŒãè¡ããŸãã</p> + +<p> </p> + +<h2 id="ã¢ãã£ã·ã§ãã«ãªãã·ã§ã³">ã¢ãã£ã·ã§ãã«ãªãã·ã§ã³</h2> + +<p>å¥ã®ããã€ã¹ãšãã¯ã»ã«ã®æ¯çãæå®ããå¿
èŠãããå Žåãã¹ã¯ãªãŒã³ã·ã§ãããæ®ãåã«é
延ãèšå®ããããç¬èªã®ãã¡ã€ã«åãæå®ããå¿
èŠãããå Žåã¯ãWeb ã³ã³ãœãŒã«ã§ <code>:screenshot</code> <a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter#Helper_commands">ãã«ããŒé¢æ°</a>ã䜿çšã§ããŸãã</p> + +<p> </p> diff --git a/files/ja/tools/tips/index.html b/files/ja/tools/tips/index.html new file mode 100644 index 0000000000..6abb84f7fc --- /dev/null +++ b/files/ja/tools/tips/index.html @@ -0,0 +1,130 @@ +--- +title: Tips +slug: Tools/Tips +tags: + - Dev Tools + - Tools + - Web Development +translation_of: Tools/Tips +--- +<div>{{ToolsSidebar}}</div> + +<h2 id="General" name="General">äžè¬</h2> + +<p>ã¹ã¯ãªãŒã³ã·ã§ãã:</p> + +<ul> + <li>ããŒãžå
šäœ: ã¹ã¯ãªãŒã³ã·ã§ãããã¿ã³ (<img alt="Button to take screenshots of the entire page" src="https://mdn.mozillademos.org/files/14191/Screenshot%20button.png" style="height: 18px; width: 18px;"> ãã¯ãªãã¯ããŸã (å§ãã« <a href="/ja/docs/Tools/Tools_Toolbox#Extra_tools">æå¹åããªããã°ãªããŸãã</a>)ã</li> + <li>ãã¥ãŒããŒã: <a href="/ja/docs/Tools/Responsive_Design_Mode#Responsive_Design_Mode_controls">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã</a> ã§ã¹ã¯ãªãŒã³ã·ã§ãããã¿ã³ (<img alt="Button to take screenshots of the entire page" src="https://mdn.mozillademos.org/files/14191/Screenshot%20button.png" style="height: 18px; width: 18px;">) ãã¯ãªãã¯ããŸãã</li> + <li>ããŒã: ã€ã³ã¹ãã¯ã¿ãŒã§å³ã¯ãªãã¯ã㊠[<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Screenshot Node">ããŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±</a>] ãã¯ãªãã¯ããŸãã</li> + <li><a href="/ja/docs/Tools/GCLI#Commands">éçºããŒã«ããŒã®ã³ãã³ã</a>: <code>screenshot [filename] [options]</code></li> +</ul> + +<p>èšå®:</p> + +<ul> + <li>éçºããŒã«ã®ããŒãã <a href="/ja/docs/Tools/Settings#Choose_DevTools_theme">LightãDarkãFirebug</a> ããéžæããŸãã</li> + <li>éåžžãšã¯ç°ãªãã·ã§ãŒãã«ããã«æ
£ããŠããå Žåã¯ãVimãEmacsãããã㯠Sublime Text ã® <a href="/ja/docs/Tools/Settings#Editor_Preferences">ããŒå²ãåœãŠã«å€æŽããŸã</a>ã</li> + <li>ãã§ãã¯ããã¯ã¹ã§ãããŸããŸãªããŒã«ãæå¹åãŸãã¯ç¡å¹åããŸã (ããã©ã«ãã§æå¹åããŠããªãããŒã«ããããŸã!)ã</li> +</ul> + +<h2 id="Page_Inspector" name="Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</h2> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#HTML_pane">ããŒã¯ã¢ãããã¥ãŒ</a>:</p> + +<ul> + <li>ããŒããéžæã㊠<kbd>H</kbd> ãæŒäžãããšããã®ããŒããé衚瀺/å衚瀺ããŸãã</li> + <li>ããŒããéžæã㊠<kbd>Backspace</kbd> ãŸã㯠<kbd>Del</kbd> ãæŒäžãããšããã®ããŒããåé€ããŸãã</li> + <li><kbd>Alt</kbd> ãæŒããªããããŒããã¯ãªãã¯ãããšããã¹ãŠã®åå«ãå±é/æãããã¿ãŸãã</li> + <li>ããŒã«äžéšã«ãã <a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#HTML_breadcrumbs">ãã³ãããªã¹ãã®ãã¿ã³</a> ãã¯ãªãã¯ãããšããã®ããŒãã衚瀺ããããã«ã€ã³ã¹ãã¯ã¿ãŒãã¹ã¯ããŒã«ããŸãã</li> + <li>ããŒãã®ãã°ã«ãã "ev" ã¢ã€ã³ã³ãã¯ãªãã¯ãããšã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_event_listeners">ãã®ããŒãã«é¢é£ä»ãããããã¹ãŠã®ã€ãã³ããªã¹ããŒãããããŸã</a>ã</li> + <li>ããŒããéžæã㊠<kbd>S</kbd> ãæŒäžãããšãããŒãžã§ãã®ããŒãã衚瀺ããŸã (ããŒããå³ã¯ãªãã¯ã㊠[<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Scroll Into View">ãã®èŠçŽ ã®äœçœ®ã«ã¹ã¯ããŒã«</a>] ãéžæããããšãšåãã§ã)ã</li> + <li>ããŒããå³ã¯ãªãã¯ã㊠[<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Use%20in%20Console">ã³ã³ãœãŒã«ã§äœ¿ã</a>] ãã¯ãªãã¯ãããšããã®ããŒããå€æ° <code>temp<var>N</var></code> ãšã㊠<a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter">ã³ãã³ãã©ã€ã³</a> ã§äœ¿çšã§ããŸãã</li> +</ul> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#Select_element_button">èŠçŽ ãéžæãã</a>:</p> + +<ul> + <li><kbd>Shift</kbd> + ã¯ãªãã¯ã§ã¯ãèŠçŽ ãéžæããŸããéžæå¯èœãªç¶æ
ãç¶æããŸã (éžæã¢ãŒãã解é€ããŸãã)ã</li> + <li><kbd>â</kbd>/<kbd>â</kbd> ã䜿çšããŠã芪èŠçŽ /åèŠçŽ ã«ç§»åããŸã (éžæããã®ãå°é£ã§ããå Žå)ã</li> +</ul> + +<p><a href="/ja/docs/Tools/Page_Inspector/UI_Tour#CSS_pane">ã«ãŒã«ãã¥ãŒ</a>:</p> + +<ul> + <li>ã»ã¬ã¯ã¿ãŒã®é£ã«ããã€ã³ã¹ãã¯ã¿ãŒã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14185/picker.png" style="height: 18px; width: 18px;">) ãã¯ãªãã¯ãããšãããããããã¹ãŠã®èŠçŽ ã匷調衚瀺ããŸãã</li> + <li><code>èŠçŽ {}</code> ã«ãŒã«ã®é£ã«ããã€ã³ã¹ãã¯ã¿ãŒã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14185/picker.png" style="height: 18px; width: 18px;">) ãã¯ãªãã¯ãããšãéžæäžã®èŠçŽ ã匷調衚瀺ããŸãã</li> + <li>ä»»æã®ããããã£ãå³ã¯ãªãã¯ã㊠[MDN ããã¥ã¡ã³ãã衚瀺] ãéžæãããšã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Get_help_for_CSS_properties">ãã®ããããã£ã® MDN ããã¥ã¡ã³ãã衚瀺ããŸã</a>ã</li> + <li>ãªãŒããŒã©ã€ããããã«ãŒã«ã®é£ã«ãããã£ã«ã¿ãŒã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14187/filter.png" style="height: 19px; width: 18px;">) ãã¯ãªãã¯ãããšã<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Overridden_declarations">ãªãŒããŒã©ã€ãããããããã£ãèŠã€ãããŸã</a>ã</li> + <li>å称ãå€ãã«ãŒã«ãå³ã¯ãªãã¯ããŠããããã®å称ãå€ã宣èšãã«ãŒã«å
šäœãã¯ãªããããŒãã«ã³ããŒã§ããŸãã</li> +</ul> + +<h2 id="Web_Console" name="Web_Console">ãŠã§ãã³ã³ãœãŒã«</h2> + +<p>ãã¹ãŠã®ããã«:</p> + +<ul> + <li><kbd>Esc</kbd> ãæŒäžãããš <a href="/ja/docs/Tools/Web_Console/Split_console">åžžæ衚瀺ã³ã³ãœãŒã«</a> ãéããŸãããããã°ãããŒãã®èª¿æ»ãè¡ãéã«åœ¹ç«ã¡ãŸãã</li> +</ul> + +<p><a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter">ã³ãã³ãã©ã€ã³</a>:</p> + +<ul> + <li><code><a href="/ja/docs/Tools/Web_Console/Helpers#$0">$0</a></code> ã¯ãçŸåšéžæããŠããããŒããåç
§ããŸãã</li> + <li><code><a href="/ja/docs/Tools/Web_Console/Helpers#$">$()</a></code> ã¯ã{{domxref("document.querySelector()")}} ã®ã·ã§ãŒãã«ããã§ãã</li> + <li><code><a href="/ja/docs/Tools/Web_Console/Helpers#$$">$$()</a></code> ã¯ã{{domxref("document.querySelectorAll()")}} ã®çµæãå«ãé
åãè¿ããŸãã</li> + <li><code><a href="/ja/docs/Tools/Web_Console/Helpers#copy">copy</a></code> ã¯ããããããã®ãæååãšããŠã³ããŒããŸãã</li> + <li>ã€ã³ã¹ãã¯ã¿ãŒã§ããŒããå³ã¯ãªãã¯ã㊠[<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Use%20in%20Console">ã³ã³ãœãŒã«ã§äœ¿ã</a>] ãã¯ãªãã¯ãããšããã®ããŒãã瀺ãå€æ° <code><a href="/ja/docs/Tools/Web_Console/Helpers#tempN">temp<em>N</em></a></code> ãäœæããŸãã</li> + <li><code><a href="/ja/docs/Tools/Web_Console/Helpers#cd">cd</a></code> ã§ãJavaScript ã®å®è¡ã³ã³ããã¹ãããããŒãžå
ã®å¥ã® iframe ã«åãæ¿ããŸãã</li> + <li><code><a href="/ja/docs/Web/API/Console/table">console.table()</a></code> ã§ã衚圢åŒã®ããŒã¿ãè¡šã§è¡šç€ºããŸãã</li> + <li><code><a href="/ja/docs/Tools/Web_Console/Helpers#help">help</a></code> ã§ã䜿çšå¯èœãªã³ãã³ãã説æãã MDN ããŒãžãéããŸãã</li> + <li><code>:screenshot <filename.png> --fullpage</code> ã¯ããªãã·ã§ã³ã®ãã¡ã€ã«åã䜿çšããŠãããŠã³ããŒããã£ã¬ã¯ããªã«ã¹ã¯ãªãŒã³ã·ã§ãããä¿åããŸãããã¡ã€ã«åãå«ãŸããŠããªãå Žåããã¡ã€ã«åã¯æ¬¡ã®åœ¢åŒã«ãªããŸãã<br> + <br> + <code>Screen Shot date at time.png</code><br> + <br> + --fullpage ãã©ã¡ãŒã¿ãŒã¯ãªãã·ã§ã³ã§ãããããå«ãããšãã¹ã¯ãªãŒã³ã·ã§ããã¯ãã©ãŠã¶ãŠã£ã³ããŠã«è¡šç€ºãããã»ã¯ã·ã§ã³ã ãã§ãªãããŒãžå
šäœã«ãªããŸãããã¡ã€ã«åã«ã -fullpage ãä»å ãããŸãã<a href="https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Helpers">Web ã³ã³ãœãŒã«ãã«ããŒ</a>ã®å
šãŠã®ãã©ã¡ãŒã¿ãåç
§ããŠãã ããã</li> +</ul> + +<p>ã³ã³ãœãŒã«ã®åºå:</p> + +<ul> + <li>åºåé åã§èŠçŽ ã®é£ã«ããã€ã³ã¹ãã¯ã¿ãŒã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/14185/picker.png" style="height: 18px; width: 18px;">) ãã¯ãªãã¯ãããšã<a href="/ja/docs/Tools/Web_Console/Rich_output#Highlighting_and_inspecting_DOM_nodes">ãã®èŠçŽ ãã€ã³ã¹ãã¯ã¿ãŒã§éžæããŸã</a>ã</li> + <li>èšå®ã§ [<a href="/ja/docs/Tools/Settings#Common_preferences">ãã°åºåãæ®ã</a>] ã«ãã§ãã¯ãå
¥ãããšãèšé²ããã¡ãã»ãŒãžã移ååããã³ç§»ååŸãç¶æããŸãã</li> + <li>èšå®ã§ [<a href="/ja/docs/Tools/Settings#Web_Console">ã¿ã€ã ã¹ã¿ã³ãã衚瀺</a>] ã«ãã§ãã¯ãå
¥ãããšãèšé²ããã¡ãã»ãŒãžã®ãã°ã«ã¿ã€ãã¹ã¿ã³ãã衚瀺ããŸãã</li> +</ul> + +<h2 id="Debugger" name="Debugger">ãããã¬ãŒ</h2> + +<ul> + <li>ãã©ãã¯ããã¯ã¹ã¢ã€ã³ã³ (<img alt="Icon for black boxing a JavaScript source" src="https://mdn.mozillademos.org/files/14189/Black%20boxing.png" style="height: 18px; width: 18px;">) ã䜿çšããŠããããã°ã»ãã·ã§ã³ã§ JavaScript ã©ã€ãã©ãªãŒãã¹ãããã§ããŸãã</li> + <li><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F</kbd> ãæŒäžãããšããã¹ãŠã®ã¹ã¯ãªããããæ€çŽ¢ããŸãã</li> + <li><kbd>Ctrl</kbd>+<kbd>D</kbd> ãæŒäžãããšãé¢æ°å®çŸ©ãæ€çŽ¢ããŸãã</li> + <li><kbd>Ctrl</kbd>+<kbd>L</kbd> ãæŒäžãããšãç¹å®ã®è¡ã«ç§»åããŸãã</li> +</ul> + +<h2 id="Style_Editor" name="Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</h2> + +<ul> + <li>ã¹ã¿ã€ã«ã·ãŒããã€ã³ã®ãã©ãã¯ããã¯ã¹ã¢ã€ã³ã³ (<img alt="Icon for black boxing a JavaScript source" src="https://mdn.mozillademos.org/files/14189/Black%20boxing.png" style="height: 18px; width: 18px;">) ã§ãã¹ã¿ã€ã«ã·ãŒãã®é©çšç¶æ
ãåãæ¿ãã§ããŸãã</li> + <li><a href="/ja/docs/Tools/Style_Editor#The_media_sidebar">@media èŠå</a> ãã¯ãªãã¯ãããšããã®èŠåã <a href="/ja/docs/Tools/Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã</a> ã§é©çšããŸãã</li> + <li>ã€ã³ããŒããã¿ã³ (<img alt="Button to import a style sheet from the file system" src="https://mdn.mozillademos.org/files/14193/Import%20button.png" style="height: 18px; width: 18px;">) ãã¯ãªãã¯ãããšãã¹ã¿ã€ã«ã·ãŒããã€ã³ããŒãããŸããäœæãã¿ã³ (<img alt="Button to create a new style sheet" src="https://mdn.mozillademos.org/files/14195/Create%20style%20sheet%20button.png" style="height: 18px; width: 18px;">) ãã¯ãªãã¯ãããšãæ°ããã¹ã¿ã€ã«ã·ãŒããäœæããŸãã</li> + <li><a href="/ja/docs/Tools/Style_Editor#The_style_sheet_pane">ã¹ã¿ã€ã«ã·ãŒããã€ã³</a> ã®ãªãã·ã§ã³ãã¿ã³ãã¯ãªãã¯ã㊠[<a href="/ja/docs/Tools/Style_Editor#Source_map_support">å
ã®ãœãŒã¹ã衚瀺</a>] ãéžæãããšãCSS ããªããã»ããµãŒã®ãã¡ã€ã«ã®è¡šç€ºãåãæ¿ããŸãã</li> +</ul> + +<h2 id="Network_Monitor" name="Network_Monitor">ãããã¯ãŒã¯ã¢ãã¿ãŒ</h2> + +<ul> + <li>ãªã¯ãšã¹ãã®æŠèŠãã¯ãªãã¯ãããšã<a href="/ja/docs/Tools/Network_Monitor#Performance_analysis">ãã£ãã·ã¥ãã/ãã£ãã·ã¥ãªãã®ããŒãžèªã¿èŸŒã¿ã®ããã©ãŒãã³ã¹ãæ¯èŒããŸã</a>ã</li> + <li>ãªã¯ãšã¹ããéžæããŠããç¶æ
㧠[<a href="/ja/docs/Tools/Network_Monitor#Edit_and_Resend">ç·šéããŠåéä¿¡</a>] ãã¯ãªãã¯ãããšãããããŒãå€æŽããŠå床ãªã¯ãšã¹ããéä¿¡ã§ããŸãã</li> + <li>èšå®ã§ [<a href="/ja/docs/Tools/Settings#Common_preferences">ãã°åºåãæ®ã</a>] ã«ãã§ãã¯ãå
¥ãããšããªã¯ãšã¹ãã移ååããã³ç§»ååŸãç¶æããŸãã</li> + <li><a href="/ja/docs/Tools/Network_Monitor#Cause_column">"çºçæº" åã® "js" ã¢ã€ã³ã³</a> ã«ããŠã¹ãã€ã³ã¿ãèŒãããšãJavaScript ã®ã¹ã¿ãã¯ãã¬ãŒã¹ã衚瀺ããŸããããã¯ããªã¯ãšã¹ãã®çºçæºã§ãã</li> + <li>èšå®ã§ [<a href="/ja/docs/Tools/Settings#Advanced_settings">HTTP ãã£ãã·ã¥ãç¡å¹å (ããŒã«ããã¯ã¹ãéããŠãããšã)</a>] ã«ãã§ãã¯ãå
¥ãããšããããã¯ãŒã¯ã®åé¡ããããã°ããŠããéã¯ãã£ãã·ã¥ãç¡å¹åããŸãã</li> +</ul> + +<h2 id="Storage_Inspector" name="Storage_Inspector">ã¹ãã¬ãŒãžã€ã³ã¹ãã¯ã¿ãŒ</h2> + +<ul> + <li>åèŠåºããå³ã¯ãªãã¯ãããšãåã®è¡šç€º/é衚瀺ãåãæ¿ãã§ããã¡ãã¥ãŒãéããŸãã</li> + <li>é
ç®ãå³ã¯ãªãã¯ã㊠[<var>å称</var> ãåé€] ãéžæãããšãã®é
ç®ãåé€ã[ãã¹ãŠåé€] ãã¯ãªãã¯ãããšãã¹ãŠã®é
ç®ãåé€ããŸãã</li> + <li>é
ç®ãéžæãããšã解æããå€ããµã€ãããŒã«è¡šç€ºããŸãã</li> +</ul> diff --git a/files/ja/tools/tools_toolbox/index.html b/files/ja/tools/tools_toolbox/index.html new file mode 100644 index 0000000000..d794b3b47d --- /dev/null +++ b/files/ja/tools/tools_toolbox/index.html @@ -0,0 +1,99 @@ +--- +title: ããŒã«ããã¯ã¹ +slug: Tools/Tools_Toolbox +translation_of: Tools/Tools_Toolbox +--- +<div>{{ToolsSidebar}}</div><p>ããŒã«ããã¯ã¹ã¯ãFirefox ã«çµã¿èŸŒãŸããŠããéçºããŒã«ã®ã»ãšãã©ãæäŸããããŒã ã§ãã</p> + +<p>ããŒã«ããã¯ã¹ãéãæ¹æ³ãããã€ããããŸã:</p> + +<ul> + <li>[ãŠã§ãéçº] ã¡ãã¥ãŒ (OS X ã Linux ã§ã¯ [ããŒã«] ã¡ãã¥ãŒã®é
äžãWindows ã§ã¯ [Firefox] ã¡ãã¥ãŒã®é
äžã«ãããŸã) ã® [éçºããŒã«ã衚瀺] ãéžæããŸãã</li> + <li>ã¡ã€ã³ããŒã«ããŒãŸãã¯ãã³ããŒã¬ãŒã¡ãã¥ãŒ (<img alt="" src="https://mdn.mozillademos.org/files/12712/hamburger.png" style="height: 20px; width: 22px;">) ã®äžã«ããã¬ã³ãã®ã¢ã€ã³ã³ (<img alt="" src="https://mdn.mozillademos.org/files/12710/wrench-icon.png" style="height: 21px; width: 21px;">) ãã¯ãªãã¯ããŠã[éçºããŒã«ã衚瀺] ãéžæããŸãã</li> + <li>ããŒã«ããã¯ã¹ã«å«ãŸããŠããããããã®ããŒã« (äŸãã° JavaScript ãããã¬ãŒãããŒãžã€ã³ã¹ãã¯ã¿ãŒãªã©) ãéããŸãã</li> + <li>Windows ããã³ Linux ã§ã¯ <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd>ãOS X ã§ã¯ <kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd> ãæŒäžããŸãã<a href="/ja/docs/Tools/Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a> ãã芧ãã ããã</li> +</ul> + +<p>ããã©ã«ãã§ã¯ Firefox ã®ãŠã£ã³ããŠã®äžåŽã«ãããã³ã°ããç¶æ
ã§è¡šç€ºãããŸããã奜ã¿ã«å¿ããŠåãé¢ãããšãã§ããŸãããããã³ã°ããŠãããšãã¯ä»¥äžã®ãããªè¡šç€ºã«ãªããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6923/toolbox.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãŠã£ã³ããŠèªäœã¯ 2 ã€ã®ããŒãã«åãããŠããŸããäžéšã®ããŒã«ããŒãšããã®äžã«ããã¡ã€ã³ãã€ã³ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6925/toolbox-annotated-29.png" style="display: block; height: 471px; margin-left: auto; margin-right: auto; width: 876px;"></p> + +<h2 id="Docking_mode" name="Docking_mode">ãããã³ã°ã¢ãŒã</h2> + +<p>ããã©ã«ãã§ããŒã«ããã¯ã¹ã¯ãã©ãŠã¶ãŒãŠã£ã³ããŠã®äžéšã«ãããã³ã°ããç¶æ
ã§è¡šç€ºããŸããã<a href="/ja/docs/Tools/Tools_Toolbox#Toolbox_controls">ããŒã«ããŒã®ãã¿ã³</a>ã䜿çšããŠãŠã£ã³ããŠã®å³åŽã«ãããã³ã°ããããåå¥ã®ãŠã£ã³ããŠã§è¡šç€ºããããšãã§ããŸãã</p> + +<h2 id="Toolbar" name="Toolbar">ããŒã«ããŒ</h2> + +<p>ããŒã«ããŒã«ã¯åã
ã®ããŒã«ãã¢ã¯ãã£ãåããŠã£ã³ããŠã®ãããã³ã°ãåãé¢ããããã³ãŠã£ã³ããŠãéããããã®ã³ã³ãããŒã«ããããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7913/toolbox-toolbar-annotated.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h3 id="Node_picker" name="Node_picker">ããŒãã®éžæ</h3> + +<p>ããŒã«ããŒã®å·Šç«¯ã«ãããŒãéžæããŒã«ãèµ·åãããã¿ã³ããããŸãããã®ããŒã«ã§ãããŒãžå
ã§èª¿æ»ããèŠçŽ ãéžæã§ããŸãã"<a href="/ja/docs/Tools/Page_Inspector/How_to/Select_an_element">èŠçŽ ãéžæãã</a>" ãã芧ãã ããã</p> + +<h3 id="Toolbox-hosted_tools" name="Toolbox-hosted_tools">ããŒã«ããã¯ã¹ã§æäŸããããŒã«</h3> + +<p>ãã®é£ã«ã¯ããŒã«ããã¯ã¹ã§æäŸããããŸããŸãªããŒã«ãåãæ¿ããããã®ãã©ãã«ãã€ãããã¿ã³ã䞊ãã§ããŸãããã®äžŠã³ã«ã¯ä»¥äžã®ããŒã«ãå«ãŸããŠããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console" title="Tools/Web_Console">ãŠã§ãã³ã³ãœãŒã«</a></li> + <li><a href="/ja/docs/Tools/Debugger" title="Tools/Debugger">JavaScript ãããã¬ãŒ</a></li> + <li><a href="/ja/docs/Tools/Page_Inspector" title="Tools/Page_Inspector">ããŒãžã€ã³ã¹ãã¯ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Style_Editor" title="Tools/Style_Editor">ã¹ã¿ã€ã«ãšãã£ã¿ãŒ</a></li> + <li><a href="/ja/docs/Tools/Profiler" title="Performance/Profiling_with_the_Built-in_Profiler">ãããã¡ã€ã©ãŒ</a></li> + <li><a href="/ja/docs/Tools/Network_Monitor" title="Performance/Profiling_with_the_Built-in_Profiler">ãããã¯ãŒã¯ã¢ãã¿ãŒ</a></li> +</ul> + +<p>ãã¹ãŠã®ããŒã«ã衚瀺ããããšã¯éããªãç¹ã«æ³šæããŠãã ããããã®ç¶æ³ã§å®éã«äœ¿çšå¯èœãªããŒã«ã ãã衚瀺ãããŸã (äŸãã°ããªã¢ãŒããããã°ãæªãµããŒãã®ããŒã«ãããããããããã°å¯Ÿè±¡ãããŒã«ããã¯ã¹ãèµ·åãã Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã§ã¯ãªãå Žåã¯ãäžéšã®ããŒã«ãã衚瀺ãããŸãã)ã</p> + +<h3 id="Extra_tools" name="Extra_tools">ä»å ããŒã«</h3> + +<p>ããŒã«ãã¿ã³ã®é£ã«ã¯ã<a href="#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ã§è¿œå ããã³åé€å¯èœãªãã¿ã³ã䞊ãã§ããŸããããã©ã«ãã§ã¯ä»¥äžã®ãã¿ã³ããããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console#The_split_console">ã³ã³ãœãŒã«ã®åžžæ衚瀺ã®åãæ¿ã</a></li> + <li><a href="/ja/docs/Tools/Responsive_Design_Mode">ã¬ã¹ãã³ã·ããã¶ã€ã³ã¢ãŒã</a></li> + <li><a href="/ja/docs/tools/Working_with_iframes">äœæ¥å¯Ÿè±¡ã®ããã¥ã¡ã³ããšããŠãã¬ãŒã ãéžæ</a> (Firefox 41 ãããããã©ã«ãã§è¡šç€ºããŸã)</li> +</ul> + +<p>以äžã®ããŒã«ã¯ããã©ã«ãã§ããŒã«ããŒã«å«ãŸããŠããŸãããã<a href="#Settings">ãªãã·ã§ã³</a> ã§è¿œå ã§ããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Paint_Flashing_Tool">æç»ãããé åã®ãã€ã©ã€ã</a></li> + <li><a href="/ja/docs/Tools/3D_View">3D ãã¥ãŒ</a> (Firefox 40 ã§ã¯äœ¿çšã§ããŸãã)</li> + <li><a href="/ja/docs/Tools/Scratchpad">ã¹ã¯ã©ããããã</a></li> + <li><a href="/ja/docs/Tools/Eyedropper">ããŒãžããè²ãéžæ</a></li> + <li>ããŒãžå
šäœã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±: ãŠã§ãããŒãžå
šäœã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããŠãããŠã³ããŒããã£ã¬ã¯ããªãŒã«ä¿åããŸãã</li> + <li><a href="/ja/docs/Tools/Rulers">ã«ãŒã©ãŒã®è¡šç€ºåãæ¿ã</a></li> + <li>ããŒãžã®äžéšã枬å®: ããŒãžå
ã®é åãéžæããããšã«ããããŠã§ããµã€ãã®äžéšåã枬å®ããŸãã</li> +</ul> + +<h3 id="Toolbox_controls" name="Toolbox_controls">ããŒã«ããã¯ã¹ã®ã³ã³ãããŒã«</h3> + +<p>å³ç«¯ã«ã¯ä»¥äžã®ãã¿ã³ã䞊ãã§ããŸã:</p> + +<ul> + <li>ãŠã£ã³ããŠãéãã</li> + <li>ããŒã«ããã¯ã¹ããã©ãŠã¶ãŒãŠã£ã³ããŠã®äžåŽã«ãããã³ã°ãããã暪ã«ãããã³ã°ããããåãæ¿ãã</li> + <li>ããŒã«ããã¯ã¹ãåç¬ã§è¡šç€ºãããããã©ãŠã¶ãŒãŠã£ã³ããŠã«ãããã³ã°ããããåãæ¿ãã</li> + <li><a href="#Settings" title="#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ãéã</li> +</ul> + +<h2 id="Settings_2" name="Settings_2"><a name="Settings">èšå®</a></h2> + +<p><a href="/ja/docs/Tools/Settings">éçºããŒã«ã®ãªãã·ã§ã³ã«ã€ããŠã¯ãå¥åã®ããŒãžãã芧ãã ãã</a>ã</p> + +<h2 id="Main_Pane" name="Main_Pane">ã¡ã€ã³ãã€ã³</h2> + +<p>ããŒã«ããã¯ã¹ã®ã¡ã€ã³ãã€ã³ã®å
容ã¯éžæãããŠããããŒã«ã«ç¹æã§ããããŸãããŒã«ã«ãã£ãŠå
šé¢çã«å¶åŸ¡ãããŸãã</p> + +<h2 id="Keyboard_shortcuts" name="Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</h2> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "toolbox-shortcuts")}}</p> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "all-toolbox-tools")}}</p> diff --git a/files/ja/tools/using_the_source_editor/index.html b/files/ja/tools/using_the_source_editor/index.html new file mode 100644 index 0000000000..1136a4a15f --- /dev/null +++ b/files/ja/tools/using_the_source_editor/index.html @@ -0,0 +1,99 @@ +--- +title: ãœãŒã¹ãšãã£ã¿ã®äœ¿çš +slug: Tools/Using_the_Source_Editor +translation_of: tools/Keyboard_shortcuts#Source_editor +--- +<div>{{ToolsSidebar}}</div><p>ãœãŒã¹ãšãã£ã¿ã¯ <a href="/ja/JavaScript_code_modules/source-editor.jsm" title="source-editor.jsm"><code>source-editor.jsm</code></a> ã«ãã£ãŠæäŸããããšãã£ã¿ã³ã³ããŒãã³ãã§ã<a href="/ja/Tools/Scratchpad" title="Scratchpad">ã¹ã¯ã©ããããã</a> ã <a href="/ja/Tools/Style_Editor" title="Style Editor">ã¹ã¿ã€ã«ãšãã£ã¿</a> ãªã©ã®éçºããŒã«ã§å
±çšããŠããŸãããŸãã<a href="/ja/JavaScript_code_modules/Using_the_Source_Editor_API" title="Using the Source Editor API">Firefox ã®æ¡åŒµæ©èœãã䜿çšãã</a>ããšãã§ããŸãããã®èšäºã§ã¯ãããã¹ããç·šéãããšãã®ãšãã£ã¿èªèº«ã®äœ¿ãæ¹ã説æããŸãã</p> + +<h2 id="ããŒããŒãã³ãã³ã">ããŒããŒãã³ãã³ã</h2> + +<p>以äžã¯ãåã³ãã³ãã®æšæºçãªããŒããŒãã·ã§ãŒãã«ããã§ããããã¯äžéšã®ã¢ããªã³ã§ç°ãªãå Žåãããããšã«æ³šæããŠãã ããããã ããFirefox ã§ã¯åžžã«ãããã䜿çšããŸãã</p> + +<div class="note"><strong>泚æ:</strong> Mac OS X ã§ã¯ãcontrol ããŒã®ä»£ããã« Command ããŒã䜿çšããŸãã</div> + +<p> </p> + +<table class="standard-table" style="width: auto;"> + <thead> + <tr> + <th class="header">æ©èœ</th> + <th class="header">ããŒããŒã</th> + </tr> + </thead> + <tbody> + <tr> + <td>ãã¹ãŠéžæ</td> + <td>Ctrl-A</td> + </tr> + <tr> + <td>ã³ããŒ</td> + <td>Ctrl-C</td> + </tr> + <tr> + <td>æ€çŽ¢</td> + <td>Ctrl-F</td> + </tr> + <tr> + <td>åæ€çŽ¢</td> + <td>Ctrl-G</td> + </tr> + <tr> + <td>æå®è¡ãžç§»å</td> + <td>Ctrl-L</td> + </tr> + <tr> + <td>ããçŽã</td> + <td>Ctrl-Shift-Z</td> + </tr> + <tr> + <td>貌ãä»ã</td> + <td>Ctrl-V</td> + </tr> + <tr> + <td>åãåã</td> + <td>Ctrl-X</td> + </tr> + <tr> + <td>å
ã«æ»ã</td> + <td>Ctrl-Z</td> + </tr> + <tr> + <td>è¡ã®ã€ã³ãã³ã</td> + <td>Tab</td> + </tr> + <tr> + <td>è¡ã®ã€ã³ãã³ã解é€</td> + <td>Shift-Tab</td> + </tr> + <tr> + <td>åã®è¡ãžç§»å</td> + <td>Alt-â (Mac OS X ã§ã¯ Ctrl-Option-â)</td> + </tr> + <tr> + <td>åŸã®è¡ãžç§»å</td> + <td>Alt-â (Mac OS X ã§ã¯ Ctrl-Option-â)</td> + </tr> + <tr> + <td>éžæç¯å²ã®ã³ã¡ã³ãåãšã³ã¡ã³ã解é€</td> + <td>Ctrl-/ {{ fx_minversion_inline("14.0") }}</td> + </tr> + <tr> + <td>éãæ¬åŒ§ãžç§»å</td> + <td>Ctrl-[ {{ fx_minversion_inline("14.0") }}</td> + </tr> + <tr> + <td>éãæ¬åŒ§ãžç§»å</td> + <td>Ctlr-] {{ fx_minversion_inline("14.0") }}</td> + </tr> + </tbody> +</table> + +<p> </p> + +<h2 id="åèæ
å ±">åèæ
å ±</h2> + +<ul> + <li><a href="/ja/Tools" title="Tools">Tools</a></li> + <li><a href="/ja/Tools/Scratchpad" title="Scratchpad">Scratchpad</a></li> + <li><a href="/ja/Tools/Style_Editor" title="Style Editor">Style Editor</a></li> +</ul> diff --git a/files/ja/tools/validators/index.html b/files/ja/tools/validators/index.html new file mode 100644 index 0000000000..e21686ced4 --- /dev/null +++ b/files/ja/tools/validators/index.html @@ -0,0 +1,74 @@ +--- +title: ããªããŒã¿ +slug: Tools/Validators +tags: + - Website validator + - html5 validator + - ããŒã« + - ããªããŒã¿ +translation_of: Tools/Validators +--- +<div>{{ToolsSidebar}}</div> + +<p class="summary"><span class="seoSummary">ãã®ããã¥ã¡ã³ãã§ã¯éçºè
ãWeb ããŒãžãæ€èšŒããããã®ããŸããŸãªãªãœãŒã¹ãäžèŠ§ã«ããŠããŸãã</span></p> + +<pre class="eval">ãã®æç¹ã§ãµã€ãããŒã¿ãã¯å©çšã§ããŸããã +ãã¥ãŒã³ã¢ãããŠã£ã¶ãŒãã¯ãªã³ã¯ã解é€ããŠæ»ããŸã +</pre> + +<p>ããã«æ€èšŒãããªãæ°ããã³ãŒããæžãå Žåã¯ãå©çšå¯èœãªæšæºã«æºæ ãã<a href="/ja/docs/Archive/Web/Standards-Compliant_Authoring_Tools">ãªãŒãµãªã³ã°ããŒã«</a>ãš<a href="/ja/docs/Tools">éçºããŒã«</a>ãåç
§ããŠãã ããã</p> + +<h3 id="Firefox_Extensions_for_Validation" name="Firefox_Extensions_for_Validation">Firefox Extensions for Validation</h3> + +<h4 id="Quick_Reference_Sidebar_Tabs" name="Quick_Reference_Sidebar_Tabs">Quick Reference Sidebar Tabs</h4> + +<p>DevEdge Toolbox Sidebarsãã€ã³ã¹ããŒã«ãããšãWebéçºãªãã¡ã¬ã³ã¹ã«ãã°ããã¢ã¯ã»ã¹ã§ããŸãã</p> + +<h4 id="Checky" name="Checky">Checky</h4> + +<p>Checky 㯠Netscape ãŸã㯠Mozilla ã®ã³ã³ããã¹ãã¡ãã¥ãŒã«ãµãã¡ãã¥ãŒãè¿œå ããŸããããã«ããã(çŸåš)18çš®é¡ã®ãªã³ã©ã€ã³ããªããŒã·ã§ã³ããã³åæãµãŒãã¹ã®ããããå©çšããŠãããã®ãããŒãžã«å¯ŸããŠå®è¡ã§ããŸãã</p> + +<h3 id="Applications_and_Services" name="Applications_and_Services">ã¢ããªã±ãŒã·ã§ã³ãšãµãŒãã¹</h3> + +<h4 id="DevEdge_Web_Tune-Up_Wizard" name="DevEdge_Web_Tune-Up_Wizard">DevEdge Web Tune-Up Wizard</h4> + +<p><a class="external external-icon" href="http://devedge-temp.mozilla.org/toolbox/tools/2001/tune-up/">This interface to W3C services</a> ã¯ãW3CæšæºããµããŒãããNetscape 7.xãMozillaããã®ä»ã®ãã©ãŠã¶ããµããŒãããããã«ã³ã³ãã³ããæŽæ°ããããã»ã¹ãéããŠãåãããäžéã®Webäœè
ãå°ããã®ã§ãã</p> + +<h4 id="W3C_HTML_Validator" name="W3C_HTML_Validator">W3C HTML Validator</h4> + +<p><a href="http://validator.w3.org/">W3C HTML Validator</a> ã¯ãW3C HTML æšæºã«åŸã£ãŠãã¹ãŠã® Web ããŒãžãæ€èšŒããŸããç¬èªã® HTML ãšç¡å¹ãª HTML ã®äœ¿çšãæ€åºããã®ã«éåžžã«äŸ¿å©ã§ãã</p> + +<h4 id="W3C_CSS_Validator" name="W3C_CSS_Validator">W3C CSS Validator</h4> + +<p><a href="http://jigsaw.w3.org/css-validator/">W3C CSS Validator</a> ã¯ãW3C CSS æšæºã«åŸã£ãŠãä»»æã® Web ããŒãžãŸãã¯å€éš CSS ãã¡ã€ã«å
ã® CSS ãæ€èšŒããŸãã</p> + +<h4 id="W3C_RDF_Validator" name="W3C_RDF_Validator">W3C RDF Validator</h4> + +<p><a href="https://www.w3.org/RDF/Validator/">RDF Validator</a> ãµãŒãã¹ã¯æå®ããã URI ã«å«ãŸãã RDF/XML ãæ€èšŒããŸãã</p> + +<h4 id="Link_Checker" name="Link_Checker">Link Checker</h4> + +<p><a href="http://validator.w3.org/checklink">ãã®ããŒã«</a>ã¯ç¹å®ã® Web ããŒãžäžã®ãªã³ã¯ããã§ãã¯ããŸãã</p> + +<h4 id="HTML_Tidy" name="HTML_Tidy">HTML Tidy</h4> + +<p><a href="http://tidy.sourceforge.net/">HTML Tidy</a> 㯠HTML ããŒãžã®ãšã©ãŒãå ±åãããŠã§ãããŒãžãããèªã¿ãããããããã«äœ¿çšã§ããããŒã«ã§ãã(<a href="http://www.chami.com/html-kit/">HTML-Kit</a> ãªã©ã®äžéšã®ãªãŒãµãªã³ã°ãœãããŠã§ã¢ã¯ HTML Tidy ã§æ§ç¯ãããŠãããããæ€èšŒãè¿
éãã€å®¹æã«ãªããŸã)ã</p> + +<h4 id="HTML_Validator_Pro">HTML Validator Pro</h4> + +<p>ããã¯ãW3C ãšåãããªããŒã¿ãŒã䜿çšãã<a href="http://html.validator.pro/">èªå HTML5 ãã§ãã«ãŒ</a>ã§ããéå§ URL ãå
¥åãããšãŠã§ããµã€ãå
ã®ãã¹ãŠã®ããŒãžãæ€çŽ¢ãããæ€èšŒãããŸãã</p> + +<h3 id="Accessibility_Services" name="Accessibility_Services">ã¢ã¯ã»ã·ããªãã£ãµãŒãã¹</h3> + +<h4 id="Lynx_Viewer" name="Lynx_Viewer">Lynx Viewer</h4> + +<p>Lynx ã®ããžã¥ã¢ã©ã€ãŒãŒã·ã§ã³ã䜿çšã㊠<a href="http://www.delorie.com/web/lynxview.html">Web ããŒãžããã§ãã¯</a>ããã¢ã¯ã»ã·ããªãã£æ©èœã®æ€èšŒãå¯èœã«ããããŒã«ã§ãã</p> + +<div class="originaldocinfo"> +<h3 id="Original_Document_Information" name="Original_Document_Information">åææ
å ±</h3> + +<ul> + <li>Last Updated Date: August 16th, 2002</li> + <li>Copyright © 2001-2003 Netscape.</li> +</ul> +</div> diff --git a/files/ja/tools/web_audio_editor/index.html b/files/ja/tools/web_audio_editor/index.html new file mode 100644 index 0000000000..0a56bfa7f6 --- /dev/null +++ b/files/ja/tools/web_audio_editor/index.html @@ -0,0 +1,81 @@ +--- +title: Web Audio ãšãã£ã¿ãŒ +slug: Tools/Web_Audio_Editor +tags: + - Tools +translation_of: Tools/Web_Audio_Editor +--- +<div>{{ToolsSidebar}}</div> + +<div> </div> + +<div class="blockIndicator note"> +<p>泚æïŒãã®ããŒã«ã¯å»æ¢äºå®ã§ããããŸããªãFirefoxããåé€ãããäºå®ã§ãã 詳ããã¯ã<a href="https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools">éæšå¥šããŒã«</a>ãåç
§ããŠãã ããã</p> +</div> + +<p><a href="/ja/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Web Audio API</a> ã䜿ããšããéçºè
㯠{{domxref ("AudioContext")}} ãçæããŸãããã®ã³ã³ããã¹ãã§ã¯ã以äžã®ãããªããã€ãã® {{domxref ("AudioNode")}} ãæ§ç¯ããŸã:</p> + +<ul> + <li>çºæ¯åè·¯ãããŒã¿ãããã¡ãŒã«ãããœãŒã¹ãªã©ã<a href="/ja/docs/Web/API/Web_Audio_API#Defining_audio_sources">ãªãŒãã£ãªãœãŒã¹</a> ãäžããããŒã</li> + <li>ãã£ã¬ã€ãã²ã€ã³èª¿æŽãªã©ã<a href="/ja/docs/Web/API/Web_Audio_API#Defining_audio_effects_filters">å€æåŠç</a> ãè¡ãããŒã</li> + <li>ã¹ããŒã«ãŒãªã©ã<a href="/ja/docs/Web/API/Web_Audio_API#Defining_audio_destinations">ãªãŒãã£ãªã¹ããªãŒã ã®åºåå
</a> ãè¡šãããŒã</li> +</ul> + +<p>åã
ã®ããŒãã¯ãããŒãã®åäœãèšå®ããããã« 0 å以äžã® {{domxref ("AudioParam")}} ããããã£ãæã¡ãŸããäŸãã° {{domxref ("GainNode")}} 㯠<code>gain</code> ãããã㣠1 åãããŸã {{domxref ("OscillatorNode")}} 㯠<code>frequency</code> ããããã£ããã³ <code>detune</code> ããããã£ãæã£ãŠããŸãã</p> + +<p>éçºè
ã¯ããŒããã°ã©ãã§æ¥ç¶ããŠãå®æããã°ã©ãããªãŒãã£ãªã¹ããªãŒã ã®åäœãå®çŸ©ããŸãã</p> + +<p>Web Audio ãšãã£ã¿ãŒã¯ããŒãžå
ã§æ§ç¯ãããªãŒãã£ãªã³ã³ããã¹ãã調æ»ããŠããã®ã°ã©ããå¯èŠåããŸããããã¯ã°ã©ãã®åäœã«ã€ããŠé«ã¬ãã«ãªãã¥ãŒã衚瀺ããŠããã¹ãŠã®ããŒããæ³å®ã©ããã«æ¥ç¶ãããŠããããšã確å®ã«ã§ããŸãããããŠãã°ã©ãå
ã®åããŒãã® <code>AudioParam</code> ããããã£ã®èª¿æ»ãç·šéãå¯èœã§ãã<code>OscillatorNode</code> ã® <code>type</code> ããããã£ãªã©ã<code>AudioParam</code> ã§ã¯ãªãããããã£ã®äžéšããåæ§ã«è¡šç€ºãç·šéãå¯èœã§ãã</p> + +<p>ãã®ããŒã«ã¯ãŸã è©Šè¡æ®µéã§ãããã°ãçºèŠããå Žåã¯ã<a class="external external-icon" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Developer%20Tools%3A%20Web%20Audio%20Editor">Bugzilla ã§å ±å</a>ããŠããã ããã°å¹žãã§ãããã£ãŒãããã¯ãæ°æ©èœã®ææ¡ãããå Žåã¯ã<a href="https://lists.mozilla.org/listinfo/dev-developer-tools">dev-developer-tools</a> ãŸã㯠<a href="https://twitter.com/firefoxdevtools">Twitter</a> ã«ç»é²ããŠãã ããã</p> + +<h2 id="Opening_the_Web_Audio_Editor" name="Opening_the_Web_Audio_Editor">Web Audio ãšãã£ã¿ãŒãéã</h2> + +<p>Firefox 32 ã§ã¯ãWeb Audio ãšãã£ã¿ãŒã¯ããã©ã«ãã§ç¡å¹åããŠããŸãã<a href="/ja/docs/Tools/Tools_Toolbox#Settings_2">éçºããŒã«ã®ãªãã·ã§ã³</a> ãéã㊠[Web Audio] ã«ãã§ãã¯ãå
¥ããããšã§æå¹åã§ããŸããæå¹åãããšã<a href="/ja/docs/Tools/Tools_Toolbox#Toolbar">ããŒã«ããã¯ã¹ã®ããŒã«ããŒ</a> ã« [Web Audio] ãšããååã®ã¿ããçŸããŸããã¿ããã¯ãªãã¯ããŠããªãŒãã£ãªã³ã³ããã¹ããæ§ç¯ããããŒãžãèªã¿èŸŒãã§ãã ããããã¢ã 2 ã€çŽ¹ä»ããŸã:</p> + +<ul> + <li><a href="https://github.com/mdn/voice-change-o-matic">Voice-change-O-Matic</a>: ãã€ã¯å
¥åã«ããŸããŸãªãšãã§ã¯ããé©çšã§ããŸãããŸãããã®çµæãå¯èŠåããŠè¡šç€ºããŸãã</li> + <li><a href="http://mdn.github.io/violent-theremin/">Violent Theremin</a>: ããŠã¹ãã€ã³ã¿ãŒã®ç§»åã«å¿ããŠãæ£åŒŠæ³¢ã®ããããããªã¥ãŒã ãå€åãããŸãã</li> +</ul> + +<h2 id="Visualizing_the_graph" name="Visualizing_the_graph">ã°ã©ãã®å¯èŠå</h2> + +<p>Web Audio ãšãã£ã¿ãŒããèªã¿èŸŒãŸãããªãŒãã£ãªã³ã³ããã¹ãã®ã°ã©ãã衚瀺ããŸããViolent Theremin ã®ã°ã©ãã以äžã«ç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10171/web-audio-editor.png" style="display: block; height: 648px; margin-left: auto; margin-right: auto; width: 868px;"></p> + +<p>ããã§ã¯ 3 ã€ã®ããŒãã䜿çšããŠããããšãããããŸãããœãŒã¹ãšã㊠{{domxref ("OscillatorNode")}}ãããªã¥ãŒã ã®å¶åŸ¡ã« {{domxref ("GainNode")}}ãåºåå
ãšã㊠{{domxref ("GainNode")}} ã§ãã</p> + +<h3 id="Connections_to_AudioParams" name="Connections_to_AudioParams">AudioParam ãžã®æ¥ç¶</h3> + +<div class="geckoVersionNote"> +<p>AudioParam ãžã®æ¥ç¶ã®è¡šç€ºã¯ãFirefox 34 ã®æ°æ©èœã§ãã</p> +</div> + +<p>ããŒãéã®æ¥ç¶ã¯ãå®ç·ã§è¡šç€ºããŸããäžæ¹ã<a href="/ja/docs/Web/API/AudioNode.connect%28AudioParam%29">ããããŒããšå¥ã®ããŒãã® AudioParam ãæ¥ç¶</a> ããå Žåã¯ããã®æ¥ç¶ãç Žç·ã§ç€ºã㊠<code>AudioParam</code> ã®å称ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/8819/web%20audio-editor-connect-param.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h2 id="Inspecting_and_modifying_AudioNodes" name="Inspecting_and_modifying_AudioNodes">AudioNode ã®èª¿æ»ãšå€æŽ</h2> + +<p>ããŒããã¯ãªãã¯ãããšåŒ·èª¿è¡šç€ºããŠãå³åŽã«ããŒã調æ»ããŒã«ã衚瀺ããŸããããã«ã¯ããŒãã® <code>AudioParam</code> ããããã£ã®å€ãäžèŠ§è¡šç€ºããŸããäŸãã°ãOscillatorNode ãã©ã®ããã«ãªããã瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10173/web-audio-editor-props.png" style="display: block; height: 648px; margin-left: auto; margin-right: auto; width: 868px;"></p> + +<p>Violent Theremin ã§ã¯ãŠãŒã¶ãŒãããŠã¹ãå·Šå³ã«åããã®ã«å¿ããŠãã©ã¡ãŒã¿ãŒ frequency ãå€ããŠããããããããŒã調æ»ããŒã«ã«åæ ãããã®ã確èªã§ããŸãããã ããå€ã¯ãªã¢ã«ã¿ã€ã ã«ã¯æŽæ°ãããŸãããæŽæ°ãããå€ã確èªããã«ã¯ãããŒããå床ã¯ãªãã¯ããªããã°ãªããŸããã</p> + +<p>ããŒã調æ»ããŒã«ã§å€ãã¯ãªãã¯ãããšããã®å€ãå€æŽã§ããŸãã<kbd>Enter</kbd> ãŸã㯠<kbd>Tab</kbd> ãæŒäžãããšãå€æŽåŸã®å€ãçŽã¡ã«åæ ãããŸãã</p> + +<h2 id="Bypassing_nodes" name="Bypassing_nodes">ããŒãããã€ãã¹ãã</h2> + +<div class="geckoVersionNote"> +<p>Firefox 38 ã®æ°æ©èœ</p> +</div> + +<p>ããŒãã®è©³çŽ°æ
å ±ã衚瀺ãããã€ã³ã«ããªã³/ãªããã¿ã³ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10183/web-audio-editor-on-off.png" style="display: block; height: 97px; margin-left: auto; margin-right: auto; width: 316px;"></p> + +<p>ãã®ãã¿ã³ãã¯ãªãã¯ãããšããŒããè¿åããããã«ã°ã©ããå€æŽãããŸãã®ã§ãããŒãã®å¹æããªããªããŸããè¿åãããããŒãã¯ãèæ¯ã«æç·ãåŒãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/10181/web-audio-editor-bypassed.png" style="display: block; height: 74px; margin-left: auto; margin-right: auto; width: 348px;"></p> diff --git a/files/ja/tools/web_console/console_messages/index.html b/files/ja/tools/web_console/console_messages/index.html new file mode 100644 index 0000000000..5c61678136 --- /dev/null +++ b/files/ja/tools/web_console/console_messages/index.html @@ -0,0 +1,383 @@ +--- +title: ã³ã³ãœãŒã«ã®ã¡ãã»ãŒãž +slug: Tools/Web_Console/Console_messages +translation_of: Tools/Web_Console/Console_messages +--- +<div>{{ToolsSidebar}}</div><p>ãŠã§ãã³ã³ãœãŒã«ã®ã»ãšãã©ã¯ãã¡ãã»ãŒãžè¡šç€ºãã€ã³ãå ããŠããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13278/console-messages.png" style="display: block; height: 278px; margin-left: auto; margin-right: auto; width: 877px;"></p> + +<p>ããããã®ã¡ãã»ãŒãžã¯ãåå¥ã®è¡ã«è¡šç€ºããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5585/web-console-message-annotated.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<table class="fullwidth-table standard-table"> + <tbody> + <tr> + <td><strong>æå»</strong></td> + <td>ã¡ãã»ãŒãžãèšé²ããæå»ã§ããããã¯ããã©ã«ãã§è¡šç€ºããŸããã<a href="/ja/docs/Tools/Tools_Toolbox#Settings">éçºããŒã«ã®ãªãã·ã§ã³</a> ã§ãã¿ã€ã ã¹ã¿ã³ãã衚瀺ããããã«èšå®ã§ããŸãã</td> + </tr> + <tr> + <td><strong>ã«ããŽãªãŒ</strong></td> + <td> + <p>ã¡ãã»ãŒãžã®çš®é¡ã瀺ããŸã:</p> + + <ul style="margin-left: 40px;"> + <li><strong>é»è²</strong>: ãããã¯ãŒã¯ãªã¯ãšã¹ã</li> + <li><span style="color: #0099ff;"><strong>éè²</strong></span>: CSS ã®èŠå/ãšã©ãŒ/ãã°</li> + <li><strong><span style="color: #ff8c00;">æ©è²</span></strong>: JavaScript ã®èŠå/ãšã©ãŒ</li> + <li><span style="color: #ff0000;"><strong>èµ€è²</strong></span>: ã»ãã¥ãªãã£ã®èŠå/ãšã©ãŒ</li> + <li><span style="color: #90b090;"><strong>ç·è²</strong></span>: ãµãŒããŒã®ãã°</li> + <li><span style="color: #a9a9a9;"><strong>èãç°è²</strong></span>: <a href="/ja/docs/Web/API/console" title="Web/API/console">Console</a> API ã®ã¡ãã»ãŒãž</li> + <li><span style="color: #696969;"><strong>æ¿ãç°è²</strong></span>: å¯Ÿè©±åŒ <a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter">ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒããªã¿ãŒ</a> ã®å
¥åºå</li> + </ul> + </td> + </tr> + <tr> + <td><strong>ã¿ã€ã</strong></td> + <td>ãããã¯ãŒã¯ãªã¯ãšã¹ããšå¯Ÿè©±åŒã®å
¥åºåãé€ããã¹ãŠã®ã¡ãã»ãŒãžã«ãããŠãã¡ãã»ãŒãžããšã©ãŒ (X)ãèŠå (!)ããã° (i) ã®ã©ããã瀺ãã¢ã€ã³ã³ã§ãã</td> + </tr> + <tr> + <td><strong>ã¡ãã»ãŒãž</strong></td> + <td>ã¡ãã»ãŒãžæ¬æã§ãã</td> + </tr> + <tr> + <td><strong>çºçåæ°</strong></td> + <td>èŠåããšã©ãŒãè¡šãè¡ãè€æ°çºçããå Žåã¯ãã°ã 1 åã ãèšé²ããŠãäœåçºçãããã瀺ãã«ãŠã³ã¿ãŒã衚瀺ããŸãã</td> + </tr> + <tr> + <td><strong>ãã¡ã€ã«åãšè¡çªå·</strong></td> + <td> + <p>JavaScriptãCSSãconsole API ã®ã¡ãã»ãŒãžã§ã¯ãã¡ãã»ãŒãžããã³ãŒãã®ç¹å®ã®è¡ãŸã§ãã©ãããšãã§ããŸããã³ã³ãœãŒã«ã¯ã¡ãã»ãŒãžãçºçãããã¡ã€ã«åããã³è¡ãžã®ãªã³ã¯ãæäŸããŸãã</p> + + <p>Firefox 36 ãããåçªå·ã衚瀺ããŸãã</p> + </td> + </tr> + </tbody> +</table> + +<p>ããã©ã«ãã§ã¯ãæ°ããããŒãžã«ç§»åãããçŸåšã®ããŒãžãåèªã¿èŸŒã¿ããããããã³ã«ã³ã³ãœãŒã«ã®å
容ãæ¶å»ãããŸãã<a href="/ja/docs/Tools/Tools_Toolbox#Common_preferences">ãªãã·ã§ã³</a> 㧠"ãã°åºåãæ®ã" ã«ãã§ãã¯ãå
¥ãããšããã®åäœãå€ãããŸãã</p> + +<h2 id="Message_categories" name="Message_categories">ã¡ãã»ãŒãžã®ã«ããŽãªãŒ</h2> + +<h3 id="Network" name="Network">ãããã¯ãŒã¯</h3> + +<div class="note"> +<p>ãããã¯ãŒã¯ã®ãã°ã¡ãã»ãŒãžã¯ãããã©ã«ãã§è¡šç€ºããŸããããã°ã衚瀺ããã«ã¯ã<a href="/ja/docs/Tools/Web_Console/Console_messages#Filtering_by_category">ãã£ã«ã¿ãªã³ã°</a>æ©èœã䜿çšããŠãã ããã</p> +</div> + +<p>ãããã¯ãŒã¯ãªã¯ãšã¹ãã¯ã以äžã®ãããªè¡ã§èšé²ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5593/web-console-message-request-annotated.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<table class="fullwidth-table standard-table"> + <tbody> + <tr> + <td><strong>æå»</strong></td> + <td>ã¡ãã»ãŒãžãèšé²ããæå»</td> + </tr> + <tr> + <td><strong>ã«ããŽãªãŒ</strong></td> + <td>ã¡ãã»ãŒãžã HTTP ãªã¯ãšã¹ãã§ããããšã瀺ã</td> + </tr> + <tr> + <td><strong>ã¡ãœãã</strong></td> + <td> + <p>å
·äœç㪠HTTP ãªã¯ãšã¹ãã¡ãœãã</p> + + <p><a href="/ja/docs/Web/API/XMLHttpRequest">XMLHttpRequest</a> ãšããŠå®è¡ãããªã¯ãšã¹ãã§ããå Žåã¯ãããã瀺ãããŒã¯ãã€ããŸã:</p> + + <p><img alt="" src="https://mdn.mozillademos.org/files/10167/web-console-xhr.png" style="display: block; height: 51px; margin-left: auto; margin-right: auto; width: 648px;"></p> + </td> + </tr> + <tr> + <td><strong>URI</strong></td> + <td>ã¿ãŒã²ããã® URI</td> + </tr> + <tr> + <td><strong>ãµããªãŒ</strong></td> + <td>HTTP ããŒãžã§ã³ãã¹ããŒã¿ã¹ã³ãŒããå®äºãŸã§ã«ããã£ãæé</td> + </tr> + </tbody> +</table> + +<h4 id="Viewing_network_request_details" name="Viewing_network_request_details">ãããã¯ãŒã¯ãªã¯ãšã¹ãã詳ãã確èªãã</h4> + +<p>ã¡ãã»ãŒãžãã¯ãªãã¯ãããš <a href="/ja/docs/Tools/Network_Monitor">ãããã¯ãŒã¯ããã«</a> ã«ç§»åããŸãããããã¯ãŒã¯ããã«ã§ã¯è©²åœãããªã¯ãšã¹ããéžæããŠã詳现ãªãªã¯ãšã¹ãããã³ã¬ã¹ãã³ã¹ã®æ
å ±ãå³åŽã®ããã«ã«è¡šç€ºããŸããFirefox 43 以åã§ã¯ããããã¢ãããŠã£ã³ããŠã§ãããã®æ
å ±è¡šç€ºããŸãã</p> + +<p>Firefox 48 ããããããã®è©³çŽ°æ
å ±ã®å€ãããŠã§ãã³ã³ãœãŒã«ããé¢ããããšãªãã€ã³ã©ã€ã³ã§ç¢ºèªã§ããŸãããããã¯ãŒã¯ãªã¯ãšã¹ãã®é
ç®ã®é£ã«ãå±éçšã®äžè§å°ããããŸããã¯ãªãã¯ãããšä»¥äžã®æ
å ±ã衚瀺ããŸã:</p> + +<ul> + <li><strong>ããããŒ:</strong> èŠæ±ããããŒãšå¿çããããŒ</li> + <li><strong>å¿ç:</strong> å¿çããã£</li> + <li><strong>Cookie:</strong> ãªã¯ãšã¹ããšãšãã«éä¿¡ãã Cookie</li> + <li><strong>ã³ãŒã«ã¹ã¿ãã¯</strong> (Firefox 50 ã®æ°æ©èœ): <a href="/ja/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest">XMLHttpRequest</a> ã <a href="/ja/docs/Web/API/Fetch_API">Fetch</a> ã®ããã« JavaScript ãéå§ãããªã¯ãšã¹ãã§ããªã¯ãšã¹ããè¡ã£ãåæã®ã³ãŒã«ã¹ã¿ãã¯ã確èªã§ããŸãã</li> +</ul> + +<p>{{EmbedYouTube("cFlcWzJ9j4I")}}</p> + +<h3 id="JS" name="JS">JS</h3> + +<p>JavaScript ã®ã¡ãã»ãŒãžã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7101/js-error-annotated.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h4 id="Learn_more_link" name="Learn_more_link">"詳现" ãªã³ã¯</h4> + +<div class="geckoVersionNote">Firefox 49 ã®æ°æ©èœ</div> + +<p>JavaScript ã®ãšã©ãŒã«ã¯ãåé¡ã解決ããããã®ä»å çãªã¢ããã€ã¹ãæäŸãã <a href="/ja/docs/Web/JavaScript/Reference/Errors">JavaScript ãšã©ãŒãªãã¡ã¬ã³ã¹</a> ã«æ¡å
ããã"詳现" ãªã³ã¯ããããŸã:</p> + +<p>{{EmbedYouTube("OabJc2QR6o0")}}</p> + +<h4 id="Source_maps" name="Source_maps">ãœãŒã¹ããã</h4> + +<div class="geckoVersionNote">Firefox 55 ã®æ°æ©èœ</div> + +<p>Firefox 55 ããããŠã§ãã³ã³ãœãŒã«ã <a href="http://blog.teamtreehouse.com/introduction-source-maps">ãœãŒã¹ããã</a> ãç解ããŸããã€ãŸã JavaScript ã®ãœãŒã¹ãå§çž®ãããŠããå Žåã«ããœãŒã¹ããããäžããããšãã§ããŸãããœãŒã¹å
ã§ã¡ãã»ãŒãžããšã©ãŒãçºçãããšããŠã§ãã³ã³ãœãŒã«ã¯éå§çž®çã®å
ã®ãœãŒã¹ã«åºã¥ããŠãããã衚瀺ããŸãã</p> + +<h3 id="CSS" name="CSS">CSS</h3> + +<div class="note"> +<p>CSS ã®èŠåãšãªãããŒã®ã¡ãã»ãŒãžã¯ãããã©ã«ãã§è¡šç€ºããŸããããã°ã衚瀺ããã«ã¯ã<a href="/ja/docs/Tools/Web_Console/Console_messages#Filtering_by_category">ãã£ã«ã¿ãªã³ã°</a> æ©èœã䜿çšããŠãã ããã</p> +</div> + +<p>CSS ã®ã¡ãã»ãŒãžã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5585/web-console-message-annotated.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h4 id="Reflow_events" name="Reflow_events">ãªãããŒã€ãã³ã</h4> + +<p>ãŠã§ãã³ã³ãœãŒã«ã¯ãCSS ã«ããŽãªãŒã§ãªãããŒã®ã€ãã³ããèšé²ããŸãããªãããŒã¯ããã©ãŠã¶ãŒãããŒãžã®å
šäœãããã¯äžéšåã®ã¬ã€ã¢ãŠããèšç®ããåŠçã«äžããããå称ã§ããã¬ã€ã¢ãŠãã«åœ±é¿ããããšãã©ãŠã¶ãŒãèãããããªå€åãããŒãžã§èµ·ãããšãã«ããªãããŒãçºçããŸãã以äžã«æãããã®ãå«ããŠãå€ãã®ã€ãã³ãããªãããŒãçºçãããŸã: ãã©ãŠã¶ãŒãŠã£ã³ããŠã®ãªãµã€ãºã<a href="/ja/docs/Web/CSS/:hover">:hover</a> ã®ãããªç䌌ã¯ã©ã¹ã®ã¢ã¯ãã£ãåãJavaScript ã«ãã DOM ã®æäœã</p> + +<p>ãªãããŒã¯èšç®è² è·ãé«ãå ŽåãããããŸããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã«çŽæ¥äœçšããããããŠã§ããµã€ãããŠã§ãã¢ããªã®å¿çæ§ã«å€§ããªåœ±é¿ãäžããããšããããŸãããŠã§ãã³ã³ãœãŒã«ã¯ãªãããŒã€ãã³ããèšé²ããããšã«ããããªãããŒã€ãã³ããçºçããæã®å®è¡ã«ã©ãã ãæéãããã£ããããŸããªãããŒã JavaScript ã«ãã£ãŠçºçããã <a href="/ja/docs/Tools/Web_Console/Console_messages#Synchronous_and_asynchronous_reflows">åæãªãããŒ</a> ã§ããå Žåã«ãã©ã®ã³ãŒããçºçããããã®æ
å ±ãæäŸããŸãã</p> + +<p>ãªãããŒã€ãã³ã㯠"ãªãããŒ" ã¡ãã»ãŒãžãšããŠãCSS ã®ãšã©ãŒãèŠåãšã¯å¥ã«èšé²ãããŸããããã©ã«ãã§ã¯ãããã¯ç¡å¹ã«ãªã£ãŠããŸããæå¹ã«ããã«ã¯ <a href="/ja/docs/Tools/Web_Console/Console_messages#Filtering_by_category">ããŒã«ããŒ</a> ã® "CSS" ãã¿ã³ãã¯ãªãã¯ããŠã"ãªãããŒ" ãéžæããŠãã ããã</p> + +<p>åã
ã®ã¡ãã»ãŒãžã¯ "ãªãããŒ" ãšããã©ãã«ãã€ãããªãããŒã®å®è¡ã«ããã£ãæéã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6365/web-console-reflow-asynch.png" style="display: block; height: 53px; margin-left: auto; margin-right: auto; width: 554px;">ãªãããŒã JavaScript ã«ãã£ãŠçºçãããåæãªãããŒã§ããå Žåã¯ããªãããŒãçºçãããã³ãŒãã®è¡ãžã®ãªã³ã¯ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/6367/web-console-reflow-synch.png" style="display: block; height: 51px; margin-left: auto; margin-right: auto; width: 554px;">ãªã³ã¯ãã¯ãªãã¯ãããšããã®ãã¡ã€ã«ã <a href="/ja/docs/Tools/Debugger">ãããã¬ãŒ</a> ã§éããŸãã</p> + +<h4 id="Synchronous_and_asynchronous_reflows" name="Synchronous_and_asynchronous_reflows">åæãªãããŒãšéåæãªãããŒ</h4> + +<p>çŸåšã®ã¬ã€ã¢ãŠããç¡å¹ã«ããå€æŽããªããããäŸãã°ãã©ãŠã¶ãŒã®ãŠã£ã³ããŠããªãµã€ãºãããããã JavaScript ãèŠçŽ ã® CSS ãå€æŽãããããŠããã¬ã€ã¢ãŠããçŽã¡ã«åèšç®ãããããã§ã¯ãããŸããã代ããã«ãªãããŒã¯éåæã«ããã©ãŠã¶ãŒãå¿
èŠãšå€æããæç¹ (éåžžããã©ãŠã¶ãŒã次ã«åæç»ãè¡ããšã) ã§å®è¡ããŸãããã®æ¹æ³ã«ããããã©ãŠã¶ãŒã¯ç¡å¹åããå€æŽç¹ãèããŠãããŠäžåºŠã«ãããã®åœ±é¿ãåèšç®ããããšãã§ããŸãã</p> + +<p>ãããããã JavaScript ã³ãŒããå€æŽãããã¹ã¿ã€ã«ãèªã¿åããšããã©ãŠã¶ãŒã¯è¿ãèšç®å€ãç®åºããããã«åæãªãããŒãå®è¡ããªããã°ãªããŸãããäŸãã°ä»¥äžã®ãããªã³ãŒãã§ã¯ã<code>window.getComputedStyle(thing).height</code> ãåŒã³åºãããšãã«çŽã¡ã«åæãªãããŒãçºçããŸã:</p> + +<pre class="brush: js">var thing = document.getElementById("the-thing"); +thing.style.display = "inline-block"; +var thingHeight = window.getComputedStyle(thing).height;</pre> + +<p>以åã®ã¹ã¿ã€ã«æžã蟌ã¿ã«ãã£ãŠç¡å¹åãããã¹ã¿ã€ã«ãèªã¿åããã³ã«åæãªãããŒã匷ãããããDOM ã®æäœäžã«èŠçŽ ã®ã¹ã¿ã€ã«ã®èªã¿æžããæã¿èŸŒãããšãé¿ããã®ã¯ããã¢ã€ãã¢ã§ãã</p> + +<h3 id="Security" name="Security">ã»ãã¥ãªãã£</h3> + +<p>ã»ãã¥ãªãã£ã®èŠåãšãšã©ãŒã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7107/sec-error-annotated.png" style="display: block; margin-left: auto; margin-right: auto;">ãŠã§ãã³ã³ãœãŒã«ã«è¡šç€ºãããã»ãã¥ãªãã£ã¡ãã»ãŒãžã¯ããµã€ãå
ã®æœåšçãããã¯å®åšã®è匱æ§ãéçºè
ãçºèŠããããšãæ¯æŽããŸããå ããŠããããã®ã¡ãã»ãŒãžã®å€ãã¯éçºè
ã®æè²ã«åœ¹ç«ã¡ãŸããããã¯ãèæ¯ã«é¢ããæ
å ±ãåé¡ãç·©åããããã®ã¢ããã€ã¹ãèšèŒããããŒãžã«æ¡å
ããã"詳现" ãªã³ã¯ãçµããã«ããããã§ãã</p> + +<p>ãã¹ãŠã®ã»ãã¥ãªãã£ã¡ãã»ãŒãžã®äžèŠ§ã以äžã«æ²èŒããŸã:</p> + +<table class="standard-table" style="width: auto;"> + <tbody> + <tr> + <th scope="col">ã¡ãã»ãŒãž</th> + <th scope="col">詳现</th> + </tr> + <tr> + <td>æ··åšã¢ã¯ãã£ãã³ã³ãã³ãã®èªã¿èŸŒã¿ããããã¯ããŸãã</td> + <td>ããŒãžã«æ··åšã¢ã¯ãã£ãã³ã³ãã³ããå«ãŸããŠããŸã: ããªãã¡ã¡ã€ã³ããŒãžã¯ HTTPS ã§æäŸããŠããŸããããã©ãŠã¶ãŒã¯ã¹ã¯ãªãããªã©ã® "ã¢ã¯ãã£ãã³ã³ãã³ã" ã HTTP ã§èªã¿èŸŒãããæ±ããããŸããããã©ãŠã¶ãŒã¯ãã®ã¢ã¯ãã£ãã³ã³ãã³ãããããã¯ããŸããã詳ãã㯠<a href="/ja/docs/Security/MixedContent">æ··åšã³ã³ãã³ã</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td>æ··åšè¡šç€ºã³ã³ãã³ãã®èªã¿èŸŒã¿ããããã¯ããŸãã</td> + <td>ããŒãžã«æ··åšè¡šç€ºã³ã³ãã³ããå«ãŸããŠããŸã: ããªãã¡ã¡ã€ã³ããŒãžã¯ HTTPS ã§æäŸããŠããŸããããã©ãŠã¶ãŒã¯ç»åãªã©ã® "衚瀺ã³ã³ãã³ã" ã HTTP ã§èªã¿èŸŒãããæ±ããããŸããããã©ãŠã¶ãŒã¯ãã®è¡šç€ºã³ã³ãã³ãããããã¯ããŸããã詳ãã㯠<a href="/ja/docs/Security/MixedContent">æ··åšã³ã³ãã³ã</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td>å®å
šãªããŒãžäžã§ (å®å
šã§ãªã) æ··åšã¢ã¯ãã£ãã³ã³ãã³ããèªã¿èŸŒãã§ããŸã</td> + <td>ããŒãžã«æ··åšã¢ã¯ãã£ãã³ã³ãã³ããå«ãŸããŠããŸã: ããªãã¡ã¡ã€ã³ããŒãžã¯ HTTPS ã§æäŸããŠããŸããããã©ãŠã¶ãŒã¯ã¹ã¯ãªãããªã©ã® "ã¢ã¯ãã£ãã³ã³ãã³ã" ã HTTP ã§èªã¿èŸŒãããæ±ããããŸããããã©ãŠã¶ãŒã¯ãã®ã¢ã¯ãã£ãã³ã³ãã³ããèªã¿èŸŒã¿ãŸããã詳ãã㯠<a href="/ja/docs/Security/MixedContent">æ··åšã³ã³ãã³ã</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td>å®å
šãªããŒãžäžã§ (å®å
šã§ãªã) æ··åšè¡šç€ºã³ã³ãã³ããèªã¿èŸŒãã§ããŸã</td> + <td>ããŒãžã«æ··åšè¡šç€ºã³ã³ãã³ããå«ãŸããŠããŸã: ããªãã¡ã¡ã€ã³ããŒãžã¯ HTTPS ã§æäŸããŠããŸããããã©ãŠã¶ãŒã¯ç»åãªã©ã® "衚瀺ã³ã³ãã³ã" ã HTTP ã§èªã¿èŸŒãããæ±ããããŸããããã©ãŠã¶ãŒã¯ãã®è¡šç€ºã³ã³ãã³ããèªã¿èŸŒã¿ãŸããã詳ãã㯠<a href="/ja/docs/Security/MixedContent">æ··åšã³ã³ãã³ã</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td>ãµã€ãã« X-Content-Security-Policy/Report-Only ããããŒãš Content-Security-Policy/Report-Only ããããŒã®äž¡æ¹ãæå®ãããŠããŸããX-Content-Security-Policy/Report-Only ããããŒã¯ç¡èŠãããŸãã</td> + <td>詳ãã㯠<a href="/ja/docs/Security/CSP">Content Security Policy</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td>X-Content-Security-Policy ããããŒãš X-Content-Security-Report-Only ããããŒã¯æšå¥šãããªããªããŸãã代ããã« CSP ä»æ§ã«æºæ ããæ§æã® Content-Security-Policy ããããŒãš Content-Security-Report-Only ããããŒã䜿çšããŠãã ããã</td> + <td>詳ãã㯠<a href="/ja/docs/Security/CSP">Content Security Policy</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td>ãã¹ã¯ãŒããã£ãŒã«ããå®å
šã§ãªã (http://) ããŒãžäžã«ããããŠãŒã¶ãŒã®ãã°ã€ã³æ
å ±ã®çé£ãèš±ãã»ãã¥ãªãã£äžã®å±éºæ§ããããŸãã</td> + <td>ãã°ã€ã³ãã©ãŒã ãå«ãããŒãžã¯ãHTTP ã§ã¯ãªã HTTPS ã§æäŸããªããã°ãªããŸããã</td> + </tr> + <tr> + <td>ãã¹ã¯ãŒããã£ãŒã«ããå®å
šã§ãªã (http://) ãã©ãŒã ã¢ã¯ã·ã§ã³ãæã€ãã©ãŒã èŠçŽ å
ã«ããããŠãŒã¶ãŒã®ãã°ã€ã³æ
å ±ã®çé£ãèš±ãã»ãã¥ãªãã£äžã®å±éºæ§ããããŸãã</td> + <td>ãã¹ã¯ãŒããã£ãŒã«ããå«ããã©ãŒã ã¯ãHTTP ã§ã¯ãªã HTTPS ã§éä¿¡ããªããã°ãªããŸããã</td> + </tr> + <tr> + <td>ãã¹ã¯ãŒããã£ãŒã«ããå®å
šã§ãªã (http://) iframe å
ã«ããããŠãŒã¶ãŒã®ãã°ã€ã³æ
å ±ã®çé£ãèš±ãã»ãã¥ãªãã£äžã®å±éºæ§ããããŸãã</td> + <td>ãã°ã€ã³ãã©ãŒã ãå«ã iframe ã¯ãHTTP ã§ã¯ãªã HTTPS ã§æäŸããªããã°ãªããŸããã</td> + </tr> + <tr> + <td>ãµã€ãã«ç¡å¹ãª Strict-Transport-Security ããããŒãæå®ãããŠããŸãã</td> + <td>詳ãã㯠<a href="/ja/docs/Security/HTTP_Strict_Transport_Security">HTTP Strict Transport Security</a> ãã芧ãã ããã</td> + </tr> + <tr> + <td> + <p>ãã®ãµã€ã㯠SHA-1 蚌ææžãå©çšããŠããŸããSHA-1 ãã匷åºãªããã·ã¥ã¢ã«ãŽãªãºã ã䜿çšãã蚌ææžã®å©çšããå§ãããŸãã</p> + </td> + <td> + <p>SHA-1 ã¢ã«ãŽãªãºã ã眲åã§äœ¿çšããŠãã蚌ææžãããµã€ãã§äœ¿çšããŠããŸãã</p> + + <p>SHA-1 ã¯ãŸã 蚌ææžã§åºã䜿çšãããŠããŸãããé³è
åãå§ããŠããŸãããŠã§ããµã€ããèªèšŒå±ã¯å°æ¥ããã匷ãããã·ã¥ã¢ã«ãŽãªãºã ã«åãæ¿ããããšãæšå¥šããŸãã詳ãã㯠<a href="/ja/docs/Security/Weak_Signature_Algorithm">Weak Signature Algorithm</a> ã®èšäºãã芧ãã ããã</p> + + <p>ãµã€ãèªäœã®èšŒææžã SHA-1 蚌ææžã§ã¯ãªããšããŠãããµã€ãã®èšŒææžãžã®çœ²åã«äœ¿çšããèªèšŒå±ã®èšŒææžã§ SHA-1 ã䜿çšããŠããå ŽåããããŸãã®ã§æ³šæããŠãã ããã</p> + </td> + </tr> + </tbody> +</table> + +<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=863874">Bug 863874</a> ã¯ããŠã§ãã³ã³ãœãŒã«ã§é©åãªã»ãã¥ãªãã£ã¡ãã»ãŒãžãèšé²ããããšã«é¢ããã¡ã¿ãã°ã§ããããã§è°è«ãããŠãããããªåœ¹ã«ç«ã€æ©èœã®ã¢ã€ãã¢ãããããããã¯è²¢ç®ã«èå³ãããå Žåã¯ãã¡ã¿ãã°ãšãã®äŸåé¢ä¿ã確èªããŠãã ããã</p> + +<h3 id="Logging" name="Logging">ãã®ã³ã°</h3> + +<div class="note"> +<p><a href="/ja/docs/Web/API/SharedWorker">Shared Worker</a>ã<a href="/ja/docs/Web/API/ServiceWorker_API">Service Worker</a>ãã¢ããªã³ã<a href="/ja/docs/Mozilla/ChromeWorkers">ãã©ãŠã¶ãŒ Worker</a> ããçºçããã¡ãã»ãŒãžã¯ãããã©ã«ãã§è¡šç€ºããŸããããã°ã衚瀺ããã«ã¯ã<a href="/ja/docs/Tools/Web_Console/Console_messages#Filtering_by_category">ãã£ã«ã¿ãªã³ã°</a> æ©èœã䜿çšããŠãã ããã</p> +</div> + +<p>ãã®ã³ã°ã«ããŽãªãŒã«ã¯ã<a href="/ja/docs/Web/API/Console">Console</a> API ã䜿çšããŠçºçããããã°ãå«ãŸããŸãã<br> + <img alt="" src="https://mdn.mozillademos.org/files/7105/console-api-message-annotated.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<p>ãŠã§ãã³ã³ãœãŒã«ã§ã¯ã以äžã® <a href="/ja/docs/Web/API/Console">Console API</a> ã®ã¡ãã»ãŒãžããµããŒãããŸã:</p> + +<ul> + <li><a href="/ja/docs/Web/API/Console.assert"><code>assert()</code></a></li> + <li><code><a href="/ja/docs/Web/API/Console/clear">clear()</a></code> (Firefox 48 ã®æ°æ©èœ)</li> + <li><a href="/ja/docs/Web/API/Console.count"><code>count()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.dir"><code>dir()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.dirxml"><code>dirxml()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.error"><code>error()</code></a></li> + <li><code>exception()</code></li> + <li><code><a href="/ja/docs/Web/API/Console.group">group()</a></code></li> + <li><code><a href="/ja/docs/Web/API/Console/groupEnd">groupEnd()</a></code></li> + <li><code>info()</code></li> + <li><a href="/ja/docs/Web/API/Console.log"><code>log()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.table"><code>table()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.time"><code>time()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.timeEnd"><code>timeEnd()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.trace"><code>trace()</code></a></li> + <li><a href="/ja/docs/Web/API/Console.warn"><code>warn()</code></a></li> +</ul> + +<p>ã³ã³ãœãŒã«ã¯ä»¥äžã®ããã«ããã¹ãŠã®ãšã©ãŒã¡ãã»ãŒãžã§ã¹ã¿ãã¯ãã¬ãŒã¹ã衚瀺ããŸã:</p> + +<pre class="brush: js">function foo() { + console.error("it explodes"); +} + +function bar() { + foo(); +} + +function doStuff() { + bar(); +} + +doStuff();</pre> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11665/error-stack.png" style="display: block; height: 92px; margin-left: auto; margin-right: auto; width: 465px;"></p> + +<h3 id="Server" name="Server">ãµãŒããŒ</h3> + +<div class="note"> +<p>ãµãŒããŒãµã€ãã®ãã°ã¡ãã»ãŒãžã¯ãFirefox 43ã§å°å
¥ãããŸããããFirefox 56ã§åé€ãããŸããããã®æ©èœã(å床)䜿çšããã«ã¯ <a href="https://addons.mozilla.org/en-US/firefox/addon/chromelogger/">Chrome Logger extension</a> ã€ã³ã¹ããŒã«ããŠãã ããã</p> +</div> + +<p><a href="https://addons.mozilla.org/en-US/firefox/addon/chromelogger/">Chrome Logger extension</a>ã䜿ããšããµãŒããŒããéä¿¡ãããã¡ãã»ãŒãžããŠã§ãã³ã³ãœãŒã«ã§è¡šç€ºã§ããŸããããã«ããããµãŒããŒãµã€ãã®ã³ãŒãã®ãããã°ã«ãŠã§ãã³ã³ãœãŒã«ã䜿çšã§ããŸãã</p> + +<p>ããã¯ã<a href="https://craig.is/writing/chrome-logger">Chrome Logger</a> ãããã³ã«ã䜿çšããŸããæçã«èšãã°ãä»çµã¿ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li>ãµãŒããŒãµã€ãã®ã³ãŒã (PythonãPHPãNode.js ãªã©) ã«ãconsole API ãæäŸããã©ã€ãã©ãªãŒãå«ããŸãã</li> + <li>ãµãŒããŒãµã€ãã®ã³ãŒãã§ãconsole API ã䜿çšããŠã¡ãã»ãŒãžãèšé²ããŸãã</li> + <li>ãµãŒããŒãµã€ãã®ã©ã€ãã©ãªãŒãã¡ãã»ãŒãžãã JSON ãªããžã§ã¯ããäœæããŠãéä¿¡çšã«ãšã³ã³ãŒãããŸãã</li> + <li>ã¡ãã»ãŒãžã <code>X-ChromeLogger-Data</code> ãšããã¬ã¹ãã³ã¹ããããŒã§ãã¯ã©ã€ã¢ã³ãã«éä¿¡ããŸãã</li> + <li>ãŠã§ãã³ã³ãœãŒã«ããããããŒããã³ãŒãããŠè¡šç€ºããŸãã</li> +</ul> + +<p>ãµãŒããŒåŽã®ã³ãŒãã«é©ããã©ã€ãã©ãªãŒãæ¢ãã«ã¯ã<a href="https://craig.is/writing/chrome-logger">Chrome Logger ã®ããã¥ã¡ã³ã</a> ãã芧ãã ããã</p> + +<h3 id="Command_line_inputoutput" name="Command_line_inputoutput">ã³ãã³ãã©ã€ã³ã®å
¥å/åºå</h3> + +<p><a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter" title="#command-line">ãŠã§ãã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³</a> ã䜿çšããŠãã©ãŠã¶ãŒã«éä¿¡ããã³ãã³ããšããã«å¯Ÿããå¿çã¯ã以äžã®ãããªè¡ã§èšé²ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/5587/web-console-message-input-output.png" style="display: block; height: 68px; margin-left: auto; margin-right: auto; width: 554px;">æ¿ãç°è²ã®ããŒã¯å
¥å/åºåã¡ãã»ãŒãžã§ããããšãè¡šãããŸãäžè§å°ã®åãã§å
¥åãšåºåãåºå¥ããŸãã</p> + +<h2 id="Filtering_and_searching" name="Filtering_and_searching"><a name="filtering-and-searching">ãã£ã«ã¿ãªã³ã°ãšæ€çŽ¢</a></h2> + +<h3 id="Filtering_by_category" name="Filtering_by_category">ã«ããŽãªãŒã§ãã£ã«ã¿ãªã³ã°</h3> + +<p>äžæ®µã®ããŒã«ããŒã§ã衚瀺ããçµæãå¶éã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13284/console-toolbar.png" style="display: block; height: 297px; margin-left: auto; margin-right: auto; width: 877px;">ã«ããŽãªãŒå ("ãããã¯ãŒã¯"ã"CSS" ãªã©) ãèšèŒããããã¿ã³ãã¯ãªãã¯ãããšãç¹å®ã®çš®é¡ã®ã¡ãã»ãŒãžã®ã¿è¡šç€ºããããšãã§ããŸãããã¿ã³æ¬äœãã¯ãªãã¯ãããšããã®ã«ããŽãªãŒå
šäœã®ãªã³/ãªããåãæ¿ããŸãããŸãå³åŽã®ç¢å°éšåãã¯ãªãã¯ãããšããã现ãããã£ã«ã¿ãªã³ã°æ¹æ³ã衚瀺ããŸãã</p> + +<ul> + <li>ãããã¯ãŒã¯ + <ul> + <li>ãšã©ãŒ</li> + <li>èŠå</li> + <li>XHR</li> + <li>ãã°</li> + </ul> + </li> + <li>CSS + <ul> + <li>ãšã©ãŒ</li> + <li>èŠå</li> + <li>ãªãããŒ</li> + </ul> + </li> + <li>JS + <ul> + <li>ãšã©ãŒ</li> + <li>èŠå</li> + </ul> + </li> + <li>ã»ãã¥ãªã㣠+ <ul> + <li>ãšã©ãŒ</li> + <li>èŠå</li> + </ul> + </li> + <li>ãã®ã³ã° + <ul> + <li>ãšã©ãŒ</li> + <li>èŠå</li> + <li>ã¡ãã»ãŒãž</li> + <li>ãã°</li> + <li>Shared Worker</li> + <li>Service Worker</li> + <li>ã¢ããªã³ãŸãã¯ãã©ãŠã¶ãŒ Worker</li> + </ul> + </li> + <li>ãµãŒã㌠+ <ul> + <li>ãšã©ãŒ</li> + <li>èŠå</li> + <li>ã¡ãã»ãŒãž</li> + <li>ãã°</li> + </ul> + </li> +</ul> + +<h3 id="Filtering_by_text" name="Filtering_by_text">æååã§ãã£ã«ã¿ãªã³ã°</h3> + +<p>"åºåãçµã蟌ã¿" ãšè¡šç€ºãããŠããããã¹ãããã¯ã¹ã«æååãå
¥åãããšããã®æååãå«ãã¡ãã»ãŒãžã®ã¿è¡šç€ºããŸãã</p> + +<h3 id="Clearing_the_log" name="Clearing_the_log">ãã°ãæ¶å»ãã</h3> + +<p>æåŸã«ããã®ããŒã«ããŒã§ãã°ãæ¶å»ããããšãã§ããŸããFirefox 48 ããåã®ããŒãžã§ã³ã§ã¯ãããŒã«ããŒã®å³åŽã«ãã "æ¶å»" ãã¿ã³ã§ããFirefox 48 以éã§ã¯ãå·ŠåŽã«ãããŽãç®±ã®ã¢ã€ã³ã³ã§ãã</p> diff --git a/files/ja/tools/web_console/helpers/index.html b/files/ja/tools/web_console/helpers/index.html new file mode 100644 index 0000000000..a460b6915c --- /dev/null +++ b/files/ja/tools/web_console/helpers/index.html @@ -0,0 +1,141 @@ +--- +title: Web ã³ã³ãœãŒã«ãã«ã㌠+slug: Tools/Web_Console/Helpers +tags: + - Debugging + - Web Development + - web console +translation_of: Tools/Web_Console/Helpers +--- +<p>{{ToolsSidebar}}</p> + +<h2 id="ã³ãã³ã">ã³ãã³ã</h2> + +<p>ãŠã§ãã³ã³ãœãŒã«ã® JavaScript ã³ãã³ãã©ã€ã³ã§ã¯ãããã€ãã®äœæ¥ãç°¡åã«è¡ãããã®æ¯æŽæ©èœãå
èµããŠããŸãã</p> + +<dl> + <dt id="$"><code>$(selector, element)</code></dt> + <dd> + <p>CSS ã»ã¬ã¯ã¿æåå <code>selector</code> ãæ€çŽ¢ããäžèŽãã <code>element</code> ã®åå«ããŒããè¿ããŸããæªæå®ã®å Žåã<code>element</code> ã®ããã©ã«ã㯠<code>document</code> ã§ãã{{ domxref("document.querySelector()") }} ãšåçã§ãããŒãžå
ã« $ é¢æ°ãååšããå Žåã¯ãããåŒã³åºããŸãã</p> + + <p><a href="/ja/docs/Code_snippets/QuerySelector">QuerySelector ã³ãŒãã¹ãããã</a>åç
§ããŠãã ããã</p> + </dd> + <dt id="$$"><code>$$(selector, element)</code></dt> + <dd>CSS ã»ã¬ã¯ã¿æåå <code>selector</code> ãæ€çŽ¢ããäžèŽãã <code>element</code> ã®åå«ã§ãã DOM ããŒãã®é
åãè¿ããŸããæªæå®ã®å Žåã<code>element</code> ã®ããã©ã«ã㯠<code>document</code> ã§ãããã㯠{{ domxref("document.querySelectorAll()") }} ãšäŒŒãŠããŸããã{{ domxref("NodeList") }} ã§ã¯ãªãé
åãè¿ããŸãã</dd> + <dt id="$0"><code>$0</code></dt> + <dd>ããŒãžå
ã§çŸåšèª¿æ»ãããŠããèŠçŽ ã§ãã</dd> + <dt id="$_"><code>$_</code></dt> + <dd>ã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã§æåŸã«å®è¡ããåŒã®çµæãä¿æããŸããäŸãã° "2+2 <enter>" ãšå
¥åããåŸã« "$_ <enter>" ãšå
¥åãããšãã³ã³ãœãŒã«ã¯ 4 ãšåºåããŸãã</dd> + <dt id="$x"><code>$x(xpath, element, resultType)</code></dt> + <dd><code>element</code> ã®ã³ã³ããã¹ã㧠<a href="/ja/docs/XPath">XPath</a> <code>xpath</code> åŒãè©äŸ¡ããäžèŽããããŒãã®é
åãè¿ããŸãã æªæå®ã®å Žåã<code>element</code> ã®ããã©ã«ã㯠<code>document</code> ã§ãã<code>resultType</code>ã«ã¯æ»ãå€ã®åãæå®ããŸããåãããå€ã¯ <a href="https://developer.mozilla.org/ja/docs/Web/API/XPathResult#Constants">XPathResultå®æ°</a>ã <code>"number"</code>ã <code>"string"</code>ã <code>"bool"</code>ã <code>"node"</code>ã <code>"nodes"</code> ã®ããããã§ããæå®ãããªãã£ãå Žåã <code>ANY_TYPE</code> ã«ãªããŸãã</dd> + <dt id="keys"><code>keys()</code></dt> + <dd>ãªããžã§ã¯ããäžãããšããã®ãªããžã§ã¯ãã®ã㌠(ãŸãã¯ããããã£å) ã®äžèŠ§ãè¿ããŸãããã㯠<a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Object/keys"><code>Object.keys</code></a> ã®ã·ã§ãŒãã«ããã§ãã</dd> + <dt id="values"><code>values()</code></dt> + <dd>ãªããžã§ã¯ããäžãããšããã®ãªããžã§ã¯ãã®å€ã®äžèŠ§ãè¿ããŸãããã㯠<code>keys()</code> ãšå¯Ÿããªããã®ã§ãã</dd> + <dt id="clear"><code>clear()</code></dt> + <dd>ã³ã³ãœãŒã«ã®åºåãšãªã¢ãã¯ãªã¢ããŸãã</dd> + <dt id="inspect"><code>inspect()</code></dt> + <dd>ãªããžã§ã¯ããäžãããšããã®ãªããžã§ã¯ãã®ãªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒãéããŸãã</dd> + <dt id="pprint"><code>pprint()</code></dt> + <dd>æå®ãããå€ããèªã¿ããã圢åŒã«æŽåœ¢ããŸããããã¯ãªããžã§ã¯ããé
åã®å
容ããã³ãããã®ã«åœ¹ç«ã¡ãŸãã</dd> + <dt id="help"><code>help()</code>{{Deprecated_Inline(62)}}<br> + <code style="margin-right: 1ch;">:help</code>{{Gecko_MinVersion_Inline(62)}}</dt> + <dd>ãã«ãããã¹ãã衚瀺ããŸãã å®ã®ãšãããåã³ãã®ããŒãžã«ç§»åãããšããæå¿«ãªæåã瀺ããŸãã</dd> + <dt id="cd"><code>cd()</code></dt> + <dd> + <p>JavaScript ã®è©äŸ¡ãè¡ãã³ã³ããã¹ãããããŒãžå
ã®å¥ã® iframe ã«åãæ¿ããŸãããã®ã³ãã³ãã¯åãæ¿ãå
ã®ãã¬ãŒã ãèå¥ããããã®ãããŸããŸãªæ¹æ³ãåãå
¥ããŸãã以äžã®ãããããäžããããšãã§ããŸã:</p> + + <ul> + <li>iframe èŠçŽ ãç¹å®ããããã<code>document.querySelector</code> ã«æž¡ãã»ã¬ã¯ã¿ãŒæåå</li> + <li>iframe èŠçŽ èªäœ</li> + <li>iframe å
éšã® content window</li> + </ul> + + <p><a href="/ja/docs/Tools/Working_with_iframes">iframe ã§ã®äœæ¥</a> ãã芧ãã ããã</p> + </dd> + <dt id="copy"><code>copy()</code></dt> + <dd><em>Firefox 38 ã®æ°æ©èœã</em> åŒæ°ã§æå®ãããã®ãã¯ãªããããŒãã«ã³ããŒããŸããåŒæ°ãæååã§ããå Žåã¯ããã®ãŸãŸã³ããŒããŸãããŸãåŒæ°ã DOM ããŒãã§ããå Žåã¯ãããŒãã® <code><a href="/ja/docs/Web/API/Element/outerHTML">outerHTML</a></code> ãã³ããŒããŸããä»ã®å€ã§ããå Žåã¯åŒæ°ã«å¯Ÿã㊠<code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify">JSON.stringify</a></code> ãåŒã³åºããŠããã®çµæãã³ããŒããŸãã</dd> + <dt id="clearHistory"><code>clearHistory()</code></dt> + <dd><em>Firefox 39 ã®æ°æ©èœã</em>äžè¬çãªã³ãã³ãã©ã€ã³ãšåæ§ã«ãã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã <a href="/ja/docs/Tools/Web_Console#Command_history">éå»ã«å
¥åããã³ãã³ããèŠããŠããŸã</a>ããã®é¢æ°ãå®è¡ãããšãã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã®å±¥æŽãæ¶å»ããŸãã</dd> + <dt id="screenshot"><code>:screenshot</code></dt> + <dd>æäŸããããã¡ã€ã«åã§çŸåšã®ããŒãžã®ã¹ã¯ãªãŒã³ã·ã§ãããäœæããŸãããã¡ã€ã«åãæå®ããªãå Žåãç»åãã¡ã€ã«ã®ååã¯æ¬¡ã®ããã«ãªããŸãã<br> + <br> + <code>Screen Shot yyy-mm-dd at hh.mm.ss.png</code><br> + <br> + ãã®ã³ãã³ãã«ã¯ã次ã®ãªãã·ã§ã³ã®ãã©ã¡ãŒã¿ããããŸãã<br> + + <table class="standard-table"> + <tbody> + <tr> + <th>ã³ãã³ã</th> + <th>å</th> + <th>説æ</th> + </tr> + <tr> + <td><code style="white-space: nowrap;">--clipboard</code></td> + <td>boolean</td> + <td>ãã®ãã©ã¡ãŒã¿ãããå Žåã¯ãã¹ã¯ãªãŒã³ã·ã§ãããã¯ãªããããŒãã«ã³ããŒãããŸãã</td> + </tr> + <tr> + <td><code style="white-space: nowrap;">--delay</code></td> + <td>number</td> + <td>ã¹ã¯ãªãŒã³ã·ã§ãããæ®ããŸã§ã«é
ãããç§æ°ã</td> + </tr> + <tr> + <td><code style="white-space: nowrap;">--dpr</code></td> + <td>number</td> + <td>ã¹ã¯ãªãŒã³ã·ã§ãããæ®ããšãã«äœ¿çšããããã€ã¹ã®ãã¯ã»ã«æ¯çã</td> + </tr> + <tr> + <td><code style="white-space: nowrap;">--file</code></td> + <td>boolean</td> + <td>ãããããå Žåãä»ã®ãªãã·ã§ã³ (<code style="white-space: nowrap;">--clipboard</code> ãªã©) ãå«ãŸããŠããŠããã¹ã¯ãªãŒã³ã·ã§ããã¯ãã¡ã€ã«ã«ä¿åãããŸãã</td> + </tr> + <tr> + <td><code style="white-space: nowrap;">--filename</code></td> + <td>string</td> + <td>ãã¡ã€ã«ã®ä¿åã«äœ¿çšããååããã¡ã€ã«ã®æ¡åŒµå㯠".png" ã«ããå¿
èŠããããŸãã</td> + </tr> + <tr> + <td><code style="white-space: nowrap;">--fullpage</code></td> + <td>boolean</td> + <td>ãããããå Žåã¯ãWeb ããŒãžå
šäœãä¿åãããŸãããã®ãã©ã¡ãŒã¿ã䜿çšãããšããŠã£ã³ããŠã®çŸåšã®ç¯å²å€ã«ãã Web ããŒãžã®éšåã§ãã£ãŠãã¹ã¯ãªãŒã³ã·ã§ããã«å«ãŸããŸãã䜿çšãããšãã¯ããã¡ã€ã«åã« "<span style="white-space: nowrap;">-fullpage</span>" ãè¿œå ãããŸãã</td> + </tr> + <tr> + <td><code style="white-space: nowrap;">--selector</code></td> + <td>string</td> + <td>ããŒãžäžã®åäžèŠçŽ ã® CSS ã¯ãšãªãŒã»ã¬ã¯ã¿ããããæž¡ããããšããã®èŠçŽ ã®ã¿ãã¹ã¯ãªãŒã³ã·ã§ããã«å«ãŸããŸãã</td> + </tr> + </tbody> + </table> + </dd> +</dl> + +<p>ã³ã³ãã³ããããã°ãåºåããæ©èœã«ã€ããŠã詳ãã㯠<a href="/ja/docs/Web/API/console">Console API</a> ãã芧ãã ããã</p> + +<h2 id="Variables" name="Variables">å€æ°</h2> + +<dl> + <dt id="tempN">temp<em>N</em></dt> + <dd>ã€ã³ã¹ãã¯ã¿ãŒã® "<a href="/ja/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML#Use in Console">ã³ã³ãœãŒã«ã§äœ¿ã</a>" ã¯ãåç
§ããŠããããŒããè¡šãå€æ° <code>temp0</code>ã<code>temp1</code>ã<code>temp2</code> ãªã©ãçæããŸãã</dd> +</dl> + +<h2 id="äŸ">äŸ</h2> + +<h3 id="DOM_ããŒãã®å
容ãé²èŠ§ãã">DOM ããŒãã®å
容ãé²èŠ§ãã</h3> + +<p>äŸãã°ãID å€ "title" ãæ〠DOM ããŒãããããšããŸããå®éã¯ãä»èŠãŠãããã®ããŒãžã«è©²åœãã DOM ããŒãããããŸãã®ã§ãããã§ãŠã§ãã³ã³ãœãŒã«ãéããŠè©ŠããŠã¿ãããšãã§ããŸãã</p> + +<p><code>$()</code> ããã³ <code>inspect()</code> ãçšããŠãããŒãã®ã³ã³ãã³ãã確èªããŠã¿ãŸããã:</p> + +<pre class="brush: js; no-line-numbers notranslate">inspect($("#title"))</pre> + +<p>èªåçã«ãªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒãéããCSS ã»ã¬ã¯ã¿ãŒ "#title" ã«ããããã DOM ããŒãã®å
容ã衚瀺ããŸãããã¡ããããã¯ãID ã "title" ã§ããèŠçŽ ã§ãã</p> + +<h3 id="DOM_ããŒãã®å
容ããã³ããã">DOM ããŒãã®å
容ããã³ããã</h3> + +<p>ããã¯ãããªãããã©ãŠã¶ãŒäžã§èµ·ããŠããåé¡ã調æ»ããããšã«ãªãããŠãŒã¶ãŒã®ããã«é éå°ã§ãããã°ãè¡ãããšããããŒãã®å
容ãé²èŠ§ããå¿
èŠããããããªå Žåã«åœ¹ç«ã¡ãŸãããŠãŒã¶ãŒã«ãŠã§ãã³ã³ãœãŒã«ãéããŠãããã<code>pprint()</code> ãçšããŠããŒãã®å
容ããã°ã«ãã³ããããã®åºåçµæãã¡ãŒã«ã«ã³ã㌠& 貌ãä»ãããŠéä»ããŠãããããšãã§ããŸã:</p> + +<pre class="brush: js; no-line-numbers notranslate">pprint($("#title"))</pre> + +<p>ããã¯ããŒãã®å
容ãèªã¿ããã圢åŒã§åºåããŸãããã¡ããããã®ã³ãã³ã㯠DOM ããŒã以å€ã®ãªããžã§ã¯ãã«å¯ŸããŠã圹ã«ç«ã¡ãŸãã®ã§ãã¢ã€ãã¢ãèããŠã¿ãŠãã ããã</p> diff --git a/files/ja/tools/web_console/index.html b/files/ja/tools/web_console/index.html new file mode 100644 index 0000000000..ab647c2924 --- /dev/null +++ b/files/ja/tools/web_console/index.html @@ -0,0 +1,48 @@ +--- +title: Webã³ã³ãœãŒã« +slug: Tools/Web_Console +tags: + - Guide + - Security + - Web Development + - 'Web Development:Tools' + - 'l10n:priority' + - web console + - ããŒã« + - ãããã° +translation_of: Tools/Web_Console +--- +<div>{{ToolsSidebar}}</div> + +<p><strong>Webã³ã³ãœãŒã«ãšã¯:</strong></p> + +<ol> + <li>ãŠã§ãããŒãžã«é¢ããæ
å ±ããããã¯ãŒã¯ãªã¯ãšã¹ããJavaScriptãCSSãã»ãã¥ãªãã£ã®ãšã©ãŒãèŠåã®ã»ããããŒãžå
ã§å®è¡ãããŠãã JavaScript ã³ãŒãã«ãã£ãŠèšé²ããããšã©ãŒãèŠåãæ
å ±ã¡ãã»ãŒãžãèšé²ã§ããŸãã</li> + <li>ããŒãžã³ã³ããã¹ãå
㧠JavaScript ã®åŒãå®è¡ããããšã«ããããŠã§ãããŒãžãšå¯Ÿè©±ã§ããŸãã</li> +</ol> + +<p>{{EmbedYouTube("C6Cyrpkb25k")}}</p> + +<div class="column-container"> +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Web_Console/Opening_the_Web_Console">Webã³ã³ãœãŒã«ãéã</a></dt> + <dd>Webã³ã³ãœãŒã«ãéãæ¹æ³ã§ãã</dd> + <dt><a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter">ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒããªã¿ãŒ</a></dt> + <dd>ã³ã³ãœãŒã«ã䜿çšããŠããã¥ã¡ã³ããšå¯Ÿè©±ããæ¹æ³ã§ãã</dd> + <dt><a href="/ja/docs/Tools/Web_Console/Split_console">ã³ã³ãœãŒã«ã®åå²</a></dt> + <dd>ã³ã³ãœãŒã«ãå¥ã®ããŒã«ãšäžŠã¹ãŠäœ¿çšããŸãã</dd> +</dl> +</div> + +<div class="column-half"> +<dl> + <dt><a href="/ja/docs/Tools/Web_Console/Console_messages">ã³ã³ãœãŒã«ã®ã¡ãã»ãŒãž</a></dt> + <dd>ã³ã³ãœãŒã«ãèšé²ããã¡ãã»ãŒãžã詳ãã説æããŸãã</dd> + <dt><a href="/ja/docs/Tools/Web_Console/Rich_output">é«åºŠãªåºå</a></dt> + <dd>ã³ã³ãœãŒã«ãèšé²ãããªããžã§ã¯ãã確èªããŠå¯Ÿè©±ããæ¹æ³ã§ãã</dd> + <dt><a href="/ja/docs/Tools/Web_Console/Keyboard_shortcuts">ããŒããŒãã·ã§ãŒãã«ãã</a></dt> + <dd>ã·ã§ãŒãã«ããã®ãªãã¡ã¬ã³ã¹ã§ãã</dd> +</dl> +</div> +</div> diff --git a/files/ja/tools/web_console/keyboard_shortcuts/index.html b/files/ja/tools/web_console/keyboard_shortcuts/index.html new file mode 100644 index 0000000000..890a011a3f --- /dev/null +++ b/files/ja/tools/web_console/keyboard_shortcuts/index.html @@ -0,0 +1,10 @@ +--- +title: ããŒããŒãã·ã§ãŒãã«ãã +slug: Tools/Web_Console/Keyboard_shortcuts +translation_of: Tools/Web_Console/Keyboard_shortcuts +--- +<div>{{ToolsSidebar}}</div><p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "web-console")}}</p> + +<h2 id="Global_shortcuts" name="Global_shortcuts">å
±éã·ã§ãŒãã«ãã</h2> + +<p>{{Page ("ja/docs/tools/Keyboard_shortcuts", "all-toolbox-tools")}}</p> diff --git a/files/ja/tools/web_console/opening_the_web_console/index.html b/files/ja/tools/web_console/opening_the_web_console/index.html new file mode 100644 index 0000000000..a71b4568e1 --- /dev/null +++ b/files/ja/tools/web_console/opening_the_web_console/index.html @@ -0,0 +1,25 @@ +--- +title: ãŠã§ãã³ã³ãœãŒã«ãéã +slug: Tools/Web_Console/Opening_the_Web_Console +translation_of: Tools/Web_Console/UI_Tour +--- +<div>{{ToolsSidebar}}</div> + +<p>ãŠã§ãã³ã³ãœãŒã«ãéãæ¹æ³ã¯ä»¥äžã®ãšããã§ã:</p> + +<ul> + <li>Firefox ã¡ãã¥ãŒ (ã¡ãã¥ãŒããŒãããå Žåã Mac OS X ã§ã¯ãããŒã«ã¡ãã¥ãŒ) ã®ãŠã§ãéçºãµãã¡ãã¥ãŒã§ "ãŠã§ãã³ã³ãœãŒã«" ãéžæããã</li> + <li>ãŸãã¯ãããŒããŒãã·ã§ãŒãã«ãã <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>K</kbd> (OS X ã§ã¯ <kbd>Command</kbd><kbd>Option</kbd><kbd>K</kbd>) ãæŒäžããŸãã</li> +</ul> + +<p>ãŠã§ãã³ã³ãœãŒã«ãã¢ã¯ãã£ãã«ãªã£ãŠãã <a href="/ja/docs/Tools/Tools_Toolbox" title="Tools/Tools_Toolbox">ããŒã«ããã¯ã¹</a> ããã©ãŠã¶ãŒãŠã£ã³ããŠã®äžéšã«çŸããŸã (<a href="/ja/docs/Tools/Tools_Toolbox#Toolbar" title="Tools/Tools_Toolbox#Toolbar">éçºããŒã«ã®ããŒã«ããŒ</a> ã§ã¯ "ã³ã³ãœãŒã«" ãšããå称ã§ã):</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16191/console_63.png" style="border: 1px solid black; display: block; margin: 0 auto; width: 845px;"></p> + +<p>ãŠã§ãã³ã³ãœãŒã«ã®ã€ã³ã¿ãŒãã§ã€ã¹ã¯ 3 ã€ã«åããããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages#Filtering_by_category" title="#filtering-and-searching">ããŒã«ããŒ</a>: äžæ®µã«ãã¿ã³ã 2 ã€çœ®ããŠããããŒã«ããŒããããŸãããŽãç®±ã®ãã¿ã³ãã¯ãªãã¯ãããšãã³ã³ãœãŒã«ã®å
容ãæ¶å»ã§ããŸããæŒæã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã³ã³ãœãŒã«ã«è¡šç€ºãããŠããã¡ãã»ãŒãžããã£ã«ã¿ãŒã§ããŸãã</li> + <li><a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter" title="#command-line">ã³ãã³ãã©ã€ã³</a>: ã³ãã³ãã©ã€ã³ã¯ãäºéå±±ãã£ã (>>) ã§å§ãŸããŸããããã« JavaScript ã®åŒãå
¥åããŸãã</li> + <li><a href="/ja/docs/Tools/Web_Console/Console_messages" title="#message-display-pane">ã¡ãã»ãŒãžè¡šç€ºãã€ã³</a>: ããŒãžå
ã®ã³ãŒããã³ãã³ãã©ã€ã³ã«å
¥åããã³ãã³ãã«ãã£ãŠçæãããã¡ãã»ãŒãžã§ããã³ãã³ãã«ãã£ãŠçæããã¡ãã»ãŒãžã¯ãããããã®ã³ãã³ãã«ç¶ããŠè¡šç€ºããŸãã</li> +</ul> diff --git a/files/ja/tools/web_console/remoting/index.html b/files/ja/tools/web_console/remoting/index.html new file mode 100644 index 0000000000..f59789f31b --- /dev/null +++ b/files/ja/tools/web_console/remoting/index.html @@ -0,0 +1,686 @@ +--- +title: Webã³ã³ãœãŒã«ãªã¢ãŒãã£ã³ã° +slug: Tools/Web_Console/remoting +translation_of: Tools/Web_Console/remoting +--- +<div>{{ToolsSidebar}}</div> + +<h2 id="ã€ã³ãããã¯ã·ã§ã³">ã€ã³ãããã¯ã·ã§ã³</h2> + +<p>ãã®ããã¥ã¡ã³ãã§ã¯ãWebã³ã³ãœãŒã«ã®ãªã¢ãŒãåŠçã®ããã¿ã«ã€ããŠèª¬æããŸããWebã³ã³ãœãŒã«ã¯ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãåããã¯ã©ã€ã¢ã³ããšãã¿ãå
ã§çºçãããã¹ãŠã®ãã®ã®ãªã¹ããŒãæã€ãµãŒããŒã«åå²ãããŠããŸãããµãŒããŒãšã¯ã©ã€ã¢ã³ãéã®éä¿¡ã«ã¯ã<a href="https://wiki.mozilla.org/Remote_Debugging_Protocol">ãªã¢ãŒããããã°ãããã³ã«</a>ã䜿çšããŸãããã®ã¢ãŒããã¯ãã£ã§ã¯ãWebã³ã³ãœãŒã«ã¯ã©ã€ã¢ã³ãã€ã³ã¹ã¿ã³ã¹ãB2GãFennecãŸãã¯ãã®ä»ã®Firefoxã€ã³ã¹ã¿ã³ã¹äžã§åäœãããµãŒããŒã«æ¥ç¶ã§ããŸãã</p> + +<p>Webã³ã³ãœãŒã«ã®ã¢ãŒããã¯ãã£ãããããç解ããããã«ã<a href="https://wiki.mozilla.org/Debugger_Architecture">ãããã¬ã®ã¢ãŒããã¯ãã£</a>ã«ã€ããŠåŠã¶ããšããå§ãããŸãã</p> + +<div class="note"> +<p>ãªã¢ãŒãWebã³ã³ãœãŒã«ã¯ãFirefox 18ã§å°å
¥ãããæ©èœã§ãããã®ããã¥ã¡ã³ãã§ã¯ãææ°ã®ãããã³ã«ã«ã€ããŠèª¬æããŠããŸãã</p> +</div> + +<h2 id="WebConsoleActor_ãš_WebConsoleClient"><code>WebConsoleActor</code> ãš <code>WebConsoleClient</code></h2> + +<p><code>WebConsoleActor</code> ã¯ã<a href="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/" title="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/"><code>toolkit/devtools/webconsole</code></a> ãã©ã«ãã®Â <a href="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/dbg-webconsole-actors.js" title="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/dbg-webconsole-actors.js"><code>dbg-webconsole-actors.js</code></a> ã«ãããŸãã</p> + +<p><code>WebConsoleClient</code> 㯠(<a href="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/" title="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/"><code>toolkit/devtools/webconsole</code></a> ã®) <a href="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/WebConsoleClient.jsm" title="http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/webconsole/WebConsoleClient.jsm"><code>WebConsoleClient.jsm</code></a> ã«ãããWeb ã³ã³ãœãŒã«ã¢ã¯ã¿ãŒã§äœæ¥ãããšãã«Web ã³ã³ãœãŒã«ã§äœ¿çšãããŸãã</p> + +<p>ãããã¬ã Web ã³ã³ãœãŒã«ã³ãŒãã§ã©ã®ããã«äœ¿çšãããŠãããã確èªããã«ã¯ã<a href="http://mxr.mozilla.org/mozilla-central/source/browser/devtools/webconsole/webconsole.js" title="http://mxr.mozilla.org/mozilla-central/source/browser/devtools/webconsole/webconsole.js"><code>browser/devtools/webconsole/webconsole.js</code></a> ãéãã<code>WebConsoleConnectionProxy</code> ãæ€çŽ¢ããŸãã</p> + +<p>æ°ãã Web ã³ã³ãœãŒã«ã¢ã¯ã¿ãŒã¯æ¬¡ã®ãšããã§ãã</p> + +<ul> + <li><code>WebConsoleActor</code> 㯠JS è©äŸ¡ããªãŒãã³ã³ããªãŒãããªã¹ããŒã®éå§/åæ¢ãªã©ãèš±å¯ããŸãã</li> + <li><code>NetworkEventActor</code> ã¯ãæ°ãããããã¯ãŒã¯ãªã¯ãšã¹ãããšã«äœ¿çšãããŸããã¯ã©ã€ã¢ã³ãã¯ãã¬ã¹ãã³ã¹æ¬æããªã¯ãšã¹ãããããŒãªã©ã詳现ãªãããã¯ãŒã¯ã€ãã³ãã®è©³çŽ°ãèŠæ±ã§ããŸãã</li> +</ul> + +<p><code>WebConsoleActor</code> ã«æ¥ç¶ããã«ã¯ã次ã®æé ãå®è¡ããŸãã</p> + +<pre class="brush:js;">connectToServer() // the usual +listTabs() +pickTheTabYouWant() +debuggerClient.attachConsole(tab.consoleActor, listeners, onAttachConsole) +</pre> + +<p><code>listeners</code> åŒæ°ã¯ãWeb ã³ã³ãœãŒã«ã§éå§ãããªã¹ããŒãæå®ããé
åã§ããããŒãžãšã©ãŒã<code>window.console</code> API ã¡ãã»ãŒãžããããã¯ãŒã¯ã¢ã¯ãã£ããã£ããã¡ã€ã«ã¢ã¯ãã£ããã£ãªã©ããããŸããäŸãã°ïŒ</p> + +<pre class="brush:js;">["PageError", "ConsoleAPI", "NetworkActivity", "FileActivity"]</pre> + +<div class="note"> +<p>Webã³ã³ãœãŒã«ã¢ã¯ã¿ã¯ããã©ã«ãã§ã¯ãªã¹ããŒãèµ·åããŸãããã¯ã©ã€ã¢ã³ãã«ã¯ãå¿
èŠãªãšãã«åãªã¹ããŒãèµ·åãããªãã·ã§ã³ããããŸãããã®æ¹æ³ã§ããµãŒããŒã§ã®ãªãœãŒã¹äœ¿çšçãäœãæããããšãã§ããŸããããã¯ããµãŒããŒãå°ãªããªãœãŒã¹ã§ããã€ã¹ãå®è¡ããå Žåã«èµ·ããããåé¡ã§ãã</p> +</div> + +<p><code>onAttachConsole</code> ã³ãŒã«ããã¯ã¯ <code>WebConsoleClient</code> ãªããžã§ã¯ãã®æ°ããã€ã³ã¹ã¿ã³ã¹ãåãåããŸãããã®ãªããžã§ã¯ã㯠<code>startListeners()</code>ã<code>stopListeners()</code> ãªã©ã®ãããã³ã«ãã±ãããæœè±¡åããã¡ãœãããæäŸããŸãã</p> + +<p>ãããã³ã«ãã±ããã¯æ¬¡ã®ããã«ãªããŸãã</p> + +<pre class="brush:json;">{ + "to": "root", + "type": "listTabs" +} +{ + "from": "root", + "consoleActor": "conn0.console9", + "selected": 2, + "tabs": [ + { + "actor": "conn0.tab2", + "consoleActor": "conn0.console7", + "title": "", + "url": "https://tbpl.mozilla.org/?tree=Fx-Team" + }, +// ... + ] +} +</pre> + +<p><code>consoleActor</code> ã¯<strong>ã°ããŒãã«ã¢ã¯ã¿ãŒ</strong>ãšããŠãå©çšå¯èœã§ããããšã«æ³šæããŠãã ãããã°ããŒãã« <code>consoleActor</code> ã«ã¢ã¿ãããããšããã¹ãŠã®ãããã¯ãŒã¯ãªã¯ãšã¹ããããŒãžãšã©ãŒãããã³ãã®ä»ã®ã€ãã³ã (ã¯ãã ãšã©ãŒããããã¯ãŒã¯ã€ãã³ããªã©) ããã¹ãŠã®ã¿ããšãŠã£ã³ããŠããåä¿¡ãããŸãããã®ã¢ã¯ã¿ãŒã¯ãã©ãŠã¶ã³ã³ãœãŒã«ã®å®è£
ãããªã¢ãŒã Firefox/B2G ã€ã³ã¹ã¿ã³ã¹ã®ãããã°ã«äœ¿çšãããŸãã</p> + +<h3 id="startListeners(listeners_onResponse)"><code>startListeners(listeners, onResponse)</code></h3> + +<p>æ°ãã <code>startListeners</code> ãã±ããïŒ</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "type": "startListeners", + "listeners": [ + "PageError", + "ConsoleAPI", + "NetworkActivity", + "FileActivity" + ] +} +</pre> + +<p>è¿çïŒ</p> + +<pre class="brush:json;">{ + "startedListeners": [ + "PageError", + "ConsoleAPI", + "NetworkActivity", + "FileActivity" + ], + "nativeConsoleAPI": true, + "from": "conn0.console9" +} +</pre> + +<p>ã¬ã¹ãã³ã¹ã¯éå§ããããªã¹ããŒã瀺ãã<code>window.console</code> ãªããžã§ã¯ããããŒãžå
ã®ã¹ã¯ãªããã«ãã£ãŠãªãŒããŒã©ã€ãããããã©ããã瀺ã <code>nativeConsoleAPI</code> ãã©ã°ãå«ã¿ãŸãã</p> + +<h3 id="ã¿ãããã²ãŒã·ã§ã³">ã¿ãããã²ãŒã·ã§ã³</h3> + +<p>ã¿ãããã²ãŒã·ã§ã³ã€ãã³ããåŸ
ã¡åããã«ã¯ãæå®ããã¿ãã®ã¿ãã¢ã¯ã¿ãŒã«ã¢ã¿ããããå¿
èŠããããŸãã<code>tabNavigated</code> éç¥ã¯ã¿ãã®ã¢ã¯ã¿ãŒããæ¥ãŸãã</p> + +<div class="warning"> +<p>Firefox 20 以åã§ã¯ãWeb ã³ã³ãœãŒã«ã®å®è¡è
ã¯<code>LocationChange</code>ãªã¹ããæäŸãã<code>locationChanged</code> éç¥ãé¢é£ä»ããŸãããããã¯ãã¯ãåœãŠã¯ãŸããŸãããWeb ã³ã³ãœãŒã«ã¯ã©ã€ã¢ã³ãã <code>tabNavigated</code> éç¥ãåå©çš (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=792062" title="https://bugzilla.mozilla.org/show_bug.cgi?id=792062">bug 792062</a>) ã§ããããã«å€æŽããŸããã</p> +</div> + +<p>ããŒãžããã²ãŒã·ã§ã³ãéå§ããããšã次ã®ãã±ãããã¿ãã¢ã¯ã¿ãŒããéä¿¡ãããŸãã</p> + +<pre class="brush: json"><code class="brush: json">{ + "from": tabActor, + "type": "tabNavigated", + "state": "start", + "url": newURL, + "nativeConsoleAPI": true +}</code> +</pre> + +<p><code>nativeConsoleAPI</code> ããããã£ã¯ã<code>window.console</code> ãªããžã§ã¯ãããã€ãã£ããã©ããããæå®ãããã¿ãã®ãããã¬ãã«ãŠã£ã³ããŠãªããžã§ã¯ãã«å¯ŸããŠç€ºããŸããããã¯ãããã²ãŒã·ã§ã³ãéå§ããããšåžžã« <code>true</code> ã«ãªããŸããããã²ãŒã·ã§ã³ãåæ¢ãããšã次ã®ãã±ãããéä¿¡ãããŸãã</p> + +<pre class="brush: json"><code>{ + "from": tabActor, + "type": "tabNavigated", + "state": "stop", + "url": newURL, + "title": newTitle, + "nativeConsoleAPI": true|false +}</code></pre> + +<h3 id="getCachedMessages(types_onResponse)"><code>getCachedMessages(types, onResponse)</code></h3> + +<p><code>webConsoleClient.getCachedMessages(types, onResponse)</code> ã¡ãœããã¯ã次ã®ãã±ããããµãŒããŒã«éä¿¡ããŸãã</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "type": "getCachedMessages", + "messageTypes": [ + "PageError", + "ConsoleAPI" + ] +} +</pre> + +<p><code>getCachedMessages</code> ãã±ããã䜿çšãããšãWeb ã³ã³ãœãŒã«ãéãåã«ãã£ãã·ã¥ãããã¡ãã»ãŒãžãååŸã§ããŸãã ããŒãžãšã©ãŒãšã³ã³ãœãŒã« API åŒã³åºãã®ãã£ãã·ã¥ã¡ãã»ãŒãžããååŸã§ããŸããã è¿ä¿¡ã¯æ¬¡ã®ããã«ãªããŸãã</p> + +<pre class="brush:json;">{ + "messages": [ ... ], + "from": "conn0.console9" +} +</pre> + +<p>é
åå
ã®åã¡ãã»ãŒãžã¯ãå
žåçãªããŒãžãšã©ãŒãã³ã³ãœãŒã« API ã³ãŒã«ãéä¿¡ãããšããšåãã¿ã€ãã§ãããããã«ã€ããŠã¯ãæ¬æžã®ä»¥äžã®ã»ã¯ã·ã§ã³ã§èª¬æããŸãã</p> + +<h3 id="ã¢ã¯ã¿ãŒèšå®">ã¢ã¯ã¿ãŒèšå®</h3> + +<p>Web ã³ã³ãœãŒã«ãå®è¡äžã«ãã°ãªãã·ã§ã³ãèšå®ã§ããããã«ã<code>setPreferences</code>ãã±ãããè¿œå ããŸããã</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "type": "setPreferences", + "preferences": { + "NetworkMonitor.saveRequestAndResponseBodies": false + } +} +</pre> + +<p>è¿ç:</p> + +<pre class="brush:json;">{ + "updated": [ + "NetworkMonitor.saveRequestAndResponseBodies" + ], + "from": "conn0.console10" +} +</pre> + +<p>䟿å®äž <code>webConsoleClient.setPreferences(prefs, onResponse)</code>ã䜿çšã§ããŸãã<code>prefs</code> åŒæ°ã¯ <code>{ prefName: prefValue, ... }</code> ã®ãããªãªããžã§ã¯ãã§ãã</p> + +<p>Firefox 25 ã§ã¯ <code>getPreferences</code> ãªã¯ãšã¹ããã±ãããè¿œå ãããŸããïŒ</p> + +<pre class="brush:json;">{ + "to": "conn0.console34", + "type": "getPreferences", + "preferences": [ + "NetworkMonitor.saveRequestAndResponseBodies" + ] +} +</pre> + +<p>è¿çãã±ããïŒ</p> + +<pre class="brush:json;">{ + "preferences": { + "NetworkMonitor.saveRequestAndResponseBodies": false + }, + "from": "conn0.console34" +} +</pre> + +<p><code>webConsoleClient.getPreferences(prefs, onResponse)</code> ã䜿çšããããšãã§ããŸãã<code>prefs</code> åŒæ°ã¯ãååã§å€ãååŸãããèšå®ã®é
åã§ãã</p> + +<h3 id="ãã©ã€ããŒããã©ãŠãžã³ã°">ãã©ã€ããŒããã©ãŠãžã³ã°</h3> + +<p>ãã©ãŠã¶ã³ã³ãœãŒã«ã¯ããŠãŒã¶ãŒããã©ã€ããŒããŠã£ã³ããŠãéããŠãããšãã«äœ¿çšã§ããŸããåããŒãžãšã©ãŒãã³ã³ãœãŒã« API ã¡ãã»ãŒãžãããã³ãããã¯ãŒã¯ãªã¯ãšã¹ãã«ã¯ãã©ã€ããŒããã©ã°ãä»ããŠããŸãããã©ã€ããŒãã¡ãã»ãŒãžã¯ãæåŸã®ãã©ã€ããŒããŠã£ã³ããŠãéãããããã³ã«ã¯ãªã¢ãããŸããã³ã³ãœãŒã«ã¢ã¯ã¿ã¯ <code>lastPrivateContextExited</code> éç¥ãæäŸããŸãã</p> + +<pre class="brush:json;">{ + "from": "conn0.console19", + "type": "lastPrivateContextExited" +} +</pre> + +<p>ãã®éç¥ã¯ã¯ã©ã€ã¢ã³ããã°ããŒãã«ã³ã³ãœãŒã«ã¢ã¯ã¿ãŒã«æ¥ç¶ãããŠããå Žåã«ã®ã¿éä¿¡ãããã¿ãã³ã³ãœãŒã«ã¢ã¯ã¿ãŒã«ã¯æå³ããªããŸããã</p> + +<div class="note"> +<p>ãã®éç¥ã¯ Firefox 24 ã§å°å
¥ãããŸããã</p> +</div> + +<h3 id="HTTP_ãªã¯ãšã¹ãã®éä¿¡">HTTP ãªã¯ãšã¹ãã®éä¿¡</h3> + +<p>Firefox 25 ãããã³ã³ãœãŒã«ã¢ã¯ã¿ã䜿çšã㊠HTTP ãªã¯ãšã¹ããéä¿¡ããããšãã§ããŸãïŒ</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "type": "sendHTTPRequest", + "request": { + "url": "http://localhost", + "method": "GET", + "headers": [ + { + name: "Header-name", + value: "header value", + }, + // ... + ], + }, +} +</pre> + +<p>ã¬ã¹ãã³ã¹ãã±ããã¯ããããã¯ãŒã¯ã€ãã³ãã¢ã¯ã¿ãŒã°ãªããã§ãã</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "eventActor": { + "actor": "conn0.netEvent14", + "startedDateTime": "2013-08-26T19:50:03.699Z", + "url": "http://localhost", + "method": "GET" + "isXHR": true, + "private": false + } +} +</pre> + +<p><code>webConsoleClient.sendHTTPRequest(request, onResponse)</code> ã¡ãœããã䜿çšããããšãã§ããŸãã<code>request</code> åŒæ°ã¯äžèšã®ãªã¯ãšã¹ããã±ããã® <code>request</code> ãªããžã§ã¯ããšåãã§ãã</p> + +<h2 id="ããŒãžãšã©ãŒ">ããŒãžãšã©ãŒ</h2> + +<p>ããŒãžãšã©ãŒã¯ <a href="/ja/docs/XPCOM_Interface_Reference/nsIConsoleService" title="/en-US/docs/XPCOM_Interface_Reference/nsIConsoleService"><code>nsIConsoleService</code></a> ããçºçããŸããèš±å¯ãããåããŒãžãšã©ãŒã¯ <a href="https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIScriptError" title="/en-US/docs/XPCOM_Interface_Reference/nsIScriptError"><code>nsIScriptError</code></a> ãªããžã§ã¯ãã§ãã</p> + +<p><code>pageError</code> ãã±ããã¯æ¬¡ã®ãšããã§ãã</p> + +<pre class="brush:json;">{ + "from": "conn0.console9", + "type": "pageError", + "pageError": { + "errorMessage": "ReferenceError: foo is not defined", + "sourceName": "http://localhost/~mihai/mozilla/test.js", + "lineText": "", + "lineNumber": 6, + "columnNumber": 0, + "category": "content javascript", + "timeStamp": 1347294508210, + "error": false, + "warning": false, + "exception": true, + "strict": false, + "private": false, + } +} +</pre> + +<p>åçŽåã®ããããã±ãã㯠<code>nsIScriptError</code> ã«äŒŒãŠããŸããããã€ãã®äžå¿
èŠãªããããã£ãåé€ãããã©ã°ã®åããå€æŽããŸããã</p> + +<p><code>private</code> ãã©ã°ã¯ããšã©ãŒããã©ã€ããŒããŠã£ã³ããŠ/ã¿ã (Firefox 24ã§è¿œå ããããã®) ããæ¥ããã®ãã©ããã瀺ããŸãã</p> + +<p>Firefox 24 以éãæååãéåžžã«é·ãå Žåã<code>errorMessage</code> ããã³ <code>lineText</code> ããããã£ã¯é·ãæååã¢ã¯ã¿ãŒã°ãªããã«ãªãããšããããŸãã</p> + +<h2 id="Console_API_ã¡ãã»ãŒãž">Console API ã¡ãã»ãŒãž</h2> + +<p><a href="/ja/docs/Web/API/console"><code>window.console</code> API</a> åŒã³åºãã¯ãGecko ãéããŠå
éšã¡ãã»ãŒãžãéä¿¡ããŸããããã«ãããååŒã³åºãã«å¿
èŠãªåŠçãå®è¡ã§ããŸããWeb ã³ã³ãœãŒã«ã®ã¢ã¯ã¿ãŒã¯ããããã®ã¡ãã»ãŒãžããªã¢ãŒããããã°ã¯ã©ã€ã¢ã³ãã«éä¿¡ããŸãã</p> + +<p><a href="https://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/debugger/server/dbg-script-actors.js" title="https://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/debugger/server/dbg-script-actors.js">dbg-script-actors.js</a> ã® <code>ObjectActor</code> ã <code>ThreadActor</code> ãªãã§äœ¿çšãããšãããŒãžã¹ã¯ãªããã®é床äœäžãé¿ããããšãã§ããŸãããããã¬ã¯ã¿ãŒã²ããããŒãžã§ JavaScript ã®å®è¡ãéæé©åããŸããWeb ã³ã³ãœãŒã«ã®<a href="https://searchfox.org/mozilla-central/source/devtools/docs/backend/protocol.md">ãªããžã§ã¯ãã¢ã¯ã¿ã®æå¹æé</a>ã¯ããããã¬å
ã®ãããã®ãªããžã§ã¯ãã®åç¶æéãšã¯ç°ãªããŸããéåžžãäžæåæ¢ãŸãã¯ã¹ã¬ããããšã§ãã Web ã³ã³ãœãŒã«ã¯ <code>ObjectActors</code> ã®æå¹æéãæåã§ç®¡çããŸãã</p> + +<div class="warning"> +<p>Firefox 23以åã¯ããããã³ã«ãéããŠJavaScriptãªããžã§ã¯ããæäœããããã«ãå¥ã®ã¢ã¯ã¿<code>(WebConsoleObjectActor</code>)ã䜿çšããŸããã<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=783499" title="https://bugzilla.mozilla.org/show_bug.cgi?id=783499">bug 783499</a>ã§ã¯ããããã¬ãã<code>ObjectActor</code>ãåå©çšããããã«ããã€ãã®å€æŽãè¡ããŸããã</p> +</div> + +<p>ã³ã³ãœãŒã« API ã¡ãã»ãŒãžã¯ <a href="https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIObserverService" title="/en-US/docs/XPCOM_Interface_Reference/nsIObserverService"><code>nsIObserverService</code></a> ãçµç±ããŸããã³ã³ãœãŒã«ãªããžã§ã¯ãã®å®è£
㯠<a href="http://mxr.mozilla.org/mozilla-central/source/dom/base/ConsoleAPI.js" title="http://mxr.mozilla.org/mozilla-central/source/dom/base/ConsoleAPI.js"><code>dom/base/ConsoleAPI.js</code></a> ã«ãããŸãã</p> + +<p>ãµãŒããŒã§åä¿¡ããã³ã³ãœãŒã«ã¡ãã»ãŒãžããšã«ã次㮠<code>consoleAPICall</code> ãã±ãããã¯ã©ã€ã¢ã³ãã«éä¿¡ããŸãã</p> + +<pre class="brush:json;">{ + "from": "conn0.console9", + "type": "consoleAPICall", + "message": { + "level": "error", + "filename": "http://localhost/~mihai/mozilla/test.html", + "lineNumber": 149, + "functionName": "", + "timeStamp": 1347302713771, + "private": false, + "arguments": [ + "error omg aloha ", + { + "type": "object", + "className": "HTMLBodyElement", + "actor": "conn0.consoleObj20" + }, + " 960 739 3.141592653589793 %a", + "zuzu", + { "type": "null" }, + { "type": "undefined" } + ] + } +} +</pre> + +<p>ããŒãžãšã©ãŒãéä¿¡ããæ¹æ³ãšåæ§ã«ãããã§ã¯ <code>nsIObserverService</code> ããåä¿¡ããå®éã®ã³ã³ãœãŒã«ã€ãã³ããéä¿¡ããŸãã<code>arguments</code> ã®é
åãå€æŽããŸã - åŒæ°ãšããŠæž¡ãããåãªããžã§ã¯ãã® <code>ObjectActor</code> ã€ã³ã¹ã¿ã³ã¹ãäœæããæåŸã«äžèŠãªãããã㣠(ãŠã£ã³ããŠIDãªã©) ãåé€ããŸããé·ãæååã®å Žåã<code>LongStringActor</code> ã䜿çšããŸããWeb ã³ã³ãœãŒã«ã¯åŒãæ°ãæ€æ»ã§ããŸãã</p> + +<p><code>private</code> ãã©ã°ã¯ãã³ã³ãœãŒã« API åŒã³åºãããã©ã€ããŒããŠã£ã³ããŠ/ã¿ã (Firefox 24 ã§è¿œå ããããã®) ããæ¥ãŠãããã©ããã瀺ããŸãã</p> + +<p>ãªãã¶ãŒããŒãµãŒãã¹ããåãåã£ãã³ã³ãœãŒã«ã€ãã³ããªããžã§ã¯ãã«ã¯å°ããªéããããããã«ãã³ã³ãœãŒã« API åŒã³åºãã¡ãœããã«å¿ããŠããªããžã§ã¯ãã®å°ããªããªãšãŒã·ã§ã³ããããŸãããããã®çžéç¹ã確èªããã«ã¯ãã³ã³ãœãŒã« API å®è£
ã® <a href="http://mxr.mozilla.org/mozilla-central/source/dom/base/ConsoleAPI.js" title="http://mxr.mozilla.org/mozilla-central/source/dom/base/ConsoleAPI.js">dom/base/ConsoleAPI.js</a> ãåç
§ããŠãã ããã</p> + +<h3 id="JavaScript_è©äŸ¡">JavaScript è©äŸ¡</h3> + +<h4 id="evaluateJS_ãªã¯ãšã¹ããšã¬ã¹ãã³ã¹ãã±ãã"><code>evaluateJS</code> ãªã¯ãšã¹ããšã¬ã¹ãã³ã¹ãã±ãã</h4> + +<p>Web ã³ã³ãœãŒã«ã¯ã©ã€ã¢ã³ã㯠<code>evaluateJS(requestId, string, onResponse)</code> ã¡ãœãããæäŸãã次ã®ãã±ãããéä¿¡ããŸãã</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "type": "evaluateJS", + "text": "document", + "bindObjectActor": null, + "frameActor": null, + "url": null, + "selectedNodeActor": null, +} +</pre> + +<p><code>bindObjectActor</code> ããããã£ã¯ã<code>Debugger.Object</code> ãæããªãã·ã§ã³ã® <code>ObjectActor</code> IDã§ãããã®ãªãã·ã§ã³ã䜿çšãããšãæååã®è©äŸ¡äžã« <code>_self</code> ãæå®ããããªããžã§ã¯ãã¢ã¯ã¿ãŒã® <code>Debugger.Object</code> ã«ãã€ã³ãã§ããŸãããã€ã³ãã£ã³ã°ã«ã€ããŠã¯ <a href="/ja/docs/Tools/Debugger-API/Debugger.Object"><code>evalInGlobalWithBindings()</code></a> ãåç
§ããŠãã ããã</p> + +<div class="note"> +<p>å€æ°ãã¥ãŒã¯ãªããžã§ã¯ããæŽæ°ããå¿
èŠãããã衚瀺ãããŠãã<code>ObjectActor</code>ã®<code>Debugger.Object</code>ã«<code>_self</code>ããã€ã³ãããããšã«ãã£ãŠãªããžã§ã¯ããæŽæ°ããå¿
èŠããããŸãã ãã®ãããå€æ°ãã¥ãŒã¯è©äŸ¡ã®ããã«æ¬¡ã®ãããªæååãéä¿¡ããŸãã</p> + +<pre class="brush:js;"> _self["prop"] = value; +</pre> +</div> + +<p><code>frameActor</code> ããããã£ã¯ããªãã·ã§ã³ã® <code>FrameActor</code> IDã§ããFA㯠<a href="/ja/docs/Tools/Debugger-API/Debugger.Frame"><code>Debugger.Frame</code></a> ãžã®åç
§ãä¿æããŸãããã®ãªãã·ã§ã³ã䜿çšãããšæå®ããã FA ã®ãã¬ãŒã å
ã®æååãè©äŸ¡ã§ããŸãã</p> + +<p><code>url</code> ããããã£ã¯ã¹ã¯ãªãããè©äŸ¡ããããã®ãªãã·ã§ã³ã® URL ã§ã(Firefox 25 ã®æ°æ©èœ)ãè©äŸ¡ã®ããã®ããã©ã«ãã®ãœãŒã¹ URL 㯠"debugger eval code" ã§ãã</p> + +<p><code>selectedNodeActor</code> ããããã£ã¯ãªãã·ã§ã³ã® <code>NodeActor</code> ID ã§ãããInspector ã§çŸåšéžæãããŠããããŒããããå Žåã¯ãã®ããŒãã瀺ãããã«äœ¿çšãããŸãããã® <code>NodeActor</code> 㯠<code>$0</code> JSTerm ãã«ããŒã«ãã£ãŠåç
§ã§ããŸãã</p> + +<p>ã¬ã¹ãã³ã¹ãã±ããïŒ</p> + +<pre class="brush:json;">{ + "from": "conn0.console9", + "input": "document", + "result": { + "type": "object", + "className": "HTMLDocument", + "actor": "conn0.consoleObj20" + "extensible": true, + "frozen": false, + "sealed": false + }, + "timestamp": 1347306273605, + "exception": null, + "exceptionMessage": null, + "helperResult": null +} +</pre> + +<ul> + <li><code>exception</code> ã¯ãè©äŸ¡äžã«ã¹ããŒãããäŸå€ã® JSON-ification ãä¿æããŸãã</li> + <li><code>exceptionMessage</code> 㯠<code>exception.toString()</code> ã®çµæãä¿æããŸãã</li> + <li><code>result</code> ã¯çµæã® <code>ObjectActor</code> ã€ã³ã¹ã¿ã³ã¹ãä¿æããŸãã</li> + <li><code>helperResult</code> 㯠JSTerm ãã«ããŒã®çµæãJSON ã®ãã® (ã³ã³ãã³ããªããžã§ã¯ãã§ã¯ãããŸãã) ããæ¥ããã®ã§ãã</li> +</ul> + +<div class="warning"> +<p>Firefox 23ã§ã¯ããããã³ã«ãšã©ãŒãçºçãããšãã«äœ¿çšãããããã©ã«ãããããã£ãšã®ç«¶åãé¿ããããã«ã<code>error</code>ããã³<code>errorMessage</code>ããããã£ã®ååããããã<code>exception</code>ããã³<code>exceptionMessage</code>ã«å€æŽããŸããã</p> +</div> + +<h3 id="Autocomplete_ãªã©">Autocomplete ãªã©</h3> + +<p><code>autocomplete</code> ãªã¯ãšã¹ããã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.console9", + "type": "autocomplete", + "text": "d", + "cursor": 1 +} +</pre> + +<p>ã¬ã¹ãã³ã¹ãã±ãã:</p> + +<pre class="brush:json;">{ + "from": "conn0.console9", + "matches": [ + "decodeURI", + "decodeURIComponent", + "defaultStatus", + "devicePixelRatio", + "disableExternalCapture", + "dispatchEvent", + "doMyXHR", + "document", + "dump" + ], + "matchProp": "d" +} +</pre> + +<p>ãŸããã¬ã¹ãã³ã¹ããªã <code>clearMessagesCache</code> ãªã¯ãšã¹ããã±ããããããŸããããã«ãããã³ã³ãœãŒã« API ã³ãŒã«ãã£ãã·ã¥ãã¯ãªã¢ãããããŒãžãšã©ãŒãã£ãã·ã¥ãã¯ãªã¢ãããã¯ãã§ãã<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=717611">ãã° 717611</a> ãåç
§ããŠãã ããã</p> + +<h2 id="ãããã¯ãŒã¯ãã®ã³ã°">ãããã¯ãŒã¯ãã®ã³ã°</h2> + +<h3 id="networkEvent_ãã±ãã"><code>networkEvent</code> ãã±ãã</h3> + +<p>æ°ãããããã¯ãŒã¯ãªã¯ãšã¹ãããã°ã«èšé²ããããã³ã« <code>networkEvent</code> ãã±ãããéä¿¡ãããŸãã</p> + +<pre class="brush:json;">{ + "from": "conn0.console10", + "type": "networkEvent", + "eventActor": { + "actor": "conn0.netEvent14", + "startedDateTime": "2012-09-17T19:50:03.699Z", + "url": "http://localhost/~mihai/mozilla/test2.css", + "method": "GET" + "isXHR": false, + "private": false + } +} +</pre> + +<p>ãã®ãã±ãã㯠Web ã³ã³ãœãŒã«ã«æ°ãããããã¯ãŒã¯ã€ãã³ããéç¥ããããã«äœ¿çšãããŸãããªã¯ãšã¹ãããšã«æ°ãã <code>NetworkEventActor</code> ã€ã³ã¹ã¿ã³ã¹ãäœæãããŸãã<code>isXHR</code> ãã©ã°ã¯ãªã¯ãšã¹ãã <a href="/ja/docs/Web/API/XMLHttpRequest">XMLHttpRequest</a> ã€ã³ã¹ã¿ã³ã¹ãä»ããŠéå§ããããã©ããã瀺ããŸããã€ãŸãã<a href="/ja/docs/XPCOM_Interface_Reference/nsIHttpChannel">nsIHttpChannel</a> ã®éç¥ã¯ <a href="/ja/docs/XPCOM_Interface_Reference/nsIXMLHttpRequest">nsIXMLHttpRequest</a> ã€ã³ã¿ãŒãã§ã€ã¹ã§ãã</p> + +<p><code>private</code> ãã©ã°ã¯ããããã¯ãŒã¯ãªã¯ãšã¹ãããã©ã€ããŒããŠã£ã³ããŠ/ã¿ã (Firefox 24 ã§è¿œå ããããã®) ããæ¥ããã®ãã©ããã瀺ããŸãã</p> + +<h3 id="NetworkEventActor"><code>NetworkEventActor</code></h3> + +<p>æ°ãããããã¯ãŒã¯ã€ãã³ãã¢ã¯ã¿ãŒã¯ãããã«ãªã¯ãšã¹ãããã³ã¬ã¹ãã³ã¹æ
å ±ãæ ŒçŽããŸãã</p> + +<h4 id="networkEventUpdate_ãã±ãã"><code>networkEventUpdate</code> ãã±ãã</h4> + +<p>å€æŽãçºçãããšããæ°ãããã®ãè¿œå ããããšãã« Web ã³ã³ãœãŒã« UI ãææ°ã®ç¶æ
ã«ä¿ã€å¿
èŠããããŸãããã®ç®çã®ããã«æ°ãã <code>networkEventUpdate</code> ãã±ãããéä¿¡ãããŸããäŸïŒ</p> + +<pre class="brush:json;">{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "requestHeaders", + "headers": 10, + "headersSize": 425 +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "requestCookies", + "cookies": 0 +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "requestPostData", + "dataSize": 1024, + "discardRequestBody": false +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "responseStart", + "response": { + "httpVersion": "HTTP/1.1", + "status": "304", + "statusText": "Not Modified", + "headersSize": 194, + "discardResponseBody": true + } +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "eventTimings", + "totalTime": 1 +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "responseHeaders", + "headers": 6, + "headersSize": 194 +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "responseCookies", + "cookies": 0 +}, +{ + "from": "conn0.netEvent14", + "type": "networkEventUpdate", + "updateType": "responseContent", + "mimeType": "text/css", + "contentSize": 0, + "discardResponseBody": true +} +</pre> + +<p>å®éã®ããããŒãCookieãããã³æ¬æã¯éä¿¡ãããŸããã</p> + +<h4 id="getRequestHeaders_ãšãã®ä»ã®ãã±ãã"><code>getRequestHeaders</code> ãšãã®ä»ã®ãã±ãã</h4> + +<p>ãããã¯ãŒã¯ã€ãã³ãã®è©³çŽ°ã«ã€ããŠã¯ã次ã®ãã±ãããªã¯ãšã¹ã (ããã³ã¬ã¹ãã³ã¹) ã䜿çšã§ããŸãã</p> + +<p><code>getRequestHeaders</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getRequestHeaders" +} +{ + "from": "conn0.netEvent15", + "headers": [ + { + "name": "Host", + "value": "localhost" + }, ... + ], + "headersSize": 350 +} +</pre> + +<p><code>getRequestCookies</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getRequestCookies" +} +{ + "from": "conn0.netEvent15", + "cookies": [] +} +</pre> + +<p><code>getResponseHeaders</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getResponseHeaders" +} +{ + "from": "conn0.netEvent15", + "headers": [ + { + "name": "Date", + "value": "Mon, 17 Sep 2012 20:05:27 GMT" + }, ... + ], + "headersSize": 320 +} +</pre> + +<p><code>getResponseCookies</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getResponseCookies" +} +{ + "from": "conn0.netEvent15", + "cookies": [] +} +</pre> + +<div class="note"> +<p>Firefox19ããæäŸéå§ïŒäžèšã®ãã±ããã®ãã¹ãŠã®ããããŒãšCookieã®å€ã«å¯ŸããŠãå€ãéåžžã«é·ãå Žåã¯<a href="https://wiki.mozilla.org/Remote_Debugging_Protocol#Objects" title="https://wiki.mozilla.org/Remote_Debugging_Protocol#Objects"><code>LongStringActor</code> grips</a>ã䜿çšããŸãã ããã«ããããããã¯ãŒã¯åž¯åå¹
ã®äœ¿ãéããé¿ããããšãã§ããŸãã</p> +</div> + +<p><code>getRequestPostData</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getRequestPostData" +} +{ + "from": "conn0.netEvent15", + "postData": { text: "foobar" }, + "postDataDiscarded": false +}</pre> + +<p><code>getResponseContent</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getResponseContent" +} +{ + "from": "conn0.netEvent15", + "content": { + "mimeType": "text/css", + "text": "\n@import \"test.css\";\n\n.foobar { color: green }\n\n" + }, + "contentDiscarded": false +} +</pre> + +<p>ãªã¯ãšã¹ããšã¬ã¹ãã³ã¹ã®å
容ã®ããã¹ãå€ã¯ãLongStringActorã°ãªããã䜿çšããŠæãäžè¬çã«éä¿¡ãããŸãã éåžžã«çããªã¯ãšã¹ã/ã¬ã¹ãã³ã¹ã®ããã£ã«ã€ããŠã¯ãçã®ããã¹ããéä¿¡ããŸãã</p> + +<div class="note"> +<p>Firefox19ããïŒéããã¹ãã¬ã¹ãã³ã¹ã¿ã€ãã®å ŽåãBase64ãšã³ã³ãŒãã£ã³ã°ïŒããã¯ãããã<code>LongStringActor</code>ã°ãªããã§ãïŒã§ã³ã³ãã³ããéä¿¡ããŸããéããäŒããã«ã¯ã<code>response.content.encoding == "base64"</code>ãã©ããã確èªããŠãã ããã</p> +</div> + +<p><code>getEventTimings</code> ãã±ãã:</p> + +<pre class="brush:json;">{ + "to": "conn0.netEvent15", + "type": "getEventTimings" +} +{ + "from": "conn0.netEvent15", + "timings": { + "blocked": 0, + "dns": 0, + "connect": 0, + "send": 0, + "wait": 16, + "receive": 0 + }, + "totalTime": 16 +} +</pre> + +<h3 id="fileActivity_ãã±ãã"><code>fileActivity</code> ãã±ãã</h3> + +<p>ãã¡ã€ã«ã®ããŒããç£èŠããããšã次㮠<code>fileActivity</code> ãã±ãããã¯ã©ã€ã¢ã³ãã«éä¿¡ãããŸãã</p> + +<pre class="brush:json;">{ + "from": "conn0.console9", + "type": "fileActivity", + "uri": "file:///home/mihai/public_html/mozilla/test2.css" +} +</pre> + +<h2 id="ãã¹ããªãŒ">ãã¹ããªãŒ</h2> + +<p>FirefoxããŒãžã§ã³ã«ãããããã³ã«ã®å€æŽïŒ</p> + +<ul> + <li>Firefox 18: åæããŒãžã§ã³ã</li> + <li>Firefox 19: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=787981" title="https://bugzilla.mozilla.org/show_bug.cgi?id=787981">bug 787981</a> - ããã€ãã®å Žæ㧠<code>LongStringActor</code> ã®äœ¿çšæ³ãè¿œå ããŸããã</li> + <li>Firefox 20: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=792062" title="https://bugzilla.mozilla.org/show_bug.cgi?id=792062">bug 792062</a> - removed <code>locationChanged</code> packet and updated the <code>tabNavigated</code> packet for tab actors.</li> + <li>Firefox 23: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=783499" title="https://bugzilla.mozilla.org/show_bug.cgi?id=783499">bug 783499</a> - removed the <code>WebConsoleObjectActor</code>. Now the Web Console uses the JavaScript debugger API and the <code>ObjectActor</code>.</li> + <li>Firefox 23: added the <code>bindObjectActor</code> and <code>frameActor</code> options to the <code>evaluateJS</code> request packet.</li> + <li>Firefox 24: new <code>private</code> flags for the console actor notifications, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=874061">bug 874061</a>. Also added the <code>lastPrivateContextExited</code> notification for the global console actor.</li> + <li>Firefox 24: new <code>isXHR</code> flag for the <code>networkEvent</code> notification, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=859046">bug 859046</a>.</li> + <li>Firefox 24: removed the <code>message</code> property from the <code>pageError</code> packet notification, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=877773">bug 877773</a>. The <code>lineText</code> and <code>errorMessage</code> properties can be long string actors now.</li> + <li>Firefox 25: added the <code>url</code> option to the <code>evaluateJS</code> request packet.</li> + <li>Firefox 25: added the <code>getPreferences</code> and <code>sendHTTPRequest</code> request packets to the console actor, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=886067" title="Bug 886067 - Netmonitor displays request sizes as '0 KB' after opening Console">bug 886067</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=731311" title="Bug 731311 - Network monitor should allow to replay and edit requests">bug 731311</a>.</li> +</ul> + +<h2 id="ãŸãšã">ãŸãšã</h2> + +<p>ãã®ææžã®å·çæç¹ã§ã¯ããã®ææžã¯ <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=768096" title="https://bugzilla.mozilla.org/show_bug.cgi?id=768096">ãã° 768096</a> ã§è¡ã£ãäœæ¥ãšããã«ç¶ãå€æŽããŸãšãããã®ã§ãããã®ããã¥ã¡ã³ããææ°ã®ç¶æ
ã«ä¿ã€ããåªããŠããŸãããããããªãã®åœ¹ç«ã€ããšãé¡ã£ãŠããŸãã</p> + +<p>Webã³ã³ãœãŒã«ãµãŒããŒãå€æŽããå Žåã¯ããã®ããã¥ã¡ã³ããæŽæ°ããŠãã ããã ããããšãããããŸããïŒ</p> diff --git a/files/ja/tools/web_console/rich_output/index.html b/files/ja/tools/web_console/rich_output/index.html new file mode 100644 index 0000000000..385586dd91 --- /dev/null +++ b/files/ja/tools/web_console/rich_output/index.html @@ -0,0 +1,75 @@ +--- +title: é«åºŠãªåºå +slug: Tools/Web_Console/Rich_output +translation_of: Tools/Web_Console/Rich_output +--- +<div>{{ToolsSidebar}}</div><p>ãŠã§ãã³ã³ãœãŒã«ã§ãªããžã§ã¯ããåºåããéã¯ããªããžã§ã¯ãåã ãã§ãªããããé«åºŠãªæ
å ±ã衚瀺ããŸããç¹ã«ã以äžã®ãããªæ
å ±ã§ã:</p> + +<ul> + <li><a href="/ja/docs/Tools/Web_Console/Rich_output#Type-specific_rich_output">ç¹å®ã®åã«ã€ããŠè¿œå æ
å ±ãæäŸ</a></li> + <li><a href="/ja/docs/Tools/Web_Console/Rich_output#Examining_object_properties">ãªããžã§ã¯ãã®ããããã£ã詳ãã調æ»</a></li> + <li><a href="/ja/docs/Tools/Web_Console/Rich_output#Highlighting_and_inspecting_DOM_nodes">DOM èŠçŽ ã®è©³çŽ°æ
å ±ãæäŸãããã³ã€ã³ã¹ãã¯ã¿ãŒã§èŠçŽ ã®éžæãå¯èœ</a></li> +</ul> + +<h2 id="Type-specific_rich_output" name="Type-specific_rich_output">åã«åºæã®é«åºŠãªåºå</h2> + +<p>ãŠã§ãã³ã³ãœãŒã«ã§ã¯ä»¥äžã®ããã«ãããŸããŸãªãªããžã§ã¯ãåã«ã€ããŠé«åºŠãªæ
å ±ãæäŸããŸã:</p> + +<table class="standard-table"> + <tbody> + <tr> + <td><code>Object</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9597/web-console-object.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Array</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9589/web-console-array.png" style="display: block; height: 38px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Date</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9591/web-console-date.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Promise</code></td> + <td> + <div class="geckoVersionNote"> + <p>Firefox 36 ã®æ°æ©èœ</p> + </div> + + <p><img alt="" src="https://mdn.mozillademos.org/files/9599/web-console-promise.png" style="display: block; height: 76px; margin-left: auto; margin-right: auto; width: 600px;"></p> + </td> + </tr> + <tr> + <td><code>RegExp</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9601/web-console-regexp.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Window</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9603/web-console-window.png" style="display: block; height: 38px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Document</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9593/web-console-document.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Element</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/9595/web-console-element.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td> + </tr> + <tr> + <td><code>Event</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/14434/webconsole-events.png" style="height: 51px; width: 600px;"></td> + </tr> + </tbody> +</table> + +<h2 id="Examining_object_properties" name="Examining_object_properties">ãªããžã§ã¯ãã®ããããã£ã調æ»</h2> + +<p>ãªããžã§ã¯ããã³ã³ãœãŒã«ã«åºåãããšãæäœã§è¡šç€ºããŸãããããã¯ãªãã¯ãããšããªããžã§ã¯ãã®è©³çŽ°æ
å ±ã衚瀺ããŠããæ°ããªããã«ãçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7381/commandline-inspecting.png" style="display: block; margin-left: auto; margin-right: auto;"><kbd>Esc</kbd> ãæŒäžãããšããã®ããã«ãéããŸãã</p> + +<h2 id="Highlighting_and_inspecting_DOM_nodes" name="Highlighting_and_inspecting_DOM_nodes">DOM ããŒãã®ãã€ã©ã€ã衚瀺ãšèª¿æ»</h2> + +<p>ã³ã³ãœãŒã«ã«åºåããã DOM èŠçŽ ã«ããŠã¹ãã€ã³ã¿ãŒãä¹ãããšããã®ããŒããããŒãžäžã§ãã€ã©ã€ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7379/commandline-highlightnode.png" style="display: block; margin-left: auto; margin-right: auto;">äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãã³ã³ãœãŒã«ã®åºåé åã§ããŒãã®é£ã« "æšç" ã®ã¢ã€ã³ã³ããããŸãããã®ã¢ã€ã³ã³ãã¯ãªãã¯ãããšããã®ããŒããéžæãã <a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</a> ã«åãæ¿ãããŸãã</p> diff --git a/files/ja/tools/web_console/split_console/index.html b/files/ja/tools/web_console/split_console/index.html new file mode 100644 index 0000000000..69ca618a7e --- /dev/null +++ b/files/ja/tools/web_console/split_console/index.html @@ -0,0 +1,26 @@ +--- +title: ã³ã³ãœãŒã«ã®åžžæ衚瀺 +slug: Tools/Web_Console/Split_console +translation_of: Tools/Web_Console/Split_console +--- +<div>{{ToolsSidebar}}</div> + +<p>ã³ã³ãœãŒã«ãå¥ã®ããŒã«ãšäžŠã¹ãŠäœ¿çšã§ããŸããããŒã«ããã¯ã¹ã§å¥ã®ããŒã«ã䜿çšããŠãããšãã« <kbd>Esc</kbd> ããŒãŸã㯠<a href="/ja/docs/Tools/Tools_Toolbox#Toolbar">ããŒã«ããŒ</a> ã® "ã³ã³ãœãŒã«ã®åžžæ衚瀺ãåãæ¿ããŸã" ãã¿ã³ãæŒäžããŠãã ãããããŒã«ããã¯ã¹ãåå²è¡šç€ºãããŠå
ã®ããŒã«ãäžæ®µããŠã§ãã³ã³ãœãŒã«ãäžæ®µã«è¡šç€ºãããŸãã</p> + +<p> </p> + +<p><kbd>Esc</kbd> ãããäžåºŠæŒããããã¹ããªããã³ã³ãœãŒã«ãé ããã¡ãã¥ãŒã³ãã³ããéžæããŠãã¹ããªããã³ã³ãœãŒã«ãéããããšãã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16106/split-console.png" style="border-style: solid; border-width: 1px; height: 77px; width: 350px;"></p> + +<p> </p> + +<p>{{EmbedYouTube("G2hyxhPHyXo")}}</p> + +<p>éåžžã®ã³ã³ãœãŒã«ãšåæ§ã«ã<code>$0</code> ã¯ã€ã³ã¹ãã¯ã¿ãŒã§éžæããŠããèŠçŽ ã®ã·ã§ãŒããã³ããšããŠåããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16105/split-console-debugger.png" style="display: block; height: 805px; margin-left: auto; margin-right: auto; width: 902px;"></p> + +<p>ãããã¬ã§ã¹ããªããã³ã³ãœãŒã«ã䜿çšãããšããã³ã³ãœãŒã«ã®ã¹ã³ãŒãã¯çŸåšå®è¡äžã®ã¹ã¿ãã¯ãã¬ãŒã ã«ãªããŸãããã£ãŠé¢æ°å
ã§ãã¬ãŒã¯ãã€ã³ãã«åœãã£ãå Žåãã³ã³ãœãŒã«ã®ã¹ã³ãŒãã¯é¢æ°ã®ã¹ã³ãŒãã«ãªããŸããé¢æ°å
ã§å®çŸ©ãããªããžã§ã¯ãã®ãªãŒãã³ã³ããªãŒããå¯èœã§ãããå®è¡äžã«ããããç°¡åã«å€æŽã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/16107/split-console-show-debug.png" style="display: block; height: 805px; margin-left: auto; margin-right: auto; width: 902px;"></p> diff --git a/files/ja/tools/web_console/the_command_line_interpreter/index.html b/files/ja/tools/web_console/the_command_line_interpreter/index.html new file mode 100644 index 0000000000..45c0958db4 --- /dev/null +++ b/files/ja/tools/web_console/the_command_line_interpreter/index.html @@ -0,0 +1,123 @@ +--- +title: ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒããªã¿ãŒ +slug: Tools/Web_Console/The_command_line_interpreter +translation_of: Tools/Web_Console/The_command_line_interpreter +--- +<p>{{ToolsSidebar}}</p> + +<p>ãŠã§ãã³ã³ãœãŒã«ã®ã³ãã³ãã©ã€ã³ã§ãJavaScript ã®æ§æãå³åº§ã«è©äŸ¡ããããšãã§ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13280/console-cli.png" style="display: block; height: 296px; margin-left: auto; margin-right: auto; width: 877px;"></p> + +<h2 id="Entering_expressions" name="Entering_expressions">åŒãå
¥åãã</h2> + +<p>åŒã®å
¥åæ¹æ³ã¯ãã³ãã³ãã©ã€ã³ã«å
¥åã㊠<kbd>Enter</kbd> ãæŒäžããã ãã§ããè€æ°è¡ã®åŒãå
¥åããå Žåã¯ã<kbd>Enter</kbd> ã®ä»£ããã« <kbd>Shift</kbd>+<kbd>Enter</kbd> ã䜿çšããŸãã</p> + +<p>å
¥åããåŒãã¡ãã»ãŒãžè¡šç€ºãŠã£ã³ããŠã«ãšã³ãŒåºåããŠããã®åŸã«çµæãåºåããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7377/commandline-executejs.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<div class="geckoVersionNote">Firefox 47 ã®æ°æ©èœ</div> + +<p>Firefox 47 ããã<kbd>Enter</kbd> ãæŒäžãããšãã«å
¥åãå®äºããŠããªããšæãããå Žåã¯ã<kbd>Shift</kbd>+<kbd>Enter</kbd> ãšããŠæ±ããå
¥åãå®äºã§ããããã«ãªããŸããã</p> + +<p>äŸãã°ã以äžã®ããã«å
¥åããŸã:</p> + +<pre class="brush: js">function foo() {</pre> + +<p>ãã㊠<kbd>Enter</kbd> ãæŒäžãããšãã³ã³ãœãŒã«ã¯çŽã¡ã«å
¥åå
容ãå®è¡ããã« <kbd>Shift</kbd>+<kbd>Enter</kbd> ãæŒäžãããã®ããã«åäœããŸãã®ã§ãé¢æ°å®çŸ©ã®å
¥åãå®äºã§ããŸãã</p> + +<h2 id="Accessing_variables" name="Accessing_variables">å€æ°ã«ã¢ã¯ã»ã¹ãã</h2> + +<p>ããŒãžã§å®çŸ©ããŠããå€æ°ã«ã¢ã¯ã»ã¹ããããšãã§ãã<code>window</code> ã®ããã«çµã¿èŸŒã¿æžã¿ã®å€æ°ãš <code>jQuery</code> ã®ããã« JavaScript ã§è¿œå ããå€æ°ã®ã©ã¡ãã§ãå¯èœã§ã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7367/commandline-accessbuiltin.png" style="display: block; margin-left: auto; margin-right: auto;"><img alt="" src="https://mdn.mozillademos.org/files/7369/commandline-accesspageadded.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h2 id="Autocomplete" name="Autocomplete">ãªãŒãã³ã³ããªãŒã</h2> + +<p>ã³ãã³ãã©ã€ã³ã«ãªãŒãã³ã³ããªãŒãæ©èœããããŸããæåã®æ°æåãå
¥åãããšãèããããå®æ圢ã瀺ããããã¢ããã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7375/commandline-autocomplete.png" style="display: block; margin-left: auto; margin-right: auto;">åè£ãåãå
¥ããã«ã¯ <kbd>Enter</kbd> ãŸã㯠<kbd>Tab</kbd> ãæŒäžããŸãããŸãäž/äžç¢å°ããŒã§å¥ã®åè£ãžç§»åã§ããŸããã©ã®åè£ãæãŸãªãå Žåã¯å
¥åãç¶ããŠãã ããã</p> + +<p>ã³ã³ãœãŒã«ã¯ãçŸåšå®è¡äžã®ã¹ã¿ãã¯ãã¬ãŒã ã®ã¹ã³ãŒãããåè£ãæ瀺ããŸããããã«ããé¢æ°å
ã§ãã¬ãŒã¯ãã€ã³ãã«åœãã£ãå Žåã¯ãé¢æ°å
ã®ããŒã«ã«ãªããžã§ã¯ãããªãŒãã³ã³ããªãŒãã®å¯Ÿè±¡ã«ãªããŸãã</p> + +<p>é
åèŠçŽ åãã®ãªãŒãã³ã³ããªãŒãåè£ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7383/commandline-arrayautocomplete.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h2 id="Defining_variables" name="Defining_variables">å€æ°ãå®çŸ©ãã</h2> + +<p>ç¬èªã®å€æ°ãå®çŸ©ãããããã®å€æ°ã«ã¢ã¯ã»ã¹ãããã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7371/commandline-addingvariable1.png" style="display: block; margin-left: auto; margin-right: auto;"><img alt="" src="https://mdn.mozillademos.org/files/7373/commandline-addingvariable2.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<h2 id="Command_history" name="Command_history">ã³ãã³ãå±¥æŽ</h2> + +<p>ã³ãã³ãã©ã€ã³ã¯ãããªããå
¥åããã³ãã³ããèŠããŠããŸã: äžäžç¢å°ããŒã§ãå±¥æŽãè¡ãæ¥ã§ããŸãã</p> + +<p>Firefox 39 ããããã®å±¥æŽã¯ã»ãã·ã§ã³ããŸããã§ç¶æããããã«ãªããŸãããå±¥æŽãã¯ãªã¢ããã«ã¯ã<code>clearHistory()</code> <a href="/ja/docs/Tools/Web_Console/The_command_line_interpreter#Helper_commands">æ¯æŽã³ãã³ã</a> ã䜿çšããŠãã ããã</p> + +<h2 id="Working_with_iframes" name="Working_with_iframes">iframe ã§äœæ¥ãã</h2> + +<p>ããŒãžã« <a href="/ja/docs/Web/HTML/Element/iframe">ã€ã³ã©ã€ã³ãã¬ãŒã </a> ãåã蟌ãã§ããå Žåã¯ã<code>cd()</code> ã³ãã³ãã§ç¹å®ã®ã€ã³ã©ã€ã³ãã¬ãŒã ã«ã³ã³ãœãŒã«ã®ã¹ã³ãŒããåãæ¿ããããšãã§ããŸãããŸããã€ã³ã©ã€ã³ãã¬ãŒã ã§è¡šç€ºããŠããããã¥ã¡ã³ãã§å®çŸ©ããé¢æ°ãå®è¡ã§ããŸãã<code>cd()</code> ã§ã€ã³ã©ã€ã³ãã¬ãŒã ãéžæããæ¹æ³ã¯ 3 éããããŸã:</p> + +<p>ã€ã³ã©ã€ã³ãã¬ãŒã ã® DOM èŠçŽ ãæž¡ãããšãã§ããŸã:</p> + +<pre class="brush: js">var frame = document.getElementById("frame1"); +cd(frame);</pre> + +<p>ã€ã³ã©ã€ã³ãã¬ãŒã ã«ããããã CSS ã»ã¬ã¯ã¿ãŒãæž¡ãããšãã§ããŸã:</p> + +<pre class="brush: js">cd("#frame1");</pre> + +<p>ã€ã³ã©ã€ã³ãã¬ãŒã ã® window ã°ããŒãã«ãªããžã§ã¯ããæž¡ãããšãã§ããŸã:</p> + +<pre class="brush: js">var frame = document.getElementById("frame1"); +cd(frame.contentWindow); +</pre> + +<p>ãããã¬ãã«ã® window ã«ã³ã³ããã¹ããæ»ãå Žåã¯ãåŒæ°ãäžããã« <code>cd()</code> ãåŒã³åºããŠãã ãã:</p> + +<pre class="brush: js">cd();</pre> + +<p>äŸãã°ãã€ã³ã©ã€ã³ãã¬ãŒã ãåã蟌ãã ããã¥ã¡ã³ãããããã®ãšããŸã:</p> + +<pre class="brush: html"><!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + </head> + <body> + <iframe id="frame1" src="static/frame/my-frame1.html"></iframe> + </body> +</html></pre> + +<p>ã€ã³ã©ã€ã³ãã¬ãŒã ã§æ°ããªé¢æ°ãå®çŸ©ããŠããŸã:</p> + +<pre class="brush: html"><!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <script> + function whoAreYou() { + return "I'm frame1"; + } + </script> + </head> + <body> + </body> +</html></pre> + +<p>以äžã®ããã«ããŠã³ã³ããã¹ããã€ã³ã©ã€ã³ãã¬ãŒã ã«åãæ¿ããããšãã§ããŸã:</p> + +<pre class="brush: js">cd("#frame1");</pre> + +<p>ã°ããŒãã« window ã® document ãã€ã³ã©ã€ã³ãã¬ãŒã ã§ããããšãããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7355/web-console-iframe-document.png" style="display: block; height: 75px; margin-left: auto; margin-right: auto; width: 632px;">ãŸããã€ã³ã©ã€ã³ãã¬ãŒã å
ã§å®çŸ©ããé¢æ°ãåŒã³åºãããšãã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/7357/web-console-iframe-function.png" style="display: block; height: 77px; margin-left: auto; margin-right: auto; width: 632px;"></p> + +<h2 id="Helper_commands" name="Helper_commands">æ¯æŽã³ãã³ã</h2> + +<p>{{page("/ja/Using_the_Web_Console/Helpers", "The commands")}}</p> diff --git a/files/ja/tools/webide/index.html b/files/ja/tools/webide/index.html new file mode 100644 index 0000000000..dbf0d9acf3 --- /dev/null +++ b/files/ja/tools/webide/index.html @@ -0,0 +1,42 @@ +--- +title: WebIDE +slug: Tools/WebIDE +tags: + - Apps + - Debugging + - Firefox OS + - WebIDE + - tool + - ã¢ã㪠+ - ããŒã« +translation_of: Archive/WebIDE +--- +<div>{{ToolsSidebar}}</div> + +<div class="summary"> +<p>WebIDEã§ã¯ãAndroid ç Firefox ã Android ç Chrome ãiOS ç Safari ãšãã£ãããŸããŸãªãã©ãŠã¶ã«ã<a href="/ja/docs/Tools">Firefox ã®éçºããŒã«</a>ãæ¥ç¶ã§ããŸããåãã©ãŠã¶ã«æ¥ç¶ããæé ã«ã€ããŠã¯ã<a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a>ã®ããŒãžãã芧ãã ããã</p> +</div> + +<p>WebIDE ã§ã¯ãå§ãã« <a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes">1 ã€ä»¥äžã®ã©ã³ã¿ã€ã ãã»ããã¢ãã</a>ããŸããã©ã³ã¿ã€ã ã¯ãã¢ããªã®å®è¡ããããã°ãè¡ãç°å¢ã§ããã©ã³ã¿ã€ã 㯠USB (<a href="/ja/Firefox/Releases/39">Firefox 39</a> 以éã§ã¯ Wi-Fi ãå¯èœ) ã§ããœã³ã³ã«æ¥ç¶ãã Firefox OS ããã€ã¹ããããœã³ã³èªäœã«ã€ã³ã¹ããŒã«ãã Firefox OS ã·ãã¥ã¬ãŒã¿ã䜿çšã§ããŸãã</p> + +<p>次ã«ã<a href="/ja/docs/Tools/WebIDE/Creating_and_editing_apps">ã¢ããªãäœæãããæ¢åã®ã¢ããªãéããŸã</a>ãã¢ããªãæ°èŠäœæããå Žåã¯ãã¢ããªãäœãå§ããã®ã«å¿
èŠãªãã£ã¬ã¯ããªæ§é ãæå°éã®æšæºã¢ãã«ãåãããã³ãã¬ãŒãããPrivileged API ã䜿çšããæ¹æ³ã瀺ããããå
å®ãããã³ãã¬ãŒãã䜿çšã§ããŸããWebIDE ã¯ã¢ããªå
ã®ãã¡ã€ã«ãããªãŒã«è¡šç€ºããŸãããŸãå
èµã®ãœãŒã¹ãšãã£ã¿ã§ãããã®ç·šéãä¿åãå¯èœã§ãããã¡ãããå
èµã®ãšãã£ã¿ã䜿çšããªãããšãå¯èœã§ããã¢ããªã®éçºã¯ WebIDE ã®å€éšã§è¡ãããããã°ã«ã®ã¿ WebIDE ã䜿çšã§ããŸãã</p> + +<p>ãããŠã<a href="/ja/docs/Tools/WebIDE/Running_and_debugging_apps">ã¢ããªãããããã®ã©ã³ã¿ã€ã ã«ã€ã³ã¹ããŒã«ããŠå®è¡ã§ããŸã</a>ããŸãå®è¡äžã®ã¢ããªã調æ»ãŸãã¯å€æŽããããã«<a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿</a>ã<a href="/ja/docs/Tools/Web_Console">ã³ã³ãœãŒã«</a>ã<a href="/ja/docs/Tools/Debugger">JavaScript ãããã¬</a>ãªã©ã®éçºããŒã«äžåŒãéãããšãã§ããŸãã</p> + +<hr> +<dl> + <dt><a href="/ja/docs/Tools/WebIDE/Opening_WebIDE">WebIDE ãéã</a></dt> + <dd>Firefox 㧠WebIDE ãéãæ¹æ³ã説æããŸãã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes">ã©ã³ã¿ã€ã ã®ã»ããã¢ãã</a></dt> + <dd>Firefox OS ããã€ã¹ãFirefox OS ã·ãã¥ã¬ãŒã¿ãAndroid ç Firefox ãšãã£ããã¢ããªã®ã€ã³ã¹ããŒã«ãå¯èœãªã©ã³ã¿ã€ã ã«æ¥ç¶ããæ¹æ³ã説æããŸãã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Creating_and_editing_apps">ã¢ããªã®äœæãšç·šé</a></dt> + <dd>WebIDE ã䜿çšããŠã¢ããªãäœæããéããŠãéçºããæ¹æ³ã説æããŸãã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/The_runtime_menu">ã©ã³ã¿ã€ã ã¡ãã¥ãŒ</a></dt> + <dd>ã©ã³ã¿ã€ã ãéžæãããšã©ã³ã¿ã€ã ã¡ãã¥ãŒã䜿çšããŠãã©ã³ã¿ã€ã ãã¢ããªã®æ
å ±ã確èªããããèšå®ãå€æŽããããã¹ã¯ãªãŒã³ã·ã§ãããååŸããããšãã§ããŸãã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Running_and_debugging_apps">ã¢ããªã®å®è¡ãšãããã°</a></dt> + <dd>ã¢ããªãã©ã³ã¿ã€ã ã«ã€ã³ã¹ããŒã«ããæ¹æ³ããFirefox ã®éçºããŒã«ã䜿çšããŠãããã°ããæ¹æ³ã説æããŸãã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Working_with_Cordova_apps_in_WebIDE">WebIDE 㧠Cordova ã¢ããªãæ±ã</a></dt> + <dd>Firefox 39 ãããWebIDE 㧠Cordova ã¢ããªã®ç·šéããããã°ãå¯èœã«ãªããŸããã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Troubleshooting">ãã©ãã«ã·ã¥ãŒãã£ã³ã°</a></dt> + <dd>WebIDE ã®ãã©ãã«ãç¹ã«ã©ã³ã¿ã€ã ãšã®æ¥ç¶ã«é¢ãããã©ãã«ã®ãã«ãã§ãã</dd> +</dl> diff --git a/files/ja/tools/webide/monitor/index.html b/files/ja/tools/webide/monitor/index.html new file mode 100644 index 0000000000..a869b6e659 --- /dev/null +++ b/files/ja/tools/webide/monitor/index.html @@ -0,0 +1,158 @@ +--- +title: ã¢ãã¿ +slug: Tools/WebIDE/Monitor +translation_of: Archive/WebIDE/Monitor +--- +<div>{{ToolsSidebar}}</div><div class="summary"> +<p>WebIDE ã®ã¢ãã¿ã¯ã<a href="/ja/Firefox_OS">Firefox OS</a> ã¢ããªã端æ«ã®ããã©ãŒãã³ã¹ã®è¿œè·¡ãæ¯æŽããããã«èšèšãããæ±çšããŒã¿ããŒã«ã§ãã</p> +</div> + +<p><img alt="The WebIDE Monitor" src="https://thefiletree.com/jan/shots/monitor/monitor.png" style="height: 464px; width: 800px;"></p> + +<p>ã¢ãã¿ã¯æç³»åãå¯èŠåããããããªã¢ã«ã¿ã€ã ã«ã€ã³ã¿ã©ã¯ãã£ããªã°ã©ãã衚瀺ã§ããŸãã</p> + +<h2 id="Available_graphs" name="Available_graphs">䜿çšå¯èœãªã°ã©ã</h2> + +<p>ã¢ãã¿ã¯ãããŸããŸãªã°ã©ããæäŸããŸãããããã¯éåžžãWebIDE ã Firefox OS ã®ã©ã³ã¿ã€ã ã«æ¥ç¶ãããšããã衚瀺ããŸãã</p> + +<h3 id="Unique_Set_Size" name="Unique_Set_Size">Unique Set Size</h3> + +<p><img alt="Unique Set Size" src="https://thefiletree.com/jan/shots/monitor/uniquesetsize.png" style="height: 310px; width: 879px;"></p> + +<p>ãã®ã°ã©ãã¯ããã¹ãŠã® Firefox OS ããã»ã¹ã®ã¡ã¢ãªãããããªã³ããæç³»åã§è¡šç€ºããŸããFirefox OS ã¢ããªã®ã¡ã¢ãªæ¶è²»ã«é¢å¿ãããå Žåã¯ãã®ã°ã©ãã衚瀺ããã°ãã¢ããªã®ããã»ã¹ã䜿çšãããã©ã€ããŒãã¡ã¢ãªã衚瀺ãããŸãã</p> + +<h2 id="Displaying_your_own_data" name="Displaying_your_own_data">ç¬èªããŒã¿ã衚瀺ãã</h2> + +<p>ã¢ãã¿ã¯å€ãã®ããŸããŸãªçºä¿¡å
ããèªç±ãªåœ¢åŒã®ããŒã¿ãåãå
¥ããŸãã®ã§ãã©ã®ãããªçš®é¡ã®ããŒã¿ã§ãæ¯èŒç容æã«è¡šç€ºã§ããŸãã</p> + +<h3 id="From_a_Firefox_OS_device" name="From_a_Firefox_OS_device">Firefox OS ããã€ã¹ãã</h3> + +<p>Observer éç¥ã®éä¿¡ã«ãããæ¥ç¶ãã端æ«ããããŒã¿ãéä¿¡ã§ããŸãã</p> + +<p>泚èš: <a href="/Marketplace/Options/Packaged_apps#Certified_app" title="Certified app">èªå®ã¢ããª</a>ã§ãããè¡ãããå Žåã¯ã<a href="/ja/docs/Tools/WebIDE/Running_and_debugging_apps#Unrestricted_app_debugging_(including_certified_apps_main_process_etc.)" title="Debugging certified apps">ãã¡ãã®æé </a>ã«åŸã£ãŠãã ããã</p> + +<p><code>Services.obs.notifyObservers(null, 'devtools-monitor-update', data);</code></p> + +<p>chrome æš©éãæ〠JS ã³ãŒããããããŒã¿ãéä¿¡ã§ããŸãããã JS ã³ãŒãã®å®è¡æéã枬å®ããäŸã瀺ããŸã:</p> + +<h4 id="JavaScript" name="JavaScript">JavaScript</h4> + +<pre class="brush: js">const Services = require('Services'); + +var start = Date.now(); +// code to benchmark +var stop = Date.now(); + +var data = { graph: 'Performance', myFeature: stop-start, time: stop }; +Services.obs.notifyObservers(null, 'devtools-monitor-update', JSON.stringify(data));</pre> + +<h4 id="C" name="C">C++</h4> + +<pre class="brush: cpp">observerService->NotifyObservers(nullptr, "devtools-monitor-update", data);</pre> + +<p>Gecko ã®ã©ãããã§ãããŒã¿ãéä¿¡ã§ããŸããããã³ãŒãã®å®è¡æéã枬å®ããäŸã瀺ããŸã:</p> + +<pre class="brush: cpp">#include <time.h> +#include "nsPrintfCString.h" +#include "nsIObserverService.h" + +clock_t start = clock(); +// code to benchmark +clock_t stop = clock(); +double time = (double)(stop - start) / (CLOCKS_PER_SEC / 1000); + +nsCOMPtr<nsIObserverService> observerService = services::GetObserverService(); +if (observerService) { + nsPrintfCString str("{\"graph\":\"Performance\",\"myFeature\":%f}", time); + nsAutoString data = NS_ConvertUTF8toUTF16(str); + observerService->NotifyObservers(nullptr, "devtools-monitor-update", data.get()); +}</pre> + +<h3 id="From_your_computer" name="From_your_computer">ã³ã³ãã¥ãŒã¿ãã</h3> + +<p>WebSocket ãµãŒããéããŠãç°¡åã«ã¢ãã¿ãžããŒã¿ãéä¿¡ã§ããŸããFirefox ã®æ¡åŒµæ©èœãã³ãã³ãã©ã€ã³ããŒã«ãWeb ãµãŒãã¹ãäœæããå Žåã«åœ¹ç«ã€ã§ãããã</p> + +<p>ããã©ã«ãã§ã¯ãã¢ãã¿ã¯ã³ã³ãã¥ãŒã¿ã® 9000 çªããŒãã§å®è¡ãããµãŒããèŠãŠããŸããããã¯ãèšå®é
ç® <code>devtools.webide.monitorWebSocketURL</code> ã§å€æŽã§ããŸãã</p> + +<p>ã¢ãã¿ã¯ããŒã«ã«ãããã¯ãŒã¯å
ã ãã§ãªããã€ã³ã¿ãŒãããã®ã©ãããã§ãããŒã¿ãåãå
¥ããããã«ããããšãã§ããŸãã</p> + +<h4 id="Node.js" name="Node.js">Node.js</h4> + +<pre class="brush: js">TODO</pre> + +<h4 id="Python" name="Python">Python</h4> + +<pre class="brush: python">TODO</pre> + +<h3 id="Supported_formats" name="Supported_formats">ãµããŒããã圢åŒ</h3> + +<p>ã¢ãã¿ã¯ãæŠã以äžã®ãã㪠JSON ãªããžã§ã¯ã圢åŒã®ããŒã¿ãåãå
¥ããŸã:</p> + +<pre class="brush: json">{ + "graph": "myGraph", + "curve": "myCurve", + "value": 42, + "time": 1234567890 +}</pre> + +<p>ãã®åœ¢åŒã¯é«ãæè»æ§ãæãããããšãããã®ã§ããæå®ãããã°ã©ããååšããªãå Žåã¯ãèªåçã«äœæããŸãã</p> + +<h4 id="Arbitrary_names" name="Arbitrary_names">ä»»æã®å称</h4> + +<p>èªèã§ããªãé
ç®ã¯ãã°ã©ãã®å称ãšå€ã§ãããšã¿ãªããŸãã</p> + +<p>éä¿¡å¯èœãªæå°ã®ãã±ããã¯ä»¥äžã®ãããªãã®ã§ã:</p> + +<pre class="brush: json">{ "myCurve": 42 }</pre> + +<p>ããã¯ç¡åã®ã°ã©ãã® "myCurve" ã«ãããŒã¿ãã€ã³ããè¿œå ããŸãã<code>time</code> ããªãå Žåã®æ¢å®å€ã¯ãã¢ãã¿ããã±ãããåãåã£ãæå»ã§ãã</p> + +<p>粟床ãé«ãããããããŒã¿ã§åžžã« <code>timestamp</code> ãæå®ãããšããã§ããã:</p> + +<pre class="brush: json">{ + "current": 60, + "voltage": 500, + "time": 1234567890 +}</pre> + +<h4 id="Multiple_values" name="Multiple_values">è€æ°ã®å€</h4> + +<p>1 åã®æŽæ°ã§ãè€æ°ã®ã°ã©ãã®ããŒã¿ãéä¿¡ã§ããŸã:</p> + +<pre class="brush: json">{ + "graph": "myGraph", + "myCurve1": 50, + "myCurve2": 300, + "myCurve3": 9000, + "time": 1234567890 +}</pre> + +<p>ãŸãã¯ãã²ãšã€ã®ã°ã©ãã«è€æ°ã®ããŒã¿ãã€ã³ãã瀺ãããšãã§ããŸã:</p> + +<pre class="brush: json">{ + "graph": "myGraph", + "curve": "myCurve", + "values": [ + { "time": 1234567890, "value": 42 }, + { "time": 1234567981, "value": 51 } + ] +}</pre> + +<h4 id="Multiple_updates" name="Multiple_updates">è€æ°ã®æŽæ°</h4> + +<p>é
å圢åŒã§ãè€æ°ã®æŽæ°ããŒã¿ãéä¿¡ããããšãã§ããŸã:</p> + +<pre class="brush: json">[ + { "graph": "Memory", "time": 1234567890, "System": 2600, "My App": 1000 }, + { "graph": "Power", "time": 1234567890, "current": 60, "voltage": 500 } +]</pre> + +<h4 id="Punctual_events" name="Punctual_events">æéæå®ã®ã€ãã³ã</h4> + +<p>ã°ã©ãå
ã®åçŽç·ã§ç¹å®ã®ã€ãã³ãã瀺ããããæŽæ°ããŒã¿ã« <code>event</code> ããŒãä»å ããŸã:</p> + +<pre class="brush: json">{ + "graph": "myGraph", + "event": "myEvent", + "time": 1234567980 +}</pre> diff --git a/files/ja/tools/webide/opening_webide/index.html b/files/ja/tools/webide/opening_webide/index.html new file mode 100644 index 0000000000..eacbcba536 --- /dev/null +++ b/files/ja/tools/webide/opening_webide/index.html @@ -0,0 +1,30 @@ +--- +title: WebIDE ãéã +slug: Tools/WebIDE/Opening_WebIDE +tags: + - DevTools + - WebIDE + - opening +translation_of: Archive/WebIDE/Opening_WebIDE +--- +<div>{{ToolsSidebar}}</div><p>WebIDE ãéãæ¹æ³ã¯ 3 ã€ãããŸã:</p> + +<ul> + <li><em>ããŒã« > Web éçº</em> ã¡ãã¥ãŒã§ <em>WebIDE</em> ãã¯ãªãã¯ããã</li> + <li>ããŒããŒãã·ã§ãŒãã«ãã <em>Shift + F8</em> ã䜿çšããã</li> + <li>Firefox ããŒã«ããŒã®ã¢ã€ã³ã³ãã¯ãªãã¯ããã<a href="/ja/Firefox/Developer_Edition">Firefox Developer Edition</a> ã§ã¯å§ããã衚瀺ãããŠããŸãããŸã <a href="/ja/Firefox/Releases/36">ããŒãžã§ã³ 36</a> 以éã§ã¯ãWebIDE ãäžåºŠã§ãéããšè¡šç€ºãããããã«ãªããŸã:</li> +</ul> + +<p><img alt="" src="https://mdn.mozillademos.org/files/9437/webide-icon.png" style="display: block; margin-left: auto; margin-right: auto; width: 897px;"></p> + +<p>WebIDE ã¯ä»¥äžã®ãããªãã®ã§ã:<img alt="" src="https://mdn.mozillademos.org/files/12147/webide.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;">å·ŠåŽã®ãµã€ãããŒã§ãæ¢åã®ã¢ããªã®èµ·åãæ°ããã¢ããªã®äœæãã§ããŸããå³åŽã®ãµã€ãããŒã§ãã©ã³ã¿ã€ã ã®éžæã<a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes">æ°ããã©ã³ã¿ã€ã ã®ã»ããã¢ãã</a>ãã§ããŸãã</p> + +<p>äžå€®ã«ãããã¿ã³ã§ã¢ããªã®å®è¡ã»åæ¢ã»ãããã°ãè¡ããŸãããããã®ãã¿ã³ã¯ã¢ããªãéããŠããŠããã€ã©ã³ã¿ã€ã ãéžææžã¿ã§ããå Žåã«ã®ã¿äœ¿çšã§ããŸãã</p> + +<p>WebIDE ã®ãã©ã³ããµã€ãºã¯ãæšæºçãªããŒããŒãã·ã§ãŒãã«ããã䜿çšããŠå€æŽã§ããŸã (OS X ã§ã¯ <code>Control</code> ã®ä»£ããã« <code>Command</code> ã䜿çšããŸã):</p> + +<ul> + <li><code>Ctrl +</code> ã§ãã©ã³ããµã€ãºãæ¡å€§</li> + <li><code>Ctrl -</code> ã§ãã©ã³ããµã€ãºãçž®å°</li> + <li><code>Ctrl 0</code> ã§ãã©ã³ããµã€ãºãæ¢å®ã«æ»ã</li> +</ul> diff --git a/files/ja/tools/webide/setting_up_runtimes/index.html b/files/ja/tools/webide/setting_up_runtimes/index.html new file mode 100644 index 0000000000..e14ff0af69 --- /dev/null +++ b/files/ja/tools/webide/setting_up_runtimes/index.html @@ -0,0 +1,126 @@ +--- +title: ã©ã³ã¿ã€ã ã®ã»ããã¢ãã +slug: Tools/WebIDE/Setting_up_runtimes +translation_of: Archive/WebIDE/Setting_up_runtimes +--- +<div>{{ToolsSidebar}}</div><p>ã©ã³ã¿ã€ã 㯠Web ãã©ãŠã¶ãªã©ãã¢ããªã®å®è¡ããããã°ãè¡ãç°å¢ã§ãã以äžã®ãããªã©ã³ã¿ã€ã ããããŸã:</p> + +<ul> + <li>Firefox ã®ã€ã³ã¹ã¿ã³ã¹ããã¹ã¯ãããçãããã¯æºåž¯é»è©±ã§å®è¡ãã Android ç Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã§ãã</li> + <li>Firefox OS ãå®è¡ããããã€ã¹ããŸãã¯ãã¹ã¯ãããç°å¢ã«ã€ã³ã¹ããŒã«ãã Firefox OS ã·ãã¥ã¬ãŒã¿ã</li> + <li>ãã¹ã¯ããããŸãã¯ã¢ãã€ã«ããã€ã¹ã§å®è¡ãã Google Chrome ã Safari ãšãã£ããå¥ã®ãã©ãŠã¶ãšã³ãžã³ã</li> +</ul> + +<p>WebIDE ã§ã¯ãå³åŽã®ãµã€ãããŒã§ã©ã³ã¿ã€ã ã管çããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12149/webide-right-sidebar.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;"></p> + +<p>ãµã€ãããŒã§ã¯ãã©ã³ã¿ã€ã ã 4 çš®é¡ã«ã°ã«ãŒãåãããŠããŸã:</p> + +<dl> + <dt><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Connecting_a_Firefox_OS_device">USB ããã€ã¹</a></dt> + <dd>USB ã§æ¥ç¶ãã Firefox OS ããã€ã¹ãFirefox 36 ããã<a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE">USB çµç±ã§ Android ç Firefox</a> ãžã®æ¥ç¶ãå¯èœã§ãã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Connecting_over_WiFi">WI-FI ããã€ã¹</a></dt> + <dd>Wi-Fi çµç±ã§æ¥ç¶ãã Firefox OS ããã€ã¹ã<em>Firefox 39 ã®æ°æ©èœ</em></dd> + <dt><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Adding_a_Simulator">ã·ãã¥ã¬ãŒã¿</a></dt> + <dd>ã€ã³ã¹ããŒã«æžã¿ã®ãFirefox OS ã·ãã¥ã¬ãŒã¿ã®ã€ã³ã¹ã¿ã³ã¹ã</dd> + <dt><a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Other_runtimes">ãã®ä»</a></dt> + <dd>ä»»æã®ãã¹ãåãšããŒãã䜿çšããŠããªã¢ãŒãã©ã³ã¿ã€ã ã« WebIDE ãæ¥ç¶ããŸãã<a href="/ja/docs/Tools/Valence">Valence</a> ã¢ããªã³ãã€ã³ã¹ããŒã«ããŠããå Žåã¯ã<a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Valence-enabled_runtimes">ã¢ããªã³ã§äœ¿çšå¯èœã«ãªãã©ã³ã¿ã€ã </a>ããã®ã»ã¯ã·ã§ã³ã«è¡šç€ºããŸãã</dd> +</dl> + +<p>ããã§ã¯ãã©ã³ã¿ã€ã ãè¿œå ããæ¹æ³ã説æããŸãã</p> + +<h2 id="Connecting_a_Firefox_OS_device" name="Connecting_a_Firefox_OS_device">Firefox OS ããã€ã¹ãæ¥ç¶ãã</h2> + +<p>ååã«æ°ããããŒãžã§ã³ã® Firefox ãš Firefox OS ãããå Žåã¯ã<a href="/ja/docs/Tools/WebIDE/Setting_up_runtimes#Connecting_over_WiFi">Wi-Fi çµç±ã§ Firefox OS ããã€ã¹ã«æ¥ç¶ã§ããŸã</a>ãããã§ãªãå Žåã¯ãUSB çµç±ã§æ¥ç¶ããªããã°ãªããŸããã</p> + +<ul> + <li id="Connecting_over_USB"><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_OS_over_USB">USB çµç±ã§æ¥ç¶ããæ¹æ³</a></li> + <li><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_OS_over_Wifi">Wi-Fi çµç±ã§æ¥ç¶ããæ¹æ³</a></li> +</ul> + +<h2 id="Connecting_to_Firefox_for_Android" name="Connecting_to_Firefox_for_Android">Android ç Firefox ã«æ¥ç¶ãã</h2> + +<p>USB ã§æ¥ç¶ãã Android ããã€ã¹ããã³ Android ç Firefox ãã"USB ããã€ã¹" é
äžã®ã©ã³ã¿ã€ã ãšããŠè¡šç€ºããŸãããŸã Firefox 42 ãããWi-Fi çµç±ã§Android ç Firefox ã«æ¥ç¶ã§ããŸãã</p> + +<ul> + <li id="Connecting_over_USB"><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE">USB çµç±ã§æ¥ç¶ããæ¹æ³</a></li> + <li><a href="/ja/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_over_Wifi">Wi-Fi çµç±ã§æ¥ç¶ããæ¹æ³</a></li> +</ul> + +<h2 id="Adding_a_Simulator" name="Adding_a_Simulator">ã·ãã¥ã¬ãŒã¿ãè¿œå ãã</h2> + +<p><a href="/ja/docs/Tools/Firefox_OS_Simulator">Firefox OS ã·ãã¥ã¬ãŒã¿</a>㯠Firefox OS ã®äžäœå±€ã§ãããããœã³ã³äžã§åäœã㊠Firefox OS ããã€ã¹ã®ã·ãã¥ã¬ãŒã·ã§ã³ãè¡ããŸãããã㯠Firefox OS ããã€ã¹ãšåããµã€ãºã®ãŠã£ã³ããŠã§åäœããFirefox OS ã®ãŠãŒã¶ã€ã³ã¿ãŒãã§ã€ã¹ãå梱ã¢ããªãå«ã¿ããã㊠Firefox OS ããã€ã¹ã® API ã®å€ããã·ãã¥ã¬ãŒã·ã§ã³ããŸãã</p> + +<p>ããã¯å€ãã®å Žåãã¢ããªã®ãã¹ãããããã°ã«å®æ©ãå¿
èŠãªããšããããšã§ãã</p> + +<p>ã·ãã¥ã¬ãŒã¿ã¯ Firefox ã«å梱ããã<a href="/ja/docs/Mozilla/Add-ons">ã¢ããªã³</a>ãšããŠæäŸããŠããŸããã©ã³ã¿ã€ã ãµã€ãããŒã§ "ã·ãã¥ã¬ãŒã¿ãã€ã³ã¹ããŒã«" ãã¯ãªãã¯ãããšãããŸããŸãªããŒãžã§ã³ã® Firefox OS ã·ãã¥ã¬ãŒã¿ãã€ã³ã¹ããŒã«ã§ããããŒãžãéããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12151/webide-extra-components.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;">ã·ãã¥ã¬ãŒã¿ã¯ããã€ã§ãã€ã³ã¹ããŒã«ã§ããŸããã·ãã¥ã¬ãŒã¿ã¯ããŠã³ããŒãã«æéãããããŸãã®ã§ããåŸ
ã¡ãã ããã</p> + +<div class="note"> +<p>Firefox OS ã·ãã¥ã¬ãŒã¿ 2.6 以éã䜿çšããã«ã¯ãFirefox 45 以éã䜿çšããªããã°ãªããŸããã</p> +</div> + +<p>ã·ãã¥ã¬ãŒã¿ãã€ã³ã¹ããŒã«ããã "è¿œå ã®ã³ã³ããŒãã³ã" ãŠã£ã³ããŠãéããŠãã ãããã©ã³ã¿ã€ã ãµã€ãããŒã®é
ç®ãšããŠãã€ã³ã¹ããŒã«ããã·ãã¥ã¬ãŒã¿ã衚瀺ãããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12153/webide-installed-simulators.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;"></p> + +<p>ã·ãã¥ã¬ãŒã¿ã«ã€ããŠè©³ããã¯ã<a href="/ja/docs/Tools/Firefox_OS_Simulator">ããã¥ã¡ã³ã</a>ãã芧ãã ããã</p> + +<h3 id="Configuring_Simulators" name="Configuring_Simulators">ã·ãã¥ã¬ãŒã¿ã®èšå®</h3> + +<div class="note"> +<p>Firefox 42 ã®æ°æ©èœ</p> +</div> + +<p>Firefox 42 ããããµã€ãããŒäžã®ã·ãã¥ã¬ãŒã¿ã®é
ç®ã®é£ã«èšå®ã¢ã€ã³ã³ããããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/11321/webide-settings.png" style="display: block; height: 50px; margin-left: auto; margin-right: auto; width: 364px;"></p> + +<p>ã¢ã€ã³ã³ãã¯ãªãã¯ãããšãã·ãã¥ã¬ãŒã¿ã®èšå®ãè¡ãç»é¢ã衚瀺ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12155/webide-simulator-options.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;">以äžã®èšå®ãå¯èœã§ã:</p> + +<ul> + <li>åå</li> + <li>ã«ã¹ã¿ã <a href="/ja/Firefox_OS/Building_the_Firefox_OS_simulator">ãã¹ã¯ããã B2G ãã«ã</a>ã䜿çšãã</li> + <li>ã«ã¹ã¿ã Gaia ãããã¡ã€ã«ã䜿çšãã</li> + <li>ã·ãã¥ã¬ãŒã¿ã§ç¹å®ã®ããã€ã¹ãã¹ã¯ãªãŒã³ãµã€ãºãã·ãã¥ã¬ãŒã·ã§ã³ãã</li> +</ul> + +<h2 id="Other_runtimes" name="Other_runtimes">ãã®ä»ã®ã©ã³ã¿ã€ã </h2> + +<h3 id="Remote_runtime" name="Remote_runtime">ãªã¢ãŒãã©ã³ã¿ã€ã </h3> + +<p>ãªã¢ãŒãã©ã³ã¿ã€ã ã«ãã£ãŠãä»»æã®ãã¹ãåãšããŒãçªå·ã䜿çšããŠãªã¢ãŒãããã€ã¹ã«æ¥ç¶ã§ããŸãã</p> + +<p>å
éšã§ Firefox OS ããã€ã¹ã Android ããã€ã¹ã¯ãAndroid Debug Bridge ããã㯠<a href="http://developer.android.com/tools/help/adb.html">ADB</a> ãšåŒã°ããããã°ã©ã ãçšããŠããœã³ã³ãšæ¥ç¶ããŠããŸããããã©ã«ã㧠WebIDE ã¯ãADB Helper ã䜿çšããŸãããã㯠ADB ã®ã€ã³ã¹ããŒã«ãããŒããã©ã¯ãŒãã£ã³ã°ã®èšå®ã«ããæç¶ããåçŽåããŸãã®ã§ãFirefox ã®ãã¹ã¯ãããããŒã«ãšããã€ã¹ãã¡ãã»ãŒãžã亀æã§ããããã«ãªããŸãã</p> + +<p>ããã¯ã»ãšãã©ã®å Žåã«äŸ¿å©ã§ãããADB ã WebIDE ã®å€éšã§äœ¿çšãããå ŽåããããããããŸãããäŸãã°ãã³ãã³ãã©ã€ã³ããçŽæ¥ ADB ãå®è¡ããããšãããã§ãããããã®å Žå㯠<a href="http://developer.android.com/tools/help/adb.html#forwardports"><code>adb forward</code></a> ã³ãã³ãã䜿çšããŠããã¹ãåãšããŒãçªå·ãæå®ããããšã«ããããã€ã¹ãšæ¥ç¶ããŸã (äŸ: <code>adb forward tcp:6000 localfilesystem:/data/local/debugger-socket</code>)ã<br> + ããã« WebIDE ãæ¥ç¶ãããå Žå㯠<a href="https://support.mozilla.org/ja/kb/disable-or-remove-add-ons#w_how-to-disable-extensions-and-themes">ADB Helper ã¢ããªã³ãç¡å¹å</a>ããããã§ã«ã¹ã¿ã ã©ã³ã¿ã€ã ã«ããã<code>adb forward</code> ã«æž¡ããã¹ãåãšããŒãçªå·ãå
¥å (äŸ: <code>localhost:6000</code>) ã㊠WebIDE ãæ¥ç¶ããŸãã</p> + +<p>ãŸã Firefox 36 ããåã®ããŒãžã§ã³ã§ã¯ãADB Helper 㯠Android ç Firefox ãžã®æ¥ç¶ããµããŒãããŠããªããããAndroid ç Firefox ã« WebIDE ãæ¥ç¶ãããå Žåã¯ããŒããã©ã¯ãŒãã£ã³ã°ãèšå®ããããã§ãã«ã¹ã¿ã ã©ã³ã¿ã€ã ã䜿çšããŠæ¥ç¶ããããšãå¿
èŠã§ãã詳ãã㯠Firefox 36 ããåã®ããŒãžã§ã³ã§ <a href="/ja/docs/Tools/Remote_Debugging/Firefox_for_Android">ADB ã䜿çšã㊠Android ç Firefox ã«æ¥ç¶ããæ¹æ³</a>ã®ããã¥ã¡ã³ããã芧ãã ããã</p> + +<h3 id="Valence-enabled_runtimes" name="Valence-enabled_runtimes">Valence ã§äœ¿çšã§ããã©ã³ã¿ã€ã </h3> + +<p><a href="/ja/docs/Tools/Valence">Valence</a> ã¢ããªã³ãã€ã³ã¹ããŒã«ããŠããå Žåã¯ãä»¥äž 3 çš®é¡ã®ã©ã³ã¿ã€ã ãè¿œå ãããŸã:</p> + +<ul> + <li>Android ç Chrome</li> + <li>iOS ç Safari</li> + <li>ãã¹ã¯ãããç Chrome</li> +</ul> + +<p>ãããã®ã©ã³ã¿ã€ã ã«æ¥ç¶ããæé ã¯ã<a href="/ja/docs/Tools/Remote_Debugging">ãªã¢ãŒããããã°</a>ã®è©²åœããããŒãžã§ç¢ºèªããŠãã ããã</p> + +<h2 id="Selecting_a_runtime" name="Selecting_a_runtime">ã©ã³ã¿ã€ã ã®éžæ</h2> + +<p>ã©ã³ã¿ã€ã ãã»ããã¢ãããããšãã©ã³ã¿ã€ã ãµã€ãããŒã§éžæã§ããããã«ãªããŸãã</p> + +<ul> + <li>ã·ãã¥ã¬ãŒã¿ãéžæãããšãWebIDE ã¯ã·ãã¥ã¬ãŒã¿ãèµ·åããŸãã</li> + <li>Firefox OS ããã€ã¹ãéžæãããšãWebIDE ã¯ããã€ã¹ã«æ¥ç¶ããŸããããã€ã¹ã§ã¯æ¥ç¶ãæãããåãåããããã€ã¢ãã°ã衚瀺ãããŸãã"OK" ãæŒããŠãã ããã</li> +</ul> + +<p>以äžã§ãWebIDE ã®ããŒã«ããŒã®äžå€®ã«ãã "ã€ã³ã¹ããŒã«ããŠå®è¡" ãã¿ã³ã䜿çšå¯èœã«ãªããŸãããã®ãã¿ã³ãã¯ãªãã¯ããŠãéžæããã©ã³ã¿ã€ã ã§<a href="/ja/docs/Tools/WebIDE/Running_and_debugging_apps">ã¢ããªã®ã€ã³ã¹ããŒã«ãå®è¡</a>ãè¡ããŸãã</p> diff --git a/files/ja/tools/webide/the_runtime_menu/index.html b/files/ja/tools/webide/the_runtime_menu/index.html new file mode 100644 index 0000000000..447594845d --- /dev/null +++ b/files/ja/tools/webide/the_runtime_menu/index.html @@ -0,0 +1,53 @@ +--- +title: ã©ã³ã¿ã€ã ã¡ãã¥ãŒ +slug: Tools/WebIDE/The_runtime_menu +translation_of: Archive/WebIDE/The_runtime_menu +--- +<div>{{ToolsSidebar}}</div><p>ã©ã³ã¿ã€ã ãéžæãããšãã©ã³ã¿ã€ã ã®èšå®ã«ã¢ã¯ã»ã¹ã§ããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12161/webide-runtime-settings.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;">以äžã®äœæ¥ã«äœ¿çšããŸã:</p> + +<ul> + <li><a href="/ja/docs/Tools/WebIDE/The_runtime_menu#Runtime_info">ã©ã³ã¿ã€ã ã®æ
å ±ãåç
§ãã</a></li> + <li><a href="/ja/docs/Tools/WebIDE/The_runtime_menu#Permissions_table">ã¢ããªã®èš±å¯èšå®äžèŠ§ãåç
§ãã</a></li> + <li><a href="/ja/docs/Tools/WebIDE/The_runtime_menu#Device_preferences">端æ«ã®èšå®ãåç
§ããã³å€æŽãã</a></li> + <li><a href="/ja/docs/Tools/WebIDE/The_runtime_menu#Device_settings">端æ«ã®ãªãã·ã§ã³ãåç
§ããã³å€æŽãã</a></li> + <li><a href="/ja/docs/Tools/WebIDE/The_runtime_menu#Screenshot">ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãã</a></li> + <li>ã©ã³ã¿ã€ã ãåæãã</li> +</ul> + +<h2 id="Runtime_info" name="Runtime_info">ã©ã³ã¿ã€ã æ
å ±</h2> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12163/webide-runtime-info.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 811px;"></p> + +<h2 id="Permissions_table" name="Permissions_table">èš±å¯èšå®äžèŠ§</h2> + +<p>çŸåšã®ã©ã³ã¿ã€ã ã«ããã<a href="/ja/Apps/Build/App_permissions">ã¢ããªã®èš±å¯èšå®</a>ããŸãšããäžèŠ§è¡šã§ããAPI ããã³<a href="/ja/Marketplace/Options/Packaged_apps#Types_of_packaged_apps">ã¢ããªã®çš®é¡</a>ããšã«ã¢ã¯ã»ã¹ãèš±å¯ (â)ãæåŠ (â) ãŸãã¯ãŠãŒã¶ã«åãåããã (!) ã®ããããã瀺ããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12165/webide-permissions-table.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 1013px;"></p> + +<h2 id="Device_preferences" name="Device_preferences">端æ«ã®èšå®</h2> + +<p><a href="/ja/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIPrefService">Preferences service</a> ãéããŠäœ¿çšå¯èœãªç«¯æ«ã®èšå®é
ç®ããç·šéå¯èœãªäžèŠ§è¡šã§è¡šç€ºããŸããFirefox ã® about:config ãšåããã©ãããã©ãŒã ã¬ãã«ã®èšå®å€ã®ããŒã¿ã»ãããå
¬éããŠããŸãããããã¯ç«¯æ«åãã®èšå®ã§ãã</p> + +<p>ãããã®èšå®ã¯ã»ãã¥ãªãã£äžãšãŠãããªã±ãŒãã§ãã®ã§ãå€æŽã§ããããã«ããããã«ã¯<a href="/ja/docs/Tools/WebIDE/Running_and_debugging_apps#Unrestricted_app_debugging_(including_certified_apps.2C_main_process.2C_etc.)">éçºããŒã«ã®æš©éãå¶éããèšå®</a>ãç¡å¹ã«ããªããã°ãªããŸããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12167/webide-device-preferences.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 1013px;"></p> + +<h2 id="Device_settings" name="Device_settings">端æ«ãªãã·ã§ã³</h2> + +<div class="note"> +<p>Firefox OS 2.5 ã®æ°æ©èœ</p> +</div> + +<p>Firefox OS ã®èšå®ã¢ããªã§å¶åŸ¡ã§ããèšå®é
ç®ããå€æŽå¯èœãªäžèŠ§è¡šã§è¡šç€ºããŸãã端æ«äžã«å€æŽããããã® UI ãæã€èšå®ã®ã»ãšãã© (äŸãã°é³éãã¢ã©ãŒã ãªã©) ã¯ã端æ«ãªãã·ã§ã³ã®æ¹ã«ãããŸãã</p> + +<p>ãã®ãããªèšå®é
ç®ã¯ç«¯æ«ã®èšå®ããããªã±ãŒãã§ã¯ãªããæš©éãå¶éããèšå®ãç¡å¹åããªããŠãå€æŽã§ããŸãã</p> + +<p>ãã®æ©èœã䜿çšããã«ã¯ãFirefox 38 以éã® WebIDE 㧠Firefox OS 2.5 以éã«æ¥ç¶ããªããã°ãªããŸããã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/12169/webide-device-settings.png" style="display: block; height: 712px; margin-left: auto; margin-right: auto; width: 1013px;"></p> + +<h2 id="Screenshot" name="Screenshot"><strong>ã¹ã¯ãªãŒã³ã·ã§ãã</strong></h2> + +<p>ã©ã³ã¿ã€ã ã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ããã³ãã³ãã§ãã</p> diff --git a/files/ja/tools/webide/troubleshooting/index.html b/files/ja/tools/webide/troubleshooting/index.html new file mode 100644 index 0000000000..4bd534047c --- /dev/null +++ b/files/ja/tools/webide/troubleshooting/index.html @@ -0,0 +1,101 @@ +--- +title: WebIDE ã®ãã©ãã«ã·ã¥ãŒãã£ã³ã° +slug: Tools/WebIDE/Troubleshooting +translation_of: Archive/WebIDE/Troubleshooting +--- +<div>{{ToolsSidebar}}</div><h2 id="Connecting_to_Firefox_OS_over_USB" name="Connecting_to_Firefox_OS_over_USB">USB çµç±ã§ Android ç Firefox ã«æ¥ç¶ãã</h2> + +<p>Android OS ã§å®è¡ããŠãã Firefox ã®ã€ã³ã¹ã¿ã³ã¹ã«æ¥ç¶ã§ããªãå Žåã¯ã以äžã®é
ç®ã確èªããŠãã ãã:</p> + +<ul> + <li>Firefox ã®ããŒãžã§ã³ã確èªãã: ããã€ã¹ã§ <strong>Android ç Firefox 36 以é</strong>ãå®è¡ããŠããããšã確èªããŠãã ãããWebIDE ã¯ããããå€ãããŒãžã§ã³ãèªåçã«æ€åºã§ãããããŒããã©ã¯ãŒãã£ã³ã°ãæå¹åããŠããã€ã¹ã®ããŒãã«æ¥ç¶ããªããã°ãªããŸããã<a class="external external-icon" href="/ja/docs/Tools/Remote_Debugging/Firefox_for_Android">ãã¡ã</a>ã®æé ã«åŸã£ãŠãã ããã</li> + <li>Firefox ã§ãªã¢ãŒããããã°ãæå¹åããŠããã確èªãã: Android ç Firefox ãèµ·åããŠã¡ãã¥ãŒãéãã<code>èšå®</code>ãéžæããŸãããããŠã<code>é«åºŠãªèšå® > USB çµç±ã§ãªã¢ãŒããããã°ãã</code>ã«ãã§ãã¯ãå
¥ããŠãã ããã</li> + <li>ããã€ã¹ã®éçºè
åããªãã·ã§ã³ã§ãUSB ãããã°ãæå¹ã«ããŠãã ããã</li> + <li>ãŸã WebIDE ã®ãŠã£ã³ããŠã«ããã€ã¹ã衚瀺ãããªãå Žåã¯ãé»è©±æ©ã§<code>ãªã¢ãŒããããã°</code>ã®æå¹åãå床è¡ã£ãŠãã ããã + <ul> + <li>ããã€ã¹ãã³ã³ãã¥ãŒã¿ãŒããåãé¢ããŠãããã€ã¹åŽã§<code>ãªã¢ãŒããããã°</code>ãç¡å¹ã«ããŸãã</li> + <li>ããã€ã¹ãã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ããŠã<code>ãªã¢ãŒããããã°</code>ãæå¹åããŸããããã§ãããã€ã¹åŽã®ãããã¬ã®ã€ã³ã¹ã¿ã³ã¹ãåèµ·åããŸãã</li> + <li>WebIDE ããåã³æ¥ç¶ããŠã¿ãŠãã ããã</li> + </ul> + </li> + <li>䜿çšããŠãã USB ã±ãŒãã«ã®ç¢ºèª: + <ul> + <li>USB ã±ãŒãã«ããã£ããå€ããåã³æ¥ç¶ããŠãã ããã</li> + <li>USB ã±ãŒãã«ããã³ã³ãã¥ãŒã¿ãŒã®å¥ã® USB ããŒãã«æ¥ç¶ããŠãã ãããã€ãªãæ¿ããå¿
èŠã§ãããããããŸããã</li> + <li>å¥ã® USB ã±ãŒãã«ã§è©ŠããŠãã ãããé»è©±æ©ã«å梱ãããã±ãŒãã«ã¯äœå質ã§ãæ¥ç¶ã倱æããããšããããŸãã</li> + <li>çã USB ã±ãŒãã«ã䜿çšããŠãã ãããé·ã USB ã±ãŒãã«ã§ã¯ããŸãåäœããªãããšããããŸãã</li> + </ul> + </li> + <li>Linux ã䜿çšããŠããå Žåã®ç¢ºèªäºé
: + <ul> + <li><a class="external external-icon" href="http://developer.android.com/tools/device.html#setting-up">éçºçšã«ç«¯æ«ãã»ããã¢ãããã</a> ã®ã¹ããã 3 ã«èšèŒãããŠãããšããã«ã<code>udev</code> ã®ã«ãŒã«ãã¡ã€ã«ã«ã«ãŒã«ãè¿œå ããŠãã ãããAndroid ã® <a href="http://developer.android.com/tools/device.html#VendorIds"><code>idVendor</code> å€</a>ã®ãªã¹ãã圹ã«ç«ã€ã§ãããããããŠãããã€ã¹ã衚瀺ãããããã« <code>adb devices</code> ãå®è¡ããŠãã ãããããã€ã¹ã "no permission" ãšè¡šç€ºãããå Žåã¯ãadb ãµãŒããŒã®åèµ·åãå¿
èŠã§ã (äŸ: <code>adb kill-server;adb start-server</code>)ã</li> + <li>Debian ãæäŸãã <code>android-tools-adb</code> ããã±ãŒãžã䜿çšããå Žåã¯ãADB Helper ã䜿çšããããã«æ¢åã® ADB ãµãŒããŒããã¹ãŠçµäºããªããã°ãªããªãã§ãããããã®ããã±ãŒãžã¯ ADB Helper ãäŸåããŠããããµãŒããŒãžã® TCP æ¥ç¶ãç¡å¹åããŸãã</li> + </ul> + </li> + <li>Windows ã䜿çšããŠããå Žåã®ç¢ºèªäºé
: + <ul> + <li>Android ããã€ã¹ãæ£åžžã«èªèãããŠããŠãAndroid SDK ã«å«ãŸããŠãã Google USB Driver ã䜿çšããŠããããšã確èªããŠãã ããã</li> + </ul> + </li> + <li>Mac OS X ã䜿çšããŠããå Žåã®ç¢ºèªäºé
: + <ul> + <li>EasyTether ã䜿çšããŠããå Žåã¯ãEasyTether ã®ã¢ã³ã€ã³ã¹ããŒã«ãŸãã¯ç¡å¹åãå¿
èŠã§ã: <code>sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext</code></li> + </ul> + </li> +</ul> + +<h2 id="Connecting_to_Firefox_for_Android_over_Wi-Fi" name="Connecting_to_Firefox_for_Android_over_Wi-Fi">Wi-Fi çµç±ã§ Android ç Firefox ã«æ¥ç¶ãã</h2> + +<ul> + <li>Firefox ã®ããŒãžã§ã³ã確èªãã: Wi-Fi ãããã°ã䜿çšããã«ã¯ Firefox 42 以éãšãAndroid ç Firefox 42 以éãå®è¡ããŠãã Android ããã€ã¹ãå¿
èŠã§ãã</li> + <li>ãã¹ã¯ãããç Firefox ãå®è¡ããã³ã³ãã¥ãŒã¿ãŒãš Android ããã€ã¹ã®äž¡æ¹ããåã Wi-Fi ãããã¯ãŒã¯ã«æ¥ç¶ããªããã°ãªããŸããã + <ul> + <li>詳ãããããšãã¹ã¯ãããåŽã§ãWi-Fi ãããã¯ãŒã¯ãžã®ã«ãŒããããæç·ãããã¯ãŒã¯ã䜿çšããããšã¯<strong>ã§ããŸãã</strong>ã代ããã«ãäž¡æ¹ã Wi-Fi ã«çŽæ¥æ¥ç¶ããŠãã ããã</li> + </ul> + </li> + <li>ããŒã³ãŒãã¹ãã£ã³ã¢ããªãã€ã³ã¹ããŒã«æžã¿ãªã®ã確èªããŠãã ããã<a href="https://play.google.com/store/apps/details?id=com.google.zxing.client.android">ãã</a>ãæšå¥šããŸãã</li> + <li>Wi-Fi ãããã¯ãŒã¯ã«ãã£ãŠã¯Â Wi-Fi 端æ«æ€çŽ¢ã«äœ¿ããã±ããããããã¯ããããšããããŸãããããã¯ãŒã¯ç®¡çè
ã«ããããè¡çºãèš±å¯ãããŠãããã確èªããŠãã ãã: + <ul> + <li>ã³ã³ãã¥ãŒã¿ãŒãšÂ Android ããã€ã¹ã¯Â UDP ãã«ããã£ã¹ããã±ãããããŒã 50624-50625 ãããã«ããã£ã¹ãã¢ãã¬ã¹Â 224.0.0.115 ã«éåä¿¡ã§ããªããã°ãªããŸããã</li> + <li>ãããã¯ãŒã¯ã«ãŒã¿ãŒã UDP ãã«ããã£ã¹ããã±ããããµããŒãããŠããªããã°ãªããŸããã</li> + <li>ã«ãŒã¿ãŒã¯ãã®Â UDP ãã«ããã£ã¹ããã±ããããã©ã¯ãŒããããå®å¹çã«ã¯ã€ãŸããäž¡æ¹ã®ç«¯æ«ã¯ä»ã®ããããçµç±ããã«çŽæ¥åãã«ãŒã¿ãŒãšéä¿¡ããå¿
èŠããããŸãã</li> + </ul> + </li> +</ul> + +<h2 id="Unable_to_load_project_list" name="Unable_to_load_project_list">ãããžã§ã¯ãã®äžèŠ§ãèªã¿èŸŒã¿ã§ããªã</h2> + +<p>ããããŒãžã§ã³ã® Firefox 㧠WebIDE ãéããåŸã«ãåããããã¡ã€ã«ã䜿çšãããŸãŸ Firefox ãããŠã³ã°ã¬ãŒããããšãããŠã³ã°ã¬ãŒãåŸã® Firefox 㧠WebIDE ãéããéã« "Unable to load project list" ãšãããšã©ãŒã衚瀺ãããããšããããŸãã</p> + +<p>ãã㯠WebIDE ã䜿çšããã¹ãã¬ãŒãžã·ã¹ãã (<a href="/ja/docs/Web/API/IndexedDB_API">IndexedDB</a>) ã§ãæ°ããããŒãžã§ã³ã® Firefox åãã«å
éšãã¡ã€ã«ã®ç§»åãåæ§ç¯ãå¿
èŠã«ãªã£ããšãã«çºçããŸããå€ãããŒãžã§ã³ã® Firefox ã§ã¯ããããžã§ã¯ãã®äžèŠ§ã«ã¢ã¯ã»ã¹ã§ããªããªããŸãã</p> + +<p>ããŒã¿ã¯å€±ãããŠããŸããããããžã§ã¯ãã®äžèŠ§ã«ã¢ã¯ã»ã¹ããã«ã¯ããããã¡ã€ã«ã䜿çšããŠããæ°ããããŒãžã§ã³ã® Firefox ã䜿çšãç¶ããªããã°ãªããŸããã</p> + +<p>ãããåŸãå€ãããŒãžã§ã³ã® Firefox ã䜿çšããå Žåã¯ä»¥äžã®æé ã§ãããžã§ã¯ãäžèŠ§ã®ã¿åé€ã§ããŸããããµããŒãå€ã®æé ã§ãã®ã§ãããªããã©ãã«ãããŒã¿ã®åªå€±ãæãå¯èœæ§ããããŸã:</p> + +<ol> + <li>Firefox ãéããŸãã</li> + <li>Firefox ã®ãããã¡ã€ã«ã®ãã£ã¬ã¯ããªãŒãéããŸãã</li> + <li>ãããã¡ã€ã«ã®ãã£ã¬ã¯ããªãŒå
㧠<code>storage</code> ãã©ã«ããæ¢ããŸãã</li> + <li>ãã®ãã©ã«ãé
äžã®ãã¡ã€ã«ããªãŒå
ã«ã<code>4268914080AsptpcPerjo</code> (ããŒã¿ããŒã¹åã®ããã·ã¥) ã§å§ãŸãååã®ãã¡ã€ã«ããã©ã«ããèŠã€ããã§ãããã + <ul> + <li>äŸãã°ã<code><profile>/storage/permanent/indexeddb+++fx-devtools/idb</code> ã«ååšããŸãã</li> + </ul> + </li> + <li>該åœãããã¡ã€ã«ããã©ã«ããåé€ããŸãã</li> + <li>åã³ Firefox ãš WebIDE ãéããŸãã</li> +</ol> + +<h2 id="Enable_logging" name="Enable_logging">ãã°ååŸãæå¹åãã</h2> + +<p>蚺ææ
å ±ãåéããããã«ã詳现ãªãã°ãååŸã§ããŸã:</p> + +<ol start="1" style="list-style-type: decimal;"> + <li><a class="external external-icon" href="http://kb.mozillazine.org/About:config">about:config</a> ãéããæ°ããèšå®é
ç® <code>extensions.adbhelper@mozilla.org.sdk.console.logLevel</code> ãäœæããŠãæååå€ <code>all</code> ãèšå®ããŸãããŸãã<code>extensions.adbhelper@mozilla.org.debug</code> ã <code>true</code> ã«èšå®ããŸãã</li> + <li><a class="external external-icon" href="https://support.mozilla.org/ja/kb/disable-or-remove-add-ons">ã¢ããªã³ãããŒãžã£</a>㧠ADB Helper ã¢ããªã³ãç¡å¹åããŠãåã³æå¹åããŸãã</li> + <li><a href="/ja/docs/Tools/Browser_Console">ãã©ãŠã¶ãŒã³ã³ãœãŒã«</a>ãéããšãæ¥é èŸ <code>adb</code> ãä»å ãããã¡ãã»ãŒãžã衚瀺ãããŸããã¡ãã»ãŒãžã衚瀺ãããªãå Žåã¯ã<a href="/ja/docs/Tools/WebIDE/Troubleshooting#Get_help">æ¯æŽãæ±ããŠãã ãã</a>ã</li> +</ol> + +<h2 id="Get_help" name="Get_help">æ¯æŽãæ±ãã</h2> + +<p><a class="external external-icon" href="https://wiki.mozilla.org/DevTools/GetInvolved#Communication">IRC ã® #devtools ã«ãŒã </a>ã蚪ããŠãæ¯æŽãæ±ããŠãã ããã</p> diff --git a/files/ja/tools/webide/working_with_cordova_apps_in_webide/index.html b/files/ja/tools/webide/working_with_cordova_apps_in_webide/index.html new file mode 100644 index 0000000000..c6f6beb7dc --- /dev/null +++ b/files/ja/tools/webide/working_with_cordova_apps_in_webide/index.html @@ -0,0 +1,42 @@ +--- +title: WebIDE 㧠Cordova ã¢ããªãæ±ã +slug: Tools/WebIDE/Working_with_Cordova_apps_in_WebIDE +translation_of: Archive/WebIDE/Working_with_Cordova_apps_in_WebIDE +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>Firefox 39 ã®æ°æ©èœ</p> +</div> + +<p><a href="http://cordova.apache.org/">Apache Cordova</a> ã䜿çšãããš HTMLãJavaScriptãCSS ã䜿çšããŠã¢ããªãäœæã§ããŸãããŸã iOS ã Android ãšãã£ãã¢ãã€ã«ãã©ãããã©ãŒã åãã®ãã€ãã£ãã¢ããªãçæã§ããŸããCordova ã§ã¯ã<a href="/ja/Apps/Tools_and_frameworks/Cordova_support_for_Firefox_OS">Firefox OS åãã®ã¢ããªãäœæã§ããŸã</a>ã</p> + +<p>Firefox 39 ãããWebIDE 㧠Cordova ã¢ããªãçŽæ¥æ±ããŸããããªãã¡ WebIDE 㧠Cordova ã¢ããªãç·šéãããããã㯠WebIDE 㧠Firefox OS åãã®ã¢ããªãçæããããšãã§ããŸãã</p> + +<p>å§ãã«ãéåžžã©ããã®æé 㧠Cordova ã¢ããªãäœæããŸã:</p> + +<ul> + <li>Cordova ãæªã€ã³ã¹ããŒã«ã§ããããã€ã³ã¹ããŒã«ããŸã: + <pre class="brush: bash"><code>npm install -g cordova</code></pre> + </li> +</ul> + +<ul> + <li>Cordova ã¢ããªãæ°èŠäœæããŸã: + <pre class="brush: bash"><code>cordova create my-app</code></pre> + </li> +</ul> + +<ul> + <li>ã¢ããªã®å¯Ÿè±¡ãã©ãããã©ãŒã ã« Firefox OS ãè¿œå ããŸã: + <pre class="brush: bash">cd my-app +cordova platform add firefoxos</pre> + </li> +</ul> + +<p>次ã«:</p> + +<ul> + <li><a href="/ja/docs/Tools/WebIDE/Opening_WebIDE">WebIDE ãéããŸã</a>ã</li> + <li><a href="/ja/docs/Tools/WebIDE/Creating_and_editing_apps#Open_a_packaged_app">"ããã±ãŒãžåã¢ããªãéã"</a> ãéžæããŠãCordova ã¢ããªã® <code>config.xml</code> ãã¡ã€ã«ããããã£ã¬ã¯ããªãæå®ããŸãã</li> +</ul> + +<p>以äžã§ Cordova ã¢ããªãç·šéã§ããŸãããŸã<a href="/ja/docs/Tools/WebIDE/Running_and_debugging_apps#Running_apps">ã¢ããªãå®è¡</a>ãããã³ã«ãWebIDE ã¯ããã¯ã°ã©ãŠã³ã㧠Firefox OS çã®ã¢ããªãçæããŸããWebIDE ã¯ã¢ããªã®<a href="/ja/Apps/Build/Manifest">ãããã§ã¹ã</a>ã«åœ±é¿ãäžããå€æŽãæœãããéã Firefox OS çãåçæããŸãã®ã§ã<a href="/ja/docs/Tools/WebIDE/Creating_and_editing_apps#Manifest_validation">ãããã§ã¹ãã®æ€èšŒ</a>ãå®æœã§ããŸãã</p> diff --git a/files/ja/tools/working_with_iframes/index.html b/files/ja/tools/working_with_iframes/index.html new file mode 100644 index 0000000000..34814b28a1 --- /dev/null +++ b/files/ja/tools/working_with_iframes/index.html @@ -0,0 +1,30 @@ +--- +title: iframe ã§ã®äœæ¥ +slug: Tools/Working_with_iframes +tags: + - Debugging + - DevTools + - Developer Tools + - Frames + - Tools +translation_of: Tools/Working_with_iframes +--- +<div>{{ToolsSidebar}}</div><div class="geckoVersionNote"> +<p>ãã㯠Firefox 34 ã®æ°æ©èœã§ãã</p> +</div> + +<p>Firefox 34 ããéçºããŒã«ã§ãããã¥ã¡ã³ãå
ã«ããç¹å®ã® <a href="/ja/docs/Web/HTML/Element/iframe"><code>iframe</code></a> ã察象ã«ããããšãã§ããŸãã</p> + +<p>{{EmbedYouTube("Me9hjqd74m8")}}</p> + +<p>ããŒã«ããŒã«æ°ããªãã¿ã³ãçŸããŸã:</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/8547/frame-selection-button.png" style="display: block; margin-left: auto; margin-right: auto;">ãã¿ã³ãã¯ãªãã¯ãããšããã¥ã¡ã³ãèªèº«ã«å ããŠãããã¥ã¡ã³ãå
ã«ãããã¹ãŠã® iframe ããããã¢ããã§äžèŠ§è¡šç€ºããŸãã</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/8549/frame-selection-popup.png" style="display: block; margin-left: auto; margin-right: auto;"></p> + +<div class="note"> +<p>çŸæç¹ã§ã¯ãããã¢ããã衚瀺ããããã«ãããŒãžã®åèªã¿èŸŒã¿ãŸãã¯éçºããŒã«ããã£ããéããŠåã³éãäœæ¥ãå¿
èŠã§ãããã®åé¡ã¯ <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1062233">bug 1062233</a> ã§è¿œè·¡ããŠããŸãã</p> +</div> + +<p>ãã®ãªã¹ãã§é
ç®ãéžæãããšãããŒã«ããã¯ã¹å
ã®å
šããŒã« (<a href="/ja/docs/Tools/Page_Inspector">ã€ã³ã¹ãã¯ã¿ãŒ</a>ã<a href="/ja/docs/Tools/Web_Console">ã³ã³ãœãŒã«</a>ã<a href="/ja/docs/Tools/Debugger">ãããã¬ãŒ</a> ãªã©) 㯠iframe ã ãã察象ã«ããŠãåºæ¬çã«ããŒãžã®æ®ãã®éšåã¯ååšããªããããªç¶æ
ã§åäœããŸãã</p> |