~/talk

JavaScript's Most Wanted

Talkat NDC Sydney 2016 · 2016-08-01..08-05· [javascript, web-performance]
slides:none on file

A live demo shows six concrete production failures and how to find and fix them: scripty joe is browser obfuscation from cross‑origin scripts — fix by adding CORS headers and the crossorigin attribute; a third‑party typo (getRandomAds) breaks pages unpredictably; clara context is lost this in callbacks — fix with var self=this or Function.prototype.bind/_.bind; a server sends numbers not strings (2000 errors from one user) so validate and log; intermittent script load failures (134 hits, 129 users) require feature checks; a memory leak from detached DOM listeners crashes browsers — use Chrome DevTools timeline, async stacks and TrackJS to diagnose.

AI-written summary · about

  1. 0:00Start
  2. 0:07JavaScript's MOST WANTED
  3. 5:51WANTED Scripty Joe Characteristics: Script Error
  4. 29:58Clara "This&That" Context Place of Origin: Functional Args Characteristics: Not Defined
  5. 31:22WANTED Dolly Data Characteristics: Substr is not a
~/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.