diff options
author | Boris Chiou <boris.chiou@gmail.com> | 2017-12-06 16:18:19 +0800 |
---|---|---|
committer | Boris Chiou <boris.chiou@gmail.com> | 2017-12-06 16:37:14 +0800 |
commit | cfe6451d8e478cd6af2b18299845c1369e0fbadd (patch) | |
tree | ebbb0a95e09b532c978a305c471b05aec4ccb5ff /components/script/dom/textcontrol.rs | |
parent | b24778202a4d886a990ee493adfb6851ac4be40c (diff) | |
download | servo-cfe6451d8e478cd6af2b18299845c1369e0fbadd.tar.gz servo-cfe6451d8e478cd6af2b18299845c1369e0fbadd.zip |
hashglobe: Dump more information if out of memory while allocating a table.
Sometimes, we got a crash message:
"called `Result::unwrap()` on an `Err` value: FailedAllocationError {
reason: "out of memory when allocating RawTable" }" on stylo, but
this is not enough to debug, so let's add one more field in
FailedAllocationError, so we can know the size we are allocating.
Diffstat (limited to 'components/script/dom/textcontrol.rs')
0 files changed, 0 insertions, 0 deletions