diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-12-06 02:38:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 02:38:22 -0600 |
commit | 7fd7c21c4c99dd9f8e118948f0c52d4b4073d559 (patch) | |
tree | ebbb0a95e09b532c978a305c471b05aec4ccb5ff /components/script/dom/textcontrol.rs | |
parent | b24778202a4d886a990ee493adfb6851ac4be40c (diff) | |
parent | cfe6451d8e478cd6af2b18299845c1369e0fbadd (diff) | |
download | servo-7fd7c21c4c99dd9f8e118948f0c52d4b4073d559.tar.gz servo-7fd7c21c4c99dd9f8e118948f0c52d4b4073d559.zip |
Auto merge of #19504 - BorisChiou:stylo/crash/out_of_memory, r=emilio
hashglobe: Dump more information if out of memory while allocating a table
This is for Bug 1418806 and Bug 1416903. Sometimes, we got a crash message on stylo:
> called `Result::unwrap()` on an `Err` value: FailedAllocationError {
> reason: "out of memory when allocating RawTable" }
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.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19504)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/textcontrol.rs')
0 files changed, 0 insertions, 0 deletions