mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
auto merge of #4186 : mbrubeck/servo/layout-viewer, r=glennw
d1b433a3b3
changed the encoding format for Flows. The root is no longer wrapped inside a `data` field, but instead includes BaseFlow fields directly. This broke the layout trace viewer, which threw an uncaught exception when the `data` property was missing. This fixes the exception, though some functionality may still be partly broken.
This commit is contained in:
commit
b2b6d4d0d1
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@
|
|||
|
||||
<script>
|
||||
function get_base(node) {
|
||||
if (node.id !== undefined) {
|
||||
return node;
|
||||
}
|
||||
if (node.data.base !== undefined) {
|
||||
return node.data.base;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue