Skip to content

Commit

Permalink
Fix DevTools nits (google#5651)
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois authored and PaulKinlan committed Jan 17, 2018
1 parent 9fa5336 commit cf074d6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 22 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions src/content/en/tools/chrome-devtools/progressive-web-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ guides](#other).


### TL;DR {: .hide-from-toc }
- Use the <strong>App Manifest</strong> pane to inspect your web app manifest and trigger Add to Homescreen events.
- Use the <strong>Service Worker</strong> pane for a whole range of service-worker-related tasks, like unregistering or updating a service, emulating push events, going offline, or stopping a service worker.
- Use the <strong>Manifest</strong> pane to inspect your web app manifest and trigger Add to Homescreen events.
- Use the <strong>Service Workers</strong> pane for a whole range of service-worker-related tasks, like unregistering or updating a service, emulating push events, going offline, or stopping a service worker.
- View your service worker cache from the <strong>Cache Storage</strong> pane.
- Unregister a service worker and clear all storage and caches with a single button click from the <strong>Clear Storage</strong> pane.
- Unregister a service worker and clear all storage and caches with a single button click from the <strong>Clear storage</strong> pane.


## Web app manifest {:#manifest}
Expand Down
5 changes: 5 additions & 0 deletions src/content/en/tools/chrome-devtools/shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ on the browser viewport:
<td><kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>J</kbd></td>
<td><kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>J</kbd></td>
</tr>
<tr>
<td>Open the <b>Elements</b> panel</td>
<td><kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>C</kbd></td>
<td><kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd></td>
</tr>
</tbody>
</table>

Expand Down
19 changes: 0 additions & 19 deletions src/content/en/tools/chrome-devtools/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,6 @@ Console**, or use the keyboard shortcut

![evaluate in console](images/evaluate-in-console.png)

## View local modifications

<!-- TODO apply revision content doesn't really work... -->

To view a diff of modifications you've made to a snippet, right-click in
the editor (while the snippet is displayed) and select **Local modifications**.

![local modifications](images/local-modifications.png)

A new tab named **History** pops up in the Console drawer.

![snippet history](images/snippet-history.png)

Each of the timestamps represent a modification. Expand the carat next to
a timestamp to view a diff of the modifications at that point in time.
The **revert** link removes the revision history. As of June 27, 2016 the
**apply revision content** and **apply original content** links appear
to not work as intended.

## Set breakpoints

Just like other scripts, you can set breakpoints on snippets. See
Expand Down

0 comments on commit cf074d6

Please sign in to comment.