playwright/src
Andrey Lushnikov 329b34e894
feat: implement mac keyboard (#197)
This list contains all of the default keyboard shortcuts for macos, and the Objective-C selector that they trigger on the [NSStandardKeyBindingResponding](https://developer.apple.com/documentation/appkit/nsstandardkeybindingresponding/3005237-moveleft?language=objc). We need these for basic keyboard functionality like ArrowUp and ArrowDown to work on WebKit for mac. For other browsers on mac, the same list can be used to enable better mac keyboard emulation.

The list was made by constructing NSEvents on a mac and seeing what selectors they triggered on an NSTextView. The conversion from NSEvents to DOM codes was done partially by hand as the code that does this conversion lives across many files in WebKit. There may be some errors or missing commands, but in general this should be a more faithful mac keyboard emulation than what we do in Chromium currently.

Notably absent from the list are Cut, Copy, Paste, Paste Special, Undo, and Redo. They are handled in a slightly different way.
2019-12-10 13:22:01 -08:00
..
chromium feat: implement mac keyboard (#197) 2019-12-10 13:22:01 -08:00
firefox feat: implement mac keyboard (#197) 2019-12-10 13:22:01 -08:00
injected chore: remove unneeded files, reuse events between browsers, no implicit any (#191) 2019-12-10 11:15:14 -08:00
webkit feat: implement mac keyboard (#197) 2019-12-10 13:22:01 -08:00
.eslintrc.js Initial commit 2019-11-19 10:58:15 -08:00
api.ts chore: split vendor APIs (#38) 2019-11-20 15:16:57 -08:00
browserFetcher.ts chore: reuse BrowserFetcher between browsers (#177) 2019-12-08 13:29:03 -08:00
console.ts chore: remove some usage of client from Page (#163) 2019-12-06 13:36:47 -08:00
DeviceDescriptors.ts chore: remove unneeded files, reuse events between browsers, no implicit any (#191) 2019-12-10 11:15:14 -08:00
dialog.ts chore: reuse Dialog between browsers (#115) 2019-12-02 11:53:23 -07:00
dom.ts fix(fill): throw when the element isn't fillable (#160) 2019-12-09 14:51:19 -08:00
Errors.ts Initial commit 2019-11-19 10:58:15 -08:00
events.ts chore(chromium): move Page to common, implement PageDelegate (#184) 2019-12-09 14:08:20 -07:00
frames.ts chore: unify frame lifecycle events between browsers (#172) 2019-12-09 16:34:42 -08:00
helper.ts chore(webkit): pass session to Target constructor (#187) 2019-12-09 14:41:20 -08:00
input.ts feat: implement mac keyboard (#197) 2019-12-10 13:22:01 -08:00
javascript.ts feat: make JSHandle generic (#140) 2019-12-05 16:26:09 -08:00
network.ts chore: rework wait task to accept arbitrary task on dom world (#126) 2019-12-03 11:51:41 -07:00
page.ts chore(webkit): migrate to common Page (#189) 2019-12-09 15:45:32 -08:00
screenshotter.ts lint: follow up with lints 2019-12-06 12:04:11 -08:00
TimeoutSettings.ts Initial commit 2019-11-19 10:58:15 -08:00
types.ts chore: remove unneeded files, reuse events between browsers, no implicit any (#191) 2019-12-10 11:15:14 -08:00
USKeyboardLayout.ts feat: implement mac keyboard (#197) 2019-12-10 13:22:01 -08:00