electron/atom/common/native_mate_converters
Islam Sharabash 3b6f0d83e1 fix: allow stream protocols to return headers with multiple values (#14887)
* fix: allow stream protocols to return headers with multiple values

This allows stream protocols to return headers with multiple values as
an array of values.

Fixes https://github.com/electron/electron/issues/14778

* Prefer ConvertFromV8

* Cleanup header conversion

1. Deduplicate the code by using a lambda
2. Remove duplicate calls to headers->Get(key)

* Fix broken test

Headers with multiple values are now being converted correctly, this
test asserted the wrong behavior.
2018-10-25 11:34:20 +11:00
..
accelerator_converter.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
accelerator_converter.h clang-format atom files 2018-04-18 20:48:45 -04:00
blink_converter.cc SetTimeStamp takes a base::TimeTicks 2018-10-04 00:12:54 +02:00
blink_converter.h The Great Blink mv for source files, part 2. 2018-09-11 20:21:32 +02:00
callback.cc chore: run clang-format to clear linter for #14977 (#14990) 2018-10-05 10:38:27 -05:00
callback.h chore: run clang-format to clear linter for #14977 (#14990) 2018-10-05 10:38:27 -05:00
content_converter.cc refactor: remove WebContents::CreateFrom (#15241) 2018-10-19 17:52:07 +09:00
content_converter.h The Great Blink mv for source files, part 2. 2018-09-11 20:21:32 +02:00
file_path_converter.h clang-format atom files 2018-04-18 20:48:45 -04:00
gfx_converter.cc feat: automatically round numbers that are converted to points (#14604) 2018-09-13 08:28:56 -05:00
gfx_converter.h Add gfx:PointF support to mate::Converter 2018-06-19 11:49:45 +10:00
gurl_converter.h clang-format atom files 2018-04-18 20:48:45 -04:00
image_converter.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
image_converter.h clang-format atom files 2018-04-18 20:48:45 -04:00
net_converter.cc fix: allow stream protocols to return headers with multiple values (#14887) 2018-10-25 11:34:20 +11:00
net_converter.h clang-format atom files 2018-04-18 20:48:45 -04:00
network_converter.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
network_converter.h Create network_converter for services/network/* types 2018-06-19 11:49:42 +10:00
string16_converter.h don't use native_mate/compat.h macros (#12984) 2018-05-18 09:08:28 +09:00
ui_base_types_converter.h clang-format atom files 2018-04-18 20:48:45 -04:00
v8_value_converter.cc refactor: remove deprecated GetAs methods (#13425) 2018-06-27 14:52:48 -07:00
v8_value_converter.h perf: don't use JSON to send the result of ipcRenderer.sendSync. (#8953) 2018-06-13 17:38:31 +10:00
value_converter.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
value_converter.h refactor: remove instances of createDeepCopy (#13703) 2018-08-04 07:23:07 +10:00