~/talk

Squashing JavaScript bugs

Talkat NDC London 2017 · 2017-01-16..01-20· [javascript, developer-experience]
slides:none on file

Five real bugs are reproduced and fixed using Chrome DevTools: DOM inspector to trace event listeners, Sources debugger with breakpoints and the async stack checkbox to step through handlers, workspace live edits to patch code, and Application panel to inspect localStorage. Fixes include calling event.preventDefault() to stop form submits, using Function.prototype.bind to preserve this, client-side validation to stop 400 POSTs, and Timeline/Profiles to find an ad-driven memory leak that grows ~82.9K per interval.

AI-written summary · about

  1. 0:00Start
  2. 0:21Smashing Javascript Bugs
  3. 6:24Dom Explorer
  4. 7:27Event Listeners
  5. 10:06Call Stack
  6. 11:59Debugging
  7. 20:47The Rant Text
  8. 21:52Application Capability
  9. 30:45Network Inspector
  10. 31:01Network Tab
  11. 36:38Find a Memory Leak
  12. 37:18Profiles Tab
  13. 44:37Creation of Nodes
  14. 56:00Dom Inspector
  15. 56:22Application Explorer
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.