"매 Apple's open-source browser engine — Safari & iOS WebView 의 foundation". 매 KHTML fork (2001) 로 시작, Blink (Chrome) 로 fork (2013), 매 iOS 의 모든 browser (Chrome iOS, Firefox iOS 포함) 가 WebKit 강제 (App Store 정책 — 2025 EU DMA 로 부분 완화). 매 JavaScriptCore (JIT) + WebCore (rendering) + WebKit2 (multi-process) 구조.
// Bun 매 JSC 사용 — Node (V8) 보다 startup 빠름
// bun run server.ts
import{serve}from"bun";serve({port: 3000,fetch(req){returnnewResponse("Hello from JSC!");}});// 매 JSC 의 strength: startup time, memory.
// 매 V8 의 strength: peak throughput (FTL 수준), ecosystem.
Detecting WebKit engine
constisWebKit='WebkitAppearance'indocument.documentElement.style;constisAppleWebKit=navigator.userAgent.includes('AppleWebKit')&&!navigator.userAgent.includes('Chrome');// More robust: feature detection over UA sniffing
consthasWebKitDateBug=(()=>{constinput=document.createElement('input');input.type='date';returninput.type!=='date';// pre-iOS 14
})();
Web Inspector — remote debugging
# iOS Safari → Mac Safari Web Inspector# 1. iOS: Settings → Safari → Advanced → Web Inspector ON# 2. Mac: Safari → Develop menu → [device name]# 3. Inspect any tab/WKWebView# Simulator 도 동일.# Chrome iOS 도 매 WebKit 이라 Mac Safari 로 inspect 가능.
언제: iOS 의 webview 통합, Safari-specific bug 디버깅, Bun runtime 결정, cross-browser CSS issue 의.
언제 X: Chrome-only Chrome extension, Electron app (Chromium), 매 generic web dev (browser-agnostic 지향 의).
❌ 안티패턴
UA sniffing: navigator.userAgent.includes('Safari') — Chrome iOS 도 WebKit. Feature detection 사용.
iOS 의 100vh 무시: 매 toolbar 가 viewport 차지 — dvh 사용 (iOS 15.4+) 또는 JS 로 --vh 계산.
Service Worker 의 Safari 무시: 매 iOS 16.4+ 부터 Web Push 지원, iOS PWA 매 still limited.
WebKit prefix 무지: 매 -webkit-backdrop-filter 매 still needed for Safari 17 까지.
iOS Chrome 을 진짜 Chrome 로 착각: 매 모든 iOS browser 가 WebKit 사용. 매 Chrome iOS 매 Blink 아님.
🧪 검증 / 중복
Verified (WebKit official site, WebKit Blog, Apple Developer docs).
신뢰도 A.
🕓 Changelog
날짜
변경
2026-05-08
Phase 1
2026-05-10
Manual cleanup — WebKit engine, iOS quirks, WKWebView bridge, Bun JSC patterns 추가