hello.js

var please = require('share');
console.log('thank you');

Friday, 5 August, 2016 UTC

A Refined Content Security Policy

A Refined Content Security Policy

The Content Security Policy standard lets you define a list of the inline scripts, inline stylesheets, and subresources that your page permits to load. You can define a content security policy on each page to restrict the capabilities that an attacker ... more


Wednesday, 3 August, 2016 UTC

Release Notes for Safari Technology Preview Release 10

Release Notes for Safari Technology Preview Release 10

Safari Technology Preview Release 10 is now available for download for both macOS Sierra betas and OS X El Capitan. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. This release covers WebKit ... more


Monday, 25 July, 2016 UTC

New <video> Policies for iOS

New <video> Policies for iOS

Since before your sun burned hot in space and before your race was born, Safari on iOS has required a user gesture to play media in a <video> or <audio> element. When Safari first supported <video> in iPhoneOS 3, media data loaded only ... more


Wednesday, 20 July, 2016 UTC

Release Notes for Safari Technology Preview Release 9

Release Notes for Safari Technology Preview Release 9

Safari Technology Preview Release 9 is now available for download for both macOS Sierra betas and OS X El Capitan. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. This release covers WebKit ... more


Monday, 11 July, 2016 UTC

ES6 Feature Complete

ES6 Feature Complete

As of r202125, JavaScriptCore supports all of the new features in the ECMAScript 6 (ES6) language specification. All of the new ES6 features are available in the latest WebKit Nightly and Safari Technology Preview. While we have an implementation of ... more


Wednesday, 6 July, 2016 UTC

Release Notes for Safari Technology Preview Release 8

Release Notes for Safari Technology Preview Release 8

Safari Technology Preview Release 8 is now available for download for both macOS Sierra beta 2 and OS X El Capitan. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 8 of Safari Technology ... more


Friday, 1 July, 2016 UTC

Improving Color on the Web

Improving Color on the Web

The past few years have seen a dramatic improvement in display technology. First it was the upgrade to higher-resolution screens, starting with mobile devices and then desktops and laptops. Web developers had to understand high-DPI and know how to implement ... more


Tuesday, 28 June, 2016 UTC

Improved Font Loading

Improved Font Loading

Web fonts are becoming increasingly popular all over the web. Using web fonts allows a site author to include and use specific fonts along with the assets of their websites. Browsers download the fonts with the rest of the site and use them when they ... more


Wednesday, 22 June, 2016 UTC

Release Notes for Safari Technology Preview Release 7

Release Notes for Safari Technology Preview Release 7

Safari Technology Preview Release 7 is now available for download. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 7 of Safari Technology Preview covers WebKit revisions 201541–202085. ... more


Wednesday, 15 June, 2016 UTC

Introducing JSC’s New Sampling Profiler

Introducing JSC’s New Sampling Profiler

JavaScriptCore (JSC) has a new sampling profiler that powers Web Inspector’s JavaScript & Events timeline. The sampling profiler is a replacement of JSC’s old tracing profiler. It provides more accurate data about where time is spent in the executing ... more


Wednesday, 8 June, 2016 UTC

Release Notes for Safari Technology Preview 6

Release Notes for Safari Technology Preview 6

Safari Technology Preview Release 6 is now available for download. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 6 of Safari Technology Preview covers WebKit revisions 201084–201541. ... more


Monday, 6 June, 2016 UTC

Memory Debugging with Web Inspector

Memory Debugging with Web Inspector

Web Inspector now includes two new timelines for debugging a webpage’s memory usage. The first is a high-level Memory timeline intended to help developers to better understand the memory characteristics of their webpages, to identify spikes, and to detect ... more


Wednesday, 1 June, 2016 UTC

JavaScriptCore CSI:A Crash Site Investigation Story

JavaScriptCore CSI:A Crash Site Investigation Story

When debugging JavaScript bugs, web developers have Web Inspector which provides a debugger and many introspective tools to examine their code with. But when the bug is at a lower level in WebKit’s JavaScript engine, JavaScriptCore (JSC), WebKit engineers ... more


Wednesday, 25 May, 2016 UTC

Release Notes for Safari Technology Preview 5

Release Notes for Safari Technology Preview 5

Safari Technology Preview Release 5 is now available for download. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 5 of Safari Technology Preview covers WebKit revisions 200418–201083. ... more


Monday, 23 May, 2016 UTC

ECMAScript 6 Proper Tail Calls in WebKit

ECMAScript 6 Proper Tail Calls in WebKit

Proper Tail Calls (PTC) is a new feature in the ECMAScript 6 language. This feature was added to facilitate recursive programming patterns, both for direct and indirect recursion. Various other design patterns can benefit from PTC as well, such as code ... more


Wednesday, 11 May, 2016 UTC

Release Notes for Safari Technology Preview 4

Release Notes for Safari Technology Preview 4

Safari Technology Preview Release 4 is now available for download. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 4 of Safari Technology Preview covers WebKit revisions 199865–200417. ... more


Friday, 6 May, 2016 UTC

Locking in WebKit

Locking in WebKit

Back in August 2015 we replaced all spinlocks and OS-provided mutexes in WebKit with the new WTF::Lock (WTF stands for Web Template Framework). We also replaced all OS-provided condition variables with WTF::Condition . These new primitives have some ... more


Wednesday, 27 April, 2016 UTC

Release Notes for Safari Technology Preview 3

Release Notes for Safari Technology Preview 3

Safari Technology Preview Release 3 is now available for download. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 3 of Safari Technology Preview covers WebKit revisions 199086–199865. ... more


Tuesday, 26 April, 2016 UTC

Updating Our Prefixing Policy

Updating Our Prefixing Policy

When implementing new features for the Web, it’s important for us to be able to get them into the hands of developers early, so they can give new things a try. (Of course, this also helps us identify and fix bugs!) In the past, browsers did this by using ... more


Wednesday, 13 April, 2016 UTC

Release Notes for Safari Technology Preview Release 2

Release Notes for Safari Technology Preview Release 2

Safari Technology Preview Release 2 is now available for download. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 2 of Safari Technology Preview covers WebKit revisions 198530–199085. ... more


Wednesday, 30 March, 2016 UTC

Introducing Safari Technology Preview

Introducing Safari Technology Preview

Starting today, there’s a new, convenient way to see what features and improvements are coming to Safari and other applications that use WebKit. Safari Technology Preview is a version of Safari for OS X, distributed by Apple, that includes a cutting-edge, ... more


Monday, 28 March, 2016 UTC

New Web Features in Safari

New Web Features in Safari

Last week, a new version of Safari shipped with the release of iOS 9.3 and OS X El Capitan 10.11.4. Safari on iOS 9.3 and Safari 9.1 on OS X are significant releases that incorporate a lot of exciting web features from WebKit. These are web features ... more


Wednesday, 23 March, 2016 UTC

CSS Variables in WebKit

CSS Variables in WebKit

CSS variables, properly known as CSS Custom Properties, were added to WebKit in the fall of 2015. WebKit has always been intrigued by the idea of putting variables in CSS, ever since 2008 when Dave Hyatt added our first experimental implementation. Since ... more


Monday, 15 February, 2016 UTC

Introducing the B3 JIT compiler

Introducing the B3 JIT compiler

As of r195562, WebKit’s FTL JIT (Faster Than Light Just In Time compiler) now uses a new backend on OS X. The Bare Bones Backend, or B3 for short, replaces LLVM as the low-level optimizer in the FTL JIT. While LLVM is an excellent optimizer, it isn’t ... more


Saturday, 16 January, 2016 UTC

10 Years of Web Inspector

10 Years of Web Inspector

Ten years ago today we introduced the first version of Web Inspector to the world. That time was the wild west of web development, when your best debugging aid was alert() . While the earliest version of Web Inspector was limited (it didn’t even have ... more


Tuesday, 15 December, 2015 UTC

More Responsive Tapping on iOS

More Responsive Tapping on iOS

WebKit on iOS has a 350 millisecond delay before single taps activate links or buttons. WebKit has this delay because we also allow users to double tap to zoom, which is a great way to zoom in on content that is well-sized for large desktop displays, ... more


Tuesday, 1 December, 2015 UTC

Breakpoint Options

Breakpoint Options

In his classic book on graphics and assembly language, Michael Abrash writes “the best optimizer is between your ears”. The best debugger is also between your ears, and the best development tools should provide powerful and flexible features to help ... more


Tuesday, 1 December, 2015 UTC

Breakpoint Options

Breakpoint Options

In his classic book on graphics and assembly language, Michael Abrash writes, “the best optimizer is between your ears”. The best debugger is also between your ears, and the best development tools should provide powerful and flexible features to help ... more


Monday, 26 October, 2015 UTC

Introducing Shadow DOM API

Introducing Shadow DOM API

We’re pleased to announce that basic support for the new slot-based shadow DOM API we proposed in April is now available in the nightly builds of WebKit after r190680. Shadow DOM is a part of Web Components, a set of specifications that were initially ... more


Monday, 26 October, 2015 UTC

Introducing Slot-Based Shadow DOM API

Introducing Slot-Based Shadow DOM API

We’re pleased to announce that basic support for the new slot-based shadow DOM API we proposed in April is now available in the nightly builds of WebKit after r190680. Shadow DOM is a part of Web Components, a set of specifications that were initially ... more