@@ -28,7 +28,7 @@ Loader.OnLoad(function() {
28
28
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::Document" ) , "URL" , false , UserEditableFunctions . Create ( ( document ) => document . f ( "base_url_" ) . f ( "string_" ) . desc ( "Text" ) ) ) ;
29
29
30
30
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Document" ) , "body" , Chromium . RendererProcessType ( "blink::HTMLElement" ) , UserEditableFunctions . Create ( ( document ) => {
31
- return document . f ( "document_element_.raw_ " ) . dcast ( Chromium . RendererProcessType ( "blink::HTMLHtmlElement" ) )
31
+ return document . f ( "document_element_" ) . F ( "Object ") . dcast ( Chromium . RendererProcessType ( "blink::HTMLHtmlElement" ) )
32
32
. then ( ( htmlElement ) => {
33
33
if ( ! htmlElement . isNull ( ) ) {
34
34
return htmlElement . array ( "child_nodes_" ) . filter ( ( childNode ) => {
@@ -47,7 +47,7 @@ Loader.OnLoad(function() {
47
47
. thenAll ( ( nodeFlags , hasRareDataFlag ) => {
48
48
var nodeHasRareData = nodeFlags & hasRareDataFlag ;
49
49
if ( nodeHasRareData ) {
50
- return node . f ( "data_" ) . f ( "rare_data_" , "" ) . f ( "raw_" , " ") . as ( Chromium . RendererProcessType ( "blink::NodeRareData" ) ) ;
50
+ return node . f ( "data_" ) . F ( "Object" ) . f ( "rare_data_" ) . F ( "Object ") . as ( Chromium . RendererProcessType ( "blink::NodeRareData" ) ) ;
51
51
} else {
52
52
return DbgObject . NULL ;
53
53
}
@@ -101,12 +101,12 @@ Loader.OnLoad(function() {
101
101
102
102
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Node" ) , "node_layout_data_" , Chromium . RendererProcessType ( "blink::NodeRenderingData" ) , UserEditableFunctions . Create ( ( node ) => {
103
103
return node . F ( "rare_data_" )
104
- . then ( ( nodeRareData ) => ( ! nodeRareData . isNull ( ) ? nodeRareData : node . f ( "data_" ) ) )
105
- . then ( ( nodeData ) => nodeData . f ( "node_layout_data_" , "" ) . f ( "raw_" , " ") . as ( Chromium . RendererProcessType ( "blink::NodeRenderingData" ) ) ) ;
104
+ . then ( ( nodeRareData ) => ( ! nodeRareData . isNull ( ) ? nodeRareData : node . f ( "data_" ) . F ( "object" ) ) )
105
+ . then ( ( nodeData ) => nodeData . f ( "node_layout_data_" ) . F ( "Object ") . as ( Chromium . RendererProcessType ( "blink::NodeRenderingData" ) ) ) ;
106
106
} ) ) ;
107
107
108
108
function getCollectionFromOwnerNode ( node , collectionTypeOrPromise ) {
109
- return node . F ( "rare_data_" ) . f ( "node_lists_.raw_ " ) . f ( "atomic_name_caches_" ) . f ( "impl_" )
109
+ return node . F ( "rare_data_" ) . f ( "node_lists_" ) . F ( "Object ") . f ( "atomic_name_caches_" ) . f ( "impl_" )
110
110
. then ( ( hashTable ) => {
111
111
if ( ! hashTable . isNull ( ) ) {
112
112
return Promise . all ( [ hashTable . array ( "Pairs" ) , collectionTypeOrPromise ] )
@@ -118,7 +118,7 @@ Loader.OnLoad(function() {
118
118
} )
119
119
. then ( ( pairForCollectionType ) => {
120
120
console . assert ( pairForCollectionType . length <= 1 ) ;
121
- return ( pairForCollectionType . length > 0 ) ? pairForCollectionType [ 0 ] . f ( "value.raw_ " ) . vcast ( ) : DbgObject . NULL ;
121
+ return ( pairForCollectionType . length > 0 ) ? pairForCollectionType [ 0 ] . f ( "value" ) . F ( "Object ") . vcast ( ) : DbgObject . NULL ;
122
122
} ) ;
123
123
} else {
124
124
return DbgObject . NULL ;
@@ -163,20 +163,20 @@ Loader.OnLoad(function() {
163
163
} ) ) ;
164
164
165
165
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Document" ) , "DOMSelection" , Chromium . RendererProcessType ( "blink::DOMSelection" ) , UserEditableFunctions . Create ( ( document ) => {
166
- return document . f ( "tree_scope_.raw_" ) . f ( "selection_.raw_ " ) ;
166
+ return document . f ( "tree_scope_" ) . F ( "Object" ) . f ( "selection_" ) . F ( "Object ") ;
167
167
} ) ) ;
168
168
169
169
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::ShadowRoot" ) , "DOMSelection" , Chromium . RendererProcessType ( "blink::DOMSelection" ) , UserEditableFunctions . Create ( ( shadowRoot ) => {
170
- return shadowRoot . f ( "tree_scope_.raw_" ) . f ( "selection_.raw_ " ) ;
170
+ return shadowRoot . f ( "tree_scope_" ) . F ( "Object" ) . f ( "selection_" ) . F ( "Object ") ;
171
171
} ) ) ;
172
172
173
173
DbgObject . AddTypeOverride ( Chromium . RendererProcessType ( "blink::ShadowRoot" ) , "type_" , "blink::ShadowRootType" ) ;
174
174
175
175
DbgObject . AddTypeOverride ( Chromium . RendererProcessType ( "blink::DocumentMarkerController" ) , "possibly_existing_marker_types_" , "blink::DocumentMarker::MarkerTypes" ) ;
176
176
177
177
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::DOMSelection" ) , "FrameSelection" , Chromium . RendererProcessType ( "blink::FrameSelection" ) , UserEditableFunctions . Create ( ( domSelection ) => {
178
- return validExecutionContextOrNull ( domSelection . f ( "execution_context_.raw_ " ) )
179
- . then ( ( validExecutionContextOrNull ) => validExecutionContextOrNull . dcast ( Chromium . RendererProcessType ( "blink::Document" ) ) . f ( "frame_.raw_" ) . dcast ( Chromium . RendererProcessType ( "blink::LocalFrame" ) ) . f ( "selection_.raw_ " ) ) ;
178
+ return validExecutionContextOrNull ( domSelection . f ( "execution_context_" ) . F ( "Object ") )
179
+ . then ( ( validExecutionContextOrNull ) => validExecutionContextOrNull . dcast ( Chromium . RendererProcessType ( "blink::Document" ) ) . f ( "frame_" ) . F ( "Object" ) . dcast ( Chromium . RendererProcessType ( "blink::LocalFrame" ) ) . f ( "selection_" ) . F ( "Object ") ) ;
180
180
} ) ) ;
181
181
182
182
function validExecutionContextOrNull ( executionContext ) {
@@ -185,28 +185,28 @@ Loader.OnLoad(function() {
185
185
}
186
186
187
187
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Range" ) , "startContainer" , Chromium . RendererProcessType ( "blink::Node" ) , UserEditableFunctions . Create ( ( range ) => {
188
- return range . f ( "start_" ) . f ( "container_node_.raw_ " ) ;
188
+ return range . f ( "start_" ) . f ( "container_node_" ) . F ( "Object ") ;
189
189
} ) ) ;
190
190
191
191
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::Range" ) , "startOffset" , false , UserEditableFunctions . Create ( ( range ) => {
192
192
return range . f ( "start_" ) . f ( "offset_in_container_" ) ;
193
193
} ) ) ;
194
194
195
195
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Range" ) , "endContainer" , Chromium . RendererProcessType ( "blink::Node" ) , UserEditableFunctions . Create ( ( range ) => {
196
- return range . f ( "end_" ) . f ( "container_node_.raw_ " ) ;
196
+ return range . f ( "end_" ) . f ( "container_node_" ) . F ( "Object ") ;
197
197
} ) ) ;
198
198
199
199
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::Range" ) , "endOffset" , false , UserEditableFunctions . Create ( ( range ) => {
200
200
return range . f ( "end_" ) . f ( "offset_in_container_" ) ;
201
201
} ) ) ;
202
202
203
203
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::Element" ) , "id" , false , UserEditableFunctions . Create ( ( element ) => {
204
- return element . f ( "element_data_.raw_ " )
204
+ return element . f ( "element_data_" ) . F ( "Object ")
205
205
. then ( ( elementData ) => ( ! elementData . isNull ( ) ? elementData . f ( "id_for_style_resolution_" ) . desc ( "Text" ) : "" ) ) ;
206
206
} ) ) ;
207
207
208
208
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Node" ) , "ownerDocument" , Chromium . RendererProcessType ( "blink::Document" ) , UserEditableFunctions . Create ( ( node ) => {
209
- return node . f ( "tree_scope_.raw_" ) . f ( "document_.raw_ " )
209
+ return node . f ( "tree_scope_" ) . F ( "Object" ) . f ( "document_" ) . F ( "Object ")
210
210
. then ( ( document ) => ( ! node . equals ( document ) ? document : DbgObject . NULL ) ) ;
211
211
} ) ) ;
212
212
@@ -217,7 +217,7 @@ Loader.OnLoad(function() {
217
217
} ) ) ;
218
218
219
219
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Node" ) , "childNodes" , Chromium . RendererProcessType ( "blink::NodeList" ) , UserEditableFunctions . Create ( ( node ) => {
220
- return node . F ( "rare_data_" ) . f ( "node_lists_.raw_" ) . f ( "child_node_list_.raw_ " ) ;
220
+ return node . F ( "rare_data_" ) . f ( "node_lists_" ) . F ( "Object" ) . f ( "child_node_list_" ) . F ( "Object ") ;
221
221
} ) ) ;
222
222
223
223
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::HTMLDataListElement" ) , "options" , Chromium . RendererProcessType ( "blink::HTMLDataListOptionsCollection" ) , UserEditableFunctions . Create ( ( htmlDataListElement ) => {
@@ -257,7 +257,7 @@ Loader.OnLoad(function() {
257
257
} ) ) ;
258
258
259
259
DbgObject . AddArrayField ( Chromium . RendererProcessType ( "blink::Element" ) , "attributes_" , Chromium . RendererProcessType ( "blink::Attribute" ) , UserEditableFunctions . Create ( ( element ) => {
260
- return element . f ( "element_data_.raw_ " )
260
+ return element . f ( "element_data_" ) . F ( "Object ")
261
261
. then ( ( elementData ) => {
262
262
if ( ! elementData . isNull ( ) ) {
263
263
return Promise . all ( [ elementData . F ( "unique_element_data_" ) , elementData . F ( "shareable_element_data_" ) ] )
@@ -285,7 +285,7 @@ Loader.OnLoad(function() {
285
285
} ) ) ;
286
286
287
287
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Element" ) , "shadowRoot" , Chromium . RendererProcessType ( "blink::ShadowRoot" ) , UserEditableFunctions . Create ( ( element ) => {
288
- return element . F ( "rare_data_" ) . F ( "element_rare_data_" ) . f ( "shadow_root_.raw_ " ) . vcast ( ) ;
288
+ return element . F ( "rare_data_" ) . F ( "element_rare_data_" ) . f ( "shadow_root_" ) . F ( "Object ") . vcast ( ) ;
289
289
} ) ) ;
290
290
291
291
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::Element" ) , "tagName" , false , UserEditableFunctions . Create ( ( element ) => {
@@ -297,7 +297,7 @@ Loader.OnLoad(function() {
297
297
} ) ) ;
298
298
299
299
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::Node" ) , "assigned_slot_" , Chromium . RendererProcessType ( "blink::HTMLSlotElement" ) , UserEditableFunctions . Create ( ( node ) => {
300
- return node . F ( "rare_data_" ) . f ( "flat_tree_node_data_.raw_" ) . f ( "assigned_slot_.raw_ " ) ;
300
+ return node . F ( "rare_data_" ) . f ( "flat_tree_node_data_" ) . F ( "Object" ) . f ( "assigned_slot_" ) . F ( "Object ") ;
301
301
} ) ) ;
302
302
303
303
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::QualifiedName" ) , "Prefix" , false , UserEditableFunctions . Create ( ( qualifiedName ) => {
@@ -325,19 +325,19 @@ Loader.OnLoad(function() {
325
325
} ) ) ;
326
326
327
327
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::HTMLFrameOwnerElement" ) , "contentWindow" , Chromium . RendererProcessType ( "blink::DOMWindow" ) , UserEditableFunctions . Create ( ( frameOwnerElement ) => {
328
- return frameOwnerElement . f ( "content_frame_.raw_" ) . f ( "dom_window_.raw_ " ) ;
328
+ return frameOwnerElement . f ( "content_frame_" ) . F ( "Object" ) . f ( "dom_window_" ) . F ( "Object ") ;
329
329
} ) ) ;
330
330
331
331
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::HTMLFrameOwnerElement" ) , "contentDocument" , Chromium . RendererProcessType ( "blink::Document" ) , UserEditableFunctions . Create ( ( frameOwnerElement ) => {
332
332
return frameOwnerElement . F ( "contentWindow" ) . F ( "document" ) ;
333
333
} ) ) ;
334
334
335
335
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::DOMWindow" ) , "document" , Chromium . RendererProcessType ( "blink::Document" ) , UserEditableFunctions . Create ( ( domWindow ) => {
336
- return domWindow . dcast ( Chromium . RendererProcessType ( "blink::LocalDOMWindow" ) ) . f ( "document_.raw_ " ) ;
336
+ return domWindow . dcast ( Chromium . RendererProcessType ( "blink::LocalDOMWindow" ) ) . f ( "document_" ) . F ( "Object ") ;
337
337
} ) ) ;
338
338
339
339
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::HTMLTemplateElement" ) , "content" , Chromium . RendererProcessType ( "blink::TemplateContentDocumentFragment" ) , UserEditableFunctions . Create ( ( templateElement ) => {
340
- return templateElement . f ( "content_.raw_ " ) ;
340
+ return templateElement . f ( "content_" ) . F ( "Object ") ;
341
341
} ) ) ;
342
342
343
343
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::HTMLInputElement" ) , "type" , false , UserEditableFunctions . Create ( ( inputElement ) => {
@@ -393,10 +393,10 @@ Loader.OnLoad(function() {
393
393
return inputElement . F ( "shadowRoot" ) . array ( "child_nodes_" ) . dcast ( Chromium . RendererProcessType ( "blink::PickerIndicatorElement" ) ) . filter ( ( pickerIndicatorElement ) => ! pickerIndicatorElement . isNull ( ) )
394
394
. then ( ( pickerIndicatorElement ) => {
395
395
console . assert ( pickerIndicatorElement . length == 1 ) ;
396
- return pickerIndicatorElement [ 0 ] . f ( "chooser_.raw_ " ) . vcast ( ) ;
396
+ return pickerIndicatorElement [ 0 ] . f ( "chooser_" ) . F ( "Object ") . vcast ( ) ;
397
397
} ) ;
398
398
} else if ( ! colorInputType . isNull ( ) ) {
399
- return colorInputType . f ( "chooser_.raw_ " ) . vcast ( ) ;
399
+ return colorInputType . f ( "chooser_" ) . F ( "Object ") . vcast ( ) ;
400
400
} else {
401
401
return DbgObject . NULL ;
402
402
}
@@ -405,11 +405,11 @@ Loader.OnLoad(function() {
405
405
} ) ) ;
406
406
407
407
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::WebPagePopupImpl" ) , "document_" , Chromium . RendererProcessType ( "blink::HTMLDocument" ) , UserEditableFunctions . Create ( ( webPagePopupImpl ) => {
408
- return webPagePopupImpl . f ( "page_.raw_" ) . f ( "main_frame_.raw_" ) . dcast ( Chromium . RendererProcessType ( "blink::LocalFrame" ) ) . f ( "dom_window_.raw_ " ) . F ( "document" ) . vcast ( ) ;
408
+ return webPagePopupImpl . f ( "page_" ) . F ( "Object" ) . f ( "main_frame_" ) . F ( "Object" ) . dcast ( Chromium . RendererProcessType ( "blink::LocalFrame" ) ) . f ( "dom_window_" ) . F ( "Object ") . F ( "document" ) . vcast ( ) ;
409
409
} ) ) ;
410
410
411
411
DbgObject . AddExtendedField ( Chromium . RendererProcessType ( "blink::HTMLInputElement" ) , "specialized_input_type_" , Chromium . RendererProcessType ( "blink::InputType" ) , UserEditableFunctions . Create ( ( inputElement ) => {
412
- return inputElement . f ( "input_type_.raw_ " ) . vcast ( ) ;
412
+ return inputElement . f ( "input_type_" ) . F ( "Object ") . vcast ( ) ;
413
413
} ) ) ;
414
414
415
415
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::BaseButtonInputType" ) , "value_mode_" , false , ( ) => "default" ) ;
@@ -422,7 +422,7 @@ Loader.OnLoad(function() {
422
422
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::TextFieldInputType" ) , "value_mode_" , false , ( ) => "value" ) ;
423
423
424
424
DbgObject . AddTypeDescription ( Chromium . RendererProcessType ( "blink::ColorInputType" ) , "color_" , false , UserEditableFunctions . Create ( ( colorInputType ) => {
425
- return colorInputType . f ( "element_.raw_ " ) . desc ( "value" )
425
+ return colorInputType . f ( "element_" ) . F ( "Object ") . desc ( "value" )
426
426
. then ( ( hexValue ) => {
427
427
var colorValue = parseInt ( hexValue . substr ( 1 ) , 16 ) ;
428
428
var rgbChannels = [ ( colorValue >> 16 ) & 0xFF , ( colorValue >> 8 ) & 0xFF , colorValue & 0xFF ] ;
@@ -898,7 +898,7 @@ Loader.OnLoad(function() {
898
898
. then ( ( parentFrame ) => ! parentFrame . isNull ( ) ) ;
899
899
} ) ;
900
900
} )
901
- . then ( ( sortedWebFrames ) => Promise . map ( sortedWebFrames , ( webFrame ) => webFrame . vcast ( ) . f ( "frame_.raw_" ) . f ( "dom_window_.raw_ " ) . F ( "document" ) ) )
901
+ . then ( ( sortedWebFrames ) => Promise . map ( sortedWebFrames , ( webFrame ) => webFrame . vcast ( ) . f ( "frame_" ) . F ( "Object" ) . f ( "dom_window_" ) . F ( "Object ") . F ( "document" ) ) )
902
902
. then ( ( sortedDocuments ) => Promise . filter ( sortedDocuments , ( document ) => ! document . isNull ( ) ) )
903
903
} ,
904
904
GetRootLayoutObjects : ( ...typenames_for_error ) => {
0 commit comments