@@ -82,9 +82,7 @@ class GPUError {
8282 createFilteredInspectProxy ( {
8383 object : this ,
8484 evaluate : ObjectPrototypeIsPrototypeOf ( GPUErrorPrototype , this ) ,
85- keys : [
86- "message" ,
87- ] ,
85+ keys : [ "message" ] ,
8886 } ) ,
8987 inspectOptions ,
9088 ) ;
@@ -157,8 +155,8 @@ class GPUUncapturedErrorEvent extends Event {
157155
158156 const prefix = "Failed to construct 'GPUUncapturedErrorEvent'" ;
159157 webidl . requiredArguments ( arguments . length , 2 , prefix ) ;
160- gpuUncapturedErrorEventInitDict = webidl . converters
161- . GPUUncapturedErrorEventInit (
158+ gpuUncapturedErrorEventInitDict =
159+ webidl . converters . GPUUncapturedErrorEventInit (
162160 gpuUncapturedErrorEventInitDict ,
163161 prefix ,
164162 "Argument 2" ,
@@ -190,11 +188,7 @@ ObjectDefineProperty(GPUAdapterPrototype, privateCustomInspect, {
190188 createFilteredInspectProxy ( {
191189 object : this ,
192190 evaluate : ObjectPrototypeIsPrototypeOf ( GPUAdapterPrototype , this ) ,
193- keys : [
194- "features" ,
195- "limits" ,
196- "info" ,
197- ] ,
191+ keys : [ "features" , "limits" , "info" ] ,
198192 } ) ,
199193 inspectOptions ,
200194 ) ;
@@ -232,7 +226,8 @@ ObjectDefineProperty(GPUSupportedFeaturesPrototype, privateCustomInspect, {
232226 if ( ObjectPrototypeIsPrototypeOf ( GPUSupportedFeaturesPrototype , this ) ) {
233227 return `${ this . constructor . name } ${
234228 // deno-lint-ignore prefer-primordials
235- inspect ( [ ...this ] , inspectOptions ) } `;
229+ inspect ( [ ...this ] , inspectOptions )
230+ } `;
236231 } else {
237232 return `${ this . constructor . name } ${ inspect ( { } , inspectOptions ) } ` ;
238233 }
@@ -247,7 +242,8 @@ ObjectDefineProperty(WGSLLanguageFeaturesPrototype, privateCustomInspect, {
247242 if ( ObjectPrototypeIsPrototypeOf ( WGSLLanguageFeaturesPrototype , this ) ) {
248243 return `${ this . constructor . name } ${
249244 // deno-lint-ignore prefer-primordials
250- inspect ( [ ...this ] , inspectOptions ) } `;
245+ inspect ( [ ...this ] , inspectOptions )
246+ } `;
251247 } else {
252248 return `${ this . constructor . name } ${ inspect ( { } , inspectOptions ) } ` ;
253249 }
@@ -316,10 +312,7 @@ ObjectDefineProperty(GPUDeviceLostInfoPrototype, privateCustomInspect, {
316312 GPUDeviceLostInfoPrototype ,
317313 this ,
318314 ) ,
319- keys : [
320- "reason" ,
321- "message" ,
322- ] ,
315+ keys : [ "reason" , "message" ] ,
323316 } ) ,
324317 inspectOptions ,
325318 ) ;
@@ -359,9 +352,7 @@ ObjectDefineProperty(GPUQueuePrototype, privateCustomInspect, {
359352 createFilteredInspectProxy ( {
360353 object : this ,
361354 evaluate : ObjectPrototypeIsPrototypeOf ( GPUQueuePrototype , this ) ,
362- keys : [
363- "label" ,
364- ] ,
355+ keys : [ "label" ] ,
365356 } ) ,
366357 inspectOptions ,
367358 ) ;
@@ -376,12 +367,7 @@ ObjectDefineProperty(GPUBufferPrototype, privateCustomInspect, {
376367 createFilteredInspectProxy ( {
377368 object : this ,
378369 evaluate : ObjectPrototypeIsPrototypeOf ( GPUBufferPrototype , this ) ,
379- keys : [
380- "label" ,
381- "mapState" ,
382- "size" ,
383- "usage" ,
384- ] ,
370+ keys : [ "label" , "mapState" , "size" , "usage" ] ,
385371 } ) ,
386372 inspectOptions ,
387373 ) ;
@@ -493,9 +479,7 @@ ObjectDefineProperty(GPUTextureViewPrototype, privateCustomInspect, {
493479 createFilteredInspectProxy ( {
494480 object : this ,
495481 evaluate : ObjectPrototypeIsPrototypeOf ( GPUTextureViewPrototype , this ) ,
496- keys : [
497- "label" ,
498- ] ,
482+ keys : [ "label" ] ,
499483 } ) ,
500484 inspectOptions ,
501485 ) ;
@@ -509,13 +493,8 @@ ObjectDefineProperty(GPUSamplerPrototype, privateCustomInspect, {
509493 return inspect (
510494 createFilteredInspectProxy ( {
511495 object : this ,
512- evaluate : ObjectPrototypeIsPrototypeOf (
513- GPUSamplerPrototype ,
514- this ,
515- ) ,
516- keys : [
517- "label" ,
518- ] ,
496+ evaluate : ObjectPrototypeIsPrototypeOf ( GPUSamplerPrototype , this ) ,
497+ keys : [ "label" ] ,
519498 } ) ,
520499 inspectOptions ,
521500 ) ;
@@ -533,9 +512,7 @@ ObjectDefineProperty(GPUBindGroupLayout, privateCustomInspect, {
533512 GPUBindGroupLayoutPrototype ,
534513 this ,
535514 ) ,
536- keys : [
537- "label" ,
538- ] ,
515+ keys : [ "label" ] ,
539516 } ) ,
540517 inspectOptions ,
541518 ) ;
@@ -553,9 +530,7 @@ ObjectDefineProperty(GPUPipelineLayoutPrototype, privateCustomInspect, {
553530 GPUPipelineLayoutPrototype ,
554531 this ,
555532 ) ,
556- keys : [
557- "label" ,
558- ] ,
533+ keys : [ "label" ] ,
559534 } ) ,
560535 inspectOptions ,
561536 ) ;
@@ -570,9 +545,7 @@ ObjectDefineProperty(GPUBindGroupPrototype, privateCustomInspect, {
570545 createFilteredInspectProxy ( {
571546 object : this ,
572547 evaluate : ObjectPrototypeIsPrototypeOf ( GPUBindGroupPrototype , this ) ,
573- keys : [
574- "label" ,
575- ] ,
548+ keys : [ "label" ] ,
576549 } ) ,
577550 inspectOptions ,
578551 ) ;
@@ -587,9 +560,7 @@ ObjectDefineProperty(GPUShaderModulePrototype, privateCustomInspect, {
587560 createFilteredInspectProxy ( {
588561 object : this ,
589562 evaluate : ObjectPrototypeIsPrototypeOf ( GPUShaderModulePrototype , this ) ,
590- keys : [
591- "label" ,
592- ] ,
563+ keys : [ "label" ] ,
593564 } ) ,
594565 inspectOptions ,
595566 ) ;
@@ -606,9 +577,7 @@ ObjectDefineProperty(GPUCompilationInfo, privateCustomInspect, {
606577 GPUCompilationInfoPrototype ,
607578 this ,
608579 ) ,
609- keys : [
610- "messages" ,
611- ] ,
580+ keys : [ "messages" ] ,
612581 } ) ,
613582 inspectOptions ,
614583 ) ;
@@ -626,14 +595,7 @@ ObjectDefineProperty(GPUCompilationMessage, privateCustomInspect, {
626595 GPUCompilationMessagePrototype ,
627596 this ,
628597 ) ,
629- keys : [
630- "message" ,
631- "type" ,
632- "line_num" ,
633- "line_pos" ,
634- "offset" ,
635- "length" ,
636- ] ,
598+ keys : [ "message" , "type" , "line_num" , "line_pos" , "offset" , "length" ] ,
637599 } ) ,
638600 inspectOptions ,
639601 ) ;
@@ -670,9 +632,7 @@ ObjectDefineProperty(GPUComputePipelinePrototype, privateCustomInspect, {
670632 GPUComputePipelinePrototype ,
671633 this ,
672634 ) ,
673- keys : [
674- "label" ,
675- ] ,
635+ keys : [ "label" ] ,
676636 } ) ,
677637 inspectOptions ,
678638 ) ;
@@ -690,9 +650,7 @@ ObjectDefineProperty(GPURenderPipelinePrototype, privateCustomInspect, {
690650 GPURenderPipelinePrototype ,
691651 this ,
692652 ) ,
693- keys : [
694- "label" ,
695- ] ,
653+ keys : [ "label" ] ,
696654 } ) ,
697655 inspectOptions ,
698656 ) ;
@@ -717,7 +675,7 @@ class GPUColorWrite {
717675 return 0x8 ;
718676 }
719677 static get ALL ( ) {
720- return 0xF ;
678+ return 0xf ;
721679 }
722680}
723681
@@ -732,9 +690,7 @@ ObjectDefineProperty(GPUCommandEncoderPrototype, privateCustomInspect, {
732690 GPUCommandEncoderPrototype ,
733691 this ,
734692 ) ,
735- keys : [
736- "label" ,
737- ] ,
693+ keys : [ "label" ] ,
738694 } ) ,
739695 inspectOptions ,
740696 ) ;
@@ -752,9 +708,7 @@ ObjectDefineProperty(GPURenderPassEncoderPrototype, privateCustomInspect, {
752708 GPURenderPassEncoderPrototype ,
753709 this ,
754710 ) ,
755- keys : [
756- "label" ,
757- ] ,
711+ keys : [ "label" ] ,
758712 } ) ,
759713 inspectOptions ,
760714 ) ;
@@ -772,9 +726,7 @@ ObjectDefineProperty(GPUComputePassEncoderPrototype, privateCustomInspect, {
772726 GPUComputePassEncoderPrototype ,
773727 this ,
774728 ) ,
775- keys : [
776- "label" ,
777- ] ,
729+ keys : [ "label" ] ,
778730 } ) ,
779731 inspectOptions ,
780732 ) ;
@@ -789,9 +741,7 @@ ObjectDefineProperty(GPUCommandBufferPrototype, privateCustomInspect, {
789741 createFilteredInspectProxy ( {
790742 object : this ,
791743 evaluate : ObjectPrototypeIsPrototypeOf ( GPUCommandBufferPrototype , this ) ,
792- keys : [
793- "label" ,
794- ] ,
744+ keys : [ "label" ] ,
795745 } ) ,
796746 inspectOptions ,
797747 ) ;
@@ -809,9 +759,7 @@ ObjectDefineProperty(GPURenderBundleEncoderPrototype, privateCustomInspect, {
809759 GPURenderBundleEncoderPrototype ,
810760 this ,
811761 ) ,
812- keys : [
813- "label" ,
814- ] ,
762+ keys : [ "label" ] ,
815763 } ) ,
816764 inspectOptions ,
817765 ) ;
@@ -826,9 +774,7 @@ ObjectDefineProperty(GPURenderBundlePrototype, privateCustomInspect, {
826774 createFilteredInspectProxy ( {
827775 object : this ,
828776 evaluate : ObjectPrototypeIsPrototypeOf ( GPURenderBundlePrototype , this ) ,
829- keys : [
830- "label" ,
831- ] ,
777+ keys : [ "label" ] ,
832778 } ) ,
833779 inspectOptions ,
834780 ) ;
@@ -843,11 +789,7 @@ ObjectDefineProperty(GPUQuerySetPrototype, privateCustomInspect, {
843789 createFilteredInspectProxy ( {
844790 object : this ,
845791 evaluate : ObjectPrototypeIsPrototypeOf ( GPUQuerySetPrototype , this ) ,
846- keys : [
847- "label" ,
848- "type" ,
849- "count" ,
850- ] ,
792+ keys : [ "label" , "type" , "count" ] ,
851793 } ) ,
852794 inspectOptions ,
853795 ) ;
@@ -858,10 +800,7 @@ ObjectDefineProperty(GPUQuerySetPrototype, privateCustomInspect, {
858800
859801webidl . converters [ "GPUPipelineErrorReason" ] = webidl . createEnumConverter (
860802 "GPUPipelineErrorReason" ,
861- [
862- "validation" ,
863- "internal" ,
864- ] ,
803+ [ "validation" , "internal" ] ,
865804) ;
866805
867806webidl . converters [ "GPUPipelineErrorInit" ] = webidl . createDictionaryConverter (
@@ -880,8 +819,8 @@ webidl.converters["GPUError"] = webidl.converters.any /* put union here! */;
880819const dictMembersGPUUncapturedErrorEventInit = [
881820 { key : "error" , converter : webidl . converters [ "GPUError" ] , required : true } ,
882821] ;
883- webidl . converters [ "GPUUncapturedErrorEventInit" ] = webidl
884- . createDictionaryConverter (
822+ webidl . converters [ "GPUUncapturedErrorEventInit" ] =
823+ webidl . createDictionaryConverter (
885824 "GPUUncapturedErrorEventInit" ,
886825 // dictMembersEventInit,
887826 dictMembersGPUUncapturedErrorEventInit ,
0 commit comments