puppeteer/lib
Sergio M 60249e0bc2 fix: Page.setContent working with unicode strings (#4433)
Fix `page.setContent` with unicode strings that exceeds the range of a 8-bit byte.

This patch implements decoding part of the [MDN's solution #4 for the "unicode problem"](https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_4_%E2%80%93_escaping_the_string_before_encoding_it).

Since we rely on node.js buffer to encode into base64, we don't have troubles with base64 encoding, so it is left as-is.

Fixes #4424
2019-05-18 17:15:16 +03:00
..
.eslintrc.js Introduce Eslint to validate style 2017-06-11 01:32:59 -07:00
Accessibility.js feat: root option in page.accessibility.snapshot() (#4318) 2019-05-09 23:39:42 -07:00
api.js chore: introduce //lib/api.js (#3835) 2019-01-25 23:21:14 -05:00
Browser.js feat(browser): Add browser.isConnected() (#4403) 2019-05-09 16:24:52 -07:00
BrowserFetcher.js chore(types): Upgrade TypeScript to 3.2.2 (#3754) 2019-01-10 22:56:39 -08:00
Connection.js chore: introduce //lib/api.js (#3835) 2019-01-25 23:21:14 -05:00
Coverage.js chore: introduce //lib/api.js (#3835) 2019-01-25 23:21:14 -05:00
DeviceDescriptors.js feat: update DeviceDescriptors (#4321) 2019-04-22 16:19:21 -07:00
Dialog.js chore: introduce //lib/api.js (#3835) 2019-01-25 23:21:14 -05:00
DOMWorld.js fix: Page.setContent working with unicode strings (#4433) 2019-05-18 17:15:16 +03:00
EmulationManager.js chore: upgrade to TypeScript 3.0.1 (#3024) 2018-08-06 11:31:33 -07:00
Errors.js feat: introduce puppeteer/Errors (#3056) 2018-08-09 16:51:12 -07:00
Events.js refactor: consolidate all events in Events.js (#3772) 2019-01-14 19:57:05 -08:00
ExecutionContext.js feat(executioncontext): support bigints transferring (#4016) 2019-03-15 10:20:48 -07:00
externs.d.ts feat(page): introduce page.setDefaultTimeout (#3854) 2019-01-28 17:16:12 -08:00
FrameManager.js fix: gracefully handle multiple contexts for secondary DOM World (#4276) 2019-04-11 16:26:18 -04:00
helper.js feat(executioncontext): support bigints transferring (#4016) 2019-03-15 10:20:48 -07:00
Input.js chore: introduce //lib/api.js (#3835) 2019-01-25 23:21:14 -05:00
JSHandle.js fix(page): intersect content quads with viewport (#4277) 2019-04-11 21:11:20 -04:00
Launcher.js fix: Removing a dead flag. (#4310) 2019-04-18 12:51:16 -07:00
LifecycleWatcher.js fix: cache disabling should stick when toggling request interception (#4260) 2019-04-10 00:42:42 -04:00
Multimap.js chore: upgrade to TypeScript 3.0.1 (#3024) 2018-08-06 11:31:33 -07:00
NetworkManager.js refactor: migrate onto Fetch domain (#4265) 2019-04-11 15:02:06 -04:00
Page.js feat(chromium): roll Chromium to r654752 (#4358) 2019-04-28 20:19:01 -07:00
PipeTransport.js fix(pipe): dispatch "disconnected" event when browser is terminated (#3472) 2018-10-31 16:31:29 -07:00
Puppeteer.js feat(puppeteer): introduce puppeteer.errors and puppeteer.devices (#4312) 2019-04-19 15:33:06 -07:00
Target.js feat(workers): create workers from service workers and shared workers (#4397) 2019-05-09 17:29:18 -07:00
TaskQueue.js chore(types): Upgrade TypeScript to 3.2.2 (#3754) 2019-01-10 22:56:39 -08:00
TimeoutSettings.js feat(page): introduce page.setDefaultTimeout (#3854) 2019-01-28 17:16:12 -08:00
Tracing.js fix(tracing): start without options (#4388) 2019-05-09 17:15:33 -07:00
USKeyboardLayout.js fix: add missing location property to some key descriptors (#3354) 2018-10-05 12:35:10 -07:00
WebSocketTransport.js refactor: use browser-compliant interface of 'ws' (#3218) 2018-09-11 18:41:28 +01:00
Worker.js chore: introduce //lib/api.js (#3835) 2019-01-25 23:21:14 -05:00